Luciferin, Wireless Bias Lighting for Your PC.

5,393

70

17

Introduction: Luciferin, Wireless Bias Lighting for Your PC.

Luciferin is a generic term for the light-emitting compound found in organisms that generate bioluminescence like Fireflies and Glow Worms. Firefly Luciferin is a Java Fast Screen Capture PC software designed for Glow Worm Luciferin firmware, those two software creates the perfect Bias Lighting and Ambient Light system for PC.

Supplies

1) ESP8266 microcontroller (D1 Mini or NodeMCU)

2) WS2812B LED strip

3) Power supply for the LED strip

4) An MQTT server (if you have Home Assistant or OpenHAB you have one, MQTT server is optional and it's needed in case you want to use Luciferin via wireless)

5) A Windows or Linux PC (macOS support will be supported soon)

Step 1: Install Glow Worm Luciferin Firmware on Your Microcontroller

Download the Glow Worm Luciferin firmware and flash it on your ESP8266 using your preferite flasher tool.

Please download the firmware from here.

You can download ESP Home Flasher from here.

Note: Firmware is bundled in a .tar file, you can extract it using 7zip or similar, inside the tar you will find two binaries, FULL version is needed for MQTT and wireless support, LIGHT version can be used if you don't need MQTT or wireless support.

Step 2: Connect the LED Strip to Your Microcontroller

Capacitor, resistance and logic level converter helps "stabilizing the circuit", there are many people who don't use those extra components.

You need to buy a power supply capable of powering all the LEDs you want. For 60 LEDs a power supply of at least 5V/3A it's recommended, for 120 LEDs you need a 5V/6A power supply, do your math here. A bigger power supply generally works better and runs less hot than a smaller one. Don't undersize the power supply.

Note: LED strip must be connected to the D1 pin.

Step 3: Put the LED's on the Back of the Monitor

Double sided tape is all you need for this step. It's easyer if you cut the strip in 5 parts,
top row, left column, right column, bottom left, bottom right.

NOTE: If you want to use the automatically generated configuration, your first LED should be positioned in the bottom half of your monitor like shown in the image.

Step 4: Download and Install Firefly Luciferin PC Software

Please download and install Firefly Luciferin on your PC, you can download it from here.

Once installed the software, start it and configure it via the graphical user interface. Defaults are good for most people.

Connect a USB cable to your ESP8266, double click the tray icon of the Firefly Luciferin software and enjoy your bias lighting system. If you don't want to connect a USB cable you need to continue reading the Wiki for MQTT/Wireless configuration.

Step 5: [OPTIONAL] Remote Control Using WiFi and MQTT

Luciferin supports MQTT and can be controlled via a smartphone or via a PC remotely using a generic MQTT client.

Thanks to Arduino Bootstrapper, Glow Worm Luciferin firmware starts an access point for easy configuration via a mobile phone.

Please connect to the AP with your mobile, if you search for WiFi networks you will find your ESP device named LUCIFERIN, once connected go to http://192.168.4.1 and you will access a GUI where you can enter all the passwords without the needs of hardcoding them.

1) IP Address: The IP address that your ESP should use.
2) SSID: Your Wifi SSID, the name of your Wifi.
3) Wifi Password: Your Wifi password
4) OTA Password: You can use this password to update Luciferin via wireless.
5) MQTT Server IP: The IP address of your MQTT server.
6) MQTT Server Port: The port of your MQTT server.
7) MQTT Username: The username you use to login to your MQTT server.
8) MQTT Password: Your MQTT password.

Please double check your input before clicking the 'Store config' button. If you enter wrong data you need to erase the ESP memory and reflash the firmware.

## Default topic
lights/glowwormluciferin/set

## Turn ON/OFF the LED strip remotely, apply light effects.

{"state": "ON"}
{"state": "OFF"}
{"state": "ON", "effect": "rainbow"}

Those are the supported effects:
GlowWorm, GlowWormWifi, bpm, candy cane, confetti, cyclon rainbow, dots, fire, glitter, juggle, lightning, noise, police all, police one, rainbow, solid rainbow, rainbow with glitter, ripple, sinelon, solid, twinkle

Step 6: [OPTIONAL] Home Assistant Integration

Thanks to the MQTT protocol Luciferin can be easily integrated into your preferred Home Automation systems.

- Create a `glow_worm_luciferin` folder inside your `conf` folder.

- Copy the ready to use package into your `glow_worm_luciferin` folder.

- Add the package to your configuration.yaml

Lighting Challenge

Participated in the
Lighting Challenge

1 Person Made This Project!

Recommendations

  • Organization Contest

    Organization Contest
  • Plastic Challenge

    Plastic Challenge
  • Halloween Contest

    Halloween Contest

17 Comments

0
saadland
saadland

Question 6 weeks ago on Step 2

What is exactly this function of the small PCB?? A stepdown from 5V to 3.3V to power Wemos Board or?? And why pass the data Yellow wirethough that board also?? Other use simply a resistor between Data step and Pin Data on Wwmoa (Pin D1)??
I want to try the project but can not catch this small Red PCB.
Thx for the explanation ))

0
JonathanR224
JonathanR224

7 months ago

Could this work with Neopixel led lights? And could a RassberryPi with Linux/Windows installed get it to work on a tv?

0
sblantipodi
sblantipodi

Reply 7 months ago

Adafruit created the word neopixel just to convince people that they have invented something new. Neopixels are ws2812 LEDs, nothing more, nothing less. So yes, luciferin supports neopixel but if you can, save your money on adafruit's neopixel and buy a ws2812b led strip.
Luciferin works well on Linux but its not intended to run on a raspberry. You need a pc or a nuc.

0
JonathanR224
JonathanR224

Reply 7 months ago

Gotcha, thank you for letting me know about neopixel. They got me for a while. I saw too many fancy lightsabers with "NeoPixel" and thought it was something special. Will try this out next month, I'll let you know how it goes. Any nu or pc or does it need to have Linux or Windows? like a Chromebook wouldnt work? Much appreciation, sblantipodi.

0
sblantipodi
sblantipodi

Reply 7 months ago

I am adding MacOS supported but the support OS are Windows and Linux currently.

0
vaughank911
vaughank911

8 months ago

What's the cost on this project and can it be some how used for a tv

0
sblantipodi
sblantipodi

Reply 8 months ago

if you buy the components from aliexpress 30USD should be more than enough.
you can use it on the TV if your TV received the signal from a Windows/Linux box.

0
saadland
saadland

11 months ago

So basically it is another software for AmbiLight, like AmbiBox?? Right??

0
sblantipodi
sblantipodi

Reply 11 months ago

basically yes but it's faster and it has more features, it works wirelessly and it's a suite that bundles a PC software and a firmware. The firmware is designed for the PC software and the PC software is designed for the firmware.

0
gonzaloherrero93
gonzaloherrero93

Question 1 year ago

Hello I have a question, what is the component of the attached photo?
also this project can be done with Nodemcu Wifi Esp8266?
Thank you!

asd.png
0
sblantipodi
sblantipodi

Answer 1 year ago

0
JZaring66
JZaring66

Question 1 year ago on Step 2

I'm missing something. How does the system know what color or where the color is on the screen?

0
sblantipodi
sblantipodi

Answer 1 year ago

Hi, thanks for the interest. Luciferin is a software suite made from two components. Firefly Luciferin that is a fast screen capture software for PC, and GlowWorm Luciferin that is a firmware that runs on a microcontroller.
PC software captures the image on the screen, elaborates it and sends "compressed" screen information to the microcontroller that get this information and sends it to the LED strip. Hope it helped.

0
tiburon4
tiburon4

1 year ago

Where can I find that screen saver! Cool project entirely

0
jessyratfink
jessyratfink

1 year ago

Wow that is a super cool effect :D