power problem (newbie here!)


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Clocks,

    Any particular reason you are using LEDs instead of an LCD? Have you seen the data sheet for the 4511? You can do all 4 displays with 1-4511 and the SEG 1-4 pins would then go to transistors to drive the ground pins on the displays. Microchip has an application note showing how to make a clock using just the displays connected directly to the PIC. You might want to check it out.

    I have a clock product that I make that uses the Maxim DS1337 clock chip that has 2 alarm outputs. I don't have a fixed display on the product but when I need to check to make sure all is well with it, I plug a serial display onto the board. 4 PIC pins to the clock chip and 1 pin to the display.

    There have been quite a few clock programs on this forum over the past few years. You might want to do a search for them and also look at the Microchip site (www.microchip.com) for the app note on the clock.

    I must be honest with you though, I have never built a clock with LED displays but I can provide you with some guidance and if I can't help you there are many great people on the forum here that probably can.

    HTH,

    BobK

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    How hot is hot? 7 leds running ~15mA each = 105mA, worst case scenario you multiple it by the number of display you have + few mA for your PIC.

    Then you multiply it with the voltage across your voltage regulator (Vo-Vi), and you have the power dissipation for your voltage regulator.

    Assuming you're running it from 12 volt, things can heat up fast indeed. Heat sink will help, but not always necessary.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Mister E,

    Thanks for stepping in there. I kinda got off track with his original question!

    BobK

  4. #4
    Join Date
    Apr 2009
    Posts
    8


    Did you find this post helpful? Yes | No

    Default thanks! problem solved!

    Thank you gentlemen,

    what I had (crucially!) forgotten to add, was that the program on the pic would stop working entirely when the more than two segments were on at a time. I have since found that it must be due to the PIC's current sourcing limitations (is this correct?). Regardless, I have added some CD4050BE buffers and now it all works fine.

    I really appreciate your time and expertise. thank you.

    Ps Not using a LCD as I don't have one! Beside, there's something appealing, almost 'retro' about 7 segment displays I find....

    Code:
     
    test code tags
    Last edited by clocks; - 1st May 2009 at 00:31.

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Angry Hot topic ?

    Hi Steve + Clocks

    You do not use 105, but 4 x 105 mA ... ( no multiplexing !!! )

    so, at least 2v * 420 mA = 850 mW to dissipate in the 7805 !!!

    some cooling necessary then !!! ( 10° C/W will be Ok )

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    Join Date
    Apr 2009
    Posts
    8


    Did you find this post helpful? Yes | No

    Default cooling

    Hi Alain,

    Indeed - no multiplexing (I need bright displays).

    How do cool this down - or are there high rated voltage regulators out there?
    I don't understand your last sentence; what is : 10° C/W?

    thanks for your help!

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by clocks View Post

    I don't understand your last sentence; what is : 10° C/W?
    Hi,

    It's the thermal resistance of the dissipator to use ... it's like Resistance's "Ohms" ... but for heat dissipation value.

    That means it will heat at a rate of 10°C per dissipated Watt ... in your design, the temp of dissipator will be ( at blind sight ! ) ~ 25°C + (2 x 10°C) = 45°C

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Newbie? Problem with LCD
    By lew247 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 7th December 2009, 19:48
  2. Power Up problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th October 2009, 03:38
  3. 12 Servo's together does not seem to work, Power problem
    By macx75 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th December 2006, 19:30
  4. Power up problem
    By Ken McDonald in forum General
    Replies: 1
    Last Post: - 28th December 2004, 17:06
  5. power up problem
    By rookieofbasic in forum General
    Replies: 4
    Last Post: - 2nd April 2004, 12:01

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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