You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/retired/01.boards/arduino-uno-wifi/content.md
+17-22Lines changed: 17 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ The Arduino UNO WiFi is the same as a Arduino UNO Rev3 but with an integrated Wi
14
14
15
15
The ESP8266 Wi-Fi Module is a self contained SoC with integrated TCP/IP protocol stack that can give access to your Wi-Fi network. (Or the device can act as an access point.) One useful feature of UNO WiFi is support for OTA (over-the-air) programming, either for transfer of Arduino sketches or Wi-Fi firmware.
16
16
17
-
###Documentation
17
+
## Documentation
18
18
19
-
####Power
19
+
### Power
20
20
21
21
The Arduino UNO WiFi can be powered via the USB connection or with an external power supply. The power source is selected automatically.External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector.
22
22
@@ -30,11 +30,11 @@ The power pins are as follows:
30
30
* GND. Ground pins.
31
31
* IOREF. This pin on the Arduino board provides the voltage reference with which the microcontroller operates. A properly configured shield can read the IOREF pin voltage and select the appropriate power source or enable voltage translators on the outputs for working with the 5V or 3.3V supplies.
32
32
33
-
####Memory
33
+
### Memory
34
34
35
35
The ATmega328 has 32 KB Flash (with 0.5 KB used for the bootloader). It also has 2 KB of SRAM and 1 KB of EEPROM (which can be read and written with the EEPROM library).
36
36
37
-
#####Input and Output
37
+
### Input and Output
38
38
39
39
Each of the 14 digital pins on the UNO can be used as an input or output, using pinMode(), digitalWrite() and digitalRead() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialised functions:
40
40
@@ -47,7 +47,7 @@ Each of the 14 digital pins on the UNO can be used as an input or output, using
47
47
* AREF. Reference voltage for the analog inputs. Used with analogReference().
48
48
* RESET. Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board.
49
49
50
-
####Communication
50
+
### Communication
51
51
52
52
The Arduino UNO WiFi has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega328 provides UART TTL (5V) serial communication, which is available on digital pins 0 (RX) and 1 (TX). An ATmega16U2 on the board channels this serial communication over USB and appears as a virtual com port to software on the computer. The 16U2 firmware uses the standard USB COM drivers, and no external driver is needed. However, on Windows, a .inf file is required. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. The RX and TX LEDs on the board will flash when data is being transmitted via the USB-to-serial chip and USB connection to the computer (but not for serial communication on pins 0 and 1).
53
53
@@ -67,24 +67,19 @@ The perfect way to communicate to internet via your Arduino UNO WiFi is the Ciao
67
67
68
68
On the Arduino UNO WiFi is pre-uploaded the RestServer sketch that allows you to command immediately your board via browser:
69
69
70
-
Connect to the Arduino UNO WiFi SSID and go to the link <http://192.168.240.1/arduino/digital/13/1> to turn ON the LED L
70
+
Connect to the Arduino UNO WiFi SSID and go to the link http://192.168.240.1/arduino/digital/13/1 to turn ON the LED L
The Arduino UNO WiFi can be programmed as a classic Arduino UNO with the Arduino software ([download](http://www.arduino.cc/download)). Select "Arduino UNO WiFi from the Tools > Board menu (according to the microcontroller on your board.
90
85
@@ -94,19 +89,19 @@ The ATmega328 on the Arduino UNO WiFi comes pre-burned with a bootloader that al
94
89
95
90
You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar.
96
91
97
-
####Automatic (Software) Reset
92
+
### Automatic (Software) Reset
98
93
99
94
Rather than requiring a physical press of the reset button before an upload, the Arduino UNO WiFi is designed in a way that allows it to be reset by software running on a connected computer. One of the hardware flow control lines (DTR) of the ATmega8U2/16U2 is connected to the reset line of the ATmega328 via a 100 nanofarad capacitor. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of DTR can be well-coordinated with the start of the upload.
100
95
101
96
This setup has other implications. When the UNO WiFi is connected to either a computer running Mac OS X or Linux, it resets each time a connection is made to it from software (via USB). For the following half-second or so, the bootloader is running on the UNO. While it is programmed to ignore malformed data (i.e. anything besides an upload of new code), it will intercept the first few bytes of data sent to the board after a connection is opened. If a sketch running on the board receives one-time configuration or other data when it first starts, make sure that the software with which it communicates waits a second after opening the connection and before sending this data.
102
97
103
98
The UNO WiFi contains a trace that can be cut to disable the auto-reset. The pads on either side of the trace can be soldered together to re-enable it. It's labeled "RESET-EN". You may also be able to disable the auto-reset by connecting a 110 ohm resistor from 5V to the reset line.
104
99
105
-
####USB Overcurrent Protection
100
+
### USB Overcurrent Protection
106
101
107
102
The Arduino UNO WiFi has a resettable polyfuse that protects your computer's USB ports from shorts and overcurrent. Although most computers provide their own internal protection, the fuse provides an extra layer of protection. If more than 500 mA is applied to the USB port, the fuse will automatically break the connection until the short or overload is removed.
108
103
109
-
####Physical Characteristics
104
+
### Physical Characteristics
110
105
111
106
The maximum length and width of the UNO WiFi PCB are 2.7 and 2.1 inches respectively, with the USB connector and power jack extending beyond the former dimension. Four screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"), not an even multiple of the 100 mil spacing of the other pins.
112
107
@@ -176,7 +171,7 @@ Now:
176
171
* Select the corresponding serial port in the Tools>Port menu.
177
172
* Upload the **ESP Recovery sketch.** It is into the **UNOWiFiDev.Edition** Library. Download it from **[Library Manager](https://www.arduino.cc/en/Guide/Libraries#toc3).**
0 commit comments