Connect with us

Relay Switching Problem

Discussion in 'General Electronics Discussion' started by ecworks, Jul 25, 2016.

Scroll to continue with content
  1. ecworks

    ecworks

    1
    0
    Jul 25, 2016
    hello Friends,
    I am new in this forum,thank you very much .I am doing an automation project.In it i use a PIR sensor for human detection with an input shift resister and atmega 32 controller...data communication is through Ethernet module...The output of the PIR sensor is 230v so i cant give it directly to the input shift resister so i used a AC relay(coil voltage is 230v). My problem is that when AC relay switch some time my controller going to stuck and stop communication, when i reset controller its start to work fine...so how can i solve this problem,when relay switch some time my controller going to stuck.here i attached the circuit of connection.I hope my friend can help me in this issue.. Thank you very much
    [​IMG]
     
  2. Sunnysky

    Sunnysky

    480
    121
    Jul 15, 2016
    You show a lack of attention to details, which leads be to believe you have major EMI crosstalk from coil or contact current getting into the logic.

    Without more details on layout, part numbers and grounding, there are too many things wrong.
    Try a small cap between ShReg input to ground,.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-