How to Use Arduino UNO with example- Tutorial

Using an Arduino is quite simple. you can learn how to use Arduino in just 10 minutes of reading this article. so keep reading. I am going to explain how to use Arduino with examples. for the beginner, this tutorial is very good. all detail description about Hardware and software used in Arduino. You need less software and hardware to use it. Arduino uses only one software for compile and uploading program in the hardware. Arduino IDE software do both works compile as well as uploading program.

Arduino is an open-source hardware and software company which make Arduino for a different purpose, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices it can sense physically and digitally.we have many Arduino based projects. you cam make some of the best electronic projects with the Arduino 

You can use 14 GPIO (general purpose input output) pin and 6 Analog pins. Arduino having Inbuilt ADC (analog to digital converter) so you don’t need to attach an IC externally. Arduino also has PWM pin which generates PWM. So you can use Servo motor directly with Arduino. And from analog pins you can read and write analog value.

Arduino UNO PIN Diagram and pin description

 

Arduino UNO PIN Diagram and pin description

 

How to connect Arduino with PC

it is the simplest connection. you have to connect only USB cable to your pc and Arduino. this make a successful connection and enough for uploading the code into the Arduino

How to Write a Code in Arduino IDE/how to do coding in Arduino


Open Arduino IDE Click on the File and then Select New.
To write a simple Led blink program;

step=1
write pinMode in Void setup to configure the pin as an Output or Input. 
To configure  Output we write OUTPUT with pin number
for example:- if we want to configure pin1 as an output pin we have to write
pinMode(1, OUTPUT);

&
if we want to configure pin1 as an input pin we have to write
pinMode(1, INPUT_PULLUP);

step=2
write digitalWrite in Void loop to send digital data to any digital pin
for example:- if we want to send High on pin1
digitalWrite(1, HIGH);

&
if we want to send LOW on pin1
digitalWrite(1, LOW);

for delay
write
delay(miliseconds)
for example
delay(500);

step=3
write Code into IDE 

step=4
select COM PORT in Arduino IDE

select COM PORT in Arduino IDE

step=5
now the last step upload the code into Arduino board

upload the code into Arduino board


we have many Arduino based projects

LED Pattern with Arduino tutorial- 3 Pattern With 10 LED

One thought on “How to Use Arduino UNO with example- Tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *