Date: 29-08-2016 Lab Report No. 4 Serial Communication With Atmega328P/Arduino Uno and Testing With Hyperterminal Objective
Date: 29-08-2016 Lab Report No. 4 Serial Communication With Atmega328P/Arduino Uno and Testing With Hyperterminal Objective
THEORY:
Serial communication works on 1s and 0s. Also known as binary, the Arduino sends these 1s and
0s (bits) one by one, or Serially. These bits are sent in the form of Highs(1) and Lows(0). These
bits form together and turn into bytes. A byte is composed of 8 bits.
Each bit represents a certain number to add. the first bit (Far right) represents the ones place,
1 = 1 and 0 = 0. Serial is used for communication between the Arduino board and a computer or
other devices. All Arduino boards have at least one serial port (also known as a UART or
USART): Serial. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer
via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or
output.
Lab task :
In my first leb task open profuse and select Ardunio and second device is virtual device and my
first program is transfer data to port 96000 is word electronics.
First step is simulating circuit on Proteus.
Then, we shall write coding of desired program on Arduino software.
Then, we shall run that each code separately for all the three different tasks.
At last we shall get our desired result which is the displaying of different name
characters.
This experiment also shows the multiple features of Arduino.
My second lab task Is simulate that same circuit and make another program for declaring
PAKISTAN on Ardunio with serial communication.
Third lab task is to control Ardunio pin 13 high and low with serial communication :
This is program that has been used for the respected result:
Conclusion:
From the following experiment we have concluded that Arduino has multiple features depending
on its availability and in this experiment we have displayed characters like PAKISTAN and
made the LEED to be in its ON state or OFF state.