document esp8266
This commit is contained in:
parent
94d4d5c722
commit
5de420d908
15
README.md
15
README.md
|
@ -39,6 +39,21 @@ Connect the peripherals the following way (STM32F10X signal; STM32F10X pin; peri
|
||||||
|
|
||||||
All pins are configured using `define`s in the corresponding source code.
|
All pins are configured using `define`s in the corresponding source code.
|
||||||
|
|
||||||
|
peripherals
|
||||||
|
===========
|
||||||
|
|
||||||
|
ESP8266
|
||||||
|
-------
|
||||||
|
|
||||||
|
AT firmware v0.51 from the espressif NONOS SDK 1.5.0 has been used for this project.
|
||||||
|
Be sure to have configured the module to connect to the right access point beforehand using the following AT commands:
|
||||||
|
|
||||||
|
- set station mode: `AT+CWMODE_DEF=1`
|
||||||
|
- enable DHCP: `AT+CWDHCP_DEF=1,1`
|
||||||
|
- set access point to connect to: `AT+CWJAP_DEF="essid","password"`
|
||||||
|
|
||||||
|
When booting the micro-controller will reset the device and wait until the module connects to the access point and gets an IP.
|
||||||
|
|
||||||
code
|
code
|
||||||
====
|
====
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue