For the past 3 weeks I have tested my BT starter robot with Orion and Android-based tablet. I am trying to hone down the mysterious firmware upgrade needed–which I have written about in some other threads.
Based on my experiences, the firmware upgrade needed message that the android app puts up absolutely does not necessarily mean the correct sketch is not resident in the Orion/Arduino.To me it seems to mean that the app has sent a message via BT and has not received the response it is looking for. The app then assumes (incorrectly in a number of cases) that the proper sketch needs to be loaded.
Why do I believe this? Simple:
(1) Many times when I power up the Orion and the tablet, start up the app, and then make the BT connection, the controls on the app make the tank robot do what I want (go forward, reverse, make turns).
(2) Sometimes I get the message in question (firmware update needed); however, I do not re-upload the sketch. Instead I try other things to try to hone down the cause of the problem.
Thing I try (other than re-load the sketch–aka update the firmware) to get the tank to respond to the BT app:
(1) Make sure the tablet’s BT is turned on.
(2) Press the reset buttons on the Orion and the BT module.
(3) Power down the tablet, power it back up, turn the BT on, restart the app, reconnect.
I don’t understand BT communication, but my guess is that there is some handshaking protocol that is supposed to happen. Sometimes it doesn’t happen.
I don’t have an iDevice or smartphone, but perhaps my experiences will be helpful. By the way, I have been trying to watch the blue light on the BT module to see if there is some state (e.g., blinking at a certain rate) that indicates when a proper handshake has been successful (or will be successful).
I should mention, that I do this without the usb connected.
I hope this helps.
Steve
PS: The above is not inconsistent with what hbohosian (and others) have said. The message in question MIGHT mean that the sketch to make the robot run from the app was not uploaded. But if you successfully uploaded it once and it worked, as long as you didn’t change the sketch, I believe it it is a BT communication issue.
I have outlined steps elsewhere to test BT communication with a BT terminal. (Sorry, I only mentioned the Android-based app I used because I don’t have an iDevice or smartphone. I have also outlined steps to test the motor by using one of the basic MakeBlock example sketches.
I recommend testing those two parts of your system.
Once that works, using the usb cable, upload the correct sketch designed either for Android apps or for iDevice apps. Unplug the usb cable and switch it over to battery power because usb power (in my experience) is not enough to drive motors.
By the way, I have addressed the avrdude error messages elsewhere, too. I am pretty sure I suggest a solution–and its not to use an older version of the Arduino IDE.
Hope this helps.
Steve