Title: Clock, hours, minutes, seconds Post by: Leonardo on November 11, 2008, 04:38:08 16:38 Hello friendly,
I want to do a clock with pic16f628 or some other pic that marks the hours, minutes and seconds. ¿Somebody of the forum has some example realized in picbasic pro?. Thanks for its aid. Title: Re: Clock, hours, minutes, seconds Post by: bbarney on November 11, 2008, 05:21:35 17:21 Do your own searching,there are ton's of examples here and all over the internet if you just tried searching!
but here's a good one to start your lazy ass ;) Title: Re: Clock, hours, minutes, seconds Post by: fernandodiaz on November 12, 2008, 03:53:01 03:53 'here some sample clock timer0 proton plus xtal 4mhz output LCD remplace all dims Dim ticks as byte for var
' and some directives lcd remplace print for lcdout $fe read manual pbp Code: 'DECLARE WATCHDOG = off ' xtal 4mhz best regards Title: Re: Clock, hours, minutes, seconds Post by: Shinta on November 15, 2008, 11:11:59 23:11 Why you don't try the ds1307 ic commanded via I2C bus with 16f628. is too much easy an exactly.
Title: Re: Clock, hours, minutes, seconds Post by: Biggles on November 16, 2008, 08:57:37 20:57 Many clocks on Google search for PIC Basic Pro, but here is a nice one I have used myself:
3 Button adjustment of a DS1307 RTC "The circuit uses a PIC16F84 and a standard 16*2 LCD. .. tested the program on the following Pic chips, 16F84, 16F628(7), 18F1320(1220) and 18F452(252). " http://anonym.to/?http://wiki.picbasic.org/index.php?n=ThreeButtonadjustmentofaDS1307RTC.RTC (http://anonym.to/?http://wiki.picbasic.org/index.php?n=ThreeButtonadjustmentofaDS1307RTC.RTC) Also easy to modify to SPI bus. I used it on a clock with good results using DS1305. For clock only, a RTC is a little overkill. My application had a time display function when in standby, so I had to use a RTC. Very easy! |