You are on page 1of 22

*Programming Arduino

(Open Source)

by:
Adolfo C. Ancheta, ECE, PhD.
What is Arduino?
 Arduino is a tool for making computers that can
sense and control more of the physical world than
your desktop computer. It's an open-source
physical computing platform based on a simple
microcontroller board, and a development
environment for writing software for the board.
Points to Consider:
1. Hardware- ex. Arduino Uno, Gizduino, Raspberry Pi,
Sparkfun and etc
2. Software- ex. Arduino program
What is Arduino?
• Physical computing
platform
• Open source
• “Hardware Abstracted”
Wiring Language
• USB programmable
• Large community
• Inexpensive ($31.95 from
Sparkfun)
• 600 - 1000 Php
Arduino Components
What do we need?
1.- Download and install the Arduino Software
2.- Configure the Arduino software for the correct chip
(Select the Microcontroller)
3.- Configure the Serial Port

4.- Open Blink Sketch


Input

Program Status Bar


Notification
Area
Code
5.- Verify/Compile

6.- Once it compiles, you must see the following


messages in the Status bar and the Program
notification Area
7.- Upload it

8.- Once it upload, you must see the following


messages in the Status bar and the Program
notification Area
Error
avrdude: stk500_getsync(): not in sync: resp=0x00

 can't open device "COM10": The system cannot find the file specified
9.- Insert LED

It is blinking!!!
Arduino Board Overview
5 Ways to Power Up your Arduino
1. USB: that’s probably the most common way
people try their projects. By simply plugin your
Arduino board into your computer through an USB
cable it will power up your Arduino.
2. Batteries: You can use two different types of
batteries:
• Disposable batteries: One of the most common ways is
to power up an Arduino with a 9V battery, just like the
image below shows. Keep in mind that those batteries
are a bit limited, so your Arduino won’t be able to
supply many sensors or motors.
3. Re-charged batteries: Those are simply battery
cells that you can recharge. Are a great solution for
robotics.
4. Wall-Warts ( those supplies simple produce low DC
voltages from high AC voltages): You must be careful
when you’re using a wall-wart because sometimes they
produce much more voltage than the actually power supply
says in the label. And the voltage regulator on your
Arduino won’t be able to handle so much voltage.
5. Solar Panel: When It comes to choose a solar panel to
power up your Arduino Projects you must be careful. Photo
voltaic solar panels comes in different sizes, prices and
some my give you a higher voltage or a higher current. So
before you choose one, keep in mind what’s your project
for and what it needs.

You might also like