Chapter 4. Quickstart
It’s always better—and definitely more fun—to get some practical experience rather than just read about things. This chapter is designed to get you up and running using a solderless breadboard with some electronic components. You’ll learn how to control an LED and then a motor from your Arduino or Raspberry Pi.
In most cases, when connecting external electronics to a Raspberry Pi or Arduino, it is not possible to connect the device (say, a motor) directly to the Raspberry Pi or Arduino. You will need to connect some extra electronic components to make it all happen. In any case, even if you are just lighting an LED, you will need some way of attaching the LED to your Raspberry Pi or Arduino.
A great ...