EAS 199A Lecture 5:     8, 9 October 2012

Last updated at 10:47 AM on 12 Nov 2012

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

Class meeting on 8, 9 October 2012

Homework: Video for problem 5 of 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 website
  6. Be able to define and create a voltage divider on a breadboard

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)

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