Skip to content

1‐Wire Temperature Sensors with FanPico

Timo Kokkonen edited this page Aug 30, 2024 · 12 revisions

1-Wire Temperature Sensor Support

Starting from firmware version v1.7.0, FanPico supports some common 1-Wire Temperature Sensors (up to 8 sensors is supported simultaneously).

I2C Temperature sensors can be configured as "sources" to virtual sensors (VSENSORS)

Supported Sensors

Currently supported sensor models:

Device Type Notes
DS18S20 Temperature sensor (9bit)
DS1822 Temperature sensor (9-12bit)
DS18B20 / MAX31820 Temperature sensor (9-12bit)
DS1825 / MAX3826 Temperature sensor (9-12bit)
DS28EA00 Temperature sensor (9-12bit)

Connecting 1-Wire Sensors to FanPico

All FanPico boards can be used with 1-Wire sensors. Early boards don't have dedicated connector (or built-in pull-up resistor) but can be used with appropriate cable/adapter.

Connecting I2C Sensors to FanPico-0401D

This board has dedicated "1-Wire" connector for easily connecting sensors.

NOTE! Jumper next to connector is used to enable built-in 4.7K pull-up resistor. This jumper should normally be installed (unless there is need to use external pull-up resistor).

To use 1-Wire, support must be enabled:

SYS:ONEWIRE ON
CONF:SAVE
*RST

Connecting I2C Sensors to FanPico-0804D

This board does not have dedicated 1-Wire connector, but 1-Wire sensors can be connected via pins on the "LCD (SPI)" connector.

Connecting 1-Wire Sensors to "LCD (SPI)" connector

Pin Label 1-Wire Notes
DC DQ (Data)
Vcc Vdd
GND GND
RST or BL (Pull-Up) 1-Wire needs pull-up (4.7k) resistor between DQ and Vdd these pins can be used to 3.3V for the pull-up resistor.

lcd_spi_connector

To use 1-Wire, SPI and Serial must be disabled in the configuration:

SYS:SERIAL OFF
SYS:SPI OFF
SYS:ONEWIRE ON
CONF:SAVE
*RST