Model Scenery Tutorials

Comprenshive Tips. Hints And Techniques For Budget Minded Diorama Maker, Model Train Enthusiast And Wargammer

Thunderstorm With Sounds And Colored Lightning For Dioramas And Model Railroads

How to make a thunder and lightning storm using a WS2812B Pixel LED strip that is programmed to randomly flash some blue color among the white.

colored lightning circuit boardThe project utilizes a circuit board with a lightning controller and thunder sound player. An image is to the left.







colored lightning 3d modelAnd to the left is an image of a 3d model of how the circuit board looks when all the parts are in place.

Materials Required


Circuit Board                      1
Arduino mini pro              1
DFPlayer mini                   1
3 pin screw terminal        1
2 pin screw terminal       4
Speaker 3 watt                  1
WS2812B 1 meter            1
32GB SD card                   1
DuPont pin sockets         2
Pin headers                      2
Resistor 1k                        1

Get all materials here.


All connections between parts are made via traces on the circuit board.

The circuit board shows exactly where the elements are placed on the board,

So it is a simple matter of inserting the parts, soldering them in place with a fine point soldering tip on which there is

The screw terminals come to you in 2 pin segments. They are designed to be joined together.  Join them using the slots on each side. So join them as necessary to fit the lengths needed by the circuit board.

The Arduino board comes without pins.  Cut pin headers to proper lengths and solder them in place.

The pins on the DFPlayer and Arduino board (now with pins you just soldered on) connect to the circuit board via Dupont pin sockets. Cut the pin sockets to length and insert the pins into the sockets.

The sockets will be soldered to the circuit board.  With the pins or the DFPlayer and and Arduino board inserted, you can be sure that the pin sockets will be vertical when soldered to the board.

Now add all the elements to the board and solder in place.

The SD card is loaded with the recommended sounds for this project.

The Arduino mini pro is fully programmed.


This storm is controlled by a manual switch.  The connections are labeled  SW1 and SW2 . To control it via another micro controller just connect the trigger from that controller to SW1 . That switch is usually located on a control panel which is likely to be some distance from the circuit board.

Connect the pixel strip as shown by the labels on the board.

Attach the speaker to S+ and S-.  The  + and – match those on the speaker.  Speakers have an upper limit of 3 watts.

If you wish more volume, add a 5v amplifier.  How to do that is here.

TX and RX are connections for a bluetooth module.  By using such a module you can play sound on a Bluetooth speaker that you place at a removed location.  How to do that is here.

Connect to a 5 volt power supply via the labeled terminals.


Please let us know if this page has been helpful  And if you have questions or suggestions, use this spam free system.




Scroll to top