Portable display PM2.5

Mini device which display PM2.5 with temperateure and humidity. Work on battery for weeks, display last measure, hourly and AQI value.
This is my 3rd or 4th device for PM2.5 display.
I developed this portable value as I want to know everywhere I go what are the condition of pollution for running inside or outside.
The condition of this device was to be essential, meaning just measure the value, calculate the hourly average and the AQI. To be portable, it must be power on battery and keep charged for days and weeks.
For simplicity, I add a LED display color for easy reading.
Technical description: Hardware :
- Sensor is the PMS7000. this choice because it is small and fan embedded
- The uC is a PIC18F2520
- The sensor is powerd by a real shutdown DC/DC boost: Vbat=>5v (100mA)
- When a measurement need to be done, need power 30 sec before the first measurement is valid
- The LED are low consumption (2ma max)
- Display with 8*2 cars. This display is B&W, very low consumption and easy to buy on internet
- I add a sensor SHT21 for temp and humidity (not necessary just nice to have)
- LDR for night detection
- Battery charging with USB. Option for solar power recharge
- Overall the device consumption is 2mA, except during measurement phase which is 100mA
Technical description: Software :
- Develop with MikroC for PIC18F2520
- Several display mode:
* Last measure and AQI
* Hourly average and AQI
* Battery voltage and Last measure, Hourly average and AQI
* Instant measurement: Sensor always ON and real time display value
- Choice to display the LED based on last measyre, hourly measure or AQI
- 2 choice for the AQI calculation: USA standard one (24h average rolling basis) or the new calculation method, which is 12h basis rolling with some weight on the latest measurement
- Sampling particule measurement choice, from every 10min to every hour. this is the major impact on the autonomy. Every hour, an average of all the measurement made during this hour is recorded and used for the AQI calculation
- Choice to keep or remove the LED display during the night (LDR light detection)
After mock up develop and validated, create a small PCB with SMT components, 5cm*4cm.
All the components can feet into a standard small casing 9.5cm*6cm.2.5cm. I'm designing a dedicated small casing for 3D print to optimize more the space.
Some consumption optimisation need to be done but overall, this device is working fine, maybe too fine as it can show some bad environment. At least, we can see that an air purifier in a kids's room is working very well.
PCB need to be improve as connecters are too big and some layout error.
Laurent
I developed this portable value as I want to know everywhere I go what are the condition of pollution for running inside or outside.
The condition of this device was to be essential, meaning just measure the value, calculate the hourly average and the AQI. To be portable, it must be power on battery and keep charged for days and weeks.
For simplicity, I add a LED display color for easy reading.
Technical description: Hardware :
- Sensor is the PMS7000. this choice because it is small and fan embedded
- The uC is a PIC18F2520
- The sensor is powerd by a real shutdown DC/DC boost: Vbat=>5v (100mA)
- When a measurement need to be done, need power 30 sec before the first measurement is valid
- The LED are low consumption (2ma max)
- Display with 8*2 cars. This display is B&W, very low consumption and easy to buy on internet
- I add a sensor SHT21 for temp and humidity (not necessary just nice to have)
- LDR for night detection
- Battery charging with USB. Option for solar power recharge
- Overall the device consumption is 2mA, except during measurement phase which is 100mA
Technical description: Software :
- Develop with MikroC for PIC18F2520
- Several display mode:
* Last measure and AQI
* Hourly average and AQI
* Battery voltage and Last measure, Hourly average and AQI
* Instant measurement: Sensor always ON and real time display value
- Choice to display the LED based on last measyre, hourly measure or AQI
- 2 choice for the AQI calculation: USA standard one (24h average rolling basis) or the new calculation method, which is 12h basis rolling with some weight on the latest measurement
- Sampling particule measurement choice, from every 10min to every hour. this is the major impact on the autonomy. Every hour, an average of all the measurement made during this hour is recorded and used for the AQI calculation
- Choice to keep or remove the LED display during the night (LDR light detection)
After mock up develop and validated, create a small PCB with SMT components, 5cm*4cm.
All the components can feet into a standard small casing 9.5cm*6cm.2.5cm. I'm designing a dedicated small casing for 3D print to optimize more the space.
Some consumption optimisation need to be done but overall, this device is working fine, maybe too fine as it can show some bad environment. At least, we can see that an air purifier in a kids's room is working very well.
PCB need to be improve as connecters are too big and some layout error.
Laurent
Updates van de auteur
gfaman 4 jaar geleden
Pollut_sw.zip (502kb)
gfaman 5 jaar geleden
I made an excel file with all the consumption and see how to optimize it. There are still some area which can be optimize, in the software (using IT for button per example) or hardware (lower IQ for regulator). However, the simulation with the excel file shows that the main contributor for the consumption is the particle sensor, which need 30 sec ON before taking measurement. 30 sec with 100mA (due to the fan). this 30sec are in the spec. Reducing it will increase seriously the autonomy.
So, based on this simulation, I didn t spend time to optimze the consumption in SW or HW. However, 2 to 3 weeks is already a good results. No air quality sensor can do that on the market.
gfaman 5 jaar geleden
The pictures showed how small it can be. The withdraw is the battery is smaller, can be around 700mA/h.
Some software improvement are made:
- Launch a measurement at switch on
- Each measurement are now made with 3 consecutive sensor data
- Optimize button management for more fluent in menu moving
gfaman 5 jaar geleden
- Made one support for outdoor fix, with external solar panel and add some recharge from the sun. Fixing it on a window outside, we can see imediatly for air quality only by looking the LED. Very very convenient...
- Adjust the total thickness of the casing to be able to add a 1200mAh battery, giving more than 2 weeks autonomy with 20min measurement period.
- Made a new PCB to correct some mistakes on the first one, and with a graphic display connector possibility (but SW not yet develop)
- I put now 4 devices at home, one living room, one outside, and 2 in the bedroom. I launch the aircleaner with it is bad status.
- Made a simple aircleaner with a portable fan and HEPA filter. It is enough to clean the air of kids's bedroom within 1h.
Wood 3D printer color (1922kb)
gfaman 5 jaar geleden
from inside view (2643kb)
From outside view (2319kb)
Quite thin (1737kb)