User Tools

Site Tools


din-exp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
din-exp [2025/12/05 09:01] – [Upload] ok1hradin-exp [2025/12/05 20:27] (current) ok1hra
Line 12: Line 12:
   * **Expandable**   * **Expandable**
   * **Arduino** firmware \\ \\   * **Arduino** firmware \\ \\
-  * Block diagram \\ \\ {{https://remoteqth.com/img/din-module-blok.png?600}}+  * Block diagram \\ \\ {{https://remoteqth.com/img/din-module-blok.png?600}} \\ \\ \\ {{https://remoteqth.com/img/wiki-din-module-29.jpg?600}}
  
 ---- ----
Line 23: Line 23:
 ---- ----
  
-====== Firmware ======+====== Arduino firmware ======
 ===== Precompiled .bin ===== ===== Precompiled .bin =====
   - is available on [[https://github.com/ok1hra/eth-din-dev-kit/releases|GitHub release]] page (**without** label ESPhome).   - is available on [[https://github.com/ok1hra/eth-din-dev-kit/releases|GitHub release]] page (**without** label ESPhome).
Line 44: Line 44:
  
 ===== Implemented functions ===== ===== Implemented functions =====
 +The firmware currently makes peripherals accessible to MQTT, but it can be used as a basis for programming your own functionalities, or using your own code.
   * Connectors (T1 and T2) for **connecting two [[https://www.laskakit.cz/en/dallas-ds18b20-orig--digitalni-vodotesne-cidlo-teploty-1m/|DS18B20 digital thermistors]]** with automatic detection. Reading temperature every 20 seconds and sending to MQTT with topic /T1-Celsius   * Connectors (T1 and T2) for **connecting two [[https://www.laskakit.cz/en/dallas-ds18b20-orig--digitalni-vodotesne-cidlo-teploty-1m/|DS18B20 digital thermistors]]** with automatic detection. Reading temperature every 20 seconds and sending to MQTT with topic /T1-Celsius
   * **Ethernet connection** using RJ45 connector with IP address retrieval from DHCP server. Static IP address setting is not implemented   * **Ethernet connection** using RJ45 connector with IP address retrieval from DHCP server. Static IP address setting is not implemented
Line 64: Line 65:
   * detect USB-C plug and publish to MQTT with topic /USBdetect   * detect USB-C plug and publish to MQTT with topic /USBdetect
   * **RS485-MQTT proxy -** received RS485 data forward to MQTT with topic /RS485_RX   * **RS485-MQTT proxy -** received RS485 data forward to MQTT with topic /RS485_RX
- 
  
 ---- ----
  
-====== Hardware interfaces ====== +====== How to connect ====== 
-| Front view | pinout | +===== Power ===== 
-| {{https://remoteqth.com/img/wiki-din-module-SB-15.png}} | 1 - **11-13.8V / 1A max** DC PWR input \\ 2 - GND | +  * The modul can be powered in the range of **9-14V DC** with a maximum consumption of **0,5A** 
-| {{https://remoteqth.com/img/wiki-din-module-SB-04.png}} | 2x JST 1-wire for DS18B20 thesrnistor \\ **1 -** +3,3V  / max 500mA \\ **2 -** 1-wire bus (Gpio15) \\ **3 -** GND| +  * The power supply can be connected in two ways 
-| {{https://remoteqth.com/img/wiki-din-module-SB-02.png}} | **2 - RS485-A \\ 1 - RS485-B** | +    - **pluggable DC jack directly. \\ Attention to polarity!** \\ {{https://remoteqth.com/img/wiki-din-module-22.png?500}} \\ This input is **protected by a 1A fuse.** \\ \\ 
-| Four LEDs | RED -** fail fuse** \\ GRN -** ETH 100M** \\ GRN -** ETH ACT** \\ GRN -** Power** | +    - **Ethernet passive POE with external POE injector** \\ {{https://remoteqth.com/img/wiki-din-module-23.png?500}} \\ The POE injector is **protected with also 0.5A fuse**. 
-| {{https://remoteqth.com/img/wiki-din-module-SB-06.png}} | **USB-C serial** \\ +5V VBUS \\ **SBU1 -** 3V3 Gpio33 (I2C SDA) \\ **SBU2 -** 3V3 Gpio32 (I2C SCL) | + 
-| {{https://remoteqth.com/img/wiki-din-module-SB-05.png}} | **1,2,3,6 -** Ethernet \\ **4+5 -** POE DC power input 12-24V/max 1A, any polarity \\ **7+8 -** POE DC power input 12-24V/max 1A, any polarity \\ Green LED - 100M \\ Yelow LED - ACT | +===== Interfaces pinout ===== 
-| {{https://remoteqth.com/img/wiki-din-module-SB-17.png}} | \\ **GPIO** \\ \\ 1 - **+12V** from DC jack or POE \\ 2 - **+12V** from DC jack or POE \\ 3 - **GND**\\ 4 - **GND**\\ 5 - **GPIO5**\\ 6 - **+3,3V** from internal step down\\ 7 - **GPIO33**\\ 8 - **GPIO15**\\ 9 - **GPIO12**\\ 10 - **GPIO14**\\ 11 - **GPIO02**\\ 12 - **GPIO13**\\ 13 - **GPIO04**\\ 14 - **GPIO0**\\ 15 - **GPIO39**\\ 16 - **GPIO16**\\ 17 - **GPIO32**\\ 18 - **GPIO36**\\ 19 - **GND**\\ 20 - **GND** |+| Functionality | Front view | pinout | 
 +| **Power** | {{https://remoteqth.com/img/wiki-din-module-SB-15.png}} | 1 - **11-13.8V / 1A max** DC PWR input \\ 2 - GND | 
 +| **2x 1-wire thermistor** | {{https://remoteqth.com/img/wiki-din-module-SB-04.png}} | 2x JST 1-wire for DS18B20 thesrnistor \\ **1 -** +3,3V  / max 500mA \\ **2 -** 1-wire bus (Gpio15) \\ **3 -** GND| 
 +| **RS-485** | {{https://remoteqth.com/img/wiki-din-module-SB-02.png}} | **2 - RS485-A \\ 1 - RS485-B** | 
 +**Four LEDs** |  | RED -** fail fuse** \\ GRN -** ETH 100M** \\ GRN -** ETH ACT** \\ GRN -** Power** | 
 +| **USB-C** | {{https://remoteqth.com/img/wiki-din-module-SB-06.png}} | **USB-C serial** \\ +5V VBUS \\ **SBU1 -** 3V3 Gpio33 (I2C SDA) \\ **SBU2 -** 3V3 Gpio32 (I2C SCL) | 
 +| **Ethernet** | {{https://remoteqth.com/img/wiki-din-module-SB-05.png}} | **1,2,3,6 -** Ethernet \\ **4+5 -** POE DC power input 12-24V/max 1A, any polarity \\ **7+8 -** POE DC power input 12-24V/max 1A, any polarity \\ Green LED - 100M \\ Yelow LED - ACT | 
 +| **11 GPIO \\ expandable slot** | {{https://remoteqth.com/img/wiki-din-module-SB-17.png}} | \\ **GPIO** \\ \\ 1 - **+12V** from DC jack or POE \\ 2 - **+12V** from DC jack or POE \\ 3 - **GND**\\ 4 - **GND**\\ 5 - **GPIO5**\\ 6 - **+3,3V** from internal step down\\ 7 - **GPIO33**\\ 8 - **GPIO15**\\ 9 - **GPIO12**\\ 10 - **GPIO14**\\ 11 - **GPIO02**\\ 12 - **GPIO13**\\ 13 - **GPIO04**\\ 14 - **GPIO0**\\ 15 - **GPIO39**\\ 16 - **GPIO16**\\ 17 - **GPIO32**\\ 18 - **GPIO36**\\ 19 - **GND**\\ 20 - **GND** |
  
 ====== Source ====== ====== Source ======
 ===== Firmware ===== ===== Firmware =====
-  * [[https://github.com/ok1hra/eth-din-dev-kit/releases|GitHub]] Arduino sample code \\ +  * [[https://github.com/ok1hra/eth-din-dev-kit|GitHub]] **Arduino** sample code \\ 
-  * [[https://github.com/ok1hra/eth-din-dev-kit/releases|Releases on GitHub]] sign **ESPhome** label\\+  * [[https://github.com/ok1hra/eth-din-dev-kit/releases|Releases on GitHub]] sign **without ESPhome** label\\
 ===== Hardware ===== ===== Hardware =====
   * [[https://remoteqth.com/download-count.php?Down=hw/Expandable-DIN-module-03.pdf|.PDF]] schematics rev 0.3   * [[https://remoteqth.com/download-count.php?Down=hw/Expandable-DIN-module-03.pdf|.PDF]] schematics rev 0.3
  
 ---- ----
-===== BOM ===== +====== BOM ======
 | 1x | {{https://remoteqth.com/img/wiki-din-module-SB-16.png?100}} \\ **DC Power connector 5,5/2,1mm** | [[https://www.tme.eu/cz/details/pc-2.1_5.5-14/konektory-dc/changzhou-dahua-imp-and-exp-group-co/vg18013a/]] | | 1x | {{https://remoteqth.com/img/wiki-din-module-SB-16.png?100}} \\ **DC Power connector 5,5/2,1mm** | [[https://www.tme.eu/cz/details/pc-2.1_5.5-14/konektory-dc/changzhou-dahua-imp-and-exp-group-co/vg18013a/]] |
 | 2x | {{https://remoteqth.com/img/wiki-din-module-SB-10.png?100}} \\ **DS18B20 with JST conector** | [[https://www.laskakit.cz/en/dallas-ds18b20-digitalni-vodotesne-cidlo-teploty-3m/]] | | 2x | {{https://remoteqth.com/img/wiki-din-module-SB-10.png?100}} \\ **DS18B20 with JST conector** | [[https://www.laskakit.cz/en/dallas-ds18b20-digitalni-vodotesne-cidlo-teploty-3m/]] |
din-exp.1764925297.txt.gz · Last modified: by ok1hra