Does anybody know what ports are available on the ArduPilot Mega (or the IMU board) after building an ArduCopter ? I would like to add a few sensors to it and would like to know which ports are left available.
You need to be a member of diydrones to add comments!
Replies
This should clarify few issues. Number after pin name is IO pin number in Arduino.
im not sure either. If you only need 8 more in/ouputs use the ones broken out onto the oilpan described by Jani. If you look at the eagle files, there seem to be a good number of pins that do nothing but connect the APM to the Oilpan (AN 8-15). I assume you could put stacking headers and use them as well. But I dont have any official confirmation on that. If you need more than 16 pins, you could also interface any I2C device to add pins through the I2C bus
Ok a bit more detailed answer. Basic quad uses only OUT0-3 pins, hexa will use OUT0-5 pins and we plan to use OUT6-7 to servo controls for camera etc.. OK in quad we can use 5-6 to something else. Now on latest AC codes we just have been using OUT5-7 for LEDs but they will be moved else wehere.
Then you have all AN0-7 free to use. AN0-5 can be found on top of main APM pins eg next to relay. Next to relay will be battery measurement inputs so don't use those. Leave at least 2 voltage dividers free. Then you have two divider slots free and after that 3 normal AN inputs. I've been thinking to use those last 3 ones for in future to drive LEDs so if you don't want to have LED's at least they are safe to use and then you also have AN6-7 at center area of IMU board that are free to use.