EAS 199A Lecture 5:     10, 11 October 2011

Last updated at 12:48 PM on 17 Oct 2011

5. Arduino Programming, Kirchoff's Current Law, Binary Numbers

Class meeting on 10, 11 October 2011

Homework: Homework 3

Learning Objectives

  1. Be able to describe the role of the setup and loop functions in an Arduino sketch
  2. Be able to list at least two Arduino variable types and describe the kinds of data they can store
  3. Be able to convert from binary to decimal and decimal to binary number formats
  4. Be able to predict current flow into junctions for simple resistor circuits
  5. Be able to find the programming reference on the main Arduino we site
  6. Be able to write Arduino programs to control the micro servo motor in the Experimenter's kit

Notes and Supplemental Files

  1. Experimental verification of Kirchoff's current law: Powerpoint, 3-up, PDF
  2. Arduino programming slides: Powerpoint, PDF 1-up, PDF 3-up
  3. Binary Numbers (PDF)
  4. Analog and Digital input/output: Powerpoint

Arduino Programming references

Binary Numbers in 60 Seconds

Here is a short video that gives you the essence of converting decimal integers to binary (base 2) numbers.

Counting in Base 2

This blog post by bre pettis shows you how to use your fingers to count in base two:

Tools video

Collin Cunningham is a contributor to Make Magazine's blog. He makes wacky videos that are technically interesting. He has a recent video on tools for electronics work