PPM Sum pin move?

Post Reply
ben123
Posts: 4
Joined: Tue Apr 05, 2011 2:43 pm

PPM Sum pin move?

Post by ben123 »

Hello! My first post on this board :)

On a Pro Mini the input for PPM Sum is Pro Mini Pin 2. Is there anyway to change this? I ideally need it to be on Pro Mini Pin 4 or 7.

Ben.

Thanks for the help!

Ben.

ben123
Posts: 4
Joined: Tue Apr 05, 2011 2:43 pm

Re: PPM Sum pin move?

Post by ben123 »

Answered my own question after some research :)

Seems the PPM sum pin is setup on the Pro Mini with :

Code: Select all

#define PPM_PIN_INTERRUPT          attachInterrupt(0, rxInt, RISING); //PIN 0


Looking at the attachInterrupt function on the arduino website :

http://www.arduino.cc/en/Reference/AttachInterrupt

it seems that the pro mini (and other Arduinos with the same chip) only has 2 pins which are external interrupt capable : numbers 0 (on digital pin 2) and 1 (on digital pin 3). So unfortunately I can't switch the PPM sum pin to 4 or 7. Only to 3 which isn't of use to me :( Looks like I'm cutting tracks and doing a little wiring :D

Ben.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: PPM Sum pin move?

Post by copterrichie »

Please, Just for my edification and maybe future usage, why the need to move the Pin?

ben123
Posts: 4
Joined: Tue Apr 05, 2011 2:43 pm

Re: PPM Sum pin move?

Post by ben123 »

Hi richie.

Sorry for the late reply! It's just because I'm using a homemade arduino board... I had it manufactured set up for a quad (at seeedstudio)... but then I wanted to change it to a hex. The PPM sum pin needed to be changed because the pin it uses was the pin I was outputting the throttle PWM on for ESC calib purposes. I just cut some tracks and used wires and so it's not a problem anymore :)

Ben.

Post Reply