Upload never worked with scratch and no more with arduino


#1

We bought a IR robot some weeks ago. After construction it worked well with the IR command. When we tried to change it to the UltrasonicSensor example on arduino, the example was bugged (corrected 2 days after). the UScontrol never worked in scratchbot (US worked but not the motors) and made IR mode stop. It was corrected by uploading the new IR example with arduino software.
Today we tried the US mode and the dual mode. Dual mode didn’t work so I turned to US mode wich worked bizarely but I think it was a problem of wiring the motors (Command on IR were not the good ones). So I tried to return to IR control mode but now I can’t upload this example to the card. Everything seems to work well but the robot doesn’t aswer to the IR command (the blue LED on the device is working). We tried to change the batteries but nothing happened.
I am sorry but I am now a little confused. Can you help me?
Thanks


#2

Hi,
I used nine of these kits in a class and all the three examples worked well for us. The students also adapted them to different modes

It’s difficult to understand what the problem is, but I want to check on thing: the code will usually refer to what port on the main board things are connected to. In the IR-control example, the IR receiver should be connected to Port 6 according to the code. In the Ultrasound example, the Ultrasound sensor should be connected to Port 3. Could you double-check this?

J


#3

Thank you. But we cheked everything and the ports correspon to the code. I think it’s more a probleme of communication between the computer ant de board. If someone has an idea, I take it.


#4