Arduino explained : digital and analogue pins

Today I will write about basics of Arduino Uno. From my recent blog I have written about what is Arduino. It is second chapter.

Arduino works on programme. Arduino programming is much familiar to c programming. So it is not hard to learn Arduino programming. You can control the Arduino and make it in your own way.lets see whats contain a Arduino.

Arduino Uno
1. 13 digital pins
2.6  analogue pins
3 IC atmega 328
4.dc power input sockets
5. USB port
6. Voltage regulator cheap
7. 5v output
8. 3.7v output
9. 2 ground pins
10. Reset button and pin
11. Built in lED
And much more things

You can programme your Arduino with your computer. For this you have to install Arduino IDE software. You can find this software for free on Arduino's official website. You can also programme on your phone . But for this you have to install Arduino IDE software from play store. To upload a programme you must need one of this software and a data cable. Connect data cables one side to Arduino and another side to computer or phone. Now you are ready for programming!
                        Arduino cable for Uno board
Digital pins are for simple use. Such as you want to blink a led. You can do this with digital pins. They can only to open power and close power . Same also to input. They can't read the power value. But if you want regulate a LED's brightness , you have to use analogue pins. Because they can read value of power. Such as you defined in your programme that if you input 5v or more than the led will blink. You have to use analogue pins. But attention !! Analogue pins only can give us output. They can't take input. In this cases you have to use PWM pins. What is PWM pins? PWM pins are those pins who works as a digital output and input and at the same time they also works as analogue input. There are 6 PWM pins in arduino Uno. Those are 3,5,6,9,10 and 11. This pins are indicated with ~ this kind of sign.so you have to use this. So remember that analogue pins are for various values but digital pins can only reads two values HIGH and LOW. stay tuned for further updates.

Comments

Trending

iphone X review

Climate change: why and how

Model railroading explained