Why you don=B4t use a phototransistor instead of a LDR? Could you explain your application? Pablo = = > Date: Thu, 31 May 2007 19:19:49 +0200> From: ostentativ@arcor.de> To: pic= list@mit.edu> Subject: [PIC] pro and contra: reset switch> > I created a co= ntactless reset switch for the 16F628A. It consists of> two(to compensate f= or different light situations) Light Dependent> Resistors (and two resistor= s to create a reference) and a comparator> to compare both.> > Another opti= on is a pushbutton and no LDR.> > I ask you, dear reader, about your pros a= nd cons regarding one option> compared with the other one.> > My applicatio= n is to work in a relatively dark environment and a light> one.> > As a sta= rting point, my pros:> > LDR Pro:> > - classy> > - no contact (compared wit= h the switch), so no abrasion.> > - using is effortless> > - fast change of= states(only depending on your hand's speed)> > > Pushbutton Pro:> > - Havi= ng used a LDR often, it might not have the same value as the one> being use= d as a reference. So light and dark changings cause a value> change when be= ing exposed to the same light intensity.> > - Secure under any circumstance= s, push means contact, release means> none.> > - Lasts Millions of pushes a= nd releases.> > - I can always be sure about its state. Either the cylinder= is inside> or not.> > Regards> > TK.> > -- > http://www.piclist.com PIC/SX= FAQ & list archive> View/change your membership options at> http://mailman= .mit.edu/mailman/listinfo/piclist _________________________________________________________________ Busca desde cualquier p=E1gina Web con una protecci=F3n excepcional. Consig= ue la Barra de herramientas de Windows Live hoy mismo GRATUITAMENTE. http://www.toolbar.live.com -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist