Shop OBEX P1 Docs P2 Docs Learn Events
On/Off switch using digital clock — Parallax Forums

On/Off switch using digital clock

Shaikhazhar001Shaikhazhar001 Posts: 2
edited 2012-06-27 08:15 in General Discussion
Hi All,
I have digital clock, using that I required to perform certain operation at particular time.

The basic idea is that, I required to convert on/off switch using clock existing functionality
As per below wiki link, I understand that we get binary data to digital clock.
http://en.wikipedia.org/wiki/Binary_clock

Can some one please suggest circuitry for making decision to put on and off condition.

Example :-
On Time :- 01:00:00 AM
OFF Time :- 06:30:00 AM

Be Happy

Comments

  • kwinnkwinn Posts: 8,697
    edited 2012-06-27 05:36
    Hi All,
    I have digital clock, using that I required to perform certain operation at particular time.

    The basic idea is that, I required to convert on/off switch using clock existing functionality
    As per below wiki link, I understand that we get binary data to digital clock.
    http://en.wikipedia.org/wiki/Binary_clock

    Can some one please suggest circuitry for making decision to put on and off condition.

    Example :-
    On Time :- 01:00:00 AM
    OFF Time :- 06:30:00 AM

    Be Happy

    Welcome to the forum. There are several ways to do this, the simplest from a hardware perspective would be to use a microcontroller to either input the clock digits, compare that to the on/off time, and turn an output pin on or off as desired. Of course with using a microcontroller the clock becomes redundant since it could also perform the clock function.
  • Shaikhazhar001Shaikhazhar001 Posts: 2
    edited 2012-06-27 07:25
    Thanks Kwinn for reply,

    Just require information on programming side( Pseudo code) as well as IC information (AtgmegaXXX,PICXXX).
  • FranklinFranklin Posts: 4,747
    edited 2012-06-27 08:15
    Just require information on programming side( Pseudo code) as well as IC information (AtgmegaXXX,PICXXX).
    This forum deals with Parallax products (Basic Stamp or Propeller) Pick your chip and tell us what the clock outputs, what level it outputs and where you plan to connect to it. Perhaps then we can help.
  • Mike GreenMike Green Posts: 23,101
    edited 2012-06-27 08:15
    The only programming we can help you with would be for Parallax's Stamp and Propeller microcontrollers. There's all sorts of information on this website on the Stamps and the Propeller. Specifically, what do you need?

    If you want to use an existing digital clock and interface it to a Stamp or Propeller, we would need some kind of schematic of the clock. There are too many variations on digital clock design to make general suggestions that would be useful.

    If you want to make a clock, the Propeller would be the best. A QuickStart Board would work. You'd need some kind of a display. You could use the touch buttons of the QuickStart Board or ordinary pushbuttons for setting and controlling the clock and alarm. Here's an example of an object (library package) that provides a Real Time Clock function.
Sign In or Register to comment.