Here's how we connect IKEA Air Quality Sensor to #PineDio Stack BL604 @PINE64
https://lupyuen.github.io/articles/ikea?4#connect-to-pinedio-stack-bl604
What's inside the IKEA Air Quality Sensor
https://lupyuen.github.io/articles/ikea?2#about-ikea-air-quality-sensor
Connecting IKEA VINDRIKTNING Air Quality Sensor to Apache #NuttX OS ... All shall be explained in this article
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
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 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 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
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
#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
#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 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
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
Testing IKEA Air Quality Sensor gets messy ... 2 USB Ports needed! 🙄
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
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
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
IoT Techie and Educator / Apache NuttX PMC