If you are looking for the Chapter 7 content for the 1st Edition of Exploring Arduino, please click here.
USB Serial Communication
Parts List
- Arduino Uno or Adafruit METRO 328
- USB cable (Type A to B for Uno, Type A to Micro-B for METRO)
- Half-size or full-size breadboard
- Assorted jumper wires
- 220Ω resistors (×3)
- 10kΩ trim potentiometer
- 5mm red LED
- 5mm common-anode RGB LED
Code
Download Code (2nd Edition, Chapter 7)
(Also available on GitHub)
Useful Links
- FTDI Driver Downloads
- Adafruit Windows Drivers
- Arduino Serial Library Reference
- PuTTY Serial Terminal Download
- Simple Wikipedia ASCII Table Entry
- Arduino parseInt() Function Reference
- Processing Download Page
- Processing Serial Library Reference
- Processing draw() function
- Processing background() function
- Processing serialEvent() function
Videos
The following video is a bit dated, but still does a good job of introducing the basics of serial communication with Arduino: