Robotics 1
UART Communication
In order to become more sophisticated with our motion control, we need a way to quantify the 'goodness' of our control algorithms and gain values.  To do this, we need to be able to examine values collected by the PSoC more closely.  In this video, we learn how to set up UART communication between the PSoC and the computer, so that we can use the computer to more closely examine values collected by the PSoC.
In this video, we learn how to send values from the PSoC to the computer.  We learn how to use Python to save those values first in an array, then in a text file.  Finally, we plot the values in Excel to see the motion of the rack and pinion with our Proportional control from last time.
To complete this lab activity, make a video that includes the following in one video:

(1) You saying your name
(2) Your Excel file showing a step response you captured from your rack-and-pinion during a move made with proportional control

(1) You saying your name
(2) Your work showing how you calculated the values of the gain, damping ratio, and natural frequency from one of the step responses you captured last time
Note: Graduate students did these 'blue' videos last time.  They can skip the blue videos this time.
In this video, we learn how to find values for the parameters in a system model for a first-order or a second-order system by using the step response.
Your ID Code:
Link to YouTube Activity Completion Video: