Problem uploading the program to the starter bot Bluetooth version


#1

I have tried uploading my very first program to my robot tank and I get the error
avrdude: stk500_recv(): programmer is not responding
I don’t know what this means could someone help me.
Thanks
Mathieu Boyer


#2

Hi mathieuboyer,

Do you upload program with Arduino software or mBlock?
Please notice two points below:

  1. make sure the power switch on the Orion board is turn to OFF.
  2. Make sure you choose the correct Board (choose me Orion if you are using mBlock software, choose Arduino UNO if you are using Arduino software)

#3

hmm thanks I go to arduino mode to upload my program not sure if that’s what you mean @tec_support


#4

You cannot upload a program via Bluetooth. You will need to connect the Starter Robot to your computer with the USB cable, then click on the Connect->Serial Port from the main menu. You will need to select the appropriate serial port (COMxx on Windows where xx is a number, or /dev/tty.wchusbserial410 for OS X). From that point you can upload the program to the Starter Robot (make sure the robot’s power is turned on).


#5

Hi,

Chuck forgot to mention that you also need to unplug the bluetooth module from the board when uploading.
Power does not need to be switched on, as the board itself is supplied through USB. In fact @chuckmcknight, this can be dangerous, e.g. when uploading a sketch that incorporates immediate motor movement (the motors are powered only when oower is on). So better turn it off.

So the procedure is:

  • Disconnect Bluetooth module
  • Connect USB
  • Choose port in Arduino IDE
  • Upload
  • Disconnect USB, connect Bluetooth

Cheers, Stefan


#6

Thanks @srothe, I didn’t know that the Orion board differed from the mCore board in that respect. The mCore board does not appear in mBlock or in the Arduino IDE when power is off. @mathieuboyer’s response seems to indicate that he was using the Arduino mode which implies he’s going through mBlock, not the Arduino.

Regards,

Chuck


#7

hello,
Thanks for your help, it really helped me I uploaded a few programs to my starter bot but now another problem has occured my robot can no longer connect through the usb cable. I try connecting it and nothing happens it stays disconnected. I hope I didn’t break anything

Thanks, Mathieu


#8

Hi mathieuboyer,

Is the serial port (COM Port) for USB connection between PC and Starter still available on mBlock or it totally disappears?


#9