Arduino
Students use the C language to program their microcontrollers. The Arduino Uno programmer is the hardware device which installs the program on a microcontroller. One of the many advantages of the Arduino is that the integrated development environment (IDE) is free. The IDE checks the program for errors. It also compiles and installs the program on the microcontroller. A microcontroller is a small computer with memory and a processor. It holds the program that controls the functions of many common devices. The microcontroller that we use is the ATmega 328P-PU. Many code samples are available. A quick internet search reveals a wide assortment of imaginative Arduino uses. They include robots, gadgets, and scientific instruments. Arduino controls quadcopters and unmanned fixed wing aircraft (www.ubcuas.com). This IDE is featured in undergraduate coding courses at many universities and polytechnics. Michael McRoberts' introductory lab manual (see link below) is an excellent place to start learning to code in the C language. An Arduino lab checklist is included in this section.
- Official Arduino Website
- UnoArduSim
This excellent open source simulation of an Arduino Uno allows you to rapidly test your code. The application offers a range of devices including resistors, light emitting diodes, servos and motors. Professor Simmons regularly updates his simulation.
Install UnoArduSim
www.sites.google.com/site/unoardusim/services - Build a Stand-Alone Arduino on a Breadboard
- Breadboard an Arduino Which Uploads Sketches
- For auto-reset to work with the Sparkfun FTDI breakout board place a 0.1 µF ceramic capacitor between the DTR pin on the FTDI and the reset pin. A 1 µF capacitor also works. http://www.instructables.com/id/BaW-Bot-Part-1-Build-an-Arduino-on-a-Board/step5/connect-the-FTDI-board
- Jeremy Blum's Arduino Tutorials
- Lady Ada's Arduino Tutorial
- Tronixstuff Arduino Tutorials
- Michael McRoberts. The Arduino Starter Kit Manual: A Complete Beginner's Guide to the Arduino. Revision 5, August 2010.
- Interrupts on the ATmega328P
- Online Arduino resources - Burnaby Public Library
- Code for Arduino Bots and Gadgets
- Dimensions for the Arduino Uno PCB
- Online Arduino Cookbook: Second Edition
- Implementing Pulse Width Modulation (PWM)
- Pulse Width Modulation (PWM)
- PWM in Depth
In Vancouver, the Arduino Uno programmer is available from Lee's Electronics.
A Complete Beginner's Guide To Arduino - Supplemental Information
Lab 11, Piezo Sounder Melody Player
Lab 15, Dual 8-Bit Binary Counters
![]() |
![]() |
Fritzing Breadboard |
Photographer: Kate Cho, June 2013 |
Documents
Click the image to view the PDF document, or the text below it for the MSWord file or .ino file.
![]() | ![]() | ![]() |
![]() | ![]() ATmega 328P-PU Pinout | ![]() Arduino Uno Schematic |
Student Sketches
![]() | ![]() | ![]() |
![]() | ![]() |
Arduino References
Baichtal, John, Matthew Beckler & Adam Wolf. 2013. Make: Lego And Arduino Projects: Projects for Extending Mindstorms NXT with Open-Source Electronics. Sebastopol, CA: O'Reilly.
Blum Jeremy. 2013. Exploring Arduino: Tools And Techniques For Engineering Wizardry. Indianapolis: Wiley.
Bigger, Bryce. 2013. Build Your Own Autonomous NERF Blaster: Programming Mayhem with Processing and Arduino. New York: McGraw-Hill.
Karvinen, Kimmo & Tero Karvinen. 2014. Make: Getting Started With Sensors: Measure the World with Electronics, Arduino, and Raspberry Pi. Sebastopol, CA: O'Reilly.
ISBN 978-1-449-36708-4
_____. 2011. Make: Arduino Bots And Gadgets. Sebastopol, CA: O'Reilly.
ISBN 978-1-449-38971-0
Margolis, Michael. 2014. Arduino Cookbook. Third Edition. Sebastopol, CA: O'Reilly.
_____. 2012. Make An Arduino Controlled Robot. Sebastopol, CA: O'Reilly.
_____. 2011. Arduino Cookbook. Second Edition. Sebastopol, CA: O'Reilly.
McRoberts, Michael. 2013. Beginning Arduino, Second Edition. New York: Apress.
_____. 2010. Arduino Starter Kit Manual: A Complete Beginner's Guide to the Arduino, 5th rev. Creative Commons
Monk, Simon. 2016. Movement, Light, and Sound with Arduino and Raspberry Pi. San Francisco: Maker Media.
ISBN 978-1-457-18779-7
_____. 2015. The Tab Book Of Arduino Projects: 36 Things to Make with Shields and Proto Shields. New York: McGraw Hill.
ISBN 978-0-07-179067-3
_____. 2013. Hacking Electronics: An illustrated DIY guide for makers and hobbyists. New York: McGraw-Hill.
ISBN 978-0-07-180236-9
_____. 2013. 30 Arduino Projects for the Evil Genius. Second Ed. New York: McGraw-Hill.
ISBN 978-0-07-181772-1
Noble, Joshua. 2009. Programming Interactivity: A Designer's Guide to Processing, Arduino, and openFrameworks. Sebastopol, CA: O'Reilly.
Oxer, Jonathan & Hugh Blemings. 2009. Practical Arduino: Cool Projects for Open Source Hardware. New York: Apress.
Popiel, Glen. 2014. Arduino For Ham Radio: A Radio Amateur's Guide to Open Source Electronics and Microcomputer Projects. American Radio Relay League.
Purdum Jack & Dennis Kidder. 2015. Arduino Projects For Amateur Radio. New York: McGraw-Hill.
ISBN 978-0-07-183405-6
Schmidt, Maik. 2011. Arduino: A Quick-Start Guide. Raleigh: Pragmatic.
Simons, Stan. 2016. UnoArduSim. Simulation of Arduino Uno V 1.6.6.
Available without charge at www.sites.google.com/site/unoardusim/
Westerfield, Mike. 2013. Building iPhone & iPad Electronic Projects. Sebastopol, CA: O'Reilly.