sgofferj / Ardupilot-Neopixel

Use Adafruit Neopixel LEDs as external indicator LEDs for Ardupilot
GNU General Public License v3.0
7 stars 3 forks source link

Pixhawk doesn´t send I2C signals #2

Open Hasi123 opened 4 years ago

Hasi123 commented 4 years ago

Hi, how did you get this working? There are no I2C signals coming from Ardupilot, when nothing else is connected to the Pixhawk.

sgofferj commented 4 years ago

Joining the I2C bus with the right address should tell Ardupilot to send the commands for the LED to the external bus. If it doesn't, that should be addressed with the Ardupilot devs.

sgofferj commented 4 years ago

I have no problems here. As soon as I connect a Nano with the sketch to my Pixhawk, it switches from the internal LED to the Nano.

Hasi123 commented 4 years ago

Do you have any level shifting on the I2C lines, or is the Nano just directly connected to the Pixhawk? Also at what voltage are you running the Nano and which Ardupilot version?

sgofferj commented 4 years ago

I just checked. It's not a Nano but a Pro Mini. But it's connected directly. Might be a 3.3V variant, though.

Hasi123 commented 4 years ago

That's strange. I'm also running a pro mini, but at 5V. Might try to run it at 3.3V.

sgofferj commented 4 years ago

You could check the bus with a logic analyzer to see if the 2 talk to each other...