Table of Contents

Expandable DIN module

<- Back to comparison

remoteqth.com_img_wiki-din-module-21.jpg remoteqth.com_img_wiki-din-module-27.jpg

Main features


Quick start guide

  1. Connect to the power or USB-C
  2. Connect a serial console (115200 baud) to USB-C where you ask to IP address assigned from DHCP with press ? and enter.
  3. Now you can configure the device via the web interface.

Arduino firmware

Precompiled .bin

  1. is available on GitHub release page (without label ESPhome).

Compile

The code is created for Arduino IDE and is compilable with these fixed settings

  1. Libraries according to the list, which are available for download on GitHub, commit b60a8cb
    1. just copy it to your /Arduino/libraries directory
  2. Specifically commit Arduino ESP32 libraries
    cd ~/Arduino/hardware/espressif/esp32
    git clone https://github.com/espressif/arduino-esp32.git
    cd <repository-name>
    git checkout c2c8d189928386c872aa6cd7ba7a87c8019c5663
  3. Firmware source available on GitHub

Upload

  1. At the top of the web page there is a link “Upload FW” under which the form for uploading the firmware is available
  2. or via USB-C using, for example, the web tool https://web.esphome.io/

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.


How to connect

Power

Interfaces pinout

Functionality Front view pinout
Power 1 - 11-13.8V / 1A max DC PWR input
2 - GND
2x 1-wire thermistor 2x JST 1-wire for DS18B20 thesrnistor
1 - +3,3V / max 500mA
2 - 1-wire bus (Gpio15)
3 - GND
RS-485 2 - RS485-A
1 - RS485-B
Four LEDs RED - fail fuse
GRN - ETH 100M
GRN - ETH ACT
GRN - Power
USB-C USB-C serial
+5V VBUS
SBU1 - 3V3 Gpio33 (I2C SDA)
SBU2 - 3V3 Gpio32 (I2C SCL)
Ethernet 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

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

Firmware

Hardware


BOM