Blinking Your First LED: Arduino Hello World

Blinking Your First LED: Arduino Hello World

The Blink program commands the microcontroller to turn pin thirteen HIGH, wait one second, turn it LOW, and wait again. This simple loop provides instant physical feedback that the system is functioning.

Chapter 1

The bar in Ivrea where it all began

Chapter 2

Inside the brain of a microcontroller

Chapter 3

Speaking the language of machines

Chapter 4

From blinking lights to building robots

Ch 3 · Speaking the language of machines
artiteacher

artiteacher Every Arduino program requires the setup and loop functions to run.

Oct 2

artiteacher

artiteacher The Blink program introduces physical computing on an Arduino microcontroller

Oct 2

artiteacher
Chatter Chip
BETA

artiteacher Program the microcontroller to learn how Arduino communicates with sensors, motors, and robots.

Oct 2

artiteacher

artiteacher The Arduino IDE software is where creators write code for their boards.

Oct 2

artiteacher

artiteacher The compilation process inside the Arduino IDE

Oct 2

artiteacher

artiteacher Arduino Microcontrollers

Tell the chip to make it blink (zero and one!) Teach the metal how to think (yeah, let's go!)

Oct 2

artiteacher
Arduino programs are called 'sketches' so coding feels like drawing, not engineering.

Oct 2

artiteacher
The hello world of physical computing

artiteacher The 'Blink' sketch is the universal starting point for every aspiring hardware maker.

Oct 2

artiteacher
Fun Fact

Sketch origin: Arduino programs are called 'sketches' because the creators wanted coding to feel like quick, informal drawing rather than heavy engineering.

Oct 2

artiteacher
The two functions every program needs

artiteacher Arduino code is organized into a setup phase and a continuous loop phase.

Oct 2

artiteacher
Glossary
compiler (noun)
A computer program that translates instructions written in a programming language into machine code. This tool translates Arduino sketches into executable binary code for the ATmega328P microcontroller.

Oct 2

artiteacher
Quiz

Which programming languages are the basis for Arduino sketches?

Oct 2

artiteacher
Gossip

What is the hardest part of learning to code?

Oct 2

artiteacher
Quiz

What does the Arduino compiler translate your written code into?

Oct 2

artiteacher
Quiz

What unit of time does the Arduino 'delay()' function use?

Oct 2

artiteacher
Quiz

What does the acronym IDE stand for in computer programming?

Oct 2

artiteacher
Quiz

What built-in LED pin is standard on almost all Arduino boards for testing?

Oct 2

artiteacher
Quiz

What is the physical computing equivalent of a software 'Hello World' program?

Oct 2

artiteacher
Quiz

What does the 'void loop()' function do in an Arduino sketch?

Oct 2

artiteacher
Quiz

Which function in an Arduino sketch runs exactly once when the board powers up?

Oct 2