I have the hkt6a transmitter, and I read the servo pulses through my analog pins(ran out of digital). I debug my values, and channels 1,2,3, and 4 all work fine. When I read channels 5 and 6 I only receive 0. These two channels are potentiometers, but in my transmitter programming software the t6 config software says that they work the same as all the other channels(The sliding bars in my transmitter programming software that are moved by sliding the sticks or twisting the dials on the remote all look and work the same). Could there be something wrong with using all six analog pins on the romeo all in one mcu, or are channels 5 and 6 special. I don't know if either of those are the problem, but PLEASE HELP!!!
How is the Arduino connected to the receiver?
What software are you using to read the receiver outputs?
Do you have any other devices attached to the Arduino (particularly I2C devices which use A4 and A5)?
What happens when you connect channels 5 & 6 to, say, A0 &A1? Or channels 2 & 3 to A5 & A6?
my romeo all in one microcontroller is linked to the rc receiver by attaching the 5v to the bat pin of the receiver and the ground to the ground of the mcu. The pins used for servo pulses are attached to my analog in pins.
I use the pulse in command. On my board I use the serial port, and use digital pins 4,5,6,7,8,9,10,11,12, and 13 for the dagu 6dof arm and the board's built in motor controller. The six analog pins are used by the six channel connections.
Like groundfungus says:
groundfungus:
What happens when you connect channels 5 & 6 to, say, A0 &A1? Or channels 2 & 3 to A4 & A5?