Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

attiny12

attiny12

2007-02-25 by dpintod

Hello everibody:
Can somebody tell me if I can drive a solid state relay directly from 
the tiny12 or I need a transistor.
Thanks,
David.

Re: [AVR-Chat] attiny12

2007-02-26 by John Samperi

At 02:15 AM 26/02/2007, you wrote:
>Can somebody tell me if I can drive a solid state relay directly from
>the tiny12 or I need a transistor.

The i/o pins can supposedly drive 20mA, how much current does the
solid state relay need to work?

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

RE: [AVR-Chat] attiny12

2007-02-26 by AVR Development

As far as I know you can drive that directly from your ATtiny.  You just
need like 5 mA or so to drive a solid state relay (SSR).  Basically, the
input to a solid state relay is an optoisolator so it looks just like an LED
to the processor.

 

Barry AKA JoeLlama
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of dpintod
Sent: Sunday, February 25, 2007 7:16 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] attiny12

 

Hello everibody:
Can somebody tell me if I can drive a solid state relay directly from 
the tiny12 or I need a transistor.
Thanks,
David.

 



[Non-text portions of this message have been removed]

RE: [AVR-Chat] attiny12

2007-02-26 by AVR Development

Basically, you need to put a resistor inline with your port pin to limit
current to the LED input of the SSR (solid state relay).  You can get by
with 5 or 10 mA nicely :)  Gotta figure your voltage drop across the port
and also the LED in the SSR which is about 1.2 volts forward drop.  Then
calculate a resistor for the remaining voltage to limit to 5 or 10 mA.
Normally, I connect my LEDs to Vcc and sink to the port.

 

Barry AKA JoeLlama
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of John Samperi
Sent: Sunday, February 25, 2007 5:43 PM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] attiny12

 

At 02:15 AM 26/02/2007, you wrote:
>Can somebody tell me if I can drive a solid state relay directly from
>the tiny12 or I need a transistor.

The i/o pins can supposedly drive 20mA, how much current does the
solid state relay need to work?

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495 Fax (02) 9674-8745
Email: john@ampertronics. <mailto:john%40ampertronics.com.au> com.au
Website http://www.ampertro <http://www.ampertronics.com.au> nics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

 



[Non-text portions of this message have been removed]

Re: [AVR-Chat] attiny12

2007-02-26 by dlc

Will the solid state relay take less than 20ma to turn it on?  If so, 
then yes it will work, if not, no.

DLC

dpintod wrote:
> Hello everibody:
> Can somebody tell me if I can drive a solid state relay directly from 
> the tiny12 or I need a transistor.
> Thanks,
> David.
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

RE: [AVR-Chat] attiny12

2007-02-26 by AVR Development

Check the specs of your SSR (look up the datasheet on google if you need
to).  SSRs usually trigger with 5 or 10 mA (remember, you're just lighting
up an LED).

 

Barry AKA JoeLlama
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of dlc
Sent: Sunday, February 25, 2007 8:01 PM
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] attiny12

 

Will the solid state relay take less than 20ma to turn it on? If so, 
then yes it will work, if not, no.

DLC

dpintod wrote:
> Hello everibody:
> Can somebody tell me if I can drive a solid state relay directly from 
> the tiny12 or I need a transistor.
> Thanks,
> David.
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

 



[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.