![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I designing a circuit to turn on/off 230v mains from a PIC. I plan to control an 18W heater but would like it to be flexible up to 60W if possible (for bigger heaters).
Thanks to some great help in another thread I know how to correctly power the PIC at 5v from the mains supply. I wanted to do this as it seemed silly to have a package that involved incoming mains but also needed a DC power supply. Now I need help switching the outgoing mains. I am trying to avoid suggesting my own solutions. However, an Omron G3VM-351B was suggested in another thread. This seems to offer a load of 120mA which would be fine for the 18W heater, but no bigger than 27W (if 0.12*230 is correct!). The smaller I can make the circuit the better, so an all-inclusive package like this looks nice. However, I am open to any option. A normal relay would be fine, but everything seems to suggest that this needs its own DC supply for isolation. If anybody can provide circuits, links explaining the theory or suggestions that would be great. Last edited by edeca; 21st May 2008 at 05:32 PM. |
|
|
|
|
|
|
(permalink) |
|
hi,
Google for opto triac this device will give the isolation and the ability to control power triacs safely.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
|
|
|
|
|
|
(permalink) | |
|
Quote:
However, I thought the opto triac was designed to feed another triac and the thread the image comes from says that too. I think my choice comes down to: 1) a relay 2) an opto isolator & triac 3) some sort of single package (like the mosfet device linked in my 1st post) I know that the relay would need a separate DC supply and don't know where to obtain it if I plan on having a transformer like above. I still haven't found a decent triac & opto triac circuit example and I'm not sure where to start, so options for that would be good. I don't know anything about choice 3, so would appreciate options that allow enough current for ~60W. Thanks for your post, I plan on reading up on some of the MOC3xxx optotriacs later. I think finding one that can handle the voltage is going to be the task. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
hi, You can get 12Vdc relays that have mains rated contacts.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) |
|
I have seen ones with mains rated contacts but I am unsure on two points:
1) is is possible to trigger easily from 5v, as that is the output of the PIC 2) does the input of the relay need to be isolated from the PIC power supply at all? I have read posts which suggest a separate DC supply is the correct way.. but fail to understand why A relay is definitely the easiest (and probably cheapest) way, I am just stuck on those two points. Would something like this be suitable? MULTICOMP MCHRM-S DC5V |
|
|
|
|
|
|
(permalink) | |
|
Quote:
I'll look at the link. EDIT: the relay is rated at 240Vac, 10A max , its got the correct approvals so it should be OK. Remember to have a clamp diode across the relay coil. The relay coil requires 5/36 = 136mA, so you MUST use a driving transistor between the PIC and the coil.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 22nd May 2008 at 07:15 AM. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
I think that should be perfect.. as long as I can connect the +5v source to the relay from the same source as the PIC. Please shout if not. Out of interest, what approvals would you look for when buying mains rated products? I don't fancy frying myself! Thanks. |
||
|
|
|
|
|
(permalink) |
|
Yes, this is ok. just get more current capablity diode for better protection ( 1N4004 ).
__________________
Its what your friend in Your mind, what you in your friends mind |
|
|
|
|
|
|
(permalink) | |
|
Quote:
In which case.. I think the 4004 is probably the right one to use? Thanks. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
The 1N4001 are 50V wkg, they will be OK, for a 5V relay. If you buy in the 1N400x in packs, I would go for 1N4007's they can be used on almost any circuit.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) | |
|
Quote:
When you mentioned approvals before for the relay, what was it you looked for? Thanks for all your help. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
Look at this picture and text, ref approval.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 11:24 AM. |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| 230v vs 115v | tkrobi | General Electronics Chat | 3 | 6th August 2007 06:42 PM |
| 230v AC powerd LED | fever | Electronic Projects Design/Ideas/Reviews | 26 | 25th June 2006 04:31 PM |
| 12V to 230V converter | glebka11 | Electronic Projects Design/Ideas/Reviews | 10 | 6th March 2004 01:24 AM |
| Washing machine motor DC 230V. Info for AC 230V 50Hz to DC ? | DeDogs | General Electronics Chat | 1 | 10th August 2003 10:38 PM |
| 230V 60W loghtbulb I=0,26? | hantto | General Electronics Chat | 2 | 7th November 2002 08:02 AM |