PRACTICAL

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

PRERAK KHER INTERNET OF THINGS 22SE09IT002

PRACTICAL – 3

AIM:- What’s GPIO and its use. What is LED? Study connectivity and configuration of Arduino
board circuit with LED. Write a program to blink LED.

DISCUSSION

What’s GPIO and its use?


GPIO stands for General Purpose Input/Output. It's a feature in computers and microcontrollers that
helps them connect and communicate with external devices. It's like a special set of pins that can be
used to either send or receive signals.

What is LED?
LED stands for Light Emitting Diode. It's a tiny electronic device that can produce light when
electricity passes through it. LEDs come in different colors and sizes. You can find them in many
electronic devices, like your computer, TV, or even your smartphone.

when we connect an LED to a GPIO pin, we can control whether it lights up or not. We can make it
turn on or off by sending signals through the GPIO pin. This is useful for creating indicators, like the
power light on your computer or the charging light on your phone. We can also use LEDs for
decorative lighting or even in traffic signals.

COMPONENTS LIST:--
PRERAK KHER INTERNET OF THINGS 22SE09IT002

TINKERCAD CIRCUIT:-
PRERAK KHER INTERNET OF THINGS 22SE09IT002

HARDWARE CIRCUIT SETUP:

CODE FOR BLINKING LED:


PRERAK KHER INTERNET OF THINGS 22SE09IT002

OUTPUT:--

You might also like