Big 7 seg LED display


Closed Thread
Results 1 to 32 of 32

Hybrid View

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


    Did you find this post helpful? Yes | No

    Talking

    Hi everyone, thanks for all your help.
    I made my LED clock using transistors cause i couldn't get the UDN2981.
    It works great. I added an hourly animation and a battery battery backup also ( i cant belive i'm getting more than 20 hours out of a 60mAh rechargeble battery {with display off}).
    I've attached a picture of it...
    Attached Images Attached Images   
    Last edited by shahidali55; - 24th October 2006 at 17:50.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Good to see something is working!

    FYI: Upon the chip info above, I checked the prices.
    The price of UDN2981 is around US$1.60-1.70 (for 1000s lots), which is a lot more expensive then traditional ULN2003 types.


    ------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    sayzer, It probably is but I don't think you can source current with a ULN2003.

  4. #4
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Yes, of course Dave.

    I had no info about this UDN2981 before, but now I will consider it when the project allows me to use it (cost & hardware etc.).


    Thanks for the info.


    -------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  5. #5
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    3


    Did you find this post helpful? Yes | No

    Question

    Quote Originally Posted by shahidali55 View Post
    Hi everyone, thanks for all your help.
    I made my LED clock using transistors cause i couldn't get the UDN2981.
    It works great. I added an hourly animation and a battery battery backup also ( i cant belive i'm getting more than 20 hours out of a 60mAh rechargeble battery {with display off}).
    I've attached a picture of it...
    shahidali55,
    May I get your schem about the final Common Anoda display 7 segment (12 V) to me, couse i've same problem with you before.
    thanks for helping ...

    [email protected]

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


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi Zhao Hui.
    Check post #20.
    That schematic will drive the high current consumption at the common anode pin.
    The individual cathodes can be driven by a single NPN trasistor buffer each.
    Check the schematic below (for seperate cathode drive).
    This circuit will invert the PIC inputs so dont forget to correct this in software.
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Cool

    Zhao Hui and mdaweb, here is the schematic.
    The display should be a common anode display.
    The 9.6v input shown in the schematic should not exceed the display max segment voltage.
    I have shown the connection only for the 'a' segment. The patern just has to be repeated for the rest of the segments.

    I have been using this circuit for some time now. It works great.

    But the operating logic is a bit different.
    Logic 1 on both p.1 and p.2 will turn segment 'a' on.
    p.1=1 and p.2=1 --> seg'a' on
    p.1=1 and p.2=0 --> seg'a' off
    Attached Images Attached Images  
    Last edited by shahidali55; - 4th June 2007 at 18:06.

  8. #8
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    3


    Did you find this post helpful? Yes | No

    Smile

    shahidali55 and all you guys in this forum......... thank's alot for technical information my job almost done now...
    once again thaaaaankkkkkkkkk's

    pic 16F628 with 4digits (10 inc) 7seg 12 Volt



    zhao hui

  9. #9
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    3


    Did you find this post helpful? Yes | No

    Lightbulb

    Here the final Schem that work fine, no software modification on PIC ..... just use the CMOS Inverter (4049 - Hex Inverter) to invert the logic.
    Attached Files Attached Files
    Last edited by Zhao Hui; - 7th June 2007 at 19:19.

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


    Did you find this post helpful? Yes | No

    Question Troubled Clock

    I'm having certain 'strange' errors in my digital clock.
    Processor = 16F84A @ 4 Mhz
    4 inch , 12 volt LED Display
    The schematic is almost the same as the one in the previous post.
    (A battery backup has been added)

    Problem 1:-
    The clock sometimes just 'hangs'. I think the oscillator stops or something.
    The display goes blank or most of the time only one digit on . . .

    Problem 2:-
    Timer0 is used for timekeeping (Darrel Taylor's Instant Interrupts).
    The clock suddenly stops incrementing time.
    i.e. the display multiplex routine keeps working as it can be seen that the all the digits on the display are displaying time.
    The thing is that the time never increments.
    I have programmed the colon between the digits to blink at 0.5 Hz.
    This blinking is controller by the time keeping registers mid byte which is kept updated by timer0.
    Since the digits keep showing a frozen time, and the colon stops blinking,
    Could it be that timer0 has somehow accidentally been disabled ? ? ?


    Attached Files :-

    clock.pbp - main file
    TMR0_int(ASM).pbp - interrupt handler

    Could someone please help me out ?
    Attached Files Attached Files
    Last edited by shahidali55; - 12th December 2007 at 15:39.

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  4. Weird compile issue 7 segment LED display
    By George in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2006, 02:12
  5. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 20:25

Members who have read this thread : 0

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