Easy and Accurate Clocks without RTC IC


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    ENG4444,

    See SEROUT and LCDOUT commands in PBP manual. You will need to set up your LCD as shown in the LCDOUT section.

    A few of the first SEROUTS in the first program convert as follows (the rest should be relatively straight forward if you read SEROUT and LCDOUT sections of the manual):

    Serial LCD Commands
    Parallel LCD Commands

    SEROUT GPIO.0,6,[254,1]
    LCDOUT 254, 1

    SEROUT GPIO.0,6,[72,72,58,77,77]
    LCDOUT 72,72,58,77,77

    SEROUT GPIO.0,6,[254,X,#HH]
    LCDOUT 254,X,#HH

    Good Luck,

    Paul Borgmeier
    Salt Lake City, Utah USA
    www.cruxanalysis.com

  2. #2
    Join Date
    Jun 2006
    Location
    Bangalore, India
    Posts
    136


    Did you find this post helpful? Yes | No

    Question

    Is there any way someone can create a Roman black kind (one_sec.asm) of accurate tmr0 timer using picbasic?

  3. #3
    Join Date
    Feb 2008
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    Hi Paul, that is a very neat and professional implementation of my 1-sec system for PICBASIC.


    Would you be interested in creating a PICBASIC version of my BTc Picsound playback to enable PICBASIC users to play their own speech etc on PICBASIC hardware?

    I have released v2.0 of my BTc Encoder and would like to get some playback projects that in can list on my own page, pref in languages I don't use like PICBASIC and for micros I don't use.

    www.RomanBlack.com/picsound.htm

    [email protected] (remove the FURNITURE to email me)

  4. #4
    Join Date
    Dec 2005
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Paul,
    In one of you earlier posts on this thread, you mention that you use a 20ppm crystal, can you share your source for this crystal. All the crystals I have found have a 50ppm tolerance at 25 deg and then a another 50ppm over temperature or then a worst case frequency tolerance of 100ppm, I would like to stay away from using a TXCO and 20ppm would be the right amount of acceptable tolerance for my project.
    thanks,
    Terry

  5. #5
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Terry View Post
    Paul,
    In one of you earlier posts on this thread, you mention that you use a 20ppm crystal, can you share your source for this crystal. All the crystals I have found have a 50ppm tolerance at 25 deg and then a another 50ppm over temperature or then a worst case frequency tolerance of 100ppm, I would like to stay away from using a TXCO and 20ppm would be the right amount of acceptable tolerance for my project.
    thanks,
    Terry
    Hi Terry,

    I am not near my lab so I cannot check right now ... however, I know I got them at either Digi-Key or Mouser. I just saw this part http://www.mouser.com/Search/Refine....t=815-ABL-4-B2
    and will check in my lab and confirm if that is what I used. Back when I posted this example I let my trial circuits run for months and found the tolerance to always be +/- 20ppm or less with the xtals I used. I will let you know here shortly.
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  6. #6
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    I use the Abracon line. They have both SMT and through hole packages @20 ppm. They have some higher speed @ 10 ppm. Very reasonable, besides!

  7. #7
    Join Date
    Jan 2009
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    Shouldn't it HzTimer be initialized to $7A120 (dec500000), rather than to $7A12 (dec31250)? And incremented by the same $7A120 for 1/2 second.

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts