Lesson 1:: Instructables Classes
Lesson 1:: Instructables Classes
Lesson 1:: Instructables Classes
LESSON 1 :
with in
Have you ever wanted to tinker with technology? Arduino exists to help creative people and techno-
beginners build projects with electronics. As a platform, it fast-tracks users to success by helping
ease the setup burden and learning curve usually associated with electrical engineering and
computer science.
Arduino is the best way to get started with microcontroller programming and building your own
circuits that sense and react to the world around them. In this class, we'll get creative with electronics
and get comfortable with the concepts you'll use to launch your long and fruitful Arduino journey.
The name Arduino defines several layers of your experience:
Arduino is also a huge global community, which means you'll find vast quantities of inspirational
projects, sample code, and solutions to your problems online.
The following lessons are designed to build your skills in Arduino incrementally over time, leaving
you with enough basic knowledge to go out and create projects from your imagination.
This lesson is a complete list of the supplies you'll need to complete this class. To make it a bit
easier to get everything at once, I've created an Adafruit wishlist containing most of the components
and tools. To get started with the bare minimum, you can complete most of the core exercises with
the contents of the Adafruit Arduino Uno Budget Pack. If you're using a different kit, some of the
components may differ from those shown in the photos throughout this class. You may also complete
this entire class virtually, for free, using Tinkercad Circuits!
For the basic exercises:
To complete the Skills Infusion lesson (here's a great toolkit with almost everything you need):
Soldering iron and solder
1 meter of 60/m RGBW NeoPixel strip
Small needlenose pliers
Flush diagonal cutters
Wire strippers
Multimeter (optional but very handy)
Tweezers
Third hand tool
Desoldering braid or solder sucker
Solderless breadboard - This device has strips of metal inside and many holes that allow you to
connect components quickly and easily. A mounting plate is recommended, to keep the breadboard
and Arduino Uno together. You'll connect to the Arduino with wires (breadboard wires are great but
you can also use solid core hookup wire).
RGBW NeoPixel strip - This digitally addressable strip contains WS2812b chips controlling
compound LEDs in red, green, blue, and white. NeoPixel is the Adafruit brand name but you can also
find this strip by searching for "WS2812b RGBW strip" on your favorite supplier's site. The sample
code provided in this class will not work with RGB (no white) strip, analog LED strip, or with any
other kind of digital control chip (like APA104 aka DotStar).
The Arduino IDE (software for composing code and sending it to your board) runs on Windows, Mac
OS X, and Linux. Head to the download page and click the option that best describes your system.
While the software is downloading, connect your Arduino board to your computer with a USB A to B
cable (flat to boxy, typically used for printers). The green LED next to the label ON should turn on,
and the orange LED next to the label L should begin blinking.
Depending on your operating system, your software installation procedure will vary. On Windows,
run the installer, which will also install the necessary drivers (provided your Arduino board is plugged
in). On OS X, drag the Arduino app into your Applications folder (no drivers necessary). For more
help with Windows if the installation doesn't go smoothly, refer to Arduino's detailed instructions. If
you prefer not to download software, most of the class can also be completed using the Arduino Web
Editor.
Open the Arduino application and load up the first code example by selecting File -> Examples ->
01.Basics -> Blink.
Then we need to select the communication port connected to the Arduino board. Select Tools ->
Port, then whichever port name is labeled "(Arduino/Genuino Uno)." If none of your ports are labeled,
try unplugging your board, checking the Ports menu, then replugging your board and checking the
Ports menu again. Whichever port name disappears then reappears is likely to be your Arduino
board. On Windows your port will likely be called "COM3" (or higher numbers) and on OS X it's likely
to be something like "/dev/cu.usbmodem1461."
Now click the Upload button to transfer the Blink example code to the Arduino board. The LEDs
labeled RX and TX will flash, and the software will show a message "Done uploading." Moments
later the LED labeled L will begin blinking as it did when you first plugged it in.
Congratulations, you're ready to begin the next lesson, where we'll dig into the code you just
uploaded, as well as build your first few LED circuits and discover how to control them using basic
Arduino programming concepts.
If your port doesn't appear, or you get an error when trying to upload, refer to Arduino's detailed
troubleshooting guide, which covers many other common issues.
Arduino History
The Arduino Uno we'll use in this class is the flagship development board of the Arduino brand, and it
is the latest iteration in a long line of boards with a mission to make it easier for non-engineers to
use.
Other boards with specialized functions have been released in the Arduino product line. Need more
inputs and outputs? Use an Arduino Mega. Want a smaller circuit board and USB keyboard
functionality? Use an Arduino Micro. And so forth. Official Arduino boards are all natively supported
by the Arduino software.