Introduction: 1. Arduino Tutorial HIndi/Urdu
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.
Step 1: Gather the Material
1. Arduino UNO/ other and USB cable
3. Some LED's
4. Resistor 330 ohm
5. Male to Male Jumper Wire
Step 2: Make a Circuit
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.
Step 3: Code
just copy and paste this code in Arduino and upload
Step 4: 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.
digitalWrite is used for making the pin LOW(ZERO/0/OFF) or HIGH(ONE/1/ON), A0 is the pin
delay function is used for delay, the input parameter is milliseconds.
Step 5: Video
Watch my video for complete guideline
Playlist of Tutorial Series