Tasmota RS485 Modbus ESP-01+ WLan WiFi Bridge Modul

11,98 

Tasmota RS485 Modbus TCP MQTT WLan WiFi Bridge Modul 5-12V

164 vorrätig

Beschreibung

 

Tasmota RS485 Modbus TCP MQTT WLan WiFi Bridge Modul 5-12V

Spannungsversorgung
Power Supply
Sensoren
Sensors

Benutzereingabe
User Input

Zubehör
Accessoires
ESP8266
MCU

EI-OT Module
EI-OT Modules

Unsere EI-OT RS485 Modbus WLan Bridge Bausatz in Kombination mit unserem ESP-01+ ist bereits mit der Tasmota Firmware geflasht.

Die TasmotaFirmware ist stets in englischer Sprache und eignet sich um bei Bedarf die individuelle Firmware mittels OTA Update zu installieren, es wird kein USB TTL Konverter benötigt.

Das EI-OT RS485 Modbus WLan Bridge Modul erlaubt die einfache Umsetzung von RS485 auf Wireless Lan.

Dank der Tasmota Firmware ist ein weitreichender Einsatz möglich. In der verwendeten Tasmota Firmware sind folgende Bibliotheken / Protokolle enthalten

  • Serial Bridge
  • TCP Bridge
  • Modbus Bridge
  • Eastron SDMx20 Energy Meter
  • Eastron SDM230 Energy Meter
  • Eastron SDM72 Energy Meter
  • Eastron SDM630 Energy Meter
  • Hiking DDS2382 Energy Monitor
  • Chint DDSU666 Energy Monitor
  • Solax X1 Wechselrichter
  • F&F LE-01MR Energy Monitor
  • Schneider Electric iEM3000 Energy Monitor
Inbetriebnahme

Der Einsatz des EI-OT RS485 Modbus Modul ist denkbar einfach. Die Spannungsversorgung unterstützt Eingangsspannungen von 5-12V und erfolgt zentral über die VIN Schraubklemme

  • + = VCC
  • – = GND

Die RS485 Anbindung erfolgt gleichermassen über Schraubklemme im Detail Anschluss

  • A RS485 A Kanal
  • B RS485 B Kanal
  • G RS485 GND

 

Funktionsaufbau

Das EI-OT RS485 WLan Bridge Modul basiert auf dem SP3485EN in Kombination mit dem 74HC04D zur Umsetzung des RS485 Signals auf die UART Schnittstelle des ESP-01+. Basierend auf der ESP8266 standardisierten UART Schnittstelle – GPIO1 TX, GPIO3 RX – ist das EI-OT RS485 kompatibel für jedwede ESP8266 Firmware bzw. jedwedes SDK.

Die RS485 Signalumsetzung erfolgt stets auf die UART Schnittstelle des ESP8266.

ESP8266 ESP-01+

Unser ESP-01+ Modul basiert auf der ESP8266EX MCU und verfügt über einen 32Mbit Flash Speicher, 64Kb Instruction Ram und 96Kb Data Ram. Neben dem 4 mal größeren Flash Speicher verfügt der ESP-01+ über 10 Pins und im Vergleich zum typischen ESP-01 verfügt der ESP-01+ über 5 GPIO’s (sowie UART GPIO1 und GPIO3)

Je nach installierter Firmware können die GPIO’s als

  • digitale Ein- oder Ausgänge
  • Schnittstelle

konfiguriert werden.

Im Detail wurde der ESP-01+ im Vergleich zum ESP-01 wie folgt optimiert:

  • GPIO16 unter anderem benötigt für Deep Sleep Wake Up ersetzt den GPIO2 des Standard ESP-01
  • CH_EN wurde nicht ausgeführt und durch den GPIO12 ersetzt
  • GPIO4 und GPIO5 (oftmals für I2C verwendet) wurden auf 2 zusätzliche Pins, Pin 9 und Pin 10 ausgeführt
  • GPIO0 ist wie beim Standard ESP-01 Modul verfügbar um den Flash Modus zu aktivieren

 

Firmware

Im Auslieferungszustand ist der ESP-01+ des RS485 Modbus Moduls bereits mit Tasmota geflasht. Die Firmware wurde eigens für das EI-OT ESP8266 RS485 Modbus WLan Bridge Modul kompiliert.

Neben den oben erwähnten Protokollen kann selbstredend direkt auf die serielle UART Schnittstelle des ESP8266 zugegriffen werden um RS485 Signale direkt auf

  • HTTP
  • TCP
  • MQTT
  • usw.

umzusetzen.

Folgende Treiber / Sensoren sind bereits in der Tasmota Firmware enthalten: Light, WS2812, ROTARY_V1, BUZZER, ARILUX_RF, USE_SHUTTER, DEEPSLEEP, DEVICE_GROUPS, COUNTER, DS18x20,   SERIAL_BRIDGE, TCP_BRIDGE, DHT (DHT11, AM2301, DHT21, DHT22, AM2302, AM2321, SI7021), IR_REMOTE

Der Funktionsumfang des ESP-01+ Moduls wurde strikt den typischen und grundlegendem Funktionsprinzip des ESP8266EX angelehnt.

  • CH_EN Chip Enable ist bereits mit +3,3V beschaltet
  • GPIO15 verfügt über einen Pull Down Widerstand / Boot from Flash
  • GPIO00 kann bei Bedarf Low beschaltet werden / Flash Modus

Das EI-OT ESP8266 RS485 WLan Bridge Modul eignet sich somit für eigene Firmware Entwicklung als auch Firmware basierend auf

  • Espressif NonOS AT
  • Arduino
  • NodeMCU
  • MicroPython
  • Tasmota
  • ESPEasy
  • ESPurna
  • usw.

 

Das ESP8266 RS485 Modbus WLan Bridge Modul

ist bereits mit grundlegende SMD Komponenten wie

  • AMS1117-3.3 Spannungskonverter mit 2 Stück Tantal Kondensatoren
  • Kondensatoren Versorgungsspannung ESP8266EX und SP3485
  • Widerständen
  • RS485 Signal Sicherungen
  • Dioden
  • Signal Status LED RX / TX
  • Resettaster

bestückt.

 

EI-OT RS485 WLan Bridge Bausatz Lieferumfang

Neben der Hauptplatine sind im EI-OT RS485 WLan Bridge Bausatz folgende Komponenten enthalten:

  • 1 Stück ESP-01+ Modul
  • 1 Stück EI-OT RS485 WLan Bridge Platine
  • 1 Stück Pinleiste 7-polig
  • 1 Stück Schraubklemme 3-polig
  • 1 Stück Schraubklemme 2-polig
  • 1 Stück Stecksockel 2-reihig 5-polig

 

Tasmota RS485 Modbus WLan Bridge Modul

 

GPIO und weitere Anschlüsse

Bei der RS485 WLan Bridge  Platine wurde folgende Anschlüsse auf Pins (2,54mm raster) ausgeführt

  • Pinleiste 7-polig
    1. GND
    2. 3V3
    3. GPIO12
    4. GPIO16
    5. GPIO0
    6. GPIO4
    7. GPIO5

Our EI-OT RS485 Modbus WiFi Bridge Kit in combination with  ESP-01+ Module with Tasmota Firmware.

The Tasmota firmware is always in English and is suitable for installing the individual firmware using OTA update function, – no USB TTL converter is required –

Thanks to the Tasmota firmware, extensive use is possible. The following libraries/protocols are included in the Tasmota firmware

  • Serial Bridge
  • TCP Bridge
  • Modbus Bridge
  • Eastron SDMx20 Energy Meter
  • Eastron SDM230 Energy Meter
  • Eastron SDM72 Energy Meter
  • Eastron SDM630 Energy Meter
  • Hiking DDS2382 Energy Monitor
  • Chint DDSU666 Energy Monitor
  • Solax X1 Wechselrichter
  • F&F LE-01MR Energy Monitor
  • Schneider Electric iEM3000 Energy Monitor

 

Application

Using the EI-OT RS485 Modbus WiFi Bridge module is extremely easy. The power supply supports input voltages of 5-12V and is carried out centrally via the VIN screw terminal

  • + = VCC
  • – = GND

The RS485 connection is also made via a screw terminal in the detailed connection

  • A RS485 A Kanal
  • B RS485 B Kanal
  • G RS485 GND

 

Working Principle

The EI-OT RS485 WiFi Bridge Module is based on the SP3485EN in combination with the 74HC04D to convert the RS485 signal to the UART interface of the ESP-01+. Based on the ESP8266 standardized UART interface – GPIO1 TX, GPIO3 RX – the EI-OT RS485 to WiFi Bridge Module is compatible with any ESP8266 firmware or any SDK.

The RS485 signal conversion always takes place on the UART interface of the ESP8266.

ESP8266 ESP-01+

The ESP-01+ Module is based on the ESP8266EX MCU and features 32Mbit Flash memory, 64Kb Instruction Ram and 96Kb Data Ram. Compared to typical ESP-01 Modules the ESP-01+ Module has 10 Pins and supports 5 GPIO (+ UART GPIO1 and GPIO3)

Depending on the installed firmware, the GPIO’s can be used as

  • digital inputs or outputs
  • interface like

In Detail the ESP-01+ GPIO’s:

  • GPIO2 Pin is replaced thru GPIO16 (used for deep sleep wake up)
  • CH_EN Pin is replaced thru GPIO12
  • GPIO4 and GPIO5 (often used for I2C) connected to 2 additional Pins (Pin9 and Pin10)
  • same GPIO0 function / position as ESP-01 Standard Module to select boot or flash mode

 

Firmware

The ESP-01+ comes already flashed with Tasmota Firmware. The firmware was compiled specifically for the EI-OT RS485 Modbus WiFi Bridge module.

In addition to the protocols mentioned above, the serial UART interface of the ESP8266 can of course be accessed directly to receive and send RS485 signals or extended to protocols such as

  • HTTP
  • TCP
  • MQTT

 

The following drivers / sensors are already included in the Tasmota firmware: Light, WS2812, ROTARY_V1, BUZZER, ARILUX_RF, USE_SHUTTER, DEEPSLEEP, DEVICE_GROUPS, COUNTER, DS18x20,   SERIAL_BRIDGE, TCP_BRIDGE, DHT (DHT11, AM2301, DHT21, DHT22, AM2302, AM2321, SI7021), IR_REMOTE

The range of functions of the EI-OT ESP-01+ current sensor module was strictly based on the typical and basic functional principle of the ESP8266EX.

  • CH_EN Chip Enable is already connected to +3.3V
  • GPIO15 has a pull down resistor / boot from flash
  • GPIO00 can be wired low if required / flash mode

The EI-OT ESP8266 current sensor module is therefore suitable for your own firmware development as well as firmware based on

  • Espressif NonOS AT
  • Arduino
  • NodeMCU
  • MicroPython
  • tasmota
  • ESPEasy
  • ESPurna
  • etc.

 

The ESP8266 INA226 Current Sensor Module

is already assembled with SMD components

  • AMS1117-3.3 voltage converter in combination with 2 pcs. Tantal capacitors
  • capacitors
  • resistors
  • RS485 Level Signal Fuses
  • Diodes
  • Signal Status LED RX / TX
  • Reset Button

 

The EI-OT RS485 WiFi Bridge Kit scope of delivery

In addition to the main board, the following components are included in the EI-OT RS485 WiFi Bridge board kit :

  • 1 pcs. ESP-01+ Module
  • 1 pcs. EI-OT RS485 WiFi Bridge PCB
  • 1 pcs. Pinheader 1-row 7-pole
  • 1 pcs. Screw Terminal 3-pole
  • 1 pcs. Pin Socket 2-rows 5-pole

 

Tasmota RS485 Modbus WiFi Bridge Module

 

GPIO and additionally Connections

The ESP8266 developer board has the following connections on pins (2.54mm pitch).

  • Pin Header 7-pole
    1. GND
    2. 3V3
    3. GPIO12
    4. GPIO16
    5. GPIO0
    6. GPIO4
    7. GPIO5
s

FAQ Häufig gestellte Fragen

 

 

EI-OT Tasmota ESP8266 RS485 Modbus WiFi Board Features

 

 

VCC Spannungsversorgung DC 5-12 Volt VCC  / Input Voltage DC 5-12 Volt
je nach GPIO Konfiguration based on GPIO configuration

200mA (max.)

23mA (Modem Sleep)

5mA (Light Sleep)

<3µA (Deep Sleep)

200mA (max.)

23mA (Modem Sleep)

5mA (Light Sleep)

<3µA (Deep Sleep)

GND
3V3
GPIO12
GPIO16
GPIO0
GPIO4
GPIO5
GND
3V3
GPIO12
GPIO16
GPIO0
GPIO4
GPIO5

Zusätzliche Informationen

Strom / Current

, , ,

Tasmota

für das Tasmota RS485 Modul stehen folgende Tasmota Firmware Versionen zum Download bereit

Tasmota Firmware in Deutsch mit Tasmota Script Unterstützung
https://www.ei-ot.de/download/4134/?tmstv=1723019633

Tasmota Firmware english version with Tasmota Script Support
https://www.ei-ot.de/download/4133/?tmstv=1723018886

Tasmota Firmware in Deutsch mit Tasmota Rules Unterstützung
https://www.ei-ot.de/download/4130/?tmstv=1723018721

Tasmota Firmware english version with Tasmota Rules Support
https://www.ei-ot.de/download/4127/?tmstv=1723018749

Zu beachten, das Firmware Download ist als ZIP Archiv gepackt, vor der Verwendung entsprechend entpacken!

Zur einfachen Basiskonfiguration des ESP-01+ kann folgendes Template

{"NAME":"EI-OT ESP-01+","GPIO":[1,1,0,1,1,1,0,0,1,0,0,0,1,0],"FLAG":0,"BASE":18}

gesetzt / aktiviert werden, sodass nur die verfügbaren GPIO’s in der Konfiguration angezeigt werden.

Folgende Klassen sind in der Tasmota Firmware integriert

  • #define USE_ENERGY_SENSOR // Add support for Energy Monitors (+14k code)
  • #define USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code)
  • #define USE_ENERGY_POWER_LIMIT // Add additional support for Energy Power Limit detection (+1k2 code)
  • #define USE_ENERGY_DUMMY // Add support for dummy Energy monitor allowing user values (+0k7 code)
  • #define USE_HLW8012 // Add support for HLW8012, BL0937 or HJL-01 Energy Monitor for Sonoff Pow and WolfBlitz
  • #define USE_CSE7766 // Add support for CSE7766 Energy Monitor for Sonoff S31 and Pow R2
  • #define USE_PZEM004T // Add support for PZEM004T Energy monitor (+2k code)
  • #define USE_PZEM_AC // Add support for PZEM014,016 Energy monitor (+1k1 code)
  • #define USE_PZEM_DC // Add support for PZEM003,017 Energy monitor (+1k1 code)
  • #define USE_MCP39F501 // Add support for MCP39F501 Energy monitor as used in Shelly 2 (+3k1 code)
  • #define USE_SDM72 // Add support for Eastron SDM72-Modbus energy monitor (+0k3 code)
  • #define SDM72_SPEED 9600 // SDM72-Modbus RS485 serial speed (default: 9600 baud)
  • #define SDM72_IMPEXP // Show additonal import/export active energy and power in MQTT and Web (+0k5 code)
  • #define USE_SDM120 // Add support for Eastron SDM120-Modbus energy monitor (+1k1 code)
  • #define SDM120_SPEED 2400 // SDM120-Modbus RS485 serial speed (default: 2400 baud)
  • #define USE_SDM230 // Add support for Eastron SDM230-Modbus energy monitor (+1k6 code)
  • #define SDM230_SPEED 9600 // SDM230-Modbus RS485 serial speed (default: 9600 baud)
  • #define USE_SDM630 // Add support for Eastron SDM630-Modbus energy monitor (+0k6 code)
  • #define SDM630_SPEED 9600 // SDM630-Modbus RS485 serial speed (default: 9600 baud)
  • #define USE_DDS2382 // Add support for Hiking DDS2382 Modbus energy monitor (+0k6 code)
  • #define DDS2382_SPEED 9600 // Hiking DDS2382 Modbus RS485 serial speed (default: 9600 baud)
  • #define USE_DDSU666 // Add support for Chint DDSU666 Modbus energy monitor (+0k6 code)
  • #define DDSU666_SPEED 9600 // Chint DDSU666 Modbus RS485 serial speed (default: 9600 baud)
  • #define USE_SOLAX_X1 // Add support for Solax X1 series Modbus log info (+3k1 code)
  • #define SOLAXX1_SPEED 9600 // Solax X1 Modbus RS485 serial speed (default: 9600 baud)
  • #define USE_LE01MR // Add support for F&F LE-01MR Modbus energy monitor (+1k code)
  • #define LE01MR_SPEED 9600 // LE-01MR modbus baudrate (default: 9600)
  • #define LE01MR_ADDR 1 // LE-01MR modbus address (default: 0x01)
  • #define USE_BL09XX // Add support for various BL09XX Energy monitor as used in Blitzwolf SHP-10 or Sonoff Dual R3 v2 (+1k6 code)
  • #define USE_TELEINFO // Add support for Teleinfo via serial RX interface (+5k2 code, +168 RAM + SmartMeter LinkedList Values RAM)
  • #define USE_IEM3000 // Add support for Schneider Electric iEM3000-Modbus series energy monitor (+0k8 code)
  • #define IEM3000_SPEED 19200 // iEM3000-Modbus RS485 serial speed (default: 19200 baud)
  • #define IEM3000_ADDR 1 // iEM3000-Modbus modbus address (default: 0x01)
  • #define USE_WE517 // Add support for Orno WE517-Modbus energy monitor (+1k code)
  • #define USE_MODBUS_ENERGY // Add support for generic modbus energy monitor using a user file in rule space (+5k)

     

  • #define USE_SERIAL_BRIDGE // Add support for software Serial Bridge (+2k code)

     

  • #define USE_MODBUS_BRIDGE // Add support for software Modbus Bridge (+4.5k code)
  • #define USE_MODBUS_BRIDGE_TCP // Add support for software Modbus TCP Bridge (also enable Modbus TCP Bridge) (+2k code)
  • #define USE_TCP_BRIDGE

Im Bezug der Tasmota Rules Firmware Version ist ferner

  • #define USE_RULES // Add support for rules (+13k code, +768 bytes mem)
  • #define SUPPORT_MQTT_EVENT // Support trigger event with MQTT subscriptions (+1k8 code)
  • #define USE_EXPRESSION // Add support for expression evaluation in rules (+1k7 code)
  • #define SUPPORT_IF_STATEMENT // Add support for IF statement in rules (+2k7)

aktiviert

Im Bezug der Tasmota Firmware Script sind folgende Klassen integriert

  • #define USE_SCRIPT // Add support for script (+17k code)*/
  • #define USE_HTML_CALLBACK
  • #define SCRIPT_POWER_SECTION
  • #define USE_SCRIPT_WEB_DISPLAY
  • #define SCRIPT_FULL_WEBPAGE
  • #define USE_BUTTON_EVENT
  • #define USE_SCRIPT_JSON_EXPORT
  • #define USE_SCRIPT_TIMER
  • #define USE_SCRIPT_SUB_COMMAND
  • #define SCRIPT_MAXSSIZE 48
  • #define LARGE_ARRAYS
  • #define USE_SCRIPT_SERIAL
  • #define USE_SCRIPT_FATFS 4