Arduino OK OK
Arduino OK OK
Luca Bedogni
[email protected]
Sistemi Mobili 2016
Outline
Arduino: a primer
ESP8266
Serial Monitor
Autonomous network
What is Arduino
Two methods:
- void setup()
- void loop()
Library extensible
• 802.11 b/g/n
• Input power: 3.3V
• Integrated 10-bit ADC
• Deep sleep power <10uA
• Power down leakage current < 5uA
• Wake up and transmit packets in < 2ms
• Standby power consumption of < 1.0mW
(DTIM3)
• +20 dBm output power in 802.11b mode
Wiring (ESP8266-01)
RX
VCC
GPIO_0
RST
GPIO_2
CH_PD
GND
TX
ESP8266-01 USB-SERIAL
RX TX
TX RX
CH_PD 3.3 V
VCC 3.3 V
GND GND
GPIO_0 GND (when flashing)
A first example
[email protected]
http://www.cs.unibo.it/~lbedogni/
www.unibo.it