Electronic Circuits and Projects Forum



K8LH Novelty Single Chip Clock

« First 123456 Last »
  1. #11
    3v0 3v0 is offline
    Coop Build Coordinator
    Thanks mike. I was not actualy building this clock But it looked like a good context for asking the question.
    0
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's PIC C18 Tutorials
    Mondo Tech's Super Probe
    Brian Schmalz's USB Bit Whacker

  2. #12
    Space Varmint Space Varmint is offline
    This one is software adjustable in case it runs slightly fast or slow.
    Attached Files
    0

  3. #13
    Pommie Pommie is online now
    Quote Originally Posted by Space Varmint View Post
    This one is software adjustable in case it runs slightly fast or slow.
    What a horrible piece of code and it uses Timer0. If you do a search Mike (the OP) posted a very good method to adjust for crystal inaccuracies in software.

    Mike.
    0

  4. #14
    blueroomelectronics blueroomelectronics is offline
    Personally I'm one of those types who tries to match the crystal frequency to the task at hand. Using the generic 4MHz or multiples thereof for everything always baffled me, after all crystals are about the same price and there are many common frequencies available. 19.6608MHz is a handy for both RTC & UART stuff.
    0
    Bill
    Semi retired, now just blogging

    http://colossus.dsmynas.com/

  5. #15
    wy6k wy6k is offline
    Just use current limiting resistors on the segment lines and connect the transistor collectors to 12 volts and you can have whatever brightness you want.

    If you want to keep it a one power supply project, use 12 volts as the power supply and generate the 5v with a voltage regulator (7805).

    Mike
    0

  6. Thread Starter #16
    Mike, K8LH Mike, K8LH is offline
    Quote Originally Posted by wy6k View Post
    Just use current limiting resistors on the segment lines and connect the transistor collectors to 12 volts and you can have whatever brightness you want.

    If you want to keep it a one power supply project, use 12 volts as the power supply and generate the 5v with a voltage regulator (7805).

    Mike
    Hi Mike, WY6K,

    Keeping in mind the 5v PIC pins, an NPN/PNP pair or N-FET/P-FET pair for the high side drivers does indeed work well with traditional multiplexed displays but it's a bit problematic for Charlieplexed displays.

    Regards, Mike, K8LH
    0

  7. Thread Starter #17
    Mike, K8LH Mike, K8LH is offline
    Quote Originally Posted by blueroomelectronics View Post
    Personally I'm one of those types who tries to match the crystal frequency to the task at hand. Using the generic 4MHz or multiples thereof for everything always baffled me, after all crystals are about the same price and there are many common frequencies available. 19.6608MHz is a handy for both RTC & UART stuff.
    Unfortunately, that's about all that crystal frequency is good for (grin).

    Using wierd crystal frequencies always baffled me but if you can show me how to accomplish any operation in exact 1 usec increments using one of those crystal frequencies then you'll have a convert (grin)...
    0

  8. #18
    Pommie Pommie is online now
    I can see how a 19.6608MHz crystal is good for serial communications but how is it any better for a real time clock?

    Mike.
    0
    Last edited by Pommie; 10th September 2008 at 07:58 AM.

  9. #19
    Nigel Goodwin Nigel Goodwin is offline
    Super Moderator
    Quote Originally Posted by Pommie View Post
    I can see how a 19.6608MHz crystal is good for serial communications but how is it any better for a real time clock?
    I can't see how it's any better for serial either, it works 100% perfectly with a 20MHz or 4MHz crystal - so how does getting an exact frequency match give any improvement?.
    0
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  10. #20
    wy6k wy6k is offline
    Quote Originally Posted by Mike, K8LH View Post
    Hi Mike, WY6K,

    Keeping in mind the 5v PIC pins, an NPN/PNP pair or N-FET/P-FET pair for the high side drivers does indeed work well with traditional multiplexed displays but it's a bit problematic for Charlieplexed displays.

    Regards, Mike, K8LH
    Ahhh. I see that now. In that case, you need another set of column transistors and invert the logic on the n-1 line? (I'm not really familiar with Charlieplexing, but I think I get it). MPU output drives base of NPN which pulls down the base of the PNP with it's emitter connected to 12 volts. Right?
    0

« First 123456 Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
Single Chip BCD Clock Mike, K8LH Microcontrollers 4 3rd November 2008, 04:00 AM
Drive 2 displays with a single 4511 chip? ghall426 Electronic Projects Design/Ideas/Reviews 1 18th December 2006, 08:45 PM
Program a single modem chip without AT-Cmd? liupengjian Microcontrollers 0 26th July 2004, 08:48 AM
About a suitable Single Chip CCD girishns Datasheets, Manuals or Parts 1 29th January 2004, 02:42 PM
Single chip H-bridge Exo Datasheets, Manuals or Parts 4 24th November 2003, 09:41 PM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.11808 seconds      Memory: 7,741 KB      Queries: 18      Templates: 0