USB Homework

Noah Smith

This lab is using the Basys 3 board as a USB transfer layer.

Task 1:

An important thing to note with this lab, if you have a fancy mechanical keyboard that requires drivers to run and uses a different USB communication protocol, the Basys 3 board cannot detect it. I had to use a cheap keyboard for this lab and it worked great. Below is code for the first task as well as a demonstration video.

A screen shot of a computer

Description automatically generatedA computer screen shot of a program code

Description automatically generated

Task 2:

For this task we want to press a key on the keyboard and transmit it to the serial monitor using UART communication protocol. This was done by creating an ASCII map, using the UART_TX module and combining them together into the code seen below.

A screen shot of a computer

Description automatically generated