Getting Started with Arduino
This is my first post about how to get started with Arduino. I know Arduino is a big buzz word for a long long time…And guess what? Still it is a big buzz word!
Arduino is becoming an important platform, which is being utilized by everyone – from kids to engineers!!!
What is Arduino ?
“Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.”
That’s what they say 😛
To me Arduino is a great guy, who lends us hardware support for real world realization for many areas such as robotics, automation, artificial intelligence and many more.
It is basically a microcontroller made simple enough to master it in a single day.
So I can learn it in one day?
Sure why not! But there are certain electronics and real world thingys have to be mastered alongside the journey of arduino. Making sure my tutorials will beacon the support for you.
Lets Get Started!!!! Yaay I am excited to!!!
In this tutorial I am going to explain how to connect Arduino with the PC and work our way through it!
- Arduino UNO
- A-B USB cable
- Laptop / PC
Arduino is very cheap as many replicas are available and can be purchased online. Original Arduion can also be bought from their official site to. (https://store.arduino.cc)
The tricky part is installing the driver software for arduino, such that the PC recognize the hardware when connected to it.
Step 1 : Setting up the environment
We need software that helps in establishing communication between PC and Arduino.
Arduino IDE is the best and official tool used for it. And it is available for all the OS platforms in this link https://www.arduino.cc/en/Main/Software
I can support only for windows, for window you can either download,
- Windows Installer
- Windows ZIP file for non admin install
I personally recommend windows installer, as it is a one step process that will automatically install the necessary driver software for arduino.
During installation the windows will prompt for installing driver software, click install and proceed with installation. And that’s it the software installation part is over : D
Step 2: Connecting the hardware
1. And now connect the arduino to the PC /Laptop via the AB type USB like shown in the below image.
2. Once it is connected, open the arduino software, The software will look like this as shown in the below image.
3. In that go to tools->Board and select Arduino/Genuino UNO, like this
4. Next go to Tools -> Port and select that COM port that shows (Arduino/Genuino UNO) next to it like this
5. Congratulate yourself, you have successfully installed the necessary things for arduino to get started.
Problem that might occur:
Sometimes for few, the port will not show up, then it mean the driver software was not successfully installed. For that download the windows zip file for non-admin install.
After downloading the zip file, there will be folder named libraries, in that there will be two application file name d dpinst-amd64 and dpinst-x86. 32 bit users Install x-86 and for 64-bit users install amd64 file.
After installing restart the system, and follow step 2.
You can also check whether the driver is correctly installed in windows device manager, in that it will show like this when the Arduino is connected to the PC/Laptop.
If there are any other problems faced during the setup, please use the comment box to clear the doubts.
Yaay !! we have everything in our hand now, on the next post I will take you deep into what is arduino and how to control digital and analog ports in it. Sounds cool right. Stay Tuned.