LED Controlled by a Serial Monitor

by DA BEAR12345 in Circuits > Arduino

15 Views, 0 Favorites, 0 Comments

LED Controlled by a Serial Monitor

Photo on 4-10-26 at 4.12 PM.jpg

welcome to my tutorial on how to make a thing where an LED blinks the amount of times you tell it to using the serial monitor

Supplies

one LED

one 330 ohm resistor

one Arduino board preferably an Arduino nano

at least one wire

a breadboard

the code I gave you

Put in Arduino Board

Photo on 4-10-26 at 4.05 PM.jpg

get your Arduino nano and place it on the bread board make sure it is in the middle to prevent shorts and press into breadboard firmly.

Put in Resistor

Photo on 4-10-26 at 4.10 PM.jpg

next put a resistor on any empty space on the breadboard and connect one side to pin 2 or D2

Put in LED

Photo on 4-10-26 at 4.12 PM.jpg

then connect the short side of a LED to ground or GND and the long side to the resistor

TADA!!!

for the final step compile your code to the Arduino and put in the number of times you want it to blink and TADA!!!