Menu

clock chime control program

Help
2015-03-24
2015-03-26
  • Reginald Neale

    Reginald Neale - 2015-03-24

    I'm a newbie trying to use the current version of GCB on a Windows 8.1 laptop with MPLAB X. I did a couple of simple blinkers. Now I want to create a control program for a chiming clock, to strike out the hours. I'm not using a RTC chip. For input I have a signal from a quartz module with a positive transition at the hour and a negative one at the half-hour.
    So I need to count the hours modulo 12. On the hour, I need to generate a 50ms solenoid pulse every two seconds, the number of pulses equal to the count in hours. Also need two debounced switch inputs, one to increment the hours counter and one to sync it to an arbitrary time signal. I want to use one of the low-power PIC devices, since this will be a battery-operated system. Perhaps someone has already done something like this and can point me to an example. Grateful for any help.

     
  • Jacques Nilo

    Jacques Nilo - 2015-03-24

    Have a look at this thread. I hope it will help.
    Jacques

     
    • Reginald Neale

      Reginald Neale - 2015-03-26

      Thanks Jacques. That is a similar program. I may be able to adopt some of it for my use.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.