Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4626

Interfacing (DSI, CSI, I2C, etc.) • Need Help Interfacing MPU6050 and BMP280 (HW-611) with Raspberry Pi Pico W via I2C

$
0
0
Hi everyone,

I’m working on a project using a Raspberry Pi Pico W and trying to interface two sensors via I2C:

MPU6050 Accelerometer and Gyroscope

BMP280 Pressure Sensor, labeled as HW-611 from the manufacturer.

I’ve connected both sensors to the Pico W, with the MPU6050 on GPIO pins 0 (SDA) and 1 (SCL), and the BMP280 on GPIO pins 12 (SDA) and 13 (SCL). Both sensors share the 3.3V output and GND. I’ve tried running individual code for each sensor, and they work fine separately, but I’m struggling to get them working together without issues.

The problem seems to be related to I2C conflicts or address issues. When scanning, both sensors seem to be detected at the same address (0x68). My BMP280 sensor, specifically named HW-611, isn’t detected at the usual addresses (0x76 or 0x77), which leads me to believe there might be something unique about it.

Here’s what I’ve tried so far:

Separate I2C buses for each sensor.

Scanning the I2C addresses, but still encountering issues with device detection.

Has anyone worked with the BMP280 sensor or faced similar issues with I2C conflicts on the Raspberry Pi Pico W? Any help with the proper wiring, troubleshooting steps, or code snippets would be greatly appreciated!

Thanks in advance!

Statistics: Posted by aryankhollam — Fri Oct 04, 2024 8:54 pm — Replies 0 — Views 10



Viewing all articles
Browse latest Browse all 4626

Trending Articles