Skip to content

Batacek/RPI_Temp

Repository files navigation

RPI Temperature

License Lang
Temperature measurement with RPI and temperature sensor using OneWire communication

Physical Connection

The initial step is to connect the temperature sensor, which uses OneWire communication, to your RPI Pico.



Black is for GND
Red is for VCC (5V)
Yellow is for OW Communication (Pin 28)
A resistor with a value of 6.04 KOhm is used to connect VCC and OW.

The colors of the wires on the temperature sensor should be identical. Each wire should be connected to a corresponding wire of the same color (black to black, etc.). If a different temperature sensor is being used, the provided documentation should be read to ascertain the correct wiring procedure.

Once this step is complete, the I2C display must be connected to the I2C interface (SDA and SCL) and the power source (VCC and GND).



Once this has been completed, the RPI Pico should be connected into the required setup, as illustrated below.


Code

The code relies on the lcd_api and pico_i2c_lcd libraries. These libraries are included in the repository, however, these may be outdated versions. Potential issues with these versions can be resolved by using the latest version from the official libraries pages.

About

Temperature measurement with RPI and temperature sensor using OneWire communication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages