MDBT42Q and MPU6050 accelerometer

Posted on
  • 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?

  • Hi!

    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!

  • sounds great!

    Thanks!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

MDBT42Q and MPU6050 accelerometer

Posted by Avatar for Jolm @Jolm

Actions