cjc061000
Newbie level 2
Hello everyone,
I am pondering on starting a new pet project. It involves controlling a wall plug using a microcontroller. I want to turn on/off my living room lamp. simple i know but the analog side im unaware of what is out there.
I want to be able to turn off/on the wall outlet's AC 120V signal using the microcontroller. I have heard that IGBTs are used for this kind of work, since I know they can be used for DC, but not sure if it will work with AC from the wall.
*EDIT* Doing a bit more research, i have seen that Solid State Relays might also work.
I found a part that might work.
https://www.opto22.com/site/pr_details.aspx?cid=4&item=MP120D4
These seem a bit too big though. any other suggestions for creating a small pcb are welcome.
- Can you suggest which part in the market can be used (surface mount or small dip)
- Can you suggest a simple circuit to do this?
My guess to connect this is: LiveWall->Collector. Emiter->lamp. LampGND-> WallGND. MCU->Gate
Thanks all.
I am pondering on starting a new pet project. It involves controlling a wall plug using a microcontroller. I want to turn on/off my living room lamp. simple i know but the analog side im unaware of what is out there.
I want to be able to turn off/on the wall outlet's AC 120V signal using the microcontroller. I have heard that IGBTs are used for this kind of work, since I know they can be used for DC, but not sure if it will work with AC from the wall.
*EDIT* Doing a bit more research, i have seen that Solid State Relays might also work.
I found a part that might work.
https://www.opto22.com/site/pr_details.aspx?cid=4&item=MP120D4
These seem a bit too big though. any other suggestions for creating a small pcb are welcome.
- Can you suggest which part in the market can be used (surface mount or small dip)
- Can you suggest a simple circuit to do this?
My guess to connect this is: LiveWall->Collector. Emiter->lamp. LampGND-> WallGND. MCU->Gate
Thanks all.
Last edited: