I just purchased an ardupilot mega and soldered input and output pins, but I am having trouble reading receiver inputs. I uploaded the sample program from Sparkfun found here ( Example Firmware ). Currently only input0 is being read correctly.
With nothing plugged in:
All inputs read 1500
After plugging a receiver output to input0:
input0 is read correctly and some of the other inputs change to 1000
When receiver outputs are plugged into inputs 0-7:
No change and nothing appears to be read.
Any ideas? Is this a soldering mistake or a bug on the board? Also, at one point, only input4 was working and all others stopped working. I'm not sure why that could have happened.
Any help would be greatly appreciated!
- rusty
Replies
Looking at the PWM outputs of the FrSky rx the outputs appear normal though the frame rate is slightly high at around 55 - 60 Hz. I haven't yet checked if the pulses are output in sequence or together.
Maybe the PPM code (I couldn't saw it yet) in the first start up determine how may channels are conected, and if you make any change without a reset, may seem that something is going wrong.
P.D. Sorry for my poor english.
I have emailed Sparkfun for a RMA and will hopefully be getting it replaced.
Original Order details:
Ordered on 2010-06-03
Shipped on 2010-06-04
chris.
(1) If I separate the boards and power from an ESC, I get a dim PWR red light but the servos move as if in MANUAL mode. (no other lights and the demo program doesn't work - no change in servo movement depending on Ch5/6 input).
(2) If I connect my older FDTI cable (and remove the ESC power), all the lights seem bright red/blue and I can download the test program but I see no printout change whatsoever if I change Chan5 or Chan6 and the servos don't move even though I have left the receiver hooked up.
(3) If I connect the shield back on and use the miniUSB, I get lights and can program but can't power via the ESC and the servos don't move.
Is something "busted"? Is it time to return the ArduPilotMega board to Sparkfun? Could it be the Multiplex chip? I had success with the older Ardupilot board but not here.
Thanks for any help or advice
Dave
Earl
Earl
Should I send it back to you or Jordi ?
Earl
Can we hook an FTDI to it ?
Earl
I looked at where Ch0 goes on the chip and it is always high. If I unplug ch0 it still is high. Ch 0 cable has normal signal unplugged from board. Board pulls it high when plugged in. Sorta like that pin on 328 is programmed as an output and not an input on that pin.
Ch1 and ch2 have RX sig (next 2 pins on chip as it should)
Earl
Earl