Mini Stoplight that runs off a Lolin v3 and some WS2812 neopixels.
This is a remix of a several different files from a few other things. You could still use a smaller board like an ATTiny or arduino nano, etc. I wanted wifi and MQTT support. The stoplight runs off MQTT to change the light colors.
I used the front and the pane from here
I used the LED inlay from this thing
And I used the back box from this thing
The original thing from Montiey was designed for LEDs, I did not have any LEDs that were bright enough to get the job done. But I did have some WS2812 neopixels on hand. So I took the LED inlay from makibox850 and modified it to hold a three WS2812 neopixels. Then I took his backbox and cut holes for a Lolin v3 to fit on the back. Then made a cover for the Lolin.
You could still use LEDs if you wanted to, I have included the inlay for it but I have not used it. The neopixel stoplight came out great.
There are seven (7) pieces that need to be printed, they are all held together with M3 screws or press fit. The light panes/covers just pop in the front piece and are held in with the inlay when screwed together.
You will need three WS2812 neopixels, I used and designed this for the ones with the two mounting holes.
Or you can use the originally designed LEDs, in that case you would need twelve (12) LEDs, four (4) of each color; red, yellow, green.
You will need to print the housing in black to block out the light. Montiey says 3 walls, I always print 4 and it came out fine so I guess at least 3-4 walls is needed.
I printed the LED panes/covers in three different colors; red, yellow and green. This along with the WS2812s in the same color came out great and bright enough for my use. I could see the colors plainly in my living room during the day.
The wiring is fairly simple with the WS2812s, and the Lolin. You wire them together in a chain then to the Lolin. Just three wires, I used jumper wires on mine. If you go the LED route you will need some resistors to wire to the Lolin, but I didn't do that so I can not advise on what exactly you would need or how to program it.
The inside of the back box is not the cleanest, the floor is raised up just a tad. By the time I noticed it I did not want to go back and fix it, it does not affect the print or its looks (its inside the box).
What you will need:
One (1) Lolin v3 (NodeMCUs are smaller and wont fit for this mod)
Three (3) WS2812 Neopixels
(Or twelve (12) LEDs, four of each color - red, yellow, green)
Four (4) M3x8-20mm for the front
Four (4) M3x14-20mm for the Lolin cover
Four (4) M3x8-10 for the Lolin to the back case
The included .ino files will setup a lolin/nodemcu/esp8266 for changing colors via commands sent over MQTT or setup a web server to host a page to change the lights.