CE433 Embedded Devices Spring 2022
Homework 7 - Universal Asynchronous Receiver/Transmitter
Name: Ryan Jeanes

Email: rejeanes@fortlewis.edu

Homework 7 - Universal Asynchronous Receiver/Transmitter
Introduction
This assignment introduced using UART protocol to send and receive data packets to and from a desktop or laptop.
Results
All of the tasks were succesfully completed.

Task 1

Figure 1 - screenshot of code written in Vim to send data to serial monitor and show number of times button pressed on the 7-segment display.

Figure 2 - After pressing button 7 times, 7 is displayed on the 7-segment display as expected.

Task 2


Figure 3 - screenshot of code written in Vim to send ASCII letters to the Arduino IDE's serial monitor.

Figure 4 - Screenshot of serial monitor after pressing the button on the basys board several times.

Task 3


Figure 5 - Screenshot of code in Vim to receive data sent using UART from Tera Terminal.

Figure 6 - Photo of the basys board after receiving ASCII '5' from the Tera Terminal.

Figure 7 - Photo of the basys board after receiving ASCII '6' from the Tera Terminal

Task 4

Figure 8 - Screenshot of the vim editor showing code used to receive ASCII '0'-'9' from the Tera Terminal to display on the 7-segment display. Any characters received out of this range shows no output on the 7-segment display.

Figure 9 - Photo of basys board after receiving ASCII '7' from Tera Terminal.