StofAnanas: Difference between revisions

From RevSpace
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


== The idea ==
== The idea ==
Show current particulate matter concentration using a LED light in a lamp.
Show current airborne particulate matter concentration using a LED light in a lamp, inspired by http://stoflamp.nl
The data that the LED colour is based on is simply retrieved over WiFi from the luftdaten website.


Inspired by http://stoflamp.nl
This lamp is a plastic pine apple ("ananas"), bought at the "Action" store.
 
This lamp is a pine apple ("ananas"), bought at "Action".


Concepts/ideas:
Concepts/ideas:
* The lamp shows particulate matter concentration as a colour, e.g. soft/positive colours for low concentration and hard/bright colour for high concentration
* The lamp shows particulate matter concentration as a colour, e.g. soft/positive colours for low concentration and hard/bright colour for high concentration
* The lamp "breathes" by varying the intensity over time, e.g. a cycle of 10 seconds where the light dims a bit and brightens a bit. Perhaps we can increase the breathing rate as well for higher PM.
* The lamp "breathes" by varying the intensity over time, e.g. a cycle of 10 seconds where the light dims a bit and brightens a bit. Perhaps we can increase the breathing rate as well for higher PM.
* The lamp retrieves the PM value over wifi from the internet
* The lamp retrieves the PM value over wifi from the the luftdaten website
Nice to have:
Nice to have:
* Automatic determination of location by means of wifi location
* Automatic determination of location by means of wifi location
Line 23: Line 22:


== Hardware ==
== Hardware ==
The lamp is controlled by an ESP8266, a Wemos D1 mini.
The lamp is controlled by an ESP8266, a Wemos D1 mini board.
LEDs used have a built-in PL9823.
The LEDs used has a built-in PL9823 controller.


== Software ==
== Software ==
Software is available on [https://github.com/bertrik/stofananas github].
Software is available on [https://github.com/bertrik/stofananas github].
Libraries:
* WiFiManager is used to manage WiFi connection to the local AP
* FastLED is used to control the LED
* ArduinoJSON for the parsing the luftdaten response

Revision as of 08:44, 16 June 2019

Project StofAnanas
StofAnanas.jpg
Showing particulate matter concentration as a coloured light
Status Initializing
Contact bertrik
Last Update 2019-06-16

The idea

Show current airborne particulate matter concentration using a LED light in a lamp, inspired by http://stoflamp.nl The data that the LED colour is based on is simply retrieved over WiFi from the luftdaten website.

This lamp is a plastic pine apple ("ananas"), bought at the "Action" store.

Concepts/ideas:

  • The lamp shows particulate matter concentration as a colour, e.g. soft/positive colours for low concentration and hard/bright colour for high concentration
  • The lamp "breathes" by varying the intensity over time, e.g. a cycle of 10 seconds where the light dims a bit and brightens a bit. Perhaps we can increase the breathing rate as well for higher PM.
  • The lamp retrieves the PM value over wifi from the the luftdaten website

Nice to have:

  • Automatic determination of location by means of wifi location
  • Remote control over IR

Hardware

The lamp is controlled by an ESP8266, a Wemos D1 mini board. The LEDs used has a built-in PL9823 controller.

Software

Software is available on github.

Libraries:

  • WiFiManager is used to manage WiFi connection to the local AP
  • FastLED is used to control the LED
  • ArduinoJSON for the parsing the luftdaten response