Ok sooo, I am making a robot/car thing. I bought an IR controlled helicopter a few days ago and it already broke (as I assumed it would) so now I am going to use the controls to send information to my arduino. I already got it to work, sort of. But now when I attempt to read the sensor value using the code found in the basic examples (analog read serial), my arduino disconnects from my PC. That is when I start to actually try and use the controller.
Any ideas as to why it is doing this? The arduino is still on and working, I know this because the motor will still spin when I want it too as per assigned in the code.
If your confused as to what I am saying please let me know and I'll try to explain it better.
Another question I have, why is it that when I I am not pressing any buttons, or even when I am not connected to the analog, there are random numbers coming up on the serial display?
Well I'm not set on destroying the helicopter completely, so I am using the whole circuit board. And when I try to read it digitally nothing happens on my serial display. When I read it through the analog there is some interference? I guess would be the right term. So when I am doing nothing there is random numbers coming up. When I actually do use it I get what I assume is a pulsed signal. Like 15 0 0 0 0 0 15 0 0 0 0 0 15 and so on and when I increase the signal they get closer together like 15 0 0 15 0 0 15...
This is not the easiest thing to read, is there another way to do this? I have another infrared receiver, would it be possible to use that with this controller? Or do they have to be pairs?
Most infrared controls, like for home audio and video equipment, uses a carrier frequency of around 38 kHz. Most IR receivers will work with most IR remotes. I expect the IR remote for the helicopter is similar. Arduinos are often used with IR receiver modules so there is lots of helpful examples out on the net.