Getting started with Arduino: what it is, which board to buy and installing the IDE

TUREFF• •0
Arduino is one of the friendliest ways into electronics. You write a short program on your computer, send it down a USB cable to a small board, and the board then switches lights, reads sensors and drives motors on its own. Nothing here needs a degree; it needs patience and a willingness to get things wrong on a cheap board before you get them right.

What Arduino actually is

The name covers three things that work together:
  • The boards: small circuit boards built around a microcontroller, a tiny computer that runs one program over and over with no operating system.
  • The software: the Arduino IDE, a free program where you write code (called a sketch) and upload it to the board.
  • The community: years of tutorials, example sketches and libraries, which is the real reason beginners pick Arduino over a bare chip.
A microcontroller is not a small PC. It cannot browse the web or play video. What it is good at is reacting to the physical world quickly and reliably, starting instantly when powered and sipping very little power.

Which board to start with

The Uno is the classic beginner board and the one most tutorials assume. It has a row of digital pins, a row of analogue inputs, a USB socket for programming and a barrel socket for external power. Its pin layout became a standard, so add-on boards called shields plug straight on top. There is more than one generation of the Uno. The long-running Uno R3 and the newer R4 boards share the same shape and are programmed the same way, but they use different chips, and some electrical limits differ between them, for example how much current each pin can supply. Whichever you buy, look up the official pinout and specification page for that exact model and keep it open while you build. Other board families exist for particular jobs: smaller boards for fitting inside projects, larger ones with more pins, and boards with Wi-Fi built in. For a first board, a full-size Uno-style board is easiest because it is roomy, well documented and hard to plug in wrongly. Compatible boards from other makers are common and legal, since the designs are open. They usually work fine, but some need an extra USB driver and quality varies, so read the seller's notes before buying.

Starter kits: worth it?

For most beginners, yes. A kit gathers the bits you would otherwise order one by one:
  • a board and USB cable
  • a solderless breadboard and jumper wires
  • LEDs, resistors, push buttons and a potentiometer
  • a few sensors, a small servo and sometimes a display
The parts are cheap individually, but a kit saves you from discovering halfway through a tutorial that you lack one resistor value. Check that the kit comes with project instructions you can actually follow, and avoid kits that bundle mains-powered parts; nothing a beginner does needs mains voltage.

Installing the Arduino IDE

  1. Download the Arduino IDE from the official Arduino website. It runs on Windows, macOS and Linux.
  2. Install it and let it add the USB drivers if it asks.
  3. Plug in the board with a data-capable USB cable. Some cables only carry charge, which is the most common reason a board is "not detected".
  4. In the IDE, choose your board model and the port it appeared on.
  5. Open the built-in Blink example from the examples menu and press Upload. If the small on-board LED starts flashing, everything works.
If the upload fails, try a different USB cable and port first, then check you picked the right board in the menu. Those two cover most first-day problems.

Good habits from day one

  • Unplug USB before rewiring anything.
  • Keep a separate notebook or folder of sketches that worked.
  • Change one thing at a time, so you know which change broke it.
What did you build first, or which board are you weighing up? Ask your questions and share your setup in the comments.

Comments (0)