Thunderstorm lightning circuit

Hello Folks,

im new here and tried to find a solution for my thunderstorm project.
I only found one thread, but its closed long time ago.

So I made a house diorama, which I want to light up. Light up in a way of a thunderstorm with lightnings. Flashing leds in other words.

Can someone please advice me a easy solution for this?

I have no experience in arduino or programing.

Found a video on youtube:

Would this be easy to do?

I mean I would buy this arduino board and stuff. But maybe someone would be kind enough to assist me how to upload the code onto the arduino or change some values
of the frequency of the lighning ect....

Thank you in advance!

Would be very thankfull if someone could help me out in this project.

Kind Regards

Since you're a fan of YT

Arduino tutorials, playlist

Lesson 2

Fastest route is to install the Aduino IDE (https://www.arduino.cc/en/software)

Goto "File"->"examples"->"01 basics"->blink

Modify the pin assignments until it works then play around with the code until you get the effect you are happy with. (Delay() for example)

Sure, most forum members would be glad to help.

Thank you!

So the solution in the video is ok for my project right?
I just have to bring the code onto the arduino and that is it?

Thank you all

It just blinks the LED, does not make the thunder sound.

what do you mean with modify the pin assigments?

I see! :slightly_smiling_face:

Would it be hard task to combine it to a sound module? If no, wich one would be a good choice?

If its to hard, its ok if it will just blink.
Im planing to have an mp3 player board to play the music of the game.
So there I could play thunder clap sound too in the background but they wouldn be linked to the blinking of course.

What game?

resident evil 1

Sorry don't know anything about it

is this code what ill need ?

Creating a Lightning/Thunder Setup.._gaMTkyMDMzNzkwOS4xNzQwMjI4MTAz*_ga_NEXN8H46L5*MTc0MDIyODEwMy4xLjAuMTc0MDIyODEwMy4wLjAuMTUzODEyNjE4Mw..

I don't see any code at that link.

this i have to embed into my IDE software right?

Please post the code you would like to use.

{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-nano", "id": "nano", "top": 273.6, "left": -86.9, "attrs": {} },
{
"type": "wokwi-neopixel-matrix",
"id": "ring1",
"top": 146.09,
"left": -195.58,
"rotate": 300,
"attrs": { "pixleate": "1", "rows": "1", "cols": "13" }
},
{
"type": "wokwi-neopixel-matrix",
"id": "ring2",
"top": -15.52,
"left": -19.84,
"rotate": 180,
"attrs": { "pixleate": "1", "rows": "1", "cols": "3" }
},
{
"type": "wokwi-neopixel-matrix",
"id": "ring3",
"top": -103.53,
"left": -72.07,
"rotate": 300,
"attrs": { "pixleate": "1", "rows": "1", "cols": "7" }
},
{
"type": "wokwi-neopixel-matrix",
"id": "ring4",
"top": -197.92,
"left": -85.88,
"rotate": 180,
"attrs": { "pixleate": "1", "rows": "1", "cols": "6" }
},
{
"type": "wokwi-neopixel-matrix",
"id": "ring5",
"top": -79.54,
"left": -228.23,
"rotate": 110,
"attrs": { "pixleate": "1", "rows": "1", "cols": "9" }
},
{
"type": "wokwi-neopixel-matrix",
"id": "ring6",
"top": 44.52,
"left": -160.75,
"attrs": { "pixleate": "1", "rows": "1", "cols": "4" }
},
{
"type": "wokwi-neopixel-matrix",
"id": "ring7",
"top": 149.44,
"left": -181.52,
"rotate": 103,
"attrs": { "pixleate": "1", "rows": "1", "cols": "7" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 220.8, "left": -10.2, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc1", "top": 154.36, "left": -9.6, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 182.3,
"left": -6.1,
"rotate": 90,
"attrs": { "color": "yellow" }
}
],
"connections": [
[ "ring7:DOUT", "ring16:DIN", "white", [ "v0" ] ],
[ "ring16:DIN", "ring1:DIN", "white", [ "h13.63", "v-84.32" ] ],
[ "ring1:DOUT", "ring15:DIN", "white", [ "h-1.91", "v-53.31" ] ],
[ "ring15:DOUT", "ring6:DIN", "white", [ "v0" ] ],
[ "ring6:DOUT", "ring14:DIN", "white", [ "v-8.24", "h-105.98" ] ],
[ "ring3:DIN", "ring14:DOUT", "white", [ "v0" ] ],
[ "ring1:GND", "gnd1:GND", "black", [ "v0" ] ],
[ "ring1:VCC", "vcc1:VCC", "red", [ "v37.65", "h56.5" ] ],
[ "ring1:DOUT", "ring2:DIN", "white", [ "h91.2", "v-157.46" ] ],
[ "ring2:DOUT", "ring3:DIN", "white", [ "v-7.01", "h76.8", "v-67.22" ] ],
[ "ring3:DOUT", "ring4:DIN", "white", [ "h43.2", "v-109.46", "h-144" ] ],
[ "ring4:DOUT", "ring5:DIN", "white", [ "v-8.04", "h-145.99", "v135.97" ] ],
[ "ring6:DIN", "ring5:DOUT", "white", [ "h-67.2", "v-122.25" ] ],
[ "ring6:DOUT", "ring7:DIN", "white", [ "v7.69", "h-76.8", "v87.82" ] ],
[ "nano:GND.2", "btn1:1.r", "black", [ "v-11.13", "h36.3" ] ],
[ "ring1:DIN", "nano:6", "green", [ "h3.77", "v131.58" ] ],
[ "nano:3", "btn1:2.r", "green", [ "v0" ] ]
],
"dependencies": {}
}

That is not Arduino code.

Before you go any further, I suggest you learn how to use the Arduino, otherwise you will spend days wasting your time looking at things not knowing what you are even looking at.

https://docs.arduino.cc/learn/

:frowning:

sorry for that!

Im lost

is this the one i need?

I would buy an Arduino Uno