PIC18, SSR and optocoupler help !

Status
Not open for further replies.

free_f0x

Newbie level 6
Joined
Dec 8, 2010
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,358
Hello everybody,

i've completed a PIC project to control LED's. im looking to control a light bulb instead of LED, how would i do this?i i've googled this problem and i came with optocoupler or/and solid-state relay if thats exactly what i need can someone provide/help about how to connect them into the PIC18F4550 pinouts ?? and schematic example will be very appreciated

Thanks alot !
 

thank you guys for your replies,

the MOC3041 is not available in the local market right now so im searching for alternative i've found the G2Rl-1A-E Solid-State rely and EL817 optocoupler, so if you can provide me an schematic example of connection to control 220 V or lets say a light bulb, i have attached my starting circuit.

Thanks !

 

Tell me what is power of thise bulbs?

Try to search 4n35 4n26 4n25 4n27 .... CNY17-3 .... PC817....
 

if u mean energy then it about 90 watt, i will try to find the IC's you mentioned
 

Did you mean solid state switching or can be relay ?


For solid state you need adequate heatsink.

What is frequency of turning on/off of this bulbe ?
 

it is a relay its type is solid state
 

it is a relay its type is solid state

No no i mean on real Relay example :




If You use Relay (solenoid) you dont have needs for heatsink and no power dissipation on contact side.

If use of solid state then heatsink is needed.

On which voltage thise bulbs working is 220V?
 
Last edited:



first thanks for your quick answers..

well, im using Relay (solenoid) and i dont think i need heatsink, one looks like the one in the picture you attached, the frequency of turning on/off is about 50 seconds, yes these bulbs are working on normal main 220V is in my country.

this is a link for the ssr that im using
https://ecb.omron.com.sg/pdf/relay/power/G2RL.pdf

actually i dont have much working experience on AC im looking to find an isolated circuit not to destroy my DC one. the available components for me now are G2Rl-1A-E and EL817 photocoupler. the isolated and safe connection is what im looking for.
 

This informations changing things. It is very important to present properly complete scenario.

On all out pins You can use resistor with small signal transistor. Each transistor will activate its relay.

What is very important. When looking for relays to buy pay attention on : coil resistance (better to be higher 400R,500R), permited max voltage on contact points for DC and AC current, working voltage, case smaller and sealed, arrange of pins look that if can contact points to be further from solenoid contacts,...
 
According to datasheets, G2Rl-1A-E is PCB Relay, and EL817 is optocoupler.

SSR's (Solig State Relays) are completely different beasts :smile:

For your project, in my oppinion, the best combo is I/O pin -> 1k rtesistor -> BC337 -> relay (will post schematic during the day).

Relay is providing galvanic isolation between your uC and Mains.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…