I like to measure lateral acceleration in a carrera digital slot car and send it via BLE to a rasperry Pi. So I need tiny and lightweight electronics.
(how) can I wire a MPU6050 accelerometer to a MDBT42Q Board? I do not have a I2C1 Pin like the pico has. Is that an issue?
Yes, it's actually way easier to use than the Pico - on the nRF52 based boards like the MDBT42Q the hardware peripherals can be on any pin, so just wire it up to whatever pins are easiest! Just avoid anything with a purple tag on it in https://www.espruino.com/MDBT42Q#pinout
You can use I2C1 on any pin, or could even just use software I2C as for the relatively small amounts of reading and writing it's not going to make a great deal of difference.
Hope that helps!
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem