Re: LCD controlling with comparators

From: Danny T (danny_at_nospam.oops)
Date: 01/16/05


Date: Sun, 16 Jan 2005 15:54:50 +0000

Anthony Fremont wrote:

> I always wanted to put a pic, a lithium battery, a hall sensor (or MEMS
> accelerometer to be really cool) and a column of LEDs into a pendulum
> bob. Then the swinging column of LEDs could strobe out the date/time in
> a format suitable for people that have problems with analog dials and
> hands. ;-) I really have to get this done.

Sounds like fun! Just make sure you're not posessed to get Blue LEDs...
Can we say tacky? :-)

> Yes, you would pick your resistor size so that enough current could be
> supplied to the device being switched on and off.

I believe one resistor would do all the pins.. I'm not sure how that
would work though, given I'd end up with different currents depending on
how many pins where high/low!

> You can do it either way you prefer. Many CMOS parts are better at
> sinking current than sourcing it, but the PICs have the same limit
> either way (usually 25mA per pin)
>
> When the PIC is outputing a 0, then it is actively driving the pin low
> and can sink current. When it is outputing a 1, it is actively driving
> the pin high (except RA4) and can source current. If you hook two PICs
> together and try to have a dualing outputs contest, one of the pins will
> not survive. Always use a current limiting resistor between pins that
> might try to do this.

Do you mean having the output of a pic fed to the input of another? Like
I need for my clock? Should I put resistors between them?

Oh, and each output from my "driver" is connected to 4 inputs (one from
each of the other pics) - anything I should be careful of there - 4
inputs probably draw 4 times as much current - is there a problem here?

-- 
Danny


Relevant Pages

  • Re: LCD controlling with comparators
    ... Then the swinging column of LEDs could strobe out the ... > I believe one resistor would do all the pins.. ...
    (sci.electronics.basics)
  • Re: Beginner help with VHDL, Xilinx 9536XL, and ISE7.1
    ... I've got to get a real newsreader set up insted of using google groups. ... could watch the count sequence on the LEDS, ... Because the expected LEDS do light when I flip switches with "LEDS_OUT ... from the CPLD pins to the header and it measured connected properly. ...
    (comp.arch.fpga)
  • Re: Replacing Tektronix 465 range bulb
    ... it with LED and a resistor if I can get to it. ... I definitely would consider LEDs and resistor ... pins become intermittent at the ceramic substrate solder junction. ... Amazing that you could solder them at all,the plating/tinning on those ...
    (sci.electronics.repair)
  • Re: Why the LED fascination?
    ... LEDs are not original, and they look a bit off. ... I could not go through $200 worth of standard bulbs ... on one of my pins in 3 lifetimes. ... It is interesting, however, that unlike most hobbies, there does not seem to be much af an emphasis put on originality for pins. ...
    (rec.games.pinball)
  • Re: Why the LED fascination?
    ... Follow advice at your own peril.] ... standard bulbs are just fine. ... LEDs are not original, and they look a bit off. ... on one of my pins in 3 lifetimes. ...
    (rec.games.pinball)