This library was adapted to MicroPython by Christian Reichl based on the CircuitPython library from ladyada (Limor Fried) Adafruit Industries.
- Pycom WiPy 3.0
- Pycom MicroPython 1.20.2.r4 [v1.11-ffb0e1c] on 2021-01-12; WiPy with ESP32
- https://pycom.io/product/wipy-3-0/
- Pycom FiPy
- Pycom MicroPython 1.20.2.r4 [v1.11-ffb0e1c] on 2021-01-12; FiPy with ESP32
- https://pycom.io/product/fipy/
- Raspberry Pi Pico
- MicroPython v1.17 on 2021-09-02; Raspberry Pi Pico with RP2040
- https://www.raspberrypi.com/products/raspberry-pi-pico/
Don't forget to connect a battery to one of the JST connectors on the Adafruit LC709203F. If no battery is connected it will cause an I2C error and the program will stop!
Don't forget to connect a battery to one of the JST connectors on the Adafruit LC709203F. If no battery is connected it will cause an I2C error and the program will stop!
Examples of using this module are in examples folder. There is a separate example for Pycom and Pico, because the commandos of the boards are slightly different.
Load the main.py
script with the library LC709203F_CR.py
on a microcontroller with MicroPython and execute the main.py
script.
Don't forget to connect a battery to one of the JST connectors on the Adafruit LC709203F. If no battery is connected it will cause an I2C error and the program will stop!
If everything works correctly, then you should get the following output:
It is normal that the temperature is not correct in the first few seconds. If everything is connected correctly, the sensor will output a temperature of 25.05 °C for the first few seconds. If the 10kΩ Thermistor is not connected, it will output -41.95 °C. The sensor updates the temperature about every 10 seconds.
Distributed under the MIT License. See LICENSE.txt
for more information.