This is a story of the always helpful NE555 (in this case its 3.3v cousin the TLC555). I have been designing more and more complex DIN rail energy monitors. The last one is 3-unit DIN rail oeuvre with the following features:
- Lora, Wifi and Bluetooth thanks to Lora32_Wifi.
- 128x64 SSD1306 Oled screen
- Three ATM90E36 3-phase energy monitor IC's
- 3.3V differential line driver for RS485 bus driver.
- Some GPIO's for triggering relays or receiving inputs.
The trick is to use the NE555 in one shot mode, trigger it for a transmit, then let it fall-back to receive after a set period of time. The NE555 is useful in so many ways.