1. Arduino Tutorial HIndi/Urdu

by monusuthar2016 in Circuits > Arduino

5791 Views, 10 Favorites, 0 Comments

1. Arduino Tutorial HIndi/Urdu

maxresdefault.jpg
vlcsnap-2017-07-29-12h34m27s929.png

Hello Everyone

I am going to make a video tutorial series of 10 videos. So this is my instructables of 1st video, best thing of this series is that, it is available in Hindi and English, so it is very useful for everyone.

Gather the Material

A000066-Arduino-Uno-TH-2tri.jpg
1200px-400_points_breadboard.jpg
301-00.jpg
330ohm.jpg
45040-dscn0624.jpg

1. Arduino UNO/ other and USB cable

2. Breadboard

3. Some LED's

4. Resistor 330 ohm

5. Male to Male Jumper Wire

Make a Circuit

1st tutorial.png

Make a simple circuit on breadboard using these components. circuit is shown in the images, in this circuit 5 LEDs are used in series with resistance. 330 ohm resistances are connected in series with every LED, in this program leds are running in one direction.

Code

Untitled-1.jpg

just copy and paste this code in Arduino and upload

Downloads

Code Explaination

Line 1: Void Setup()

Void Setup is used for code setup, in this section microcontroller execute the code only one time at the time of starting of Arduino.

Line 2: pinMode(A0,OUTPUT)

pinMode is used for defining the nature of pin, Nature can be input or Output. in this function A0 is the pin and OUTPUT is the nature of this pin, we are using led so A0 is OUTPUT, if you want to connect the sensor nature will INPUT.

Line9: Void Loop()

void Loop is the most useful function, this will run continuously.

Line10: digitalWrite(A0,HIGH)

digitalWrite is used for making the pin LOW(ZERO/0/OFF) or HIGH(ONE/1/ON), A0 is the pin

Line11: delay()

delay function is used for delay, the input parameter is milliseconds.

Video

Watch my video for complete guideline

Playlist of Tutorial Series

https://www.youtube.com/watch?v=oh-nBMBBoaY&list=PLRLdT3lGOhOQYC-scEkRxfBvD6g5bflx3