This document explains how to connect
your Uno board to the computer and upload your first sketch. The Arduino Uno is
programmed using the Arduino Software (IDE), our Integrated Development Environment
common to all Arduino Boards.
The Arduino Software (IDE) allows you to write programs and upload them to your board.
Installing the Arduino Software Package on Windows
Head over to the Arduino website www.arduino.cc
Click on “SOFTWARES” TAB and Click on Windows installer
You will be prompted to another window, click on “JUST DOWNLOAD”
Once downloaded, follow the instructions to install the Arduino Integrated Development Environment (IDE).
· Run the Downloaded executable file. Click on “I Agree” Button
· Check all the boxes and press “Next”.
· Click “Install”
· It will ask for the driver installation. Check the box and press “install”
· Windows will finish up the driver installation from there. Press “Close” . Arduino Icon is displayed on desktop after installation
Running the Arduino Software
Now that the software is installed and your Arduino is set up, let’s verify everything is working. The easiest way to do this is by using the “Blink” sample application.
· Open the Arduino Software by Double-clicking the Arduino Icon on Desktop.
· Make sure the board is connected to your computer
· Open the LED blink example sketch: File > Examples > 1.Basics > Blink.
· You should see the code for the application open:
· Board In order to upload this code to your Arduino, select the entry in the Tools > Board menu that corresponds to your model — Arduino Uno in this case.
· Select the serial device of your board from the Tools > Serial Port menu. On Windows, This is likely to be COM3 or higher.
· Initially, click the Upload button on the top left of your environment. Wait a few seconds, and you should see the RX and TX LEDs on the Arduino flashing. If the upload is successful, the message “Done uploading” will appear in the status bar.
· A few seconds after the upload finishes, you should see the pin 13 LED on the board start to blink.
Explanation of code:
· void setup(): This is run by the Arduino once every time it starts. This is where you can configure variables and anything your Arduino needs to run.
· pinMode(13, OUTPUT): This tells the Arduino to use this pin as an output, without this line, the Arduino would not know what to do with each pin. This only needs to be configured once per pin, and you only need to configure pins you’re intending to use.
· void loop(): Any code inside this loop is repeatedly run over and over again, until the the Arduino is turned off.
· digitalWrite(13, HIGH/LOW): This is used to set the pin HIGH or LOW — ON or OFF. Just like a light switch, when the pin is HIGH, the LED will be on. When the pin is LOW, the LED will be off.
· delay(1000): The tells the Arduino to wait for a specified amount of time in milliseconds. 1000 milliseconds is equal to one second, so this will make the Arduino wait for once second.
Once the LED has been turned on for one second, the Arduino then runs the same code, only it proceeds to turn the LED off and wait another second. Once this process has finished, the loop starts again, and the LED is once again turned on.
I am very thank full to you all for giving such a great training and opportunity to explore my ideas in the stream of IoT, started with a 2 week workshop, very well Hands-on session ever had before...
I interned at smart bridge it's on a mission to become the power House of IOT.The work here is innovative and colleagues are very friendly.i would definitely recommend smart bridge to be a part of you..
I have done my project and Iot training at Smart Bridge Technologies based on which I got placed in IBM as a system engineer. I am very thankful that i have found my way to build my career further. Th..
The Project was developed in time, and it was appreciated .Many small details were covered well, and proved to be distinguishing points to the project.The concerned mentor, Sandeep Doodigani, has been..