Serial Communication

This lab focuses on connecting different serial monitors and understanding how data is communicated between the hardware (sensors) and read on the computer.

Class Notes - Asynchronous Serial Communication

Lab: Introduction to serial communication

Lab: Intro to Asynchronous Serial Communications

Expectations from this lab:

  1. Connect sensors to the board
  2. Get data from sensors
  3. Display data through serial comm
  4. Understand different forms of data display, serial.write, serial.print and different between ASCII and Binary Forms of communication

Step 1 - Connecting Sensors:

Sensor 1 - Ultrasonic Distance

Since the last time I worked with Ultrasonic sensors, it didn't work for unknown reasons I gave it another shot this time for this week’s lab.

Untitled

Previous Mistake: Instead of plugging the Vin into Vin pin, I was giving it 3.3V from the bus.

The code fpor testing if the sensor is working properly can be found in this lab.