Re: Powering a relay
- From: Jonathan Kirwan <jkirwan@xxxxxxxxxxxxxx>
- Date: Thu, 15 Sep 2005 04:07:40 GMT
On Thu, 15 Sep 2005 03:03:46 +0200, "petrus bitbyter"
<pieterkraltlaatditweg@xxxxxxxxxxxxxxxxx> wrote:
>"Captain Dondo" <yan@xxxxxxxxxxxxxxxx> schreef in bericht
>news:11ih7dl4arbm9e9@xxxxxxxxxxxxxxxxxxxxx
>> OK, I have a real basic question....
>>
>> I have an embedded computer. It had digital I/O. Per the manufacturer,
>> "When the DIO pins are configured as outputs, they can source 4 mA or sink
>> 8 mA and have logic swings between 3.3V and ground."
>>
>> OK, I prefer to work as source. So... How do I get 4 ma @ 3.3V to
>> control a 5V relay that needs 100 ma to operate?
>>
>> ISTR something about transistors, but it's been a few years since my
>> electronics classes....
>>
>> Right now I need to be able to power LEDs, but eventually I need to siwtch
>> 120 VAC and 24-48 VDC at a few amps load, and I thought I could use relays
>> for that. But this has thrown a wrench into the works....
>>
>> Any suggestions?
>>
>> Thanks,
>>
>> --Yan
>
>Yan,
>
>A transistor solution shown below. The NPN are general purpose transistors
>like BC547. Don't forget the diode otherwise your transistor will be blown.
>An 1N4148 or similar will do. A much simpler solution is using a FET.
>A BSS295 or similar will do.
>
>
> +---+----+------+5V -+-----+-
> | | | | |
> | - _|_ | |
> .-. ^ |_/_|- - _|_
> | | | | ^ |_/_|-
> 330| | +----+ | |
> '-' | | |
> | | +-----+
> | |/ |
> +------| NPN |
> | |> |
> | | |-+
> ___ |/ | ----->| BSS295
> -|___|--| NPN | |-+
> 5k6 |> | |
> | | |
> | | |
> ----------+--------+-------- --------+-----
> GND
>created by Andy´s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de
>
>
>petrus bitbyter
I think the OP was asking that when the I/O is _sourcing_ 4mA, that
this is when the relay should be turned on. I may have misunderstood,
though.
Jon
.
- Follow-Ups:
- Re: Powering a relay
- From: petrus bitbyter
- Re: Powering a relay
- References:
- Powering a relay
- From: Captain Dondo
- Re: Powering a relay
- From: petrus bitbyter
- Powering a relay
- Prev by Date: Re: Powering a relay
- Next by Date: Re: Powering a relay
- Previous by thread: Re: Powering a relay
- Next by thread: Re: Powering a relay
- Index(es):
Relevant Pages
|
|