If you are looking for the Chapter 8 content for the 1st Edition of Exploring Arduino, please click here.
Emulating USB Devices
Parts List
- Arduino Leonardo or Seeeduino Lite or Pololu A-Star 32U4 Prime LV
- USB cable (Type A to Micro-B)
- Half-size or full-size breadboard
- Assorted jumper wires
- Pushbuttons (×3)
- 220Ω resistor
- 10kΩ resistors (×3)
- Photoresistor
- 5mm red LED
- TMP36 analog temperature sensor
- Two-axis joystick
Code
Download Code (2nd Edition, Chapter 8)
(Also available on GitHub)
Useful Links
- Installing Arduino Drivers
- Arduino Modulo Operator Reference
- Arduino Keyboard Library Reference
- List of Arduino Special Keys (for the Keyboard Library)
- TMP36 Datasheet (PDF)
- Parallax 2-axis Joystick documentation
- Arduino Mouse Library Reference
Videos
Watch a demo video of the “Live Temperature & Light Logger” project from this chapter:
Watch a demo video of the “Light-Activated Computer Lock” project from this chapter:
Watch a demo video of the “Joystick-Based Computer Mouse” project from this chapter: