/refrigerator-lights

blinkenlights update of our refrigerator. Small 15x10 LED matrix with WS2812b LED strips + WeMos d1 mini (ESP8266 devboard) + FastLED + LEDMatrix + MQTT

Primary LanguageC++MIT LicenseMIT

Refrigerator Lights

Refrigerator Lights is a simple blinkenlights update of the refrigerator of the MunichMakerLab hackerspace.

It drives a small WS2812b LED strip based matrix of 15x10 LEDs behind a diffuse cover; which replaces the old lamp. Controllable by MQTT over ESP8266 WiFi module.

Refrigerator Lights screenshot

Features

  • FastLED library for all the fancy animations
  • WeMos d1 mini (ESP8266 devboard) as MCU and WiFi access
  • MQTT to remote control the animations and state

Hardware

  • WS2812b LED strips (15x10 pixel ~ 50x15 cm)
  • 5V 12A power supply
  • WeMos d1 mini (ESP8266 devboard)

Wiring (Fritzing file)

wiring diagram

Libraries

Requirements

You have to install the Arduino IDE 1.6.5.

Upload Sketch

  • Upload ESP8266 Sketch Data: Tools > ESP8266 Sketch Data Upload
  • upload sketch data on ArduinoIDE
  • Upload Sketch: Sketch > Upload

MQTT Topics

topic message
mumalab/fridge/lights/config reboot
mumalab/fridge/lights/mode normal, alert, tetris
mumalab/fridge/lights/brightness 0 to 255, up, down
mumalab/fridge/lights/background black, plasma, snake, life, fire, lava, cloud, blackwhite, blackgreen
mumalab/fridge/lights/tetris reset
mumalab/fridge/lights/tetris/move left, right, down, rotate

no functionallity yet (for text and icons):

topic message
mumalab/fridge/lights/color r,g,b: e.g. 255,0,0 = red
mumalab/fridge/lights/color/effect solid, hue, random

not yet implemented:

topic message
mumalab/fridge/lights/ticker/color #000000 to #ffffff
mumalab/fridge/lights/ticker/bounce 1 / 0
mumalab/fridge/lights/ticker/direction left / right / up / down
mumalab/fridge/lights/ticker/text scroll message as text...

TODOs

  • bugfix and add the text ticker functionallity