Beruflich Dokumente
Kultur Dokumente
Nico Maas
Zur Person
Nico Maas
IT Systemelektroniker
Bachelor of Science
mail@nico-maas.de
www.nico-maas.de
@nmaas87
10.06.2015
Agenda
- I. Einfhrung
- ESP8266
- Modelle
- NodeMCU
- II. Projekt
- Hardware
- Software Option 1
- Software Option 2
- Live Demo
- III. Abschluss
- Fragen
- Quellenangaben
10.06.2015
ESP8266
Einfhrung
- ESP8266
- Modelle
- NodeMCU
Projekt
Abschluss
10.06.2015
Wi-Fi Direct
Soft AP
802.11b mode + 19.5dBm output power
Support antenna diversity
Integrated WEP, TKIP, AES, and WAPI engines
Built-in
TCP / IP protocol stack
TR switch, balun, LNA, power amplifier & matching network
PLL, voltage regulators, DCXO and power management
temperature sensor
Power down leakage current of <10uA
Integrated low power 32-bit CPU
SDIO 1.1/2.0, SPI, UART
STBC, 11 MIMO, 21 MIMO
A-MPDU & A-MSDU aggregation & 0.4ms guard interval
Wake up and transmit packets in < 2ms
Standby power consumption of < 1.0mW (DTIM3)
Nico Maas / www.nico-maas.de / mail@nico-maas.de
ESP8266
Einfhrung
- ESP8266
- Modelle
- NodeMCU
Projekt
Abschluss
P1
10.06.2015
Modelle
Einfhrung
- ESP8266
- Modelle
- NodeMCU
Projekt
Abschluss
ESP-01
ESP-02
ESP-03
ESP-04
ESP-05
ESP-06
P2
10.06.2015
Modelle
Einfhrung
- ESP8266
- Modelle
- NodeMCU
Projekt
Abschluss
ESP-07
ESP-08
ESP-09
ESP-10
ESP-11
ESP-12
P2
10.06.2015
Modelle
Einfhrung
- ESP8266
- Modelle
- NodeMCU
P2
Projekt
Abschluss
ESP-12B
ESP-13
ESP-201
10.06.2015
P3
8
NodeMCU
Einfhrung
- ESP8266
- Modelle
- NodeMCU
Projekt
Abschluss
WLAN Verbindung
10.06.2015
LED Anschalten
Hardware
Einfhrung
5V
Projekt
- Hardware
- SW Option 1
- SW Option 2
- Live Demo
3.3V
Abschluss
USB/Serial(TTL) Interface
Spannungswandler 5V / 3.3V
ESP-01
GPIO_0 muss zum Flashen
auf GND gezogen werden!
ESP niemals mit mehr als
3.3V betreiben!
10.06.2015
10
Hardware
Einfhrung
Projekt
- Hardware
- SW Option 1
- SW Option 2
- Live Demo
Abschluss
P4
10.06.2015
11
10.06.2015
10.06.2015
13
14
SW Arduino
Einfhrung
Projekt
- Hardware
- SW Option 1
- SW Option 2
- Live Demo
Abschluss
10.06.2015
15
SW Arduino
Einfhrung
Projekt
- Hardware
- SW Option 1
- SW Option 2
- Live Demo
Abschluss
10.06.2015
16
10.06.2015
17
http://www.blynk.cc/getting-started/
10.06.2015
18
10.06.2015
19
10.06.2015
20
10.06.2015
21
22
Live Demo
Angepasstes WiFiWebServer Beispiel
http://<ESPIP>/gpio/0 bzw http://<ESPIP>/gpio/1
#include <ESP8266WiFi.h>
const char* ssid = "ESP8266";
const char* password = "ESP8266ROCKZ";
// Create an instance of the server
// specify the port to listen on as an argument
WiFiServer server(80);
void setup() {
Serial.begin(115200);
delay(10);
// prepare GPIO2
pinMode(5, OUTPUT);
digitalWrite(5, 0);
// Connect to WiFi network
Serial.println();
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
10.06.2015
23
P5
10.06.2015
24
ESP-01 Rauch!
4.7 Ohm
statt 4.7 K Ohm!
10.06.2015
P5
25
Onboard Antenne
10.06.2015
26
ESP-201 Pinout
P6
10.06.2015
27
Fragen?
10.06.2015
28
Quellenangaben
Foto der Frontfolie, P0: http://www.seeedstudio.com/depot/WiFi-Serial-TransceiverModule-w-ESP8266-p-1994.html
P1: http://hackaday.com/2015/03/18/how-to-directly-program-an-inexpensiveesp8266-wifi-module/
P2: http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family
P3: http://www.iotextreme.com/purchase-wifi-module-esp8266-esp8266-201-esp-201serial-wifi-wireless-transceiver-module-send-receiver-lwip-ap-sta-for-arduino-r-27.html
P4: http://playground.boxtec.ch/doku.php/wireless/esp8266
P5: http://hackaday.com/2015/01/08/faulty-esp8266s-release-smoke-then-keepworking/
P6: http://smarpl.com/content/esp8266-esp-201-module-antenna-troubleshooting
10.06.2015
29
Quellenangaben
http://espressif.com/en/products/esp8266/
https://github.com/esp8266/esp8266-wiki/wiki
http://www.esp8266.com/wiki/doku.php
http://en.wikipedia.org/wiki/NodeMCU
http://www.mikrocontroller.net/articles/ESP8266
https://nurdspace.nl/ESP8266
http://tech.scargill.net/page/2/?s=esp8266
http://www.nodemcu.com/index_en.html
https://github.com/pfalcon/esp-open-sdk
https://hackaday.io/project/3465-playing-with-esp8266
http://smarpl.com/content/esp8266-esp-201-module-freeing-gpio9-and-gpio10
http://tim.jagenberg.info/2015/01/18/low-power-esp8266/
http://www.whatimade.today/esp8266-and-the-water-heater/
http://tomeko.net/other/ESP8266/
http://www.esp8266.com/viewtopic.php?f=31&t=2150
http://arduino-hannover.de/2015/04/08/arduino-ide-mit-dem-esp8266/
10.06.2015
30