MPU6050 interfacing with Raspberry using I2C

Pubblicato il: 24 aprile 2021
sul canale di: AI2MCU EMBEDDED ACADEMY
4,472
71

#ViduraEmbedded

This example code shows how to interface the Raspberry Pi Pico to the MPU6050 accelerometer/gyroscope board.
This device uses I2C for communications, and most MPU6050 parts are happy running at either 3.3.
The Raspberry Pi RP2040 GPIO's work at 3.3v so that is what the example uses.

This is a very basic example, and only covers raw data from the sensor.

Wiring up the device requires 4 jumpers:
1. VCC (3.3v)
2. GND
3. SDA
4. SCL.

The example here uses I2C port 0, which is assigned to GPIO 4 (SDA) and 5 (SCL) in software and power is supplied from the 3.3V pin.

Code:
https://github.com/viduraembedded/Ras...

Watch All Videos of Raspberry Pi Pico using below link
   • Raspberry Pi Pico  

Watch FreeRTOS Tutorials on STM32:
   • FreeRTOS Tutorials on STM32  

All videos and tutorials on this channel are for educational purpose only.


In questa pagina del sito puoi guardare il video online MPU6050 interfacing with Raspberry using I2C della durata di ore minuti seconda in buona qualità , che l'utente ha caricato AI2MCU EMBEDDED ACADEMY 24 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,472 volte e gli è piaciuto 71 spettatori. Buona visione!