Chapter 6 (1st Edition)

If you are looking for the Chapter 6 content for the 2nd Edition of Exploring Arduino, please click here.

USB and Serial Communication

Parts List


Download Code (1st Edition, Chapter 6)
(Also available on GitHub)

Useful Links


Code errata listed below are corrected in the code downloads available from this page, and from github.

  • In code listing 6-9, the pinMode comment in setup() incorrectly stated that the LED was blue when it should actually be red.

Color Wiring Diagrams


Follow along with this video for a visual tutorial on serial communication and processing:

Watch a demo of the live temperature and light logger created in the chapter:

Watch a demo of the light-activated computer lock created in the chapter:

Watch a demo of the joystick mouse created in the chapter: