Page 100 - KEC Khaitan C8.2 Flipbook
P. 100
CONNECTING LED TO A BREADBOARD
A breadboard is a tool used to build and test circuits without soldering. It has rows and columns
of tiny holes connected internally, making prototyping easier.
Steps to Connect an LED to a Breadboard:
Step 1 Insert an LED into the breadboard.
Step 2 Connect a 330Ω resistor to the anode (+) leg of the LED.
Step 3 Use a jumper wire to connect the resistor to an Arduino digital pin 13.
Step 4 Connect the cathode (-) leg of the LED to the ground (GND) on Arduino.
Checkpoints:
The LED is placed correctly on the breadboard.
A resistor is connected to prevent excessive current flow.
WRITING AND UPLOADING A BASIC SKETCH
Now that we have designed our circuit, we need to program the Arduino to control the LEDs.
Steps to Write and Upload Code:
98 Premium Edition-VIII

