https://github.com/octaprog7/tmp117
MicroPython module for work with TMP117 temperature sensor from Texas Instruments
https://github.com/octaprog7/tmp117
micropython sensor temperature
Last synced: about 1 month ago
JSON representation
MicroPython module for work with TMP117 temperature sensor from Texas Instruments
- Host: GitHub
- URL: https://github.com/octaprog7/tmp117
- Owner: octaprog7
- License: mit
- Created: 2022-07-09T09:07:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-23T09:44:16.000Z (about 1 year ago)
- Last Synced: 2025-05-13T13:56:07.586Z (about 1 year ago)
- Topics: micropython, sensor, temperature
- Language: Python
- Homepage:
- Size: 2.39 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TMP11X
## [На русском](README_RU.md)
Micropython module for TMP117, TMP119 Texas Instruments temperature sensors.
Just connect your TMP117, TMP119 board to Arduino, ESP or any other board with MicroPython firmware.
Supply voltage TMP117, TMP119 3.3 or 5.0 volts! Use four wires to connect (I2C).
1. +VCC (Supply voltage)
2. GND
3. SDA
4. SCL
Upload micropython firmware to the NANO(ESP, etc.) board, and then files: main.py, tmp11Xtimod.py and sensor_pack_2 folder.
Then open main.py in your IDE and run it.
# Pictures
## IDE

## Breadboard

# Troubleshooting
| Problem | Possible Cause | Solution |
|----------------------|-------------------------|----------------------------------------------|
| ALERT=True always | Therm Mode + hysteresis | Cool below Tmin or switch to Alert Mode |
| No I2C communication | Wrong address/pull-ups | Check ADD0, 4.7kΩ pull-up on SDA/SCL |
| Inaccurate readings | Self-heating/mounting | Use `set_temperature_offset()` |
| EEPROM not writing | Locked/busy | Check `EEPROM_Busy`, perform unlock sequence |
## Notes
Note: This driver is tested on real hardware with TMP117.
## Support the project
If you found this driver helpful, please rate it!
This helps us develop the project and add support for new sensors.
If you liked my software, please be generous and give it a star!