Hardware

Hardware

To follow this guide you'll need the following parts:

Wiring

Connect your DS18B20 sensor to a digital input on your development board.  You'll also need to add the 4.7 KΩ pull-up resistor to the signal line to ensure the board can read the sensor.  Here's an example of wiring a standalone DS18B20 to a Feather M0 board:

  • Left-most leg of the sensor (with the flat part facing you) to board ground.
  • Middle leg of the sensor to board D5.
  • Right-most leg of the sensor to board 3.3V.
  • 4.7 KΩ resistor connected to both the middle leg (data) and right-most leg (3.3V).

Or if you're using a waterproof or high-temperature probe here's an example of the wiring to a Feather M0 board:

  • Black wire (or solid white on high-temperature probe) to board ground.
  • Orange wire (or white with blue stripe on high-temperature probe) to board D5.
  • Red wire (or white with orange stripe on high-temperature probe) to board 3.3V.
  • 4.7KΩ resistor connected to both the data line on one side (D5 or whatever pin) and power line (3.3V) on the other side
Last updated on 2018-01-09 at 01.43.29 AM Published on 2018-01-09 at 08.07.10 PM