Arduino Basic

Hello friends!!! in this post we will talk about the basics of ARDUINO. Every one,who loves electronics loves arduino at the same time. It is a very simple means to make logic a realty. Now moving forward, lets first see what is this stuff.

what is ARDUINO???

It is a tiny computer( in its simplest form) that you can program to process inputs and outputs going to the chip and coming from the chip. It is an EMBEDDED computing platform. Embedded here means that it interacts with its environment by the means of software and hardware. And thus its a good platform to make our projects.
  • Arduino board consists of ATmel AVR microprocessor,crystal oscillator,voltage regulator(7805 IC),USB controller and the pinouts of the microcontroller are exposed on the board.
  • To program the Arduino we need to install the Arduino IDE.
  • Now what is this IDE? It is an abbreviation for the integrated development environment. The integrated development environment is the combination of the Editor and the compiler. The task of the Editor is to allow the user to write their code(code can also be written in the note pad) and then the task of the compiler starts. As we know that the computer understands only the MACHINE LANGUAGE(0&1) and we are obviously not writing our code in machine language(as it is very laborious and chances of error got increased) so it becomes important for us to convert the language to the machine language as Arduino is also a computer(a combination of switches).So the use of compiler is the conversion of the language.

  • The program in the Arduino is called as the Sketch. 
  • The Arduino hardware and Software are both open source. This means that the schematics for the Arduino circuit board is free for all and you can even make your own board. It is at all not illegal to sell your board in the market. These boards are called the CLONE. There are so many clones available in the market, some of them are ROBODUINO,FREEDUINO,ARKDUINO etc.
  • The installation part i am not going to explain here in this post. If anyone is facing any problem in that then please ask me.
  • before you upload your sketch to the Arduino, please check the port you selected. It can be done by going to the TOOLS>SERIAL PORT.

Simple Program...

Let us see a simple program to test your ARDUINO. Once your program is been uploaded, the onboard LED will start blinking.

int ledPin=13;
void setup()
void loop()
  • ledPin is the variable in the program which can store the value of type integer. In this program it is 13. Here 13 is the pin number at which our onboard LED is connected.(Hope you all know the concept of variable).
  • In the sketch we have two functions i.e; setup() and loop(). The setup() function is executed once and the loop() function keep executing again and again.
  • Once you upload the program to your Arduino your onboard LED will start flashing for the interval of 1 seconds.
Hope this will be helpful to you. Thank You for reading.Please Subscribe!!!
I am giving the link for the tutorial which is having 13 projects along with the explanation.
link to download---

No comments:

Post a Comment