I am trying to do RC control through ad arduino, I know how to use the servo library to control servos and ESC's but I cannot get meaningful data from my RC receiver
any idea of how to do this?
I am trying to do RC control through ad arduino, I know how to use the servo library to control servos and ESC's but I cannot get meaningful data from my RC receiver
any idea of how to do this?
What have you tried? Usually you feed the output of the receiver to a digital input and use the pulseIn() function to measure the pulse width. You may need to drop the receiver output voltage if it goes over 5 volts. You must connect the receiver and Arduino grounds.
I looked at the code you linked, and while thats great, and it may or may not work, I looked over the code and could not figure it out, it seems to write the value of input pin 4 to all of the other channels which makes no sense to me, I am new to arduino (actually this is my first project on arduino) I would prefer to understand how the code works rather than copy and pasting it.
I tried the pulse in feature and it seems to yield only randomish numbers that could up to about 2000 and down to 0 and then back up, but besides that I have not been able to detect any patterns in the numbers
Can you show how your connections are made up. I have used pulseIn() to measure the servo pulse width from a RC receiver with no trouble.