This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MPU-6050 GY-521 accelerometer wiring

Hello,
I'm having trouble to work on the nrf52832 DK with the accelerometer.

First, I tried to wire the accelerometer as I was wiring it on a Arduino Uno but I couldn't get any data from the accelerometer. The led of the accelerometer was working fine, so the power is wired as expected but it seems like the SCL and SDA are not working.

Next, I tried to use the nrf52832 DK as a classic Arduino card like the user guide describes it (infocenter.nordicsemi.com/.../nRF52_DK_User_Guide_v1.2.pdf end of page 17 and page 18) to make the SCL and SDA pin work. I don't want to use the nrf52 DK a Arduino card permanently so I tried to connect the DETECT pin to a GND pin (tried multiple times with different GND pin). The led of the accelerometer is working but everything else that the uploaded code is supposed to do isn't working, even basic Serial text print or led blinking.

Have I missed something to make the nrf52 DK works as a Arduino ?

Related