need help designing a led bar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scampo77
    Badcaps Veteran
    • Dec 2010
    • 233

    #1

    need help designing a led bar

    i have a rheostat that is variable from 0-90 ohm. i am wondering if anyone would be willing to help me figure out how to make the LEDs come on as the voltage rises 0-3 ohm is 1 led and at 85-90ohm is all the leds.

    im not sure if i should use op-amps for each step or if there is a simpler way.
    any help would be appreciated scampo77@gmail.com
  • Evil Lurker
    Warranty Voider
    • Feb 2011
    • 454

    #2
    Re: need help designing a led bar

    So lemme get this right your looking for an led bar graph driver IC... how many leds are you thinking of driving?

    Comment

    • scampo77
      Badcaps Veteran
      • Dec 2010
      • 233

      #3
      Re: need help designing a led bar

      it doesnt really matter maybe 10? seems like a nice round number

      Comment

      • scampo77
        Badcaps Veteran
        • Dec 2010
        • 233

        #4
        Re: need help designing a led bar

        i have never heard of this before but after a quick google search i came up with a lm3916 although i might need help wiring it but it seems all contained and nice. my question is with a 0-90 ohm rheostat will i have enough range?

        Comment

        • scampo77
          Badcaps Veteran
          • Dec 2010
          • 233

          #5
          Re: need help designing a led bar

          i have all but decided to go with the LM3914 it is inexpensive and it can drive 10 LEDs. it seems simple enough i just dont understand how it is not required to run rersistors to the LEDs. would anyone be able to help me wire this thing if i order it?

          Comment

          • mariushm
            Badcaps Legend
            • May 2011
            • 3799

            #6
            Re: need help designing a led bar

            You can make this with a simple Microchip or Atmel micro-controller. The only problem is that you'd need a programmer to put the code into the chip.

            To make a led light up, you just have to connect the led with a resistor in series to one of the output pins of the controller, so if you get a 14 pin DIP chip, you can light up about 10 leds easily.

            As for the 0-90 ohm, most of these controllers have 8-10 bit analog to digital converter, basically you feed it the potentiometer/rheostat and it gives a value between 0 and 255 (for 8 bit) or 0 and 1023 (for 10 bit versions). So depending on the value the chip determines, you can light up 0 to whatever leds you want.

            Here's two videos where the analog to digital converter and the leds lightning are shown with a cheap Atmel microcontroller:


            http://www.youtube.com/watch?feature...GzBhx08#t=224s
            http://www.youtube.com/watch?v=GSuyn...eature=channel

            http://www.youtube.com/watch?feature...&v=e7X6LGXhOss

            The programmers for this Atmega are cheap, and there's lots of them ... the official one for Microchip PIC controllers is more expensive but the chip is just as good as the Atmega one.

            Comment

            • Agent24
              I see dead caps
              • Oct 2007
              • 4940
              • New Zealand

              #7
              Re: need help designing a led bar

              LM3914 is probably cheaper and easier to start with though
              "Tantalum for the brave, Solid Aluminium for the wise, Wet Electrolytic for the adventurous"
              -David VanHorn

              Comment

              • budm
                Badcaps Legend
                • Feb 2010
                • 40746
                • USA

                #8
                Re: need help designing a led bar

                If you download the spec sheet, you will see how the LED curent is being controlled, circuits example, etc.
                Never stop learning
                Basic LCD TV and Monitor troubleshooting guides.
                http://www.badcaps.net/forum/showthr...956#post305956

                Voltage Regulator (LDO) testing:
                http://www.badcaps.net/forum/showthr...999#post300999

                Inverter testing using old CFL:
                http://www.badcaps.net/forum/showthr...er+testing+cfl

                Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                http://s807.photobucket.com/user/budm/library/

                TV Factory reset codes listing:
                http://www.badcaps.net/forum/showthread.php?t=24809

                Comment

                • scampo77
                  Badcaps Veteran
                  • Dec 2010
                  • 233

                  #9
                  Re: need help designing a led bar

                  if anyone is still following this thread i could sure use a hand i do not understand what pins 6,7,8 do?

                  i thought if i drove .5v into low ref and 4.5 into high ref then on pin 5 i put a variable signal of .5 -4.5 and one or all of the bulbs should light up?

                  well with just .5 on pin 4 it gives me voltage on pins 6+7 of about 2v and when i put my ref voltage of 4.5 something that is going on in the IC is dropping it to around 3v.

                  im very new and very confused as to what is happening or how to fix it. what is adding to the confusion is when i google how to wire this up i get 3 different ways to wire the same IC.

                  Comment

                  • Agent24
                    I see dead caps
                    • Oct 2007
                    • 4940
                    • New Zealand

                    #10
                    Re: need help designing a led bar

                    https://cdn.badcaps-static.com/pdfs/...35bad9b546.pdf

                    I've not used a LM3914 before but for a first try, give the reference circuit on page 3 a go. Once you have that working, try other stuff.
                    "Tantalum for the brave, Solid Aluminium for the wise, Wet Electrolytic for the adventurous"
                    -David VanHorn

                    Comment

                    • scampo77
                      Badcaps Veteran
                      • Dec 2010
                      • 233

                      #11
                      Re: need help designing a led bar

                      i got this working from info online and everyones help, thank you everyone!!

                      i am having a problem where the bar graph jumps and moves in real time i need to slow it down. i need to add a cap but i dont know where to put it. i am assuming my .5-4.5v on pin 5 needs a cap but do i put the neg cap lead to ground and pos to pin 5? or do i just put it inline to pin 5? i think there is a resistor involved?

                      how big of a cap do i need to use?

                      i thought i would start withg a 47uF 25v but i dont know where to put it.

                      Comment

                      • Uranium-235
                        Comrade Glimmer
                        • Aug 2007
                        • 5042
                        • US

                        #12
                        Re: need help designing a led bar

                        make sure the place is packed with tons of music and bitches. LED's love bar bitches
                        Cap Datasheet Depot: http://www.paullinebarger.net/DS/
                        ^If you have datasheets not listed PM me

                        Comment

                        • Agent24
                          I see dead caps
                          • Oct 2007
                          • 4940
                          • New Zealand

                          #13
                          Re: need help designing a led bar

                          Originally posted by scampo77
                          i got this working from info online and everyones help, thank you everyone!!

                          i am having a problem where the bar graph jumps and moves in real time i need to slow it down. i need to add a cap but i dont know where to put it. i am assuming my .5-4.5v on pin 5 needs a cap but do i put the neg cap lead to ground and pos to pin 5? or do i just put it inline to pin 5? i think there is a resistor involved?

                          how big of a cap do i need to use?

                          i thought i would start withg a 47uF 25v but i dont know where to put it.
                          In series won't work because it will just block the current, and you'd get nothing.

                          Across pin 5 to ground sounds like it makes more sense (assuming that pin is normally in respect to ground)
                          "Tantalum for the brave, Solid Aluminium for the wise, Wet Electrolytic for the adventurous"
                          -David VanHorn

                          Comment

                          • scampo77
                            Badcaps Veteran
                            • Dec 2010
                            • 233

                            #14
                            Re: need help designing a led bar

                            I tried that and it didn't work I even tried different sized caps up to 6800 uF. Is there a name for this type of circuit? Is this damping?

                            Comment

                            • cadiman
                              Badcaps Veteran
                              • Mar 2010
                              • 397

                              #15
                              Re: need help designing a led bar

                              If you can find an old Radioshack booklet on led bar graph. You can build one with an op-amp circuits.
                              I made one about 30 years ago. It was a bar graph volt meter and you could change the gain and use it for audio. I am sure I did.

                              It used 339 or 741 op amps one for each led and a 100k resister you could adjust for gain pending input source.

                              I am sure I still have the books in my file.

                              They were called Engineer`s Mini Notebooks and lots of cool circuits using op-amps,555 timers and other semiconductors.
                              Last edited by cadiman; 07-16-2012, 09:43 PM.

                              Comment

                              • budm
                                Badcaps Legend
                                • Feb 2010
                                • 40746
                                • USA

                                #16
                                Re: need help designing a led bar

                                Is there any reason why the diagrams by ben and mine and any related questions removed?
                                Never stop learning
                                Basic LCD TV and Monitor troubleshooting guides.
                                http://www.badcaps.net/forum/showthr...956#post305956

                                Voltage Regulator (LDO) testing:
                                http://www.badcaps.net/forum/showthr...999#post300999

                                Inverter testing using old CFL:
                                http://www.badcaps.net/forum/showthr...er+testing+cfl

                                Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                                http://s807.photobucket.com/user/budm/library/

                                TV Factory reset codes listing:
                                http://www.badcaps.net/forum/showthread.php?t=24809

                                Comment

                                • cadiman
                                  Badcaps Veteran
                                  • Mar 2010
                                  • 397

                                  #17
                                  Re: need help designing a led bar

                                  Not sure, but I like Uranium-235 post!

                                  Comment

                                  • ben7
                                    Capaholic
                                    • Jan 2011
                                    • 4059
                                    • USA

                                    #18
                                    Re: need help designing a led bar

                                    Originally posted by budm
                                    Is there any reason why the diagrams by ben and mine and any related questions removed?
                                    Hm, Im not sure, I just realized that they were missing!

                                    EDIT: lol, all my posts had gotten deleted too.
                                    Muh-soggy-knee

                                    Comment

                                    • budm
                                      Badcaps Legend
                                      • Feb 2010
                                      • 40746
                                      • USA

                                      #19
                                      Re: need help designing a led bar

                                      I forgot that he started the new thread:
                                      https://www.badcaps.net/forum/showth...394#post251394
                                      Never stop learning
                                      Basic LCD TV and Monitor troubleshooting guides.
                                      http://www.badcaps.net/forum/showthr...956#post305956

                                      Voltage Regulator (LDO) testing:
                                      http://www.badcaps.net/forum/showthr...999#post300999

                                      Inverter testing using old CFL:
                                      http://www.badcaps.net/forum/showthr...er+testing+cfl

                                      Tear down pictures : Hit the ">" Show Albums and stories" on the left side
                                      http://s807.photobucket.com/user/budm/library/

                                      TV Factory reset codes listing:
                                      http://www.badcaps.net/forum/showthread.php?t=24809

                                      Comment

                                      • ben7
                                        Capaholic
                                        • Jan 2011
                                        • 4059
                                        • USA

                                        #20
                                        Re: need help designing a led bar

                                        Originally posted by budm
                                        I forgot that he started the new thread:
                                        https://www.badcaps.net/forum/showth...394#post251394
                                        He doesn't seem to be interested in that project now
                                        Muh-soggy-knee

                                        Comment

                                        Related Topics

                                        Collapse

                                        • Pipolups
                                          Corsair K70 LUX RGB dying LEDs
                                          by Pipolups
                                          Hi there !

                                          I'm having an issue for several weeks with my quite old K70 LUX RGB keyboard. I haven't used it for few months, and once I setup up again my desktop computer, I got several dead LEDs on that keyboard. I tried the Corsair troubleshooting thing (disabling options in iCUE, ...) but nothing changed so I conclude that for some reason some LEDs went in retirement...😅
                                          Decision taken to change these LEDs as I have access to desoldering iron and binocular magnifier, I wrote a ticket to tech support, hopping to obtain the LEDs reference and... They refused to tell me 🙄...
                                          10-08-2024, 11:58 AM
                                        • THE GTC
                                          Insignia NS-37D20SNA14 intermittent LEDs
                                          by THE GTC
                                          So I use this TV daily as a second monitor for my PC or my Playstation - at one point a few months back I tried to fix the problem - but in the process, I figured out something that works so I haven't posted this for awhile. It is an annoying trick to have to do though, so I decided to post about it to see if anyone could spot what's wrong. It baffles me because it works on it's own half the time.

                                          When I first got this TV, I was told it wouldn't turn on, and of course I did the flashlight test, and the image was there. Also, the red LED on the front indicated that it had power (it...
                                          11-03-2020, 02:40 AM
                                        • VitalComputing
                                          Replacing Mode Indicator LEDs
                                          by VitalComputing
                                          Hi all,

                                          I have what should be a simple job but is causing me issues. There are three LEDs (yellow, green and red) on the indicator panel of a solar PWM controller and these have broken off. I need to replace them but I am unsure of the voltage drop across these. I don't want to replace with random LEDs in case they blow.

                                          I took one of the LEDs out of circuit, put 19V across it with a 500 ohm resistor in series and there is a drop of about 13V across the LED, and this seems to increase as I increase the input voltage.

                                          I thought I could just put a resistor...
                                          09-17-2023, 04:43 PM
                                        • jimbofz
                                          just a quick question do all qled leds appear blue when fault finding ?
                                          by jimbofz
                                          i have replaced many leds strips that have changed blue when they are worn
                                          and the new replacements are perfect white
                                          but when fault finding do quantum leds always look blue?
                                          08-28-2024, 06:51 AM
                                        • Quantum IC
                                          LEDs for TV Backligth
                                          by Quantum IC
                                          Hello everyone
                                          I'm new to LED strip LED replacement.
                                          The original LED comes with a single internal LED or chip. I only get at the moment LEDs with two internal LEDs or chips.
                                          I understand that this is due to the tone of the light they emit.
                                          My Doubt is:
                                          Can I use the LED with two internal chips without problem?
                                          Will there be much difference in the picture?
                                          I'm going to replace all the LEDs.
                                          Both LEDs (original and replacement) are 3V and the same size....
                                          03-04-2022, 04:03 PM
                                        • Loading...
                                        • No more items.
                                        Working...