Author Topic: Make your own Purpleair  (Read 232 times)

0 Members and 1 Guest are viewing this topic.

Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 197
    • Copperwood WX
Make your own Purpleair
« on: February 13, 2018, 08:20:56 AM »
I cam across this article on Adafruit - it's about the Arduino and the same Plantower sensor Purpleair uses.
If you wanted to make a sh**-ton of these things, you could probably do it cheaper.

Here's the article:
https://learn.adafruit.com/pm25-air-quality-sensor

Online wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1174
    • Support site Leuven Template and scripts
Re: Make your own Purpleair
« Reply #1 on: February 13, 2018, 09:13:58 AM »
I cam across this article on Adafruit - it's about the Arduino and the same Plantower sensor Purpleair uses.
If you wanted to make a sh**-ton of these things, you could probably do it cheaper.

Here's the article:
https://learn.adafruit.com/pm25-air-quality-sensor
Or use this one, the "luftdaten" sensor, already hundreds of stations in Europe, how-to-build in multiple languages (sorry the English version is not the best one), Open-Data, Open-source of all scripts via Github.

One big map and multiple local = city wide maps such as Leuven or Brussels
In my home town of Leuven-Belgium they = the inhabitants,  are rolling out a hundred of these sensors.
I have one  on my own website also, on the home page a small expandable block and a full page at http://weer.sluispark.be/index.php?p=mnu_aqhi_luft&lang=en

The scripts used,  look the same as for the Purpleair,check this  user site and also the normal AQ scripts as used in the US at this demo site

The sensors plus arduino board cost less then 30 dollar and there is a shopping-list with links to the ali*** chiness site.

There are a few users in Northern America also. it is becoming quit a success here as multiple cities sponsor this development by organising how-to-build workshops a.s.o.

Wim
Vantage VUE with a WLIP connected to a Meteobridge used for https://weer.sluispark.be/
Same VUE+WLIP uploads to WL.com(2.0)  used for https://sluispark.be/weather28/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/
Envoy with a WLIP uploads to WL.com(1.0) as a backup / test for the same site.

Offline azchrisf

  • Cobra Weather Dominator Operator
  • Senior Contributor
  • ****
  • Posts: 197
    • Copperwood WX
Re: Make your own Purpleair
« Reply #2 on: February 13, 2018, 09:23:09 AM »
That's quite interesting.
Where are the script source? I'd love to look at them and see if they can improve the Purpleair one I released.

Offline SLOweather

  • Administrator
  • Forecaster
  • *****
  • Posts: 3313
    • http://www.sloweather.com
Re: Make your own Purpleair
« Reply #3 on: February 13, 2018, 09:29:02 AM »
That's quite interesting.
Where are the script source? I'd love to look at them and see if they can improve the Purpleair one I released.

https://github.com/opendata-stuttgart ?

Offline droiddk

  • Senior Contributor
  • ****
  • Posts: 227
Re: Make your own Purpleair
« Reply #4 on: February 13, 2018, 09:52:24 AM »
Or use this one, the "luftdaten" sensor

Hi, can you supply link for the Hardware?

Is it this one: https://luftdaten.info/feinstaubsensor-bauen/ ?

Regards

Online wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1174
    • Support site Leuven Template and scripts
Re: Make your own Purpleair
« Reply #5 on: February 13, 2018, 09:54:55 AM »
That's quite interesting.
Where are the script source? I'd love to look at them and see if they can improve the Purpleair one I released.

https://github.com/opendata-stuttgart ?
Thanks, that is the most important one. All city wide nets use those scripts also to build their own versions. But the arduino code remains the same.
The sensor can upload to the two main sites, API Luftdaten.info for the sensor database and API Madavi.de for the graphs.
Then there are pre-set uploads to OpenSenseMap and api.luftdaten.info, for which  you have to set your own credentials.

And most important, every 2 1/2 minute measurement (pm2.5/pm10/temp/hum)  can be uploaded to your own website also. Or to a local/city site. The website script which receives the data, can re-upload the data to another site a.s.o.  The uploaded JSON with the  sensor measurements  can be saved as is, and / or converted to CSV and / or saved in a 24/hr csv.  Probably someone also made a version to store the data in a DB.

For the users here in Leuven, one big plus (beside the price) is the open-source. Every line of the code can be checked. Also automatic firmware updates can be switched off.

I attach a copy of the config page of the sensor which you address locally by IP and has its own webserver with multiple pages.

Wim
« Last Edit: February 13, 2018, 10:01:07 AM by wvdkuil »
Vantage VUE with a WLIP connected to a Meteobridge used for https://weer.sluispark.be/
Same VUE+WLIP uploads to WL.com(2.0)  used for https://sluispark.be/weather28/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/
Envoy with a WLIP uploads to WL.com(1.0) as a backup / test for the same site.

Online wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1174
    • Support site Leuven Template and scripts
Re: Make your own Purpleair
« Reply #6 on: February 13, 2018, 09:56:41 AM »
Or use this one, the "luftdaten" sensor

Hi, can you supply link for the Hardware?

Is it this one: https://luftdaten.info/feinstaubsensor-bauen/ ?

Regards
https://luftdaten.info/en/construction-manual/ is the almost all english one. Only the shopping list part is still untranslated. Below that it is english.
Wim
Vantage VUE with a WLIP connected to a Meteobridge used for https://weer.sluispark.be/
Same VUE+WLIP uploads to WL.com(2.0)  used for https://sluispark.be/weather28/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/
Envoy with a WLIP uploads to WL.com(1.0) as a backup / test for the same site.

Offline droiddk

  • Senior Contributor
  • ****
  • Posts: 227
Re: Make your own Purpleair
« Reply #7 on: February 13, 2018, 09:58:13 AM »
Or use this one, the "luftdaten" sensor

Hi, can you supply link for the Hardware?

Is it this one: https://luftdaten.info/feinstaubsensor-bauen/ ?

Regards
https://luftdaten.info/en/construction-manual/ is the almost all english one. Only the shopping list part is still untranslated. Below that it is english.
Wim

Thanks

Offline Toxic

  • Senior Contributor
  • ****
  • Posts: 194
  • #conligwx
    • conligwx.org
Re: Make your own Purpleair
« Reply #8 on: February 13, 2018, 10:04:36 AM »
« Last Edit: February 13, 2018, 10:16:41 AM by Toxic »
Regards Simon