Checking an ARDUINO:
Ø Take an LED where longer lead is anode (+ve) and shorter lead is cathode (-ve).
Ø Place the (+ve) lead in pin 13 and (-ve) lead in pin ground.
Ø We use pin 13 because it has in built resistor in it, so there is no need to put an external resistor for testing.
I If we want to put a resistor then put it in series to the LED, as shown.
And after arranging the circuit as shown then write this code in ATMEL software.
CODE TO CHECK OR BLINKING THE LED:
#define LED 13//LED connected to digital pin 13
Void setup()
{
pinMode(LED,OUTPUT);//sets the digital pin as output
}
Void loop()
{
digitalwrite(LED,HIGH);//turns on the LED
delay(1000);//waits for a second
digitalwrite(LED,LOW);//turns off the LED
delay(1000);//waits for a second
}
Types of ARDUINO BOARDS:
ARDUINO UNO(R3):
The Uno is a great choice for your first Arduino. It’s got everything you need to get started, and nothing you don’t. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a USB connection, a power jack, a reset button and more. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.
LILYPAD ARDUINO:
This is LilyPad Arduino main board! LilyPad is a wearable e-textile technology developed by and cooperatively designed by Leah and SparkFun. Each LilyPad was creatively designed with large connecting pads and a flat back to allow them to be with conductive thread. The LilyPad also has its own family of input, output, power, and sensor boards that are also built specifically for e-textiles. They’re even washable!
RED BOARD:
At SparkFun we use many Arduinos and we’re always looking for the simplest, most stable one. Each board is a bit different and no one board has everything we want – so we decided to make our own version that combines all our favorite features.
The RedBoard can be programmed over a USB Mini-B cable using the Arduino IDE. It’ll work on Windows 8 without having to change your security settings (we used signed drivers, unlike the UNO). It’s more stable due to the USB/FTDI chip we used, plus it’s completely flat on the back, making it easier to embed in your projects. Just plug in the board, select “Arduino UNO” from the board menu and you’re ready to upload code. You can power the RedBoard over USB or through the barrel jack. The on-board power regulator can handle anything from 7 to 15VDC.
ARDUINO MEGA(R3):
The Arduino Mega is like the UNO’s big brother. It has lots (54!) of digital input/output pins (14 can be used as PWM outputs), 16 analog inputs, a USB connection, a power jack, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. The large number of pins make this board very handy for projects that require a bunch of digital inputs or outputs (like lots of LEDs or buttons).
ARDUINO LEONARDO:
The Leonardo is Arduino’s first development board to use one microcontroller with built-in USB. This means that it can be cheaper and simpler. Also, because the board is handling USB directly, code libraries are available which allow the board to emulate a computer keyboard, mouse, and more!
The Extended Family:
While your Arduino board sure is pretty, it can’t do a whole lot on its own – you’ve got to hook it up to something. There are lots of tutorials here on learn as well as the links back in the ‘What does it do’ section, but rarely do we talk about the general kinds of things you can easily hook into. In this section we’ll introduce basic sensors as well as Arduino shields, two of the most handy tools to use in bringing your projects to life.
Sensors
With some simple code, the Arduino can control and interact with a wide variety of sensors - things that can measure