I've used the AC direct to PIC via resistor for years now...granted its 6VAC not 120VAC...but it works well to determine if I have a 50Hz or 60Hz mains... >From: Roman Black >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC]: Direct LED connection? >Date: Fri, 1 Nov 2002 12:24:25 +1100 > >Bob Blick wrote: > > > > On Wed, 30 Oct 2002, Olin Lathrop wrote: > > > No, not predictable. Show me how to calculate this from spec sheet > > > values. It might be predictable for any one chip that was explicitly > > > measured, but may change drastically next die shrink or even next > > > production batch. > > > > Easy. From spec sheet, .7v at 3mA, from Ohm's Law .7/.003 = 233 Ohms. > > > > I'm not just spouting lies, this use (connecting LED directly from PIC >and > > ground) is blessed by Microchip FAE Kurt Kuhlmann regularly at Microchip > > seminars. > > >So at what point are Microchip going to back him >up by putting the "constant current source" spec >in the datasheet? > >Is this the same guy that wrote the infamous Microchip >app note showing 120vac connected directly to a PIC >input via a resistor?? >-Roman > >-- >http://www.piclist.com hint: The PICList is archived three different >ways. See http://www.piclist.com/#archives for details. _________________________________________________________________ Get a speedy connection with MSN Broadband. Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body