2021-11-12
Hardware you should have by now:
-
SG90 servo (handed out on day19)
-
EN12-HS22AF20 rotary encoder + switch
-
HC-SR04 ultrasonic range finder module
-
5.5x2.1mm barrel connector pigtail for AD2 aux power input
-
Infrared remote
Pick up today (section A, B got these day27):
-
IR receiver
-
AAA batteries for IR receiver
More stuff:
-
extra thingies for your project 4
Future:
-
ATtiny85 MCU. Next week!
1. UART decoding
Download and open the above file. It is a CSV file with two columns:
-
Sample time
-
Logic value
The file is a capture of a UART transmission of several packets. Each packet uses 8 data bits, No parity, and 1 stop bit (8N1).
-
What is the baud rate? (symbols/second)
-
Decode the transmission to determine the bytes (hex values).
-
Decode the data assuming the bytes were encoded in ASCII (https://www.asciitable.com/)