User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

Introduction

creDomESP1 all 600domoticzESP8266 is a very powerful and cheap MCU equipped with WiFi transceiver, very useful to expand inputs/outputs of a Raspberry/Domoticz controller.

Creasol DomESP1 board is designed for ESP8266 module NodeMCU V3, with 900 mils header pitch, and integrates the whole circuitry to manage digital inputs, one analog input, 4 relay outputs, 1 low voltage output, I2C bus, 1wire bus and optionally one serial port (UART).

The LEDs on every input, output and bus, permit to check the status of the board and found any problem on wire connections or firmware configuration: LEDs are enabled by pressing the button Test .

The LEDs enable feature and the switching mode power supply lead to a full control of inputs/outputs with an optimized power consumption.

We recommend to program ESP8266 module using ESPEasy firmware, to make it suitable for Domoticz controller, one of the most DIY controllers for home automation systems.

It's possible to purchase:

  1. the plain DomESP1 board: the client should purchase and program by himself the ESP8266 module, 900 mil header pitch;
  2. the DomESP1 board, with the ESP8266 module already programmed with the latest ESPEasy firmware.

Any customization you need, please contact us: we normally provide customizations even for small quantities.

Features

  • 4 relay outputs (250V 5A switch capability with non-inductive load. In case of inductive load, switch current is lower)
  • 1 low voltage output (60V 100mA capability)
  • 1 analog input
  • 1 digital input
  • 2 digital inputs shared with asyncronous serial port (if needed)
  • I2C bus
  • 1wire bus
  • switching mode power supply, to reduce power consumption/dissipation, with 5-25Vdc input voltage
  • 5Vdc and 3.3Vdc outputs available on the terminal blocks
  • current consumption in standby: typically 80mA @5Vdc, 40mA @12Vdc, 20mA @24Vdc

Installation

It's possible to find documentation of the installation process (firmware download, and device configuration) at the address https://www.creasol.it/domesp1conf

application pdfInstruction manual

creDomESP1 all2 x400

creDomESP1 all3 x400
Application notes

Creasol DomESP1 connected to a central heating system

The following diagram shows how to connect some temperature/humidity sensors by 1wire bus to monitor room and water temperatures; ESP8266 controls one low voltage output to enable/disable the heating system, and 3 outputs to enable/disable 3 pumps or valves.

This is just an example. Through the WiFi connection, the ESP8266 module installed on this board will communicate temperatures to Domoticz controller, which will enable/disable the central heating system controlling the 3 heating zones by enabling/disabling the corresponding pump.

 creDomESP1 an1 heating

creDomESP1 mosfet outputsUsing the mosfet to control Led strips by PWM

DomESP1 Rev.2 has 2 mosfets, 30V 8A, that can be used to supply 12 or 24Vdc Led strips.

Using EspEasy firmware on ESP8266 module, it's possible to control the PWM output by a http call, using the syntax
http://IP_OF_ESP_MODULE/control?cmd=pwm,GPIO,DUTY_CYCLE,FADING_TIME
for example
http://192.168.1.123/control?cmd=pwm,4,512,1000
to set pwm on GPIO 4 (output MOS1), duty cycle to 50% (value varies from 0=Off to 1023=On), using a fading time of 1000ms (so the duty cycle changes gradually to the set value in 1 second).

In Domoticz it's possible to create a virtual switch that can be set (in the Switchs panel) as SwitchType=Dimmer, then you can find a slidebar that can be moved from 0 to 100%. To output this percentage value on EspEasy it's neccessary to follow the instructions at https://www.domoticz.com/forum/viewtopic.php?t=20583

In the PCB you can find two holes for each mosfet, one marked as MOS1 that have to be connected to the - terminal of the load (Led strip?), and one marked as GND that have to be connected to the - terminal of of the load power supply. Both - terminal of load power supply and DomESP1 power supply will be internally connected together.

To enable a mosfet output, a jumper in the PCB, marked as MOSx enable, must be shorted by using the solder iron. MOS1 shares the same GPIO of SDA, while MOS2 shares the same GPIO of SCL, so enabling a mosfet you loose the possibility to use SDA or SCL as input/output/I2C. Remember to

 

Need help? join the DomBus channel on Telegram!

 

Pin It
Creasol DomESP1: Input/output/supply board for ESP8266 module
SKU creDomESP1
Brand Creasol