Hey friends!
Christmas is near and you would have probably began to plan about decorating your Christmas tree. Today I am going to teach you about making sound reactive lighting for your Christmas tree. This is a prototype, so I have tried to give you an idea about how this would work. I have made a ring and attached some LEDs to it. In this case, I have used both Red and Green LEDs as Red and Green are two of the Christmas colours. I have placed the ring around my plant, within its pot, to show how my plant is illuminated while the Christmas carol plays.
This project is an improved version of my Music Reactive LEDs project.
Supplies
- Arduino Uno/ Nano
- USB Type A/ B cable (for Arduino Uno) or USB Type A to mini B cable (for Arduino Nano)
- Solderless Breadboard
- Resistors (x6) - 220 Ω
- LEDs (x6) - Red and Green (3 LEDs of each colour)
- Big Sound sensor module (KY-038)
- Copper wire - 19 gauge thick
Essential Tools
- Soldering iron
- Solder
Setup
Each Red LED must be connected between two Green LEDs.
Connections
Each LED must be connected to a PWM port in your Arduino Uno/ Nano. A black wire must be soldered to the edge of the copper wire and must be connected to ground. Take three wires and solder each of them to the Green LEDs' anode and solder the other end of the wire to each of the resistors before connecting them to the PWM ports. Repeat the same procedure with the Red LEDs.
You will be needing a Big sound sensor module for this project - to provide analog values depending on the sound levels of the music.
- S (Analog) - A0
- (+) - 5V
- ( - ) - Ground (GND)
Coding
Please follow the codes from the first version of this project. The link is provided as a hyperlink in the first section of this page.
If you have any doubts with the coding, please don't hesitate to ask them in the comments section below or send me an email at arduinoprojectsbyr@gmail.com.
Final Look
If you have any questions, or suggestions, about this project, please feel free to comment below or send them at arduinoprojectsbyr@gmail.com.
Comments
Post a Comment