Elektrik - Best Electronic Projects Reviews
  • Home
  • Privacy Policy
  • About
  • Related

Monday, 29 June 2015

Arduino: an Introduction

 dvbot     June 29, 2015     arduina is easy, arduino, arduino programming, introduction, what is arduino, why arduino     No comments   

Arduino is an open-source platform used for building electronics projects. Arduino consists of both a physical programmable circuit board (often referred to as a microcontroller) and a piece of software, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board.


The Arduino platform has become quite popular with people just starting out with electronics, and for good reason. Unlike most previous programmable circuit boards, the Arduino does not need a separate piece of hardware (called a programmer) in order to load new code onto the board – you can simply use a USB cable. Additionally, the Arduino IDE uses a simplified version of C++, making it easier to learn to program. Finally, Arduino provides a standard form factor that breaks out the functions of the micro-controller into a more accessible package.

 
This is an Arduino Uno

The Uno is one of the more popular boards in the Arduino family and a great choice for beginners. We’ll talk about what’s on it and what it can do later in the tutorial.

Arduino Uno
This is a screenshot of the Arduino IDE.

Believe it or not, those 10 lines of code are all you need to blink the on-board LED on your Arduino. The code might not make perfect sense right now, but, after reading this tutorial and the many more Arduino tutorials waiting for you on our site, we’ll get you up to speed in no time!

The Arduino hardware and software was designed for artists, designers, hobbyists, hackers, newbies, and anyone interested in creating interactive objects or environments. Arduino can interact with buttons, LEDs, motors, speakers, GPS units, cameras, the internet, and even your smart-phone or your TV! This flexibility combined with the fact that the Arduino software is free, the hardware boards are pretty cheap, and both the software and hardware are easy to learn has led to a large community of users who have contributed code and released instructions for a huge variety of Arduino-based projects.

For everything from robots and a heating pad hand warming blanket to honest fortune-telling machines, and even a Dungeons and Dragons dice-throwing gauntlet, the Arduino can be used as the brains behind almost any electronics project.

Arduino Specification:


There are many varieties of Arduino boards that can be used for different purposes. Some boards look a bit different from the one below, but most Arduinos have the majority of these components in common:
alt text

Power (USB / Barrel Jack)

Every Arduino board needs a way to be connected to a power source. The Arduino UNO can be powered from a USB cable coming from your computer or a wall power supply that is terminated in a barrel jack. In the picture above the USB connection is labeled (1) and the barrel jack is labeled (2).
The USB connection is also how you will load code onto your Arduino board. More on how to program with Arduino can be found in our Installing and Programming Arduino tutorial.
NOTE: Do NOT use a power supply greater than 20 Volts as you will overpower (and thereby destroy) your Arduino. The recommended voltage for most Arduino models is between 6 and 12 Volts.

Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)

The pins on your Arduino are the places where you connect wires to construct a circuit (probably in conjuction with a breadboard and some wire. They usually have black plastic ‘headers’ that allow you to just plug a wire right into the board. The Arduino has several different kinds of pins, each of which is labeled on the board and used for different functions.
  • GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any of which can be used to ground your circuit.
  • 5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5 volts of power, and the 3.3V pin supplies 3.3 volts of power. Most of the simple components used with the Arduino run happily off of 5 or 3.3 volts.
  • Analog (6): The area of pins under the ‘Analog In’ label (A0 through A5 on the UNO) are Analog In pins. These pins can read the signal from an analog sensor (like a temperature sensor) and convert it into a digital value that we can read.
  • Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO). These pins can be used for both digital input (like telling if a button is pushed) and digital output (like powering an LED).
  • PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital pins, but can also be used for something called Pulse-Width Modulation (PWM). We have a tutorial on PWM, but for now, think of these pins as being able to simulate analog output (like fading an LED in and out).
  • AREF (9): Stands for Analog Reference. Most of the time you can leave this pin alone. It is sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins.

Reset Button

Just like the original Nintendo, the Arduino has a reset button (10). Pushing it will temporarily connect the reset pin to ground and restart any code that is loaded on the Arduino. This can be very useful if your code doesn’t repeat, but you want to test it multiple times. Unlike the original Nintendo however, blowing on the Arduino doesn’t usually fix any problems.

Power LED Indicator

Just beneath and to the right of the word “UNO” on your circuit board, there’s a tiny LED next to the word ‘ON’ (11). This LED should light up whenever you plug your Arduino into a power source. If this light doesn’t turn on, there’s a good chance something is wrong. Time to re-check your circuit!

TX RX LEDs

TX is short for transmit, RX is short for receive. These markings appear quite a bit in electronics to indicate the pins responsible for serial communication. In our case, there are two places on the Arduino UNO where TX and RX appear – once by digital pins 0 and 1, and a second time next to the TX and RX indicator LEDs (12). These LEDs will give us some nice visual indications whenever our Arduino is receiving or transmitting data (like when we’re loading a new program onto the board).

Main IC

The black thing with all the metal legs is an IC, or Integrated Circuit (13). Think of it as the brains of our Arduino. The main IC on the Arduino is slightly different from board type to board type, but is usually from the ATmega line of IC’s from the ATMEL company. This can be important, as you may need to know the IC type (along with your board type) before loading up a new program from the Arduino software. This information can usually be found in writing on the top side of the IC. If you want to know more about the difference between various IC’s, reading the datasheets is often a good idea.

Voltage Regulator

The voltage regulator (14) is not actually something you can (or should) interact with on the Arduino. But it is potentially useful to know that it is there and what it’s for. The voltage regulator does exactly what it says – it controls the amount of voltage that is let into the Arduino board. Think of it as a kind of gatekeeper; it will turn away an extra voltage that might harm the circuit. Of course, it has its limits, so don’t hook up your Arduino to anything greater than 20 volts.

The Arduino Family

Arduino makes several different boards, each with different capabilities. In addition, part of being open source hardware means that others can modify and produce derivatives of Arduino boards that provide even more form factors and functionality. If you’re not sure which one is right for your project. Here are a few options that are well-suited to someone new to the world of Arduino:

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.
alt text

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Powered by Blogger.

Popular Posts

  • Simple +-400Watt Amplifier using TDA7294 or TDA7293 + Power Transistors 2SC5200 and 2SA1943
    This additional part can be added to the traditional chip amp made using TDA7294 or TDA7293 to gain extra power in output. The traditional...
  • Audio Amplifier - 2N3055 MJ2955
    Here is A amplifier with 2n3055 transistors on its output for those of you that are looking at doing a bang for buck amplifier with...
  • Stun Gun Circuit Diagram using 555 timer IC
    CAUTION: Before going to explain about this circuit, we are going to strictly suggest that DO NOT TRY TO IMPLEMENT IT PRACTICALLY AS IT P...
  • Simple 150 Watt amplifier circuit using transistors
    This is the cheapest 150 Watt amplifier circuit you can make,I think.Based on two Darlington power transistors TIP 142 and TIP 147 ,this ...
  • Make a solar cell in your kitchen
    A solar cell is a device for converting energy from the sun into electricity. The high-efficiency solar cells you can buy at Radio Shack a...

Pages

  • Home
  • Related
  • Privacy Policy
  • About

Blog Archive

  • ►  2017 (1)
    • ►  June (1)
  • ►  2016 (1)
    • ►  August (1)
  • ▼  2015 (23)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  September (2)
    • ►  August (4)
    • ►  July (10)
    • ▼  June (2)
      • Arduino: an Introduction
      • A simple fix for mouse click issues.
  • ►  2013 (1)
    • ►  July (1)
  • ►  2011 (3)
    • ►  August (3)

Dear Visitor

Please leave a comment or contact if you liked the post.

Message me if you have any issues regarding anything on this blog. I'd be happy to help you out with it.

If you need a custom made circuit you can surely let me know through comments or Contact Form, I'll reply as soon as I see it.

Thank you.

Contact Form

Name

Email *

Message *

Labels

diy simple LED amplifier cheap simple amplifier 150W 2N3055 battery battery charger cheap amplifier circuit easy inverter circuit project semiconductor silicone transistor 100W inverter 10k free energy 10k to 25k volt capacitor 12 volt battery led driver for 5 watt and 3 watt 12 volt dc battery charger using lm317 with output display 150 watt 150 watt amplifier 2N3906 3 watt amplifier 5 Volt DC Regulator to charge mobile phones from 12 or more DC voltage 5 volt charger 500w inverter circuit 500watt inverter 5pf A564 BC548 BC558 BD139 BD140 Bipolar LED C1162 Corroded Momentary switches D438 HV capacitors IC LDR LED circuit LED driver LED driver circuit LM386 Lead Acid battery MJ2955 Making your own 10k capacitor Momentary switches Remote control switch on or off for home appliances TIP142 TIP147 UM66 amplifier level indicator amplifier using TDA2003 android charger arduina is easy arduino arduino mega and uno arduino programming arduino web server atmega328 audio amplifier bd679 stun gun breadboard capacitor capacitors caps car amplifier car tail light led driver cell cell phone charger charger circuit cheap circuit corrected circuit country style day light sensor diy capacitor diy hack diy simple boat electrics electric ethernet shield free energy free power source girlfriend how do solar panels work how to fix horn button how to fix switches on boat hv caps ic TL062 integrated circuit introduction inverter using 2n3055 iphone charger kitchen led driver for vehicle like motorbike and car led driver using lm338 led track lighting lm317 ic low component make your own make your own capacitor mice problems modern lighting moon motor mouse mouse click mouse click issues mouse issues mouse left click issues mouse not working mouse right click issues peak level indicator phone charger photovoltaic powerful amplifier using tda7293 and tda7294 using extra transistors 2sc5200 and 2sa1943 relationship renewable energy repair samsung charger simple auto amplifier simple boat switch fix simple circuit simple inverter simple peak level simple web server solar solar energy solar panels stun gun using 555 timer ic timer ic 555 track track lighting transistor and chip amp hybrid using IC CD4017 what is arduino why arduino working simple working with relations

Report Abuse

About Me

dvbot
View my complete profile

Elektrik - Best Electronic Projects Reviews

Loading...

Loading...

Translate

Recent

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © Elektrik - Best Electronic Projects Reviews
Distributed By My Blogger Themes | Blogger Theme By NewBloggerThemes