View previous topic :: View next topic |
Author |
Message |
aaronik19
Joined: 25 Apr 2011 Posts: 297
|
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19369
|
|
Posted: Thu Nov 07, 2019 10:34 am |
|
|
Honestly just use the PIC.
Use one with an RTC, then you can sleep, wake once per second, and use
the alarms etc., to perform the functions. |
|
![](templates/subSilver/images/spacer.gif) |
aaronik19
Joined: 25 Apr 2011 Posts: 297
|
|
Posted: Thu Nov 07, 2019 11:38 am |
|
|
Seems good suggestion...make an interrupt every second you means |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Thu Nov 07, 2019 11:53 am |
|
|
Microchip has an 'application note' about how to code PICs for various types of timers. While in easy to use machine code, it's be simple to recode into CCS C.
There's no reason a PIC can't do what you want, though without 'specs' or 'parameters', I can't help any further.
I do have a HW RTC send a 1Hz interrupt for all my PIC projects with clocks. Has worked for decades. Most RTCs can be configured for faster interrupts if required.
Jay |
|
![](templates/subSilver/images/spacer.gif) |
|