This module we introduce protocols, which provide a consistent form of communication between the Arduino and the PC (actually, between any two processors).
Read Chapter 12 in the course text.
|Data Elements||It is important to understand how data is represented on the Arduino side and the Java side, so this video offers a comparison.|
|Protocol Design||You’re now ready to think about designing and implementing protocols to ensure consistent communications from the arduino to Java.|
|Observability||How do we know that our protocol is working as intended? Let’s watch it in action!|
This module also introduces an ultrasonic distance sensor. This tutorial, from SparkFun, describes the setup of the sensor. Don’t worry about the actual experiment in the tutorial (although it might be fun to do!), it is the Hardware Hookup section that will be most beneficial. Also, focus on the distance sensor, not the RGB LED.
Generated at 2023-11-17 18:42:25 +0000.
Page written by Doug Shook and Roger Chamberlain.