A repository for MicroPython code that communicates with and relays information from the Texas Instruments TMP117/119 temperature sensor.
Go to file
2024-11-27 19:00:25 +01:00
async_tasks Passes the microcontroller ID message as a string rather than an integer to correct long int parsing errors on the node.js side 2024-11-27 19:00:25 +01:00
lib Added some defaults to TMP117 2024-09-25 13:31:01 +02:00
.gitignore Added some defaults to TMP117 2024-09-25 13:31:01 +02:00
event_loops.py minor changes 2024-08-29 16:02:11 +02:00
example_global_config.json Initial commit 2024-08-14 12:54:42 +02:00
main.py Initial commit 2024-08-14 12:54:42 +02:00
readme.md readme update 2024-09-04 16:09:39 +02:00

Code for TMP117 + Pico W Temperature Measurement System

This code is indended to run on a Pico W running Micropython.

To run on a Pico W:

  • Download this repository and copy these files onto the Micropython filesystem via USB (this can be accomplished using Thonny, the VSCode extension "MicroPico" etc).
  • Write a "global_config.json" file (see the example for a template), which defines various settings, I2C buses, and connected sensors.
  • Once the microcontroller is reset, the main.py file will execute and the code will run.

To work on this code, you will need a Micropython editor. I recommend VSCode + MicroPico extension written by paulober (GitHub).