Arduino For Educators

Michael Shiloh

  • Lots of material to cover so I’ll move fast, but please interrupt anytime with questions. Goal is to have fun, not cram for a test
  • Programming and electronic concepts interspersed throughout hands-on activities rather than a lecture/lab model


  • Installation, blink
  • digitalWrite()
    • Review Blink sketch
    • Add an external LED, first by plugging directly in pin 13, then breadboard
    • Experiment with a second LED in parallel to learn how holes in breadboard are connected.
    • Current limiting resistor: How and why
    • Actuators, and how Arduino controls them: HIGH and LOW voltage levels
  • analogRead()
    • Sensors, and how Arduino reads them: Voltage (in contrast with actuators)
    • Photoresistor needs Voltage Divider to convert resistance to voltage
    • Arduino->File->Examples->Basics->AnalogReadSerial
    • Analog Read Serial tutorial
  • Linking input and output
  • digitalRead()
  • analogWrite()
    • What might analogWrite() be?
    • move LED to pwm pin
    • Photoresistor controls brightness
    • AnalogInOutSerial tutorial

Examples of Projects for Inspiration

Topics for Further Exploration

  • Mix it up: switch controls speed, switch choses between two brightness levels, thermistor changes behavior, etc.
  • Boolean logic, tests, and conditionals
  • High current loads (e.g. motors) and transistors
    • irlb8721pbf datasheet
    • Using a transistor to control high current loads with an Arduino tutorial from NYU ITP
  • Loops and Files->Examples->Analog->Fading
  • Making sounds: Melody tutorial

Where to go next

Print Friendly
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Leave a Reply

Your email address will not be published. Required fields are marked *