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

Advanced users • Raspberry Pi 4 - I2C sensor

$
0
0
Good evening,

I bought a Gravity: PM2.5 Air Quality Sensor that has got an I2C interface. I connected it to the Raspberry's GPIO. I used docker compose to run nodered with the I2C package for getting data. I managed to communicate with the sensor but the problem is that I am getting different values of my parameters each second with orders of magnitudes very different from a second to the other and that's impossible. :shock:

ChatGPT suggested my to connect a 4.2 kOhm resistance between the sensor and the Raspberry , could be that possible to solve the problem?

Thanks

Statistics: Posted by Jonny1995 — Mon Feb 03, 2025 9:25 pm — Replies 1 — Views 36



Viewing all articles
Browse latest Browse all 4417

Trending Articles