User Tools

Site Tools


topics:arduino_programming

Arduino Programming

In a Nutshell

Lecture Notes, Worksheets and Slides

Orientation to the Arduino IDE

Variable types, integer and floating point arithmetic

Reading voltage and printing to the Serial Monitor

"if" and "if-else" constructs

PWM Output

Loops

User-defined functions

Applications of Arduino Programming

  • Button input for Arduino

Lecture slides in video format

(13:45)

Introduction to "if" and "if-else" constructs

(7 min)

Introduction to "for" loops

(7:32)

User-defined functions

(19:30) ,

Good Practice in circuits and programming

(9:45)

PWM output on Arduino
Button Input

Button input for Arduino (includes “while” loops and interrupts):

(37 min)


External Reference materials

Curriculum from Sparkfun

Sparkfun sells gear. It's their business and they have been successful.

Sparkfun also has a strong ethic of supporting open source software and hardware. As part of their community outreach and support, and as a way of building their brand, Sparkfun has developed an educational web site https://learn.sparkfun.com/. The relevant parts of their website for ME 120, 121, and 122 are these links

topics/arduino_programming.txt · Last modified: 2020/04/06 18:26 by gerry