Saturday, 13 August 2016

Arduino Setup for beginners

Arduino Setup for beginners 

What is Arduino?

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.
More details: https://www.arduino.cc

Let's start

Buy an anduino board and some starter kit (list)

Arduino UNO R3 is best for beginner as know.

  Arduino UNO

You can buy it from a local shop or online some links are given blow:

Install the arduino software

Click on the list on the side if you want to use another Arduino board. 

Setup the port and choosing arduino board in IDE

  • Open arduino software
  • Connecting the arduino to the computer via USB cable
  • Now click on Tools->Port->select port of your arduino( my port no is COM3 it can be different for your board)
  • Now select Arduino Board Model  given blow

Now all are set let'do it....



For any suggestion and query please write in comment box.

Thanks.

How to glow a LED using arduino

How to glow a LED using arduino (basic)

List of items needed:

  • Arduino Board 
  • Jumper wires 
  • LEDs
  • Resistance (47Ohm)
  • Breadboard (optional)

Connections and circuit diagram :



Let's do some coding in arduino:

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() 
{
      // initialize the digital pin as an output.
      pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:

void loop() {

      digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
      delay(1000);                      // wait for a second

     digitalWrite(ledLOW);    // turn the LED off by making the voltage LOW
     delay(1000);                      // wait for a second
}

Uploading code in arduino:

Connect arduino to the computer then select port:(ex. COM3) 

And simply Click on the Upload Button as given blow :

Now See your LED it will glowing :)

You can do many experiments with time delay and connecting more LEDs .

If you make something new then post in the comment box that will be appreciable.

For any suggestion and query post in comment box.

Thanks.