Two-channel timer with Atmega 328 and DS1307 for circulating pump and external lighting
TL;DR
- A two-channel timer for a circulation pump and front-building lighting replaces a failed Chinese timer after water damage.
- It uses an Atmega 328, a DS1307 with battery backup, and solid-state relays for silent, long-life switching.
- Arduino software provides two independently programmable output channels, a PWM-controlled screen saver, a clear menu, and settings saved to EPROM.
- Printer problems and limited time left the front-panel label unfinished, so the enclosure is functional rather than aesthetically polished.
Generated by the language model.
Hello,
after a Chinese timer failed (flooded with water), I decided to construct my own two-channel one. The programmer is to operate the circulation pump and the lighting in front of the building. I opted for solid-state relays because of their 'eternity' and silent operation. The rest is classic with an Atmega 328 and a DS1307 chip with battery backup.
The software was developed in Arduino, features include:
- two independently programmable output channels
- PWM-controlled screen saver
- clear and simple menu
- settings saved to EPROM as required
Problems with the printer and limited time did not allow me to refine the label in the area of, shall we say, aesthetics. Another thing is that a boiler room is not an industrial design exhibition. I leave it to the viewers to judge the viability of this type of design in these times of ubiquitous Chinese products.
The software contains delayed instructions and therefore falls under the Hague Tribunal and will not be published.
Comments
A beautiful classic and will go on forever. No need to update, no internet connection. It will simply do its job! Congratulations, and who made the board for you? You fit everything in nicely. Write... [Read more]
Cool, aesthetically pleasing, classic as MasterAdmin Gulson put it :) . Now the question: what about the clock divergence? Have you used an astronomical clock algorithm so that the lights switch on... [Read more]
The board was made by PCBWay. No, I didn't use anything like the astronomical clock algorithm. It's a boiler room clock, I decided not to worry about accuracy. [Read more]
You are wasting energy. The way I do it is that I have a temperature sensor 1m from the buffer. When the sensor detects a temperature rise (probably 5stC in 30sec) it starts the pump. The pump is therefore... [Read more]
Very nice design. Can you make the schematic available? Don't worry about the delay function 😉. [Read more]
A neat and practical design, a big plus from me. As an old juzer, on behalf of all old juzers I solemnly state: -we declare a dispensation to make the program file with the hideous delaj function available. For... [Read more]
I have programs from work and chuld, no problems. I ask for a PCB and a programme. I like to always change something and do it my way. Congratulations to my colleague, TAKE IT AWAY. [Read more]
Long trouble-free operation will also be strongly influenced by the power supply system. I like the sense of humour :) a working circuit in practice is worth 100x more than theoretical considerations... [Read more]
Admittedly, I personally prefer bare metal programming and hand-made PCBs, but in the end, it's the invention and willingness to create something from nothing that counts. Congratulations on a working,... [Read more]
. This doesn't surprise me. I wanted to make a terrarium lamp using plcc RGB LEDs. The diodes alone cost 350PLN. I bought an RGB lamp on aliexpress for 480zl, nice housing, decent heatsink, fan, two... [Read more]