🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.components
Article #86

Re: Best way to power array of LEDs?

#86
From: Tony Williams
Date: Fri, 06 Dec 2002 11:42
37 lines
3175 bytes
In article <7nu0vukai3nr6l25rh99vjrlhgegbc519a@4ax.com>,
   Spehro Pefhany <speff@interlog.com> wrote:

> <tonyw@ledelec.demon.co.uk> wrote:
> > In the original software, the sequence of "set port-
> > pins to logic 0, then set port-pins to outputs"
> > resulted in the pins being set to logic 1, the LED
> > lit up like a searchlight, with 130mA drawn off the 5v.

> Hmm.. so the voltage  must have been high enough at 
> the inputs to read as a "1", since most of the PIC
> inputs are TTL levels, it doesn't take much. I'll bet
> you wished you put a little transistor in there. ;-)

 Abso-bleedin-lutely!  But I had all those pins spare
 on the PIC and a Real Cheapskate can never stand that.

> Must have been written as a series of BSFs. 

 No, <ANDWF PortB> and it still bit me Speff. 

> > Fortunately that 20mA could be gated-Off for a few uS.
> > If that was done, then the original sequence worked
> > correctly.

> Hardware solutions work too. ;-) 

 Not on a finished board that is going out to the
 customer, pdq.  Any way, it was all academic, the
 prototype worked ok, but the customer changed his
 mind...... didn't even pay development costs. :-(

 When he came back with yet another "thousands off"
 development job he was politely told to P-off.

-- 
Tony Williams.
Technical Details
Message-ID: <4ba09081c5tonyw@ledelec.demon.co.uk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!ledelec.demon.co.uk!tonyw
References: <KVdHjAAjM3w9Ew8l@jmwa.demon.co.uk> <aq17gb$7ut$1@reader1.panix.com> <slrnasg1o7.1t5.Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid> <aseln1$jbb$1@reader1.panix.com> <Rm2H9.4457$5P3.213056@newsfeed.slurp.net> <4dqpuugil5jens3iu7uprml0hdjl5e5dqs@4ax.com> <4ba01ef90etonyw@ledelec.demon.co.uk> <c9ruuu87bn6t539n1se6ejueb1u1lia0j6@4ax.com> <4ba0275featonyw@ledelec.demon.co.uk> <h48vuuordbt547u37tb38vpfivfqm2t0at@4ax.com> <4ba080045etonyw@ledelec.demon.co.uk> <7nu0vukai3nr6l25rh99vjrlhgegbc519a@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112d1e,4ef4c9d4aea85e1f
X-Google-Attributes: gid112d1e,public
X-Google-Thread: 10d137,4ef4c9d4aea85e1f
X-Google-Attributes: gid10d137,public
X-Google-Thread: 103407,4ef4c9d4aea85e1f
X-Google-Attributes: gid103407,public
X-Google-Thread: 1118be,4ef4c9d4aea85e1f
X-Google-Attributes: gid1118be,public
X-Google-Thread: 1131b0,4ef4c9d4aea85e1f
X-Google-Attributes: gid1131b0,public
X-Google-ArrivalTime: 2002-12-06 04:22:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!ledelec.demon.co.uk!tonyw
From: Tony Williams <tonyw@ledelec.demon.co.uk>
Newsgroups: sci.electronics.components,sci.electronics.design,alt.engineering.electrical,aus.electronics,sci.electronics.repair
Subject: Re: Best way to power array of LEDs?
Date: Fri, 06 Dec 2002 11:42:03 +0000 (GMT)
Organization: None
Lines: 37
Message-ID: <4ba09081c5tonyw@ledelec.demon.co.uk>
References: <KVdHjAAjM3w9Ew8l@jmwa.demon.co.uk> <aq17gb$7ut$1@reader1.panix.com> <slrnasg1o7.1t5.Znospam+noZs_0211@hpb13799Z.Zboi.hpZ.com.invalid> <aseln1$jbb$1@reader1.panix.com> <Rm2H9.4457$5P3.213056@newsfeed.slurp.net> <4dqpuugil5jens3iu7uprml0hdjl5e5dqs@4ax.com> <4ba01ef90etonyw@ledelec.demon.co.uk> <c9ruuu87bn6t539n1se6ejueb1u1lia0j6@4ax.com> <4ba0275featonyw@ledelec.demon.co.uk> <h48vuuordbt547u37tb38vpfivfqm2t0at@4ax.com> <4ba080045etonyw@ledelec.demon.co.uk> <7nu0vukai3nr6l25rh99vjrlhgegbc519a@4ax.com>
NNTP-Posting-Host: ledelec.demon.co.uk
X-Trace: news.demon.co.uk 1039176643 10050 194.222.56.201 (6 Dec 2002 12:10:43 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Fri, 6 Dec 2002 12:10:43 +0000 (UTC)
User-Agent: Pluto/1.14i (RISC-OS/3.60)