Introduction: ARDUINO STROBE WITH ARDUINO UNO VERSION 1
THIS IS MY FIRST INSTRUCTABLE SO I WILL PRESENT ARDUINO STROBE SO LETS START
Step 1: THE MATERIALS
1 ARDUINO
1 USB CABLE
4 LEDS
4 CABLE
1 PROTOBOARD
Step 2: THE CODE
void setup()
{ pinMode(13,OUTPUT); }
void loop() {
digitalWrite(13,HIGH);
delay(50);
digitalWrite(13,LOW);
delay(50);
digitalWrite(13,HIGH);
delay(50);
digitalWrite(13,LOW);
delay(50);
}
Step 3: THE CIRCUIT DESIGN (FRITZING)
THIS IS THE CIRCUIT THAT YOU NEED TO BUILD
Step 4: THE REAL CIRCUIT
THIS IS THE REAL CIRCUIT
WE ARE GOING TO USE THE NEXT PORTS
DIGITAL 13
GND
3.3 VOLTS
Step 5: PLUG TO YOUR COMPUTER
REMEMBER THAT YOU NEED TO PLUG IN THE PORT THAT YOU HAD SELECTED
Step 6: DOWNLOAD THE CODE
Step 7: SEE THE LEDS GLOW
CONGRATULATIONS YOU HAVE BUILDED AN ARDUINO STROBE THANKS FOR WATCHING
4 Discussions
6 years ago
Smart idea! I really like this project. Thanks for shearig :)
6 years ago on Introduction
I think you did great! For your first time, GJ. But I have to make a few suggestions,First of all you need resistors in this circuit! Even if you are using 3.3V. 100 ohm or so will work fine. And as domints stated, if you draw more than 40mA off any pin on the arduino and your could damage it or ruin it all together. Lastly your coding/Sketch in the Loop, from the 5th line and after , is defunct. It repeats the same commands as the first lines of Loop code. Basically it (your led project) will function the same without repeating those lines. The loop will loop doing the same so its pointless extra lines of code. Overall good job
6 years ago on Introduction
You shouldn't do it like this because of too high current on ATmega pin.
6 years ago on Introduction
Cool, I shall have to think about building it for my next dance party! Thanks for sharing!