Skip to content
David Lechner edited this page Feb 16, 2014 · 1 revision

8-bit A/D and D/A converter

Sensors That Use This IC

I2C Address

0x48..0x4F (configurable via input pins)

Usage

Register device:

echo pcf8591 0x48 > /sys/bus/i2c/devices/i2c-<port+2>/new_device

Finding device class node:

for chip in $(find /sys/class/hwmon -name hwmon*)
do
    if [[ "$(cat $chip/device/name)" == "pcf8591" ]]
    then
        # do whatever
    fi
done

Notes

Clone this wiki locally