0% found this document useful (0 votes)
10 views3 pages

Protocol Buses Practical (1)

The document outlines a practical objective to control an LED using serial communication between two Arduino UNOs. It details the hardware setup required, including the connection of an LED and the use of Software Serial for communication. The master Arduino sends commands to the slave Arduino to turn the LED on or off based on received data.

Uploaded by

Ir Azlan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views3 pages

Protocol Buses Practical (1)

The document outlines a practical objective to control an LED using serial communication between two Arduino UNOs. It details the hardware setup required, including the connection of an LED and the use of Software Serial for communication. The master Arduino sends commands to the slave Arduino to turn the LED on or off based on received data.

Uploaded by

Ir Azlan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Protocol Buses

Practical

Objective

-To control an LED using serial communication between a microcontroller (such as Arduino)
and a computer, allowing the user to turn the LED on or off by sending commands through a
serial monitor.

Hardware Setup

-Two Arduino UNOS -One 5mm LED -One 220 ohm resistor -Connecting Wires

Breadboard

Serial communication where the master will send either '1' or '0' to the slave. The slave will
then receive that data and control an LED connected with its digital pin. We will use
Software Serial to communicate between the two boards
TASK: Control an LED via Serial Communication

Connect virtual pin Tx of first Arduino board with pin Rx of second Arduino board.

Connect virtual pin Rx of first Arduino board with pin Tx of second Arduino board.

We will use Software Serial to configure pin 10 as RX and pin 11 as TX.

Master

Slave
Anode pin of LED is connected with digital pin 2 (slave) through a 220 ohm current limiting
resistor. The cathode pin is grounded.Also make sure both Arduino boards have their
grounds in common

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy