Introduction to Arduino: Getting Connected and Blinking LEDs
Microcontrollers are the brains of the electronic world, but in order to play with one, you must first get it connected! For this maker challenge, students work through the engineering design process, as they learn how to connect their Arduino microcontroller circuit boards to computers. First, students are walked through the connection process, helped to troubleshoot common pitfalls, and write their first Arduino programs (setup and loop functions, semicolons, camel case, pin 13 LED). Then they are given the open-ended challenge to create their own blinking LED code—such as writing Morse code messages and mimicking the rhythm of a heartbeat. This practice helps students become comfortable with the fundamental commands before progressing to more difficult programs.
A Sparkfun RedBoard programmed with Arduino.
- computer, Window or Mac
- Arduino software; download from https://www.arduino.cc/en/software
- SparkFun RedBoard or Arduino Uno microcontroller and programming cable; an Arduino Inventors Kit is recommended, such as at SparkFun
Contributors
Daniel Godrick
Supporting Program
ITL Program, College of Engineering and Applied Science, University of Colorado Boulder
Acknowledgements
This activity was developed by the Integrated Teaching and Learning Program in the College of Engineering and Applied Science at the University of Colorado Boulder.
Copyright
2017 by Regents of the University of Colorado
