- Learn Linux
- Learn Electronics
- Raspberry Pi
- LPI certification
- News & Reviews
This is the reference guide see the Getting started with Arduino tutorial for details of how to use the Arduino.
The Arduino is like an electronic hobbyists dream come true. A low cost microprocessor based circuit that can run from USB or an external supply, it is open source and works with Linux. The official description is as follows:
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.
Basically it allows you to create electronic circuits that can be either standalone (once the sketch is downloaded), or can communicate with a PC to act as an interface between the PC and the physical world.
The Arduino can be programmed using the Arduino Programming Language, which is based upon Wiring, which in turn is based on Processing. By using this the arduino board can be programmed as a standalone computer (all be it a very basic one with limited interfaces).
There are serveral versions of the Arduino available. The most popular current version is the Arduino Uno. The current Arduino Uno has a ATmega328 processor; whereas the earlier versions of the Arduino used an ATmega168 processor. The other versions are for more specialist needs, such as the Arduino Mega (more ports available), the Lilypad (suitable for sewing into clothing) or smaller versions using SMD components. Unless otherwise stated all further references are to the standard version.
The standard Arduino has 14 digital pins. Some of which have additional functions:
There are also 6 analog inputs each with 10 bits of resolution (0 to 1023).
The Arduino data sheets give some of the information on the characteristics but for the full details you need to look at the datasheet relating to the AVR microprocessor used. The microprocessor depends upon the model of the Arduino, for example the Diecimila used the ATmega168 and the Uno uses the ATmega328. I've put some of the key points based on a typical 5v Arduino in the table below, but if you need accurate information you should check the datasheets.
|Recommended input voltage||7 to 12v|
|Internal voltage (Vcc)||5v|
|Digital input low voltage||-0.5v to 0.3Vcc
-0.5v to 1.5v
|Digital input high voltage||0.6Vcc to Vcc+0.5v
3v to 5.5v
|Digital output low voltage||Max 0.9v
|Digital output high voltage||Min 4.2v
|DC current per pin||40mA|
|Total current for block of pins
(eg. half of digital outputs)
1 See datasheet for actual pin details
Also varies depending upon function (eg. SPI specification differs from above)
The Arduino provides the main processing for the disco and theatre light project.
Please view the copyright information regarding use of the circuits.