0% found this document useful (0 votes)
24 views2 pages

Guideline For Using Terminal Program

term

Uploaded by

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

Guideline For Using Terminal Program

term

Uploaded by

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

Guidelines for using Terminal Program

OBJECTIVES:
➢ To write a program to receive data from a PC serially.

REFERENCES:
➢ Mazidi and Naimi, “The AVR Microcontroller and Embedded Systems,” Chapter 11.

MATERIALS:
➢ Atmel Studio
➢ A Terminal software - Terminalbpp
➢ https://sites.google.com/site/terminalbpp/
➢ An AVR Trainer (Arduino UNO)
➢ A computer
➢ LCD

ACTIVITY 1
Use a USB to serial convertor to connect the TXD and RXD pins of the AVR to the USB
port of your PC. Then write a program to transfer a message to the PC continuously. On
the PC side you need to use the Terminal program (Terminalbpp). Here are the steps to
prepare Terminalbpp:
1) Open the Terminalbpp software.
2) Pick 9600 baud rate (or whatever baud rate you programmed the AVR), 8-bit data, no
parity bit (none), and 1 stop bit. Set the Handshaking to none.

Figure 1: Configuring the Serial Port

3) Click on the COM Port combo box and choose the proper port. If more than one port
exists and you don't know which port to choose, right click on My Computer and click
on Manage. In the Computer Management, pick the Device Manager and choose
Ports (COM & LPT). Now you see the list of available serial devices which are
connected to your PC. Unplug your device and plug it again and see which device is
added to the list. In the Terminal choose its COM port.
4) Ensure that your configuration is as shown in Figure 1.
Figure 2: Device Manager

ACTIVITY 2
Write a program for the AVR to get data from the PC and display it on an LCD. To send
data to the AVR, type your message in the text box and press the Send button. Make sure
that +CR is unchecked. As you send a char key on the PC's keyboard, the character is sent
to the AVR serially and displayed on the LCD.

Figure 3: Sending a Message to the Board

You might also like