Book Image

Arduino Essentials

Book Image

Arduino Essentials

Overview of this book

Table of Contents (17 chapters)
Arduino Essentials
About the Author
About the Reviewer

Preflight checks

In order to upload your first sketch to the Arduino board, you have to first make sure that the Arduino development environment knows two very important things about your board:

  • The type of Arduino board you have

  • The serial port through which it is connected to your computer

Both parameters have to be specified using the Tools menu in the menu bar and by selecting the Board and Serial Port commands.

In the next screenshot, you can see all available options when selecting the board type:

All board models available through the Board command in the Tools menu

Being a teacher myself and having worked with Arduino boards with my students for some years, I have found that the most common mistake they make the first time they try to upload their first sketch to the Arduino board is the wrong selection of the serial port. If you are like them and don't know for certain which one of the available serial ports in the Serial Port command to select, don't worry. In the worst case, it's just...