I wanted to write about the Atom controllers from i3 Engineering. Its are fully operational with the esphome platform. They have their own software, but have made the esp32 version for engineers who want to keep everything in their hands. In essence, these are controllers that have an interesting set of peripherals on board, capable of automating most wired devices in the house. interesting is their solution with a modular system of loads (i.e. you can change the type of load without an additional controller, thus collecting everything you need in one device).
On board there is a built-in display, which starts up perfectly under the esphome. There are also 4 buttons that can be used to activate modes or manually control devices (not yet started).
The whole periphery was managed to get:
12 input for dry contacts, or digital devices (1-wire also),
8 replaceable modules and 2 relays (others of their models have up to 30 relay outputs, or are immediately adapted for AC / DC dimming). I wrote to the manufacturer, they use the same i2c extenders, so they also have to work out of the box
The built-in SSD1306 display works great
Support WS2811 / 2812
All status indicators on the activity of inputs
The device has hlw8032 installed, but I have not been able to check it yet.
The set includes a usb cable, through which you can flash the controller without disassembling it.
I don’t know how stable wifi is, because I don’t see any external antenna or connector.
The case is made of nonflammable abs, has fastening on din. As far as I understand they have different devices from 3 to 9 modules, which has a different set of peripherals.
Controlled via Home Assistant and ESPHome, everything was working stably
Info about HW and purchase is on the website of manufacturer https://i3engineering.com/be They developed controllers with CPU STM32 with their software, and on its basis even began to produce controllers with ESP32 and STM32, which can be programmed independently. ESP32 controllers can be used with ESPHome, Tasmota and the similar. Home assistant is very easy to manage.
Look how you can change the purpose of the outputs here. Control the 220V AC lamp, replace the relay module with a MOSFET module and connect the LED strip to the same output. Magic. )))
Yes - it is much more expensive. But there should be a different approach for each kind of task. The ESP32 + relay is a prototyping kit. Great on the table, ideal for checking the operation of algorithms.
I am an integrator. I need a complete solution in order to put on the building, configure and never return back. Why did I take it for a test? I want to use such controllers in my work/solutions because of the capabilities and characteristics stated by the manufacturer, the most important of them for me are:
Reliable, tested relays (there is a model with a starting current of 400A)
Relay with a huge in-rush (120A) (Chinese relays 10A stuck after the first switching on a 100W LED lamp with a impulse-based power supply)
spring connectors (wago) for connecting sensors, and screw detachable connectors - for loads (this is reliable and reduces installation time)
Input and output status leds, output type indicators - for quick diagnostics of problems or during connection
OLED display for any purposes you like
control buttons on the case for display control or user defined functions.
protection on all inputs (overvoltage), there is a possibility of connection of an input signal through an optocoupler to avoid burnout of the controller on long wires
current sensors (Hall sensors) on all outputs - to measure consumption and control whether the load is on - just trying to “bring it up” in esphome
Ability to add an energy meter unit (hlw8032) to the controller for accurate consumption measurement (up to 10A) for whole house monitoring.
Wide supply voltage range, with polarity protection
Tested device with manufacturer’s warranty
Ability to assemble your controller with additional features
In the event of a breakdown, you can only replace the faulty board, not the entire device, and most likely you will not need to reconfigure the system.
Also, the most important things - how this device looks like. There is a good functional case, not like DIY. the client trusts the device. And me, respectively
Now the HLW8032 is working in my controller. Esphome does not have a standard driver for this chip, I used the driver from cse7766. Added the necessary coefficients for accurate calculation - and everything is displayed correctly. Unless the power consumption of the load is less than 100W, the current is displayed correctly and the power is not very accurate.
It was an interesting project. Customer needs to remotely switch heating modes in the house. If no one is in the house, you need to maintain a temperature of 10 ÂşC, if you plan to get there - you need to preheat to 20 ÂşC and maintain at this level. In the future it is planned to use HA, and now there is only the Atom controller with ESPHome. In addition, there are only 2 wires to connect the temperature sensor.
Wrote a configuration file to switch the target temperature through a web server. I use a relay to turn on the boiler. There are red and white LEDs on the front panel of controller that I used to indicate the mode. Mode 10ÂşC - white LED, heating mode up to 20 ÂşC - red LED. Sensor DS18B20 is connected in a two-wire circuit, works well.
Now the customer decides that he will still automate, because he really liked the work of the controller.
Here is part of the configuration file. Here the operating modes and indication are set.
I’m testing another cool controller - Atom Argon. 12 universal inputs, outputs - 18 relays 5A (50A starting current), LED-indicator of each output.
Supports i2c expansion module for 12 more such relays. That is, together it is 30 relays in the 9U case on a DIN rail!
I have the opportunity to test the controller Atom Helium with relays and AC dimmers. Each dimmer is a pair of MOSFETs. The standard AC-dimming function in ESPHome does not work properly - at low brightness values ​​there is flicker. Tried PWM with different frequencies. When set to 100Hz, got smooth ignition and attenuation. Obviously, there is a slight desynchronization with the network frequency. I read on esphome.io that esp32 supports PWM frequency over 300kHz. Tried 30kHz. Flicker appeared only in a small brightness range, about 70 to 80%. Tried 50kHz. Works great !. MOSFETs is not heated at all. But so far I managed to try only one 10W lamp. I will check on 10 lamps. Engineers say that this can not be done - there will be strong interference, reduced lamp life, there will be strong heating of the MOSFETs. Has anyone tried to dimming this way? Any results? Do you have any thoughts on this?
Code for dimmer:
- platform: ledc
pin: 9
frequency: 50000Hz
id: OUT2
# Example usage in a light
light:
- platform: monochromatic
output: OUT2
name: "OUT2"
Today the manufacturer sent me a driver for the PCA9536 chip. Now I can use 4 controller buttons in my projects. I haven’t seen anyone use this chip in ESPHome before, so I’m posting an h-file and configuration code here.
I’lll need to make a handy menu to configure the controller ))
Most Atom series controllers have output sensors at the outputs to monitor the output current. All these sensors are connected to the MAX11616 ADC. There is already a driver for this chip for use in ESPHome. Here’s what it looks like in Home Assistant
And now I test the device with 8 relays 10A and with Hall sensors on each and 2 relays 5A. Here is a full yaml with settings of buttons, ADC, internal temperature sensor LM35 and energy meter. The customer wants to control the electric underfloor heating (5 zones of 1-1.2 kW) and facade lighting.
I have in total 64 lights + shutters I want to control. Currently I have a Conson setup (really bad for smart integration) and looking for an update.
All my switches (on/off + up/down) work with 24v that sends an impuls to the module and then triggers the light on/off or the shutter goes up/down.
Can I use this system then? So when I press the button, the light goes on and I also see it in HomeAssistant?