ESP8266 - Webserver
ESP8266 Flavors
ESP-01
12-E NodeMCU
WeMos D1 Mini
What can you do with this ?
What can you do with this ?
STA Mode
AP Mode
WiFi Modes
Station Mode
Creates its WiFi Network
Connects to an existing Network
Access Point
SSID: Kitchen Timer IoT #
(no password)
Pinout
Connection Example
Connect your module and find your Network...
Exchange Data
Webservers/Webpages
UDP/TCP comms
What is a Webserver ?
Webpage
http://192.168.4.1
Block Diagram
192.168.4.1
Kitchen Timer IoT #
Webpage
Serial Communication
9600 Baudrate
Serial Commands List
$SET,TMRS,mm:ss\n
$STR\n
$STP\n
$INC\n
$GET
$mm:ss\n
Mapping
$STR\n
$STP\n
$INC\n
$SET,TMRS,mm:ss\n
$GET
It is sent every 1 second
Your Task...
Implement the code that will parse these two commands.
When the start button is pressed, turn on an LED
When the stop button is pressed, turn off the LED