1-Wire (DS18B20) > Adafruit Feather HUZZAH ESP8266

I thought it would be easier than it was to find a tutorial on this. It is all pretty basic stuff but if you are new to any of this is can be a bit confusing.

For wiring the DS18B20, I referenced https://learn.adafruit.com/assets/3781 even though that is for a Pi, since it is clear what goes where and https://learn.adafruit.com/assets/46249 to help on the Feather side.

The end result looks like this

Then I just used this example https://github.com/adafruit/MAX31850_DallasTemp/blob/master/examples/Simple/Simple.pde and it worked! I know this doesn’t really do anything useful yet, but getting some sensor data is the first step.

1 Like

Ha, found my own post when trying to do this again :smile:

This time I wanted to connect it to my Home Assistant. Seems like Getting Started with ESPHome and Home Assistant — ESPHome is the best option.

2 Likes