We had a very nice lecture and demonstration on how to use a computer with Arduino as a tool for debugging our programs and controlling our mechatronic creations:
Using Serial Debug at Terminal :
Displaying Sensor Values
When using analog sensors, it
is often necessary to calculate the 'threshold' value necessary for the
program. The serial command provides an easy way to see the real-time
value of a sensor so that the threshold value can be calculated by
experimentation.
Serial Interfacing to a Computer
Knowing how to use the terminal window is very useful. You can write programs to control many of your electronic devices. I would love to learn that.
No comments:
Post a Comment