More about Arduino

More about Arduino

We will start from simple programming and setup of Arduino. This will be about simple LED blinking with a program.   

Material required:

  • Breadboard
  • LED [3 volt]
  • Some jumper wires [Male to Male]
  • Arduino board
Procedure:
  1. Take the LED and fix it on the breadboard placing its terminal horizontally on the area where alphabets are written. Positive terminal [Big leg of LED] will be left hand side and negative terminal [Small leg of LED] will be right hand side.
  2. Take the arduino board and fix the first jumper wire on the ground pin [GND] area of the digital pins, and other jumper wire to the pin 13 just below GND.
  3. Now fix the ending point of jumper wire [Which you have connected to pin 13] below the positive terminal of LED but before the partition line.
  4. And other ending point of jumper wire [Which you have connected to GND] below the negative terminal of LED but before the partition line.   
  5. Your setup is ready.
  6. Just connect your arduino board to your PC or Laptop.
  7. Write the program and after writing the program check it by clicking on the tick symbol on the ribbon and then upload it after saving. Upload option is also on the ribbon it is an arrow going right side.
Program:


Explanation:
First of all you should know it is a case sensitive language, a single mistake of a word or a punctuation mark can spoil your program. Now as you can see written "void setup" in the image, under this you will write that from which pin you have given output so we have written 13,OUTPUT in the void loop in curly brackets. And under "void loop" we have written that in which terminal how much current should enter and it will repeat again and again. We have written digitalWrite because we have given the connection in the digital pins and you don't need to write 13 every time as 13 is the pin number in which I have given connection which means you can connect to any digital pin and write that number. delay(1000) here means 1 second, and HIGH and LOW means current will become make the LED glow and then off. We have written semicolon after every line so that the next statement can continue without it you cannot move to next step. 

Related Posts:

  • More about Arduino More about Arduino We will start from simple programming and setup of Arduino. This will be about simple LED blinking with a program.    Material required: Breadboard LED [3 volt] Some jumper wires [Ma… Read More
  • How to send bulk emails from Gmail How to send bulk emails from Gmail First go to your gmail and compose a mail as shown in the picture. Just write subject and content of your need. You will see that it will be save in Draft.Then go to ''Draft'' and cro… Read More
  • Arduino Board's basics Arduino Board's basics Arduino is an open-source electronics platform based on easy-to-use hardware and software. It is very cheap and useful but a little hard to understand but if you understand it properly then it is ver… Read More
  • How to Permanently Activate MS Office 2016 Free Activation For MS Office 2016  If you are not able to find any key to open MS Office 2016 then follow these steps Open any browser.  Open this link → https://get.msguides.com/office2016.txt Then a p… Read More
  • Unmanned Railway Crossing by EV3 Unmanned Railway Crossing By EV3 Introduction: Unmanned Railway Crossing means that barriers will be closed automatically when the train would be there to come and the traffic will stop. Why It Is Important ? … Read More

0 Comments:

Post a Comment