Connecting your Arduino for the first time.
Let the fun begin!
You brought your Arduino but not sure what to do now? In this tutorial I'm going to take you step by step through the process of writing your first Arduino Sketch and loading it onto your Arduino.
Software
- Ensure you install the Arduino IDE
- Install the USB drivers (if you have installed these drivers you can skip the following steps)
- Download the driver
- Unzip the driver folder.
- Run the installation for the driver.
- It's recommended that you restart your computer at this stage.
Hardware
In this example we will make use of the Arduino R3 but the principals remains the same.
- Connect the Arduino to your PC via USB cable.
- Let's ensure that our driver detected the Arduino, open device manager on your computer (press the Windows button and type "device manager"
- Navigate to the "Ports" section and expand;
- Take note on what of the COM port number for your device, in my case it's COM21.
Programming
- Open the Arduino IDE.
- Navigate to "Tools" and then "Port" and select the appropriate port;
- Next navigate to "Tools" and select "Get Board Info" you should see something similar to the following;
- Now we are ready to write a basic program to test our board, change the code to the following;
- Press the Upload button arrow (In above image the mouse pointer is on the button)
- You should see your LED flashing hyper actively.
- If this is not the case consider a reboot of the PC, I have seen in the past that when you run Arduino runs for the first time you sometimes have problems connecting to your board.
UHLfreFsRPjpv
ZWnXemUMq
UzKJcepgxSHwInb
pzqVgfbh
QZXvJGdakVLngTP