Week 7: Oct 26, 2022
Lab: Intro to Asynchronous Serial Communications
![]()
![]()
Initializing CommunicationSend the data in many formats![]()
Send the values for all three sensors
![]()
Formatting Multiple Serial Data: Punctuation
![]()
![]()
Flow Control: Call and Response (Handshaking)
Punctuation helps keep your data in order, but because asynchronous serial communication is asynchronous, you can run into a problem when the sender sends faster than the receiver can read. When this happens, the receiver program slows down as the serial buffer fills up. You can manage this by implementing some form of flow control.![]()
Program the Microcontroller
*Only one port at a time can access a serial port.



Reading Incoming Serial Data

