firmware/general/package/w1-ds18b20
Signor Pellegrino ad5774f603
Update w1-ds18b20.mk
2025-02-08 20:21:31 +03:00
..
src Add w1-ds18b20 (#1659) 2025-01-10 01:02:10 +03:00
Config.in Update Config.in 2025-02-08 20:20:12 +03:00
readme.md Add w1-ds18b20 (#1659) 2025-01-10 01:02:10 +03:00
w1-ds18b20.mk Update w1-ds18b20.mk 2025-02-08 20:21:31 +03:00

readme.md

w1-ds18b20

This app allows reading ds18b20 sensors in bitbang mode using direct GPIO memory access. Currently supports only HiSilicon-style GPIO offsets. Pull-up resistor is required.

Usage

Example: reading temperature using GPIO8_2 on Gk7205V300 (consult datasheet or ipctool output)

# ./w1-ds18b20 -base 0x120B8000 -gpio 2
28-4A4E3C1E64FF :  22.44 C