Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Driving a solid state relay from ZX-40

 
Post new topic   Reply to topic    Forum Index -> ZX-40
Author Message
audioguy



Joined: 10 Oct 2009
Posts: 13

Posted: 12 October 2009, 1:21 AM    Post subject: Driving a solid state relay from ZX-40 Reply with quote

Just based on specs, it looks like driving a Kyotto KD20C40AX solid-state relay directly from a ZX-40 I/O pin should be ok. Anyone have any experience with that either way?

The ATmega644 data sheet shows that with VCC=5V, the minimum voltage of a high pin is 4.2V . The SSR data sheet shows that with 4-5V on the control input the current should be around 2.5-3ma .

Since the SSR input is already optically isolated from the load and I would include MOV's and ferrite snap-on's for slow and fast-rise inductive spikes and RFI on the output side, any reasons why I shouldn't do it this way? The application is to switch a 240V single/split phase 2 1/2 HP pump motor around 5-10 times a day with high reliability.

Thanks,
--jim
Back to top
GTBecker



Joined: 18 Jan 2006
Posts: 457
Location: Cape Coral

Posted: 12 October 2009, 2:24 AM    Post subject: Driving a solid state relay from ZX-40 Reply with quote

> ... with 4-5V on the control input the current should be around 2.5-3ma.

Sure, you can easily drive most opto-coupled devices with a pin.

It is common to drive them by sinking the opto cathode to ground,
though, instead of sourcing current to the anode. If you sink the opto
current, the processor doesn't need to supply it.

To do this, connect the SSR opto anode (the + control input) to Vcc and
the cathode(-) to the processor pin. In code, set the pin low to turn
the relay on and set the pin to high-impedance to turn the relay off.
High-impedance is also the Reset pin state, so the relay will be off
when the processor is in Reset.

Tom
Back to top
audioguy



Joined: 10 Oct 2009
Posts: 13

Posted: 12 October 2009, 3:21 AM    Post subject: Re: Driving a solid state relay from ZX-40 Reply with quote

GTBecker wrote:
>
... To do this, connect the SSR opto anode (the + control input) to Vcc and
the cathode(-) to the processor pin. In code, set the pin low to turn
the relay on and set the pin to high-impedance to turn the relay off.
High-impedance is also the Reset pin state, so the relay will be off
when the processor is in Reset.

Tom


Excellent point with the uP reset Tom, thanks!

--jim
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZX-40 Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group