esphome:vindriktning

Vindriktning

Ikea air particulate sensor

RX pin on ESP-01S header is pin 5

Serial testing

Configure serial port:

stty -F /dev/ttyUSB0 speed 9600 cs8 -parenb

Value of 250µg/m³:

echo -en '\x16\x11\x0b\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x00\x00\xb2' > /dev/ttyUSB0

Value of 0µg/m³:

echo -en "\x16\x11\x0b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xce" > /dev/ttyUSB0
  • esphome/vindriktning.txt
  • Last modified: 2023/12/11 07:47
  • by photonicsguy