logo elektroda
logo elektroda
X
logo elektroda

Two-channel timer with Atmega 328 and DS1307 for circulating pump and external lighting

PadX 4161 10
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Two-channel timer with an LCD display mounted on a wall. .
    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.

    PCB design in EAGLE software for a dual-channel timer. .
    A circuit board for a time programmer with components labeled on a green laminate. .
    Printed circuit board of a dual-channel timer. .
    Two-channel timer programmer on a table, with an LCD display and electronic components. .
    Dual-channel timer programmer in casing. .
    Two-channel DIY timer in a gray case with an LCD display, placed on a green cutting mat on a desk with tools. .
    Custom-built timer with electronic components inside a plastic enclosure. .
    Colorful Chupa Chups raspberry-flavored lollipop on a wooden table. .
    Dual-channel timer with an LCD display, relays, and a battery on a circuit board. .
    Timer programmer display showing the time and settings menu. .
    Dual-channel timer with an LCD display showing time settings. .
    Display of an electronic timer showing operating hours. .
    Display of a dual-channel timer showing the message ZAPISAĆ UST? with options TAK and NIE.
    PC-2-SSR dual-channel timer with LCD display mounted on a wall. .

    Cool? Ranking DIY
    About Author
    PadX
    Level 6  
    Offline 
    PadX wrote 12 posts with rating 27. Been with us since 2023 year.
  • ADVERTISEMENT
  • #2 21208684
    gulson
    System Administrator
    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 me a Parcel Post please and I'll send a small gift.
  • ADVERTISEMENT
  • #3 21208748
    osnapus
    Level 19  
    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 with sunset?

    Greetings
    Piotr
  • #4 21208760
    PadX
    Level 6  
    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.
  • #5 21208818
    pawlik118
    Level 33  
    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 always switched on when the water is turned off, if it is cooled down in the pipes. That is, in the morning after the tap is first turned off. The 60W pump pushes the water through in about 5-10s. At night and during the day it does not switch on and the water in the pipes is cool (no energy loss).
  • ADVERTISEMENT
  • #6 21209260
    Chivo
    Level 26  
    Very nice design. Can you make the schematic available? Don't worry about the delay function 😉.
  • #7 21209509
    pikarel
    Level 38  
    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 the sake of all old juzers it is justified that they can use the file in their djy at their own responsibility, that they are fully aware of all the consequences of the operation of this hideous delai.
    Signatures can be submitted by all who are not afraid of the terrible consequences of using delai in a scomilous programme, including the tribunes of the people.

    Seriously:
    if the file does not contain millennium viruses - then make it available for those willing to use :) .
  • #8 21209543
    27fwzm
    Level 7  
    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.
  • ADVERTISEMENT
  • #9 21209938
    TechEkspert
    Editor
    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 about a device that never came into being, so don't worry about delays in the code :) .
  • #10 21210026
    yego666
    Level 33  
    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, aesthetically pleasing and necessary construction.
    I like it very much, especially as DIY seems to be a somewhat extinct art.
  • #11 21231595
    Rozrabiakus
    Level 6  
    >>21210026
    yego666 wrote:
    I like it very much especially as DIY seems to be a somewhat extinct art.
    .
    This doesn't surprise me.
    I wanted to make a terrarium lamp using plcc RGB LEDs.
    The diodes alone cost 350£.
    I bought an RGB lamp on aliexpress for 480zl, nice housing, decent heatsink, fan, two 90 degree lenses etc. Bluetooth control.
    Add to that the time to build...etc....
    DIY is dying because of the cost.
📢 Listen (AI):

Topic summary

A user has designed a two-channel timer using an Atmega 328 microcontroller and a DS1307 real-time clock chip to control a circulation pump and external lighting. The project utilizes solid-state relays for durability and silent operation. The Arduino-based software allows for independent programming of output channels, features a PWM-controlled screen saver, and saves settings to EPROM. While the design is functional, the user acknowledges aesthetic limitations due to time constraints. Responses from the community include praise for the design, inquiries about clock accuracy and energy efficiency, and requests for schematic and program files. Some users express concerns about the cost-effectiveness of DIY projects compared to ready-made solutions.
Summary generated by the language model.
ADVERTISEMENT