How to blink 4 led by Arduino programming
How to blink 4 led by Arduino programming
Introduction
Tinkercad circuits is an Arduino + Circuit simulator that runs in web browser.
Hardware Required
• Arduino Board
• LED x 4
• 220-ohm resistor
• Bread Board
THEORY
Circuit
To build this circuit, where you connect one end of the resistor to the digital pin
correspondent to the pin no. 7,8,10,13 . Connect the long leg of the LED (the
positive leg, called the anode) to the other end of the resistor. Connect the short
leg of the LED (the negative leg, called the cathode) to the GND. In the diagram
above shows an UNO board that .
The value of the resistor in series with the LED is 220 ohms;
Shiv Dutta Mishra, Assistant Professor (C.S.E.). Bhilai Institute of Technology, Durg (C.G.)
DEPARTMENT OF COMPUTER SCIENCE & ENGG.
BHILAI INSTITUTE OF TECHNOLOGY, DURG (C.G.)
DIGITAL ELECTRONICS LAB MANNUAL
EXPERIMENT 7
PROCEDURE
Step 1: Create an account at www.tinkercad.com
Step 2: From the main Tinkercad page, click Circuits on the left, then click Create new
Circuit toward the top.
Step 3: Click and drag to bring circuit parts (Bread board, ICs of various logic gates, Slide
switch, Resistor, LED) from the right-side menu out into the editing area.
Step 4: Click on any component lead to start a wire. Click points to route the wire, and
end it on another component lead.
Step 5: Click and drag parts to move them around, use the rotate button in the upper left
to rotate them.
Step 6: Use the scroll wheel to zoom in and out. Click and drag a blank area on the screen
to pan.
Step 7: Click the "Zoom to fit" button in the upper left, just below the rotate button.
Step 8: Explain wire color-coding: red for positive, black for negative.
Step 9: Press the Start Simulation button in the top right, and verify the output response
of logic gates, the LED should light up or not based on the position of slide switch.
Result: As all the LED’s are blinking , hence the program is verified.
Reference: www.tinkercad.com
Shiv Dutta Mishra, Assistant Professor (C.S.E.). Bhilai Institute of Technology, Durg (C.G.)