We use cookies to provide our visitors with an optimal site experience. View our privacy notice and cookie notice to learn more about how we use cookies and how to manage your settings. By proceeding on our website you consent to the use of cookies.
Is there a guide out in the internet about using the ULPSM sensors in Air quality monitoring projects with the ESP32 via MicroPython? Or are ULPSM sensors even compatible with ESP32 and micropython in the first place?
I have some experience working with air quality sensors but I used the arduino IDE in the past and now I’m required to use MicroPython which I’m currently only about to study.
I’ve noted the videos you linked to me but I noticed that both of them used Arduino IDE just like all the vids I’ve watched in the past. My question is. is the implementation of the sensors (especially the ULPSM sensors from digikey) on Arduino IDE similar to what should be done on MicroPython? Are these sensors supposed to be “plug and play” such that I only need to read the ADC pin of the ESP32,which is connected to the sensor, in my algorithm that I made on MicroPython? Or do i need to still install packages? If so, where can I find them? The packages listed on github are only for Arduino IDE.
Based on this snippet from the datasheet. Yes, the interface is analog.
This is interesting part. I did find a wealth of information on the Spec Sensor library.
This application note was especially helpful as it describes how to perform the calculation. Note that both the Vref and Vgas outputs are included. Consequently, two ADC channels are required.
Please let us know if we can assist in the future.