Does anyone know if there is any driver made for HPMA115S0-XXX dust sensor from Honeywell?
Hi @user134201 it doesn't appear that is the case. The current list of modules that have been developed may be foud at:
and an alphabetical list at:
Maybe consider writing a module for the Honeywell dust sensor and contribute to the Espruino community perhaps?
The device is using a serial interface for communicatin. As there is no Espruino module available I suggest to find some driver in js or c and port them to work with Espruino.
USART / UART / Serial Port: https://www.espruino.com/USART
Thank you for the advice. It looks like a challenge. I will look into it.
I wrote some prototype code while road testing an nrf52840 board in element14: https://www.element14.com/community/groups/roadtest/blog/2020/11/13/road-testing-the-pan1780-evaluation-kit-part-5-air-quality-dashboard-via-web-bluetooth
It's not that difficult to get it working. Like MaBe said, it's just serial comms. The tricky bit is to handle the 32byte stream that comes in every second; since it's serial you might get dropped bytes depending on how good your wiring is. In my case I never got the checksum to match the byte calculation, so I just lived with strange pm values every now and then.
https://gist.github.com/parasquid/808cf63ee6c5e9865df32e3ddb8c795a#file-airquality-js github gist for quick reference :)
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem