Posted by
Scott on October 12, 2010 at 8:37pm
I am looking at the arduIMU+ V2 for a project that will require measuring pitch and roll, and have a couple digital input and outputs. I do not plan on using a gps, compass, or any other sensors (yaw not needed) and will be happy to modify and/or write my own firmware. I see that there are 2 PWM pins on the board. My question is can they be used as standard digital outputs? Can any of the other pins be reprogrammed to act as digital inputs or outputs (maybe D8, MOSI, MISO, etc.)?
I know this is a nonstandard question and not the intended use of the board, but if it has at least 2 digital inputs and 2 digital outputs, it will save me from needing multiple boards and a lot of work.
thanks,
scott
Replies
ArduIMU pin mapping
As far as I can tell this is indeed possible but have not tested it. This is what I get from looking at the schematic for mapping available ArduIMU microcontroller pins. Should be easy to test with your good old friend "Blink".
Key: ArduIMU pin = Arduino IO (ATMega328 pin)
RX = Digital IO-0 (PD0)
TX = Digital IO-1 (PD1)
SDA = Analog ADC4 (PC4)
SCL = Analog ADC5 (PC5)
D8 = Digital IO-8 (PB0)
PWM0 = digital IO-9 (PB1)
PWM1 = Digital IO-10 (PB2)
MOSI = Digital IO-11 (PB3)
MISO = Digital IO-12 (PB4)
SCK = Digital IO-13 (PB5)
Also,
ArduIMU LEDs are digital pins 5,6, and 7 (Red, blue, Yellow)
thanks,
scott