In last lesson we learned the importance and some features of Arduino Uno. Now we will discuss how we can use this Arduino Uno for different applications. To use the Arduino Uno as per the user commands, it need to be programed using an Arduino IDE software. You can download this software here. This is the link for Arduino official website.
You just need to click on downloads then scroll down you will find Window installer option(it's size is around 85MB). After this click on the installer and Accept the license agreement and make the options as default. After this installation is done you will be able to see the Arduino icon on your desktop.
Now we are ready to start with the coding part.
We will start with LED interfacing with Arduino Uno. You may all used the LEDs or may seen them in your day today life.
Coding Area
Steps: -
Open the Arduino IDE and click on File and the click on New to create a new empty file
Click on files and go examples
Go to basics and then
Go to Blink
Upload this code your board by selecting the proper board and port
Define the Pin Mode in the void Setup
Define the logic in the void Loop
Functions used in this example:
Serial.begin(); to start the serial monitor
Serial.println() /Serial.print() to print the values on the serial monitor
delay(microseconds) to put a time delay between two instructions. For example delay(1000) i.e. 1 sec delay
Comments