Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Simple on/off timed switch

Status
Not open for further replies.

Raincheck

Newbie
Joined
Sep 7, 2021
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
24
Hi,

I'm looking for a simple on/off timed switch, this switch must be fixed to daily 20 hours on and 4 hours off.
Ideally starting at midnight 00:01 (on) to 20.00 (off) daily repeat. 5 to 12V DC to run it and 220V AC 4A switching.

Tried to buy something like this but it's all Chinees bad designed, functioning and unreliable stuff out there.

Would a timer circuit do the trick can you time for 1200 Minutes or 72000 Seconds?

Anybody has a circuit layout with components that could do the job or any other hints and tips to make this happen.

Thanks in advance,
Rain

Ps. no mechanical switch
 
Last edited:

It depends on how accurate the timing has to be and whether it needs to find out the time for itself.

You can do it with timer circuits but over such long periods it becomes tricky to be accurate as small component tolerances and temperature drift start to become significant. I use timed devices like this but buy Sonoff basic switches and reprogram them for my needs. Its a simple task and they have the power supply internal to them and fed from the un-switched side of the power. My program links to WiFi and sets the clock automatically so it is very precise and the times can be changed remotely.

Brian.
 
Hi,

There will be many DIY ESPxx projects
as well as the ready to buy HOME automation swtiches which can be programmed for scheduled ON/OFF.

But most of them work with mechanical relays = mechanical switch.

They may be modified to use solid state relays.

Klaus
 
Over long periods time inaccuracy problem goes away if you use router
derived time, this is fairly simple with ESP8266 or ESP32 -


You would have to write a small amount of code to add the tests for turn on/
turn off and use a SSR to switch the load.


Regards, Dana.
 
Hi Guy's,

Thanks for your replies, a mechanical relay (switching 220V 4A) is okay it's just the timing part and it needs to be as small as possible to fit my project and the project uses a 5V to 12V DC power supply. Accuracy: it can be a little bit off but not much. As long as it does the daily 20 hours on and 4 hours off.

I'm able to make/etch my own circuit board if I have a layout and components... (did this about 20 years ago)

Again I've looked online to buy something like this but didn't find something yet...

Thanks again...
Rain
 

ESP8266 + Relay -


with SSR -

 

Hi,

do an ebay search "ESP relay module".
Almost every module (I´ve seen) will be suitable.
You need to search for (Arduino) code and maybe modify it for your needs. No rocket science.

Klaus
 

    Raincheck

    Points: 2
    Helpful Answer Positive Rating
Nice one KlausST,

I'm going the ESP relay module/Arduino way will be a learning curve but if it gets me were I want to be it's worth it...

Thanks guy's
 

Double check the relay ratings, and also check module has protection
diodes for inductive loads on it if thats what you are controlling. Thats
not always obvious in listing.

alliexpress.com and banggood.com all have tons of these for sale.


Regards, Dana.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top