yesdayoncemore 发表于 2016-12-29 20:32:02

first sketch on Arduino UNO WiFi

Follow all steps of this guide to upload your first sketch on Arduino UNO WiFi.

Arduino IDE - download and installFirst you need the Arduino.org IDE.
You can download it from here.
After that you have downloaded the latest version Arduino IDE, extract it using 7-zip.
Now double click to install it, if you have downloaded the installer file.

Note:
Keep in mind that to use the Arduino UNo Wifi you need the Arduino.org IDE 1.7.9 or later.

Lauch the Arduino IDEOpen the Arduino folder and double-click on the Arduino application.


Warning:
If you are a Windows user and you have downloaded the administrator version then you need to click on right button of mouse and select the voice "Execute as administrator", to start the program.

Connect the boardConnect the Arduino UNO WiFi board to your computer using the USB cable, as shown in the below image:

The green power LED (labelled PWR) should go on.
Note:
When you connect your board, pay attention that the cable is correctly inserted then push strong.

Upload sketchThe Arduino UNO Wifi can be programmed in two way: via Serial or via OTA, both these methods will be shown in this guide.

Programming via SerialThis is the classic procedure used to program all Arduino boards.

Select the boardSelect the Arduino Uno WiFi as board from Tools>Board menu.

Select portIf the board is correctly connected to PC then it appear in Tool>Port menu a device called COMxx(Arduino Uno WiFi) as shown in the below image, then select it:

Note:
If it doesn't appear as serial device then check the connection, try to change the cable or the USB port.

Open the Blink SketchSelect the Blink sketch from File>Examples>1.Basics menu.

Upload the sketchNow you can upload the sketch, clicking on Upload button as shown in the below image:

Wait that the operation is completed.

If the Uploading is correctly completed then the Led13 will blink each second.

Now try to upload another example or try to create your custom sketch.

Look these examples:


[*]Button Example
[*]Read Analog Voltage Example
[*]Servo Example

[*]CiaoRestClient-ThingSpeak
[*]ReadMacAddress
[*]RestServer and RestClient
[*]WebServer
[*]WebServerBlink

页: [1]
查看完整版本: first sketch on Arduino UNO WiFi