ByGB Blog Official 2018-07-03 752
Our short guide will show you how to use other people's code and schematics to build your first electronics project – all without any programming knowledge.
◆ 13 Jumper Wires
◆ RGB LED Strip
◆ Soldering iron and solder
◆ LED Circuit Driver
◆ 12V DC Power Supply
◆ DC Barrel Jack Adapter
Download and install the Processing and Arduino software.
You need to download the Arduino compatible USB drivers so your machine can properly interface with the Arduino.
◆ Open up Processing on your computer.
◆ Copy and paste the Processing code from your reference source into Processing.
◆ Click Sketch - Run.
This will open a small window on your computer screen displaying the most prominent color currently on the screen and will eventually export it out to the Arduino.
If the window does not open up on your screen, the program is not running.
Repeat the steps and make sure it is properly building the script.
◆ Open the Arduino software and paste the Arduino code (the text in the box near the bottom of the post) into a new sketch.
◆ Click Sketch - Verify / Compile to make sure the code is properly in there.
◆ Save the file and then attach the Arduino to your computer with the USB cable.
◆ Click File - Upload.
◆ Everything regarding the software is now ready.
Putting together the circuit is the most intimidating part. Start by connecting the circuit driver onto the center of your breadboard, and then prime the LED strip by doing some very lightweight soldering.
With a soldering iron, four jumper cables, and the LED strip, carefully connec the jumper wires to the strip.
You can also use electrical tape to make the connections between the wires and LED strip, but this is not a permanent solution.
You only need to make nine connections, but if you are struggling to keep track, work from the left to the right.
Just make sure your cables are lined up horizontally and vertically exactly like the picture.
◆ Plug in the DC Barrel Jack Adapter so we don't have to worry about cutting apart a power supply.
◆ Snap the jack Adapter into the same spot as on our diagram.
◆ Finally plug in the power supply.
After the breadboard has been connected to the Arduino and the power supply is plugged into an outlet, plug the Arduino back into the computer with the USB cable.
◆ Run the Processing code we compiled earlier.
◆ The LEDs on the Arduino should be lighting up to reflect your computer's colors.
◆ Turn off the lights, throw on a movie and enjoy your DIY ambient lighting.
For the purpose of this new article, the featured image(s) were sourced from the internet. For any issue, please contact us, and we will deal with the matter promptly.