I have a Nano and the throttle pin no longer works on it. I think I accidentally ran 5 Volts into it and it won't give any output now. It definitely has a connection all the way to the 328 chip. So I've been trying to change the code so I can use one of the other pins for throttle - I changed def.h and switched the defines for THROTTLEPIN and AUX1PIN and this works OK for a standard receiver but of course I now have no way of triggering stable mode.
Now I have a PPM-SUM receiver and would like to use this Nano with 8 channels working but I can't figure out what I have to change in the code to change the PPM-SUM from throttle to one of the other pins. What I did for the standard receiver by changing def.h doesn't seem to make Pin 7 (Aux 1) capable of receiving a PPM signal.
Would someone who understands the code please tell me what parts I have to modify ? Thanks.
Nano Problem
Re: Nano Problem
I think I've figured it out , at least it looks OK in the GUI . If anyone else ever has a dead Throttle Pin D2 on the 386 boards here's what you need to change to use PPM-SUM receiver.
First it looks like your only option instead of D2 for PPM_SUM is to use D3. The software uses a function that only works on these 2 pins. In def.h you have to change
1. #define PPM_PIN_INTERRUPT attachInterrupt(1, rxInt, RISING);
2. #define MOTOR_ORDER 9,10,11,5,6,3
3. #define THROTTLEPIN 3
Use D3 for PPM-SUM receiver and you now only have 5 Motor Pins. If there are problems with this please let me know.
First it looks like your only option instead of D2 for PPM_SUM is to use D3. The software uses a function that only works on these 2 pins. In def.h you have to change
1. #define PPM_PIN_INTERRUPT attachInterrupt(1, rxInt, RISING);
2. #define MOTOR_ORDER 9,10,11,5,6,3
3. #define THROTTLEPIN 3
Use D3 for PPM-SUM receiver and you now only have 5 Motor Pins. If there are problems with this please let me know.
- captaingeek
- Posts: 228
- Joined: Fri Jan 28, 2011 6:42 pm
Re: Nano Problem
Not sure if this helps you but I fried a diode on my nano too. i think this might help with the repair:
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1256229321
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1256229321
Re: Nano Problem
Thanks for that link captain . My nano seems to have a different problem though because everything works OK but somehow the internal 328 chip
circuitry for pin D2 has stopped working. If I was more technically competent I suppose I could replace the 328p but hardly worth the effort. Anyway it
does work for MultWii the way it is.
circuitry for pin D2 has stopped working. If I was more technically competent I suppose I could replace the 328p but hardly worth the effort. Anyway it
does work for MultWii the way it is.