Hi all,
I'm trying to connect an Arduino micro to the Pixhawk through the i2c port.
Unfortunately I have bricked out my radino and Arduino boards. I think it depends on voltage levels of the i2c bus.
The Pixhawk connections are shown on the following link:
http://ardupilot.org/copter/docs/common-pixhawk-overview.html
for simplicity I transcribe them here:
1 |
VCC |
+5V |
2 |
SCL |
+3.3V (pullups) |
3 |
SDA |
+3.3V (pullups) |
4 |
GND |
GND |
How can I correctly connect it?
Every advice would be very appreciated,
Thank you.
It looks to me like the Pixhawk is powered by 5V, but runs at 3.3V. If the I2C signal levels are too low for the 5V Micro, level shifters are required. Or you use a 3.3V Pro Mini for compatible signal levels with all Pixhawk signals.
Eventually you can add pullups to 5V on the SDA/SCL lines, but this may damage the Pixhawk - I couldn't find more detailed info. The Micro will not be damaged by too low signal levels, but the 5V output may be too weak for powering the Pixhawk. I'd use a sufficiently powerful 5V supply to power the Pixhawk. If you use a 3.3V Pro Mini, both controllers can be powered from the same 5V supply.