First upload the current demo behaviours, rev06 i believe. Look at the code and make sure its the one with ten checks for the remote to decide on behaviours, this is to make sure you're uploading the right code. Make sure the upload process works, the arduino software outputs a log and you should see it ouput a progress line of ##### as it writes and then again as it reads back from ringo to verify it worked. Turn off your ringo and unplug it and it should be ready to rock.
Turn it on, sit it on your table top and it should blink and chirp when you turn it on and prepare itself. I think is sits there and beeps and flashes a light awaiting your command from the remote control. Pressing 3 i think should start the dance routine. Don't forget the communication is by infrared which means it require line of sight to work properly, its not the more modern wireless technology that transmits through obstacles. It also means sunlight can flood the receiver with broad infrared signals it won't understand, so dont do this outside under sunlight or indoor next to a window or under older incandescent light bulbs as they radiate infrared light too. You might have to change the angle you place the remote to make sure ringo gets a clear signal and make sure the infrared LED on the top end of the remote is not covered (watch your fingers). The remote should work fine from a couple of feet away without problem, just keep pressing the 3 button and moving the remote around, i think ringo blinks its top light green when it sees the signal and starts running the code, it may take a couple of seconds before it starts doing its thing, depends on the setup steps the routine might do.
Alternatively you take the example code, remove everything in the loop() block except the name of say the dance routine, leave the setup and includes intact though. This way you are removing the remote completely, plumgeek wrote thier dance, line following etc examples in a seperate file, all the demo file does is include another file and then monitors for a remote input to then run the appropirate routine. So i think your loop () might only have one line in it with dance(). Validate and upload this to ringo and you dont need the remote he will just dance when you turn him on.
If you can do these things you can narrow down if ringo is as fault, or maybe the remote is faulty, or maybe you arefailing to do something, make sure your cable is properly connected and both rows of pins are straight and properly connected.
Hope this helps you out.Statistics: Posted by sil — Mon Feb 01, 2016 4:10 am
]]>