mBot upload via 2.4Ghz connection


#1

Is it possible to upload to the Android via 2.4GHz connection. Whenever I try (and am connected wireless) a message pops up that I need to connect via a serial connection in order to upload to Arduino. Further if I write a small routine and double-click on the routine it execute on mBot only if I am connected via USB. When connected wireless this does not happen.

What am I not understanding?


#2

I’ve been able to double click on code in scratch and run thru connected bluetooth or USB but you have to remove the default program first by using update firmware (using the USB). I’ve never been able to upload code for remote execution or update firmware over anything but USB.


#3

My “upgrade firmware” is grayed out.

I also can’t upload a program over the 2.4Ghz connection.

The page on how to upload programs to the robot does not tell how to do it, only describes the result.

Cute hardware but the software and documentation isn’t there yet.


Step 7: Upload your Program to your Robots

What truly amazed me is that programs written in mBlock may be uploaded into robots and run without a computer. This is particularly useful if you want to build a robot that runs on its own or you what to build a device (such as Christmas decoration) that works without always having a computer at its side. The steps to upload programs are easy: First, select “Edit->Arduino Mode” to switch to Arduino Mode:

Second, you may see the Arduino code generated by mBlock. Arduino is a programming language used to control electronic devices, mainly used by makers. If you are curious, you can see how Arduino code change as you drag and arrange new blocks in mBlock. There is one thing you need to know: your program need to start with a “header block” (such as the “Orion Program” shown in the picture below) to work after uploading to the robot; and only blocks attached to the “header block” is effective.


#4

Hi Ophitoxaemia,

The 2.4G wireless connection is only for online debug, if you want to upload a program into the robot after finished the debug or Upgrade Firmware, you must disconnect the 2.4G connection and connect the robot and computer with USB cable.
Please refer to this post where explained it: http://forum.makeblock.cc/t/wireless-serial-connected-but-cant-upload-programs-to-mbot/4389
Here is a instruction to guide Upgrade Firmware and Upload program for mBot. Upgrade Firmware and Upload Program for mBot.zip (860.4 KB)


#5