-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> I want to use atmel controller Which one? >to switch on a relay from one its port bits. How much current does the really coil take? > have used a darlington pair at the port output to drive the >relay. My self I'd go for a FET. Do you have a proper current limiting resistor to the base of the transistor? > added a switch in the hardware without its switch on, > the programm will not run Most hardware does not run unless it is switched on. You obviously mean some some thing else there? >as programmed in the assembly). Perhaps you mean the switch is some type of safety interlock? >The problem is that whenever the controller > circuit is reset, the relay is switched on momentarily > without the hardware switch being switched on. The output drive pin will become an input at reset. You may have enough gain and stray capacitance in your transistor that it amplifies stray signals. Take some thing like a 10k resistor from the port pin to ground, assuming your using an NPN transistor. Same concept applies to your switch input. It must be terminated at all times so that it does not 'float'. > added a cap at port output. but it is not working. You should never do that. For several different reasons. You should make sure you have caps from the power to ground pins. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9ZBHcoqsDS8ujjoQRAqYVAJ9yyFXh+7uBIf//Spl8skLfeqNewACg2kxk K+OyJHzllMm80sXRO9jicPg= =k6jX -----END PGP SIGNATURE----- -- Author: Bob Paddock INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB CHIPDIR-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
