--0__=85256A9C007495D08f9e8a93df938690918c85256A9C007495D0 Content-type: text/plain; charset=us-ascii You can do this with a mosfet if you can bias it correctly. I have not seen your circuit, so I can't suggest any biasing solutions. You might be able to use something like a 4066 quad switch...... Scott F. Touchton 1550 Engineering Manager JDS Uniphase Nick Veys cc: Sent by: pic Subject: Re: [EE]: Solid state relay difficulty microcontrolle r discussion list 08/02/01 04:23 PM Please respond to pic microcontrolle r discussion list I think everyone is missing my point... I was hesistant to say I was connecting +5 to Gnd because then I would get the "use a transistor" message. And a real relay is great, but I don't like the extra hardware involved, I'm looking for something simple, all I'm doing is shorting leads! I would think there would be some kind of solid state relay that can do this but apparently not? nick@veys.com | www.veys.com/nick > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Roman Black > Sent: Thursday, August 02, 2001 2:19 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [EE]: Solid state relay difficulty > > > Mike Mansheim wrote: > > > > > Have you considered a relay? A "real" relay that > > > is! :o) Simple to drive with your PIC and should > > > work your AC fan load ok since you say it is low > > > power. > > > > Last time I went looking for a relay to run with a pic, > > I ended up using a solid state relay because the > > mechanical relays needed more drive current than the > > pic could do directly. Of course, I limited my selection > > to whatever was listed in Digikey. > > So, does a solid state relay count as "real"? > > No. :o) > Try using a real relay with the coil driven by > a cheap 10 cent transistor like a BC337 or equiv, > and a diode across the relay coil, this can give > advantages over a solid state relay because of > the total isolation of the relay contacts from > the coil and PIC. > > Solid state relays are fine in many cases, but > "real" relays have their place, and are good > safe hardware for newbies. > -Roman > > -- > http://www.piclist.com hint: The PICList is archived three > different ways. See http://www.piclist.com/#archives for details. > > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. --0__=85256A9C007495D08f9e8a93df938690918c85256A9C007495D0 Content-type: application/octet-stream; name="$RFC822.eml" Content-Disposition: attachment; filename="$RFC822.eml" Content-transfer-encoding: base64 UmVjZWl2ZWQ6IGZyb20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UgZm9y IG5ld2JpZXMuDQo+IC1Sb21hbg0KPg0KPiAtLQ0KPiBodHRwOi8vd3d3LnBpY2xpc3QuY29tIGhp bnQ6IFRoZSBQSUNMaXN0IGlzIGFyY2hpdmVkIHRocmVlDQo+IGRpZmZlcmVudCB3YXlzLiAgU2Vl IGh0dHA6Ly93d3cucGljbGlzdC5jb20vI2FyY2hpdmVzIGZvciBkZXRhaWxzLg0KPg0KPg0KPg0K DQotLQ0KaHR0cDovL3d3dy5waWNsaXN0LmNvbSBoaW50OiBUaGUgUElDTGlzdCBpcyBhcmNoaXZl ZCB0aHJlZSBkaWZmZXJlbnQNCndheXMuICBTZWUgaHR0cDovL3d3dy5waWNsaXN0LmNvbS8jYXJj aGl2ZXMgZm9yIGRldGFpbHMuDQoNCg0K --0__=85256A9C007495D08f9e8a93df938690918c85256A9C007495D0-- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.