You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to wire up the 2m sensors to a Raspberry Pi for an 8th grade intro to engineering class. Any tips or sample code for reading the sensor via Python?
The text was updated successfully, but these errors were encountered:
I have it wired up to a raspberry pi 5. the indicator light is on, and I am able to detect it using i2cdetect.
However, I do not think I am getting a proper read b/c it mostly returns a value of 0. Occasionally, it will output a different value, but not consistently when I waive may hand over the sensor.
Reviewing the C++ code, looks like the I2C device needs to be initialized. Is there a specification on the I2C commands needed to initialize the 2m sensor via i2c?
I'm looking to wire up the 2m sensors to a Raspberry Pi for an 8th grade intro to engineering class. Any tips or sample code for reading the sensor via Python?
The text was updated successfully, but these errors were encountered: