Did you not have to use a level shifter to connect the Arduino to the Pixhawk? I thought you need one since the Arduino uses 5V logic and the Pixhawk uses 3.3V logic.
No, I didn’t need level shifters in my setup. Even if logic levels are different, the Pixhawk is “5v tolerant”, so you can feed directly 5v to the GPIOs. On the Arduino side, 3.3v is enough to trigger the “true/high” state, thus no level adapting is needed. I insist, in this particular setup.
If using a different microcontroller you should carefully review what pins (if any) are “5v tolerant” even if they work with 3.3v logic levels.
Hey, nice post sir, I am coming after some time here, so i dont know what matter is currently ongoing , i just came and read the first post,
so, my question is, why do we need an arduino to control the lights? Cant the latest FCs control the lights using the “aux” pins programmed by lua script? Wouldnt an on drone arduino or a companion computer consume heavy amounts of power?
As i am a learning beginner, getting just a little time and money for this hobby,
Please feel free to tell anything extra also.