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

From B-Wiki
Jump to navigation Jump to search
Line 9: Line 9:


== Software ==
== Software ==
=== How to configure the OpenHAB Homie Thing ===
# Flash the base software to the esp8266 [https://github.com/tinel-c/HomieTest GitHub Homie test software repository]
# Configure the details of the network in the data/homie/configuration.json file
# Upload the configuration file to the esp [http://docs.platformio.org/en/stable/platforms/espressif8266.html?highlight=spiffs#uploading-files-to-file-system-spiffs How to upload the files to ESP8266]
# Reboot
# Connect to the terminal and get the verbouse communication
[[File:Homie debug configuration.PNG|frameless|border|caption]]
[[File:Homie debug configuration.PNG|frameless|border|caption]]


* Hardware device ID: 18fe34d75723 <span style="color:maroon"> -> device ID 18fe34d75723 </span>
* Hardware device ID: 18fe34d75723 <span style="color:maroon"> -> device ID 18fe34d75723 </span>
# Identify the device ID
# Go to [http://tinel.go.ro:8089/paperui/index.html#/configuration/things OpenHAB Configuration Things] and configure the thing using the ID above


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

Revision as of 16:25, 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

How to configure the OpenHAB Homie Thing

  1. Flash the base software to the esp8266 GitHub Homie test software repository
  2. Configure the details of the network in the data/homie/configuration.json file
  3. Upload the configuration file to the esp How to upload the files to ESP8266
  4. Reboot
  5. Connect to the terminal and get the verbouse communication


caption

  • Hardware device ID: 18fe34d75723 -> device ID 18fe34d75723
  1. Identify the device ID
  2. Go to OpenHAB Configuration Things and configure the thing using the ID above

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