element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Mimicking Solid State Relay
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: tonyboubady
  • Date Created: 25 Jul 2016 4:34 PM Date Created
  • Views 389 views
  • Likes 0 likes
  • Comments 0 comments
  • smarthome
  • relay_pcj
  • ssr
  • relay
Related
Recommended

Mimicking Solid State Relay

tonyboubady
tonyboubady
25 Jul 2016

The best way to handle AC voltage and current in a smart home project is using a industrial grade Solid Sate Relay with the ratings of 400V and 60A, which is the experienced professionals recommend too. The down side is, it's expensive and not suitable for hobbyist Engineers. almost every project that i am working on is stuck with this problem, either I can't afford the reliable SSR or create one on my own. well, wait a second, why not create one?

 

That's the spark of the idea I had yesterday midnight and searched for how Solid State Relay works, did some search on youtube and datasheet, learned something about that it's switching by semiconductor, phototransistor(I am still learning how it's really work), but, I have figured it out how it's isolate the switching circuit and AC contacts. It's just a phototransistor.

 

I have these things called IR LED and photodiode, 10s of them. I remember that I did some simple transmitter, receiver circuit with it. It's the base idea that makes me to create the Solid State Relay alike.

 

I have connected the IR LED to Arduino to control pulsing for test. Created a separate circuit with separate voltage(12V) for receiver section with photodiode. The photodiode is connected to 5V regulated rail with two 1K resistor for voltage dividing. The divided voltage goes to base of the 2n2222a transistor, the collector to emitter is connected to 12V rail. On the collector side, 12V relay is connected with red LED on NO(Normally Open) pin and COM (Common GND) pin. So, on each pulse the photodiode receives by IR LED, it turns on the 2n2222a transistor along with charged 12V coil, which is then turn on the red LED.

 

By this, I have successfully isolated the MCU circuit and AC control circuit. I can use 240V with maximum of 10A load with safe and secure. I have decide to create a circuit for this whole idea, even going to use ceramic or some clay stuff with holes to make sure the isolation is even secure and safe. With ceramic or clay wall with holes(for IR and photodiode) I can add more relay channels for my smart home projects.

 

Here is the prototype demo on breadboard...

 

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Note: The 2n2222a transistor part is just for breadboard prototype purpose, i will use mosfet for my projects...

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube