Arduino Programming

Resources for Arduino programming and sensor interfacing.

Table of contents

  1. Essential Components
    1. setup and loop
    2. Variable types
  2. Programming Constructs
    1. for Loops
    2. while Loops
    3. if constructions
    4. functions
  3. Analog Input
  4. Digital Output
    1. Simple on/off
    2. PWM
    3. Servos

Resources for Arduino programming and sensor interfacing.

Essential Components

setup and loop

Variable types

Programming Constructs

for Loops

bing bang bong

while Loops

Repeat, repeat, repeat, repeat

if constructions

more ho-ha

functions

more ho-ha

Analog Input

  • Potentiometers
  • Scaling raw readings to voltage

Digital Output

Simple on/off

PWM

Servos


Table of contents