Author Topic: Ideas for emulating a mechanical 24 hour time switch?  (Read 3849 times)

0 Members and 1 Guest are viewing this topic.

Offline e100Topic starter

  • Frequent Contributor
  • **
  • Posts: 605
Ideas for emulating a mechanical 24 hour time switch?
« on: January 29, 2017, 03:17:33 am »
The kind where you have a circular dial that has 96 (4 per hour) pull up or push down switches that slowly rotate past a microswitch every 24 hours.
This old style user interface design is much easier to use than the modern push button interfaces with an LCD display where you have to press multiple buttons to see what programs have been set.
The disadvantage is that they lose sync with real time if they lose power and the clock mechanism wears out after a few years.

Connecting 96 electrical switches to a micro would be an expensive time consuming process. 0.1" jumpers get lost and dip switches are too fiddly for normal sized fingers.
Ideas anyone?

« Last Edit: January 29, 2017, 05:26:36 pm by e100 »
 

Offline helius

  • Super Contributor
  • ***
  • Posts: 3677
  • Country: us
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #1 on: January 29, 2017, 03:42:15 am »
pushbutton dial encoder + good minimal UI on a Memory LCD or poststamp VFD.
UI flow: rotate encoder to highlight current time, instant on/off (default selection), or schedule. Schedule is a pie chart with 24 hours, and is programmed by aiming encoder at x hour, then pressing to select on or off. spinning encoder deploys on (or off) setting to adjacent hours to x. Holding encoder down for .75 seconds exits programming and displays on/off schedule.
 

Online Brumby

  • Supporter
  • ****
  • Posts: 12383
  • Country: au
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #2 on: January 29, 2017, 04:43:43 am »
I really like that rotary encoder idea.

You could explore other display options as well.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #3 on: January 29, 2017, 05:44:18 am »
That's exactly what I was going to suggest, encoder and a circle of LEDs, you beat me to it. You could charlieplex the LEDs if you want to get fancy and probably get by with a modest microcontroller. DS3231 RTC for timekeeping with a lithium coin cell to hold the time over a power loss. 
 

Offline BradC

  • Super Contributor
  • ***
  • Posts: 2109
  • Country: au
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #4 on: January 29, 2017, 06:13:46 am »
The disadvantage is that they lose sync with real time if they lose power and the clock mechanism wears out after a few years.

Oddly enough I've several 24 hour electro-mechanical timers that are well in excess of 15 years old, keep time if they lose power (they have a ni-cd backup), and are still functioning perfectly (even on their original ni-cd cells). I have 2 electro-mechanical timers from the days before they had built-in backup that are pushing 40 now and still perfectly functional. In fact, I've _never_ had to replace an electro-mechanical time clock, although I did need to repair a microswitch in one a few years ago.

I've had to replace several devices with solid-state timers in that time. So my experience is directly counter to your reliabilty assessment.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #5 on: January 29, 2017, 06:23:54 am »
How does the electromechanical timer keep time with a battery backup? Every one that I've ever seen is driven by a synchronous motor that requires AC to run.

I've had several similar timers fail. Usually one of the gears cracks, a couple times the lubrication in the motor has gummed up, one of those I was able to revive by soaking the motor in some machine oil.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16363
  • Country: za
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #6 on: January 29, 2017, 08:04:39 am »
Battery backed uses a standard CMOS 1V5 clock chip, 32kHz crystal and coil to drive the mechanism. The incoming mains is applied to a 1N4007, a 100k series resistor and then the chip is connected across the single cell NimH cell and a green led for protection when the battery goes open circuit. The 1Hz tick drives a standard set of clock gears to run the setting drum.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #7 on: January 29, 2017, 05:08:05 pm »
That's interesting, I've never seen a timer like that in the US. Perhaps they're out there and I haven't been paying attention, or maybe it's just one of those things we've always done differently.
 

Offline GoneTomorrow

  • Regular Contributor
  • *
  • Posts: 125
  • Country: nz
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #8 on: January 30, 2017, 02:33:51 am »
I have one of the battery backed up ones too. When I first used it I thought it was busted because the battery was completely flat and must have been pulling the internal supply way down. It started sticking after being powered for a couple of hours. They're really nice for permanent installations (diesel furnace in this case).

I also have a non-backed up one from like 1982 that has been used since then for controlling water pumps, and it's not worn out yet.
 

Online Brumby

  • Supporter
  • ****
  • Posts: 12383
  • Country: au
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #9 on: January 30, 2017, 06:36:08 am »
.... encoder and a circle of LEDs ...

Yeah ... that's what was floating around in my mind too.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13119
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #10 on: January 30, 2017, 07:13:51 am »
Annular slider touch sensor with a ring of reverse mount SMD bicolour LEDs just inside it, + a few touch buttons and status LEDs in the middle?

Actually DIP switches aren't much more fiddly than the operating levers on a mechanical timer.  Use a ring of rocker or side lever actuator 4 way ones.   The problem then becomes displaying and setting the current time effectively.  For that, one could use a tiny 96 step/turn stepper motor, driving a pointer disk with a Grey code absolute encoder pattern on the underside.  Normally the MCU rotates it one step every 15 minutes, but the user can manually turn it to a new time and the MCU uses the encoder to read back its position to know which switch to check.   However its certainly going to be *FAR* more expensive than a plastic mechanical timeswitch! :(
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2331
  • Country: 00
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #11 on: January 30, 2017, 10:58:04 am »
 

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1962
  • Country: us
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #12 on: January 30, 2017, 04:54:13 pm »
Just what exactly is the purpose of this time switch?  If it is for home security, I would use a micro that tracks daylight and turns things on and off in a pattern that is not predictable.  For other operations it is not likely that 96 positions are needed, likely only 6 to 12 actual times where things change.
 

Offline Codebird

  • Regular Contributor
  • *
  • Posts: 161
  • Country: gb
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #13 on: January 31, 2017, 12:04:54 am »
More cool than practical, but...

1. Rotating disc. Physical disk. Divided into segments for easier counting of quarter-hours.
2. Infrared reflective sensor pressed up against disk.
3. Pencil with which to fill in the boxes of the times you want it turned off.

If you are 'emulating' mechanics then why not just emulate with mechanics? If you use a stepper motor to drive then you have it down to exactly one moving part.
 

Offline calexanian

  • Super Contributor
  • ***
  • Posts: 1886
  • Country: us
    • Alex-Tronix
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #14 on: January 31, 2017, 02:42:38 am »
Do you want it to turn? I don't have a clear idea of implementation but a motorized potentiometer came to mind. map out the sweep of the resistor and run the motor to certain spots to emulate the spin of the clock or something.
Charles Alexanian
Alex-Tronix Control Systems
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13119
Re: Ideas for emulating a mechanical 24 hour time switch?
« Reply #15 on: January 31, 2017, 04:15:18 am »
I think I like the idea of a disk directly driven by a 96 step stepper motor driven with a row of little radial sliders round the edge of it and a fixed reflective optosensor at the 12o-clock position to detect if the current slider is in or out.  The U.I  would be *exactly* equivalent to the mechanical timer, and all the electronics has to do is pulse the stepper once every 15 mins and drive the relay from the optosensor output, but its still eliminated nearly all the parts that wear out on the fully mechanical original.

Otherwise, what about a single button, single LED interface? push on, push off, hold 15 secs to pair with a master controller via a powerline data protocol.  The master could have a full U.I. or it could be controlled by an Android device (or PC) running an app that can be used to program the timers, or fully IOT enabled.  The timers would each have their own RTC so would be autonomous if they loose comms with the master.
« Last Edit: January 31, 2017, 04:27:03 am by Ian.M »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf