You are on page 1of 15

ARDUINO

WHAT IS ARDUINO?
Arduino is an open-source prototyping platform based on easy-to-use
hardware and software.

Arduino boardsare able to read inputs - light on a sensor, a finger on a


button, or a Twitter message - and turn it into an output - activating a motor,
turning on an LED, publishing something online.

You can tell your board what to do by sending a set of instructions to the
microcontroller on the board. To do so you use the
Arduino programming language (based onWiring), and
the Arduino Software (IDE) , based onProcessing.

ADVANTAGES OF ARDUINO
Inexpensive- Arduino boards are relatively inexpensive compared to other microcontroller platforms. The least expensive
version of the Arduino module can be assembled by hand, and even the pre-assembled Arduino modules cost less than $50

Cross-platform- The Arduino Software (IDE) runs on Windows, Macintosh OSX, and Linux operating systems. Most
microcontroller systems are limited to Windows.

Simple, clear programming environment- The Arduino Software (IDE) is easy-to-use for beginners, yet flexible enough for
advanced users to take advantage of as well. For teachers, it's conveniently based on the Processing programming
environment, so students learning to program in that environment will be familiar with how the Arduino IDE works.

Open source and extensible software- The Arduino software is published as open source tools, available for extension by
experienced programmers. The language can be expanded through C++ libraries, and people wanting to understand the
technical details can make the leap from Arduino to the AVR C programming language on which it's based. Similarly, you can
add AVR-C code directly into your Arduino programs if you want to.

Open source and extensible hardware- The plans of the Arduino boards are published under a Creative Commons license, so
experienced circuit designers can make their own version of the module, extending it and improving it. Even relatively
inexperienced users can build thebreadboard version of the modulein order to understand how it works and save money.

Digital output
~: PWM.
0,1: Serial
port.

In circuit
Serial
programming

ARDUINO UNO
USB port
COMPONENTS

Atmel
MicroControll
er

Power input

Power Supply

Analog input.

EXAMPLES WITH ARDUINO


DRAWING A GRAPHIC WITH A POTENTIOMETER
Hardware Required
- Arduino Uno
- Breadboard
- Potentiometer
- Jumper Wires

A potentiometer is a simple
knob that provides a variable
resistance. In this project,
potentiometer values are
read in through an 'Analog
In' pin.

In this case we have a


conversion analog to digital.

ADJUSTING HUE WITH A POTENTIOMETER

CONTROLLING A RGB LED


Hardware Required
- Arduino Uno
- Breadboard
- RGB Led
- 3 rezistors
270k
- Jumper Wires

RGB LED means red, blue


and green LEDs. An RGB LED
has 4 pins, one for each color
and a common cathode.RGB
LED products combine these
three colors to produce over
16 million hues of light. As
you can see in the image,
blue and green combine to
produce turquoise, green and
red combine to produce
yellow, red and blue combine
to make violet, red,green and
blue combine to make white.

ARDUINO TEMPERATURE SENSOR


WITH DISPLAY
Hardware Required
- Arduino Uno

Breadboard
2x16 character LCD display
TMP36 temperature sensor
Potentiometer
Jumper Wires

The TMP36 is an easy-to-use temperature sensor that outputs


a voltage that's proportional to the ambient temperature.You
can use it for all kinds of automation tasks where you'd like to
know or control the temperature of something.

CONTROL A CC MOTOR WITH AN


ARDUINO
Hardware Required
- Arduino Uno
- Breadboard
- CC motor
- 1 diode IN4007
- 1 rezistor 270k
- Jumper Wires

We say that a motor is a


converter component of
electrical energy into
mechanical energy. The DC
motors convert electrical
energy into mechanical
energy of rotation, to be
precise. But they can also
serve as electricity
generator by converting a
mechanical rotational energy
into electrical energy. This is
the case for example of the
dynamo on your bike!