Let's connect IKEA Air Quality Sensor to #LoRaWAN and #TheThingsNetwork ... With Apache #NuttX OS and PineDio Stack #BL604!
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
Here's how we soldered the UART Port on IKEA Air Quality Sensor
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
Exposing the UART Port on IKEA Air Quality Sensor ... With a little soldering
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
Decoding the PM 2.5 Sensor Data transmitted by IKEA Air Quality Sensor
UART Port on IKEA Air Quality Sensor runs on 5V, not 3.3V 🤔
Some folks are using the 5V UART Port on IKEA Air Quality Sensor ... Without a Voltage Divider 🤔
Here's how I soldered the UART Port on IKEA Air Quality Sensor
How our #NuttX App handles the PM 2.5 data from IKEA Air Quality Sensor
IKEA Air Quality Sensor transmits PM 2.5 data in frames of 20 bytes ... Here's how we validate the data
https://lupyuen.github.io/articles/ikea?10#validate-sensor-data
Extracting the PM 2.5 values from IKEA Air Quality Sensor
https://lupyuen.github.io/articles/ikea?11#process-sensor-data
How we build, flash and run Apache #NuttX OS on #BL602 and #ESP32
https://lupyuen.github.io/articles/ikea?12#appendix-build-flash-and-run-nuttx
Our #NuttX App shows the PM 2.5 data from IKEA Air Quality Sensor! 🎉
Bus Pirate sniffing the UART output from IKEA Air Quality Sensor
https://lupyuen.github.io/articles/ikea?16#appendix-test-with-bus-pirate
What's Next for IKEA Air Quality Sensor on Apache #NuttX OS ... LoRaWAN, The Things Network, Prometheus and Grafana!
Voltage Divider for 5V UART Port on IKEA Air Quality Sensor ... This looks safer for our 3.3V board 🤔
Yep it still works after connecting the Voltage Divider 👍
IKEA Air Quality Sensor connected to #PineDio Stack BL604 @PINE64 ... Now with a Voltage Divider 👍
https://lupyuen.github.io/articles/ikea?90#connect-to-pinedio-stack-bl604