IKEA Air Quality Sensor exposes a UART Port ... Let's sniff it with Bus Pirate
https://github.com/lupyuen/ikea-air-quality-sensor#test-with-bus-pirate
IKEA Air Quality Sensor sends something on its UART Port ... Let's capture the binary data with Bus Pirate
https://github.com/lupyuen/ikea-air-quality-sensor#test-with-bus-pirate
Here's the datasheet for PM1006 LED Particle Sensor inside the IKEA Air Quality Sensor ... Let's use this to decode the UART data
Here's how we decode the UART Output from IKEA Air Quality Sensor ... Based on the PM1006 LED Particle Sensor Datasheet
https://github.com/lupyuen/ikea-air-quality-sensor#decode-sensor-data
Now we connect IKEA Air Quality Sensor to #PineDio Stack #BL604 @PINE64 ... So we can transmit PM 2.5 readings over LoRaWAN to The Things Network!
https://github.com/lupyuen/ikea-air-quality-sensor#connect-to-pinedio-stack-bl604
Configure Apache #NuttX OS to enable UART1 for 9600 bps ... So NuttX can talk to IKEA Air Quality Sensor
https://github.com/lupyuen/ikea-air-quality-sensor#configure-apache-nuttx-os
Testing IKEA Air Quality Sensor gets messy ... 2 USB Ports needed! 🙄
https://github.com/lupyuen/ikea-air-quality-sensor#connect-to-pinedio-stack-bl604
Apache #NuttX OS shows the UART Data from IKEA Air Quality Sensor! Let's dump the data in hex
https://github.com/lupyuen/ikea-air-quality-sensor#test-with-apache-nuttx-os
#NuttX OS has a GPS Demo App that reads from UART ... Let's tweak it to dump the UART Data from IKEA Air Quality Sensor
https://github.com/lupyuen/incubator-nuttx-apps/blob/master/examples/gps/gps_main.c
#NuttX OS dumps the Sensor Data from IKEA Air Quality Sensor ... Yep looks correct! 🎉
https://github.com/lupyuen/ikea-air-quality-sensor#test-with-apache-nuttx-os
#NuttX OS shows Sensor Data received from IKEA Air Quality Sensor ... With PM 2.5 encoded inside!
https://github.com/lupyuen/ikea-air-quality-sensor#test-with-apache-nuttx-os
ESPHome has a module that parses the data from IKEA Air Quality Sensor ... Let's port it to Apache #NuttX OS
https://github.com/esphome/esphome/blob/dev/esphome/components/pm1006/pm1006.cpp#L57-L96
Here's how our #NuttX App handles Sensor Data from IKEA Air Quality Sensor
https://github.com/lupyuen/ikea_air_quality_sensor/blob/main/ikea_air_quality_sensor_main.c#L46-L77
Our #NuttX App validates the Sensor Data received from IKEA Air Quality Sensor ... By matching the header and verifying the checksum
https://github.com/lupyuen/ikea_air_quality_sensor/blob/main/ikea_air_quality_sensor_main.c#L79-L102
Here's how our #NuttX App extracts the PM 2.5 reading from IKEA Air Quality Sensor
PM 2.5 readings from IKEA Air Quality Sensor ... Decoded OK by our #NuttX App! 🎉
https://github.com/lupyuen/ikea_air_quality_sensor#output-log
Our #NuttX App is ready to transmit the PM 2.5 readings .. From IKEA Air Quality Sensor to The Things Network over LoRaWAN! 🎉
https://github.com/lupyuen/ikea_air_quality_sensor#output-log
Connecting IKEA VINDRIKTNING Air Quality Sensor to Apache #NuttX OS ... All shall be explained in this article
What's inside the IKEA Air Quality Sensor
https://lupyuen.github.io/articles/ikea?2#about-ikea-air-quality-sensor
@lupyuen why not build one from scratch instead? I am currently building one:
@kreyren I'm just experimenting with a cheap off-the-shelf IKEA Sensor ... And see what we can do with it 🙂
@lupyuen ain't the plantower things much cheaper in comparison to the ikea one?
@lupyuen Did you figured out how the sensor works btw? Is it just a laser with a sensor like plantower or? (asking in case the used technology is more accurate for PM1.0)
@lupyuen aaaa proprietary 🔥_🔥
Can you give me just a summary of the mechanism assuming it's not patented or whatever?
Labelling cables... using paper, pen, scissors, selotape! = greatest classic DIY labelling technique !...
e.g. label monitor power cables under the table at the multi-plug - which monitor or base unit power cable is which - which can I unplug without risk to the computer?!
Ah the label at the plugs!.. so I know which is which under the table without following the cables!
...and lasts a lifetime too!
...thick pen for better visibility!
@lupyuen
Here's how we soldered the UART Port on IKEA Air Quality Sensor
https://qoto.org/@lupyuen/107738632674328326