Arduino Guide: make cool electronics in just 7 steps
By GB Blog Official 2018-07-03 869 0
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.
Parts that we need:
◆ 13 Jumper Wires
◆ RGB LED Strip
◆ Soldering iron and solder
◆ LED Circuit Driver
◆ 12V DC Power Supply
◆ DC Barrel Jack Adapter
Step 1: Install Arduino, processing, and the Arduino drivers on your computer
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.
Step 2: Copy, paste, and run the code in processing
◆ 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.
Step 3: Copy, paste, and run the code in Arduino
◆ 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.
Step 4: Connect the circuit driver and LED strip to the breadboard
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.
Step 5: Connect all remaining cables
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.
Step 6: Connect the power supply and DC barrel jack adapter
◆ 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.
Step 7: Plug the Arduino into the computer, run processing and test
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.
2019-08-26By Joe Horner
2019-08-27By Joe Horner
2019-04-17By Linky Johnson
2017-04-27By Zim Watson
2018-04-24By Matthieu Andre
2018-06-23By Steve Lowry
Next article:DON'T buy a Games Console until you read THIS