ESP8266 ESP-12F Serial Port Module: Difference between revisions

From B-Wiki
Jump to navigation Jump to search
Line 11: Line 11:
[[File:Homie debug configuration.PNG|frameless|border|caption]]
[[File:Homie debug configuration.PNG|frameless|border|caption]]


Firmware global-input-handler (1.0.1)
<syntaxhighlight lang="cpp">
 
Firmware global-input-handler (1.0.1)
🔌 Booting into normal mode 🔌
🔌 Booting into normal mode 🔌
{} Stored configuration
{} Stored configuration
Line 40: Line 42:
   • Wi-Fi signal quality: 100%
   • Wi-Fi signal quality: 100%
   • Uptime: 5s
   • Uptime: 5s
</syntaxhighlight>


== Documentation Arduino ESP8266 ==
== Documentation Arduino ESP8266 ==

Revision as of 16:17, 28 April 2019

Flashing the ESP8266

ESP8266 programmer
Flasher tool
  1. Download the NodeMCU PyFlasher [1]
  2. Download the ESPlorer [2]
  3. Download latest greatest NodeMCU build [3]


Software

caption

<syntaxhighlight lang="cpp">

Firmware global-input-handler (1.0.1) 🔌 Booting into normal mode 🔌 {} Stored configuration

 • Hardware device ID: 18fe34d75723  device ID 
 • Device ID: 18fe34d75723
 • Name: Motion sensor Hol
 • Device Stats Interval: 60 sec
 • Wi-Fi:
   ◦ SSID: ReteauaLuiTinel
   ◦ Password not shown
 • MQTT:
   ◦ Host: 192.168.2.1
   ◦ Port: 1883
   ◦ Base topic: homie/
   ◦ Auth? no
 • OTA:
   ◦ Enabled? yes

↕ Attempting to connect to Wi-Fi... ✔ Wi-Fi connected, IP: 192.168.2.194 Triggering WIFI_CONNECTED event... ↕ Attempting to connect to MQTT... Sending initial information... ✔ MQTT ready Triggering MQTT_READY event... Calling setup function... 〽 Sending statistics...

 • Interval: 65s (60s including 5s grace time)
 • Wi-Fi signal quality: 100%
 • Uptime: 5s

</syntaxhighlight>

Documentation Arduino ESP8266

Pinout overview

ESP8266-12 Pinout

Esp minimal connection

ESP8266-12 Minimal connection

Esp minimal connection mechanical

Design image Implementation result Thingiverse link
Esp minimal mounting jig 3D printing
Esp minimal mounting jig 3D printing
https://www.thingiverse.com/thing:3562829
To edit table: File:Esp minimal mechanical jig.tng

Pinout

Mapping ADC Serial Pin
ESP8266-12
ESP8266-12
Pin Serial Mapping
RESET D1 TX0
ADC ADC D3 RX0
CHPD D5 SCL
D16 D4 SDA
SCK D14 D0
MISO D12 D2 TX1
RX0* / MOSI D13 D15 SS /TX0*
3V3 VCC GND GND
To edit table: File:ESP8266-12.tgn