https://github.com/eigenein/one-wire-to-ntc
1-Wire-to-NTC adapter built on Arduino Nano Every
https://github.com/eigenein/one-wire-to-ntc
1-wire arduino arduino-nano arduino-nano-every arduino-sketch dac dallas-temperature diy ds18b20 mcp4725 measurements moes ntc ntc-thermistor onewire sensor temperature thermometer thermostat thermostat-controller
Last synced: about 1 month ago
JSON representation
1-Wire-to-NTC adapter built on Arduino Nano Every
- Host: GitHub
- URL: https://github.com/eigenein/one-wire-to-ntc
- Owner: eigenein
- Created: 2020-02-04T20:58:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T18:49:45.000Z (over 6 years ago)
- Last Synced: 2025-04-06T15:37:25.311Z (about 1 year ago)
- Topics: 1-wire, arduino, arduino-nano, arduino-nano-every, arduino-sketch, dac, dallas-temperature, diy, ds18b20, mcp4725, measurements, moes, ntc, ntc-thermistor, onewire, sensor, temperature, thermometer, thermostat, thermostat-controller
- Language: C++
- Size: 143 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/eigenein/one-wire-to-ntc/releases)
[](https://www.arduino.cc/en/Guide/NANOEvery)
[](https://platformio.org/)
An adapter made to connect my [DS18B20 floor sensor](https://www.adafruit.com/product/381) to my [thermostat](https://www.moeshouse.com/collections/electric-floor-heating-thermostat/products/wifi-white-thermostat-temperature-controller-lcd-touch-screen-backlight-for-electric-heating-works-with-alexa-google-home-16a) that only accepts an NTC 10k as an input. Here the [Arduino](https://www.arduino.cc/en/Guide/NANOEvery) reads out a measurement from the Dallas sensor, converts it into corresponding NTC resistance value and emulates an NTC sensor by setting corresponding voltage level on the thermostat input jumper.
I used an [Adafruit MCP4725 Breakout Board](https://www.adafruit.com/product/935) which I soldered together with the Arduino board like a sandwich. This way I managed to make the assembled device tiny.
Also, I didn't use an external pull-up resistor for DS18B20 and used the built-in one on D3 pin. Data pin D2 is then soldered to D3.
[table.py](table.py) script is used to pre-generate a conversion table from temperature to DAC value.
## Schematic
