Skip to content

Unable to switch an AC Contactor via Relay  #1176

@criticalboot

Description

@criticalboot

Here is the following scenario

Setup:
We are using Atmega644 PA-AU and trying to drive AC Contactors via relays. The relays are based on Johnny-five Relay Class through StandardFirmataEthernetPlus.

ATMega644 (StandardFirmataEhternetPlus + UIPEthernet) ==> ENC28J60 ==> network ==> PC ( J5 + NodeJs + Electorn)

Problem:
Please refer the attached schematic as the basis of our setup
relay-contactor_schem

When we are driving just the relay without AC Loads mentioned at the end of the schematic it works fine with out any issues. As soon as we connect this relay to drive an AC contactor the behavior is erratic meaning the relay works for a few times and stops working with the corresponding leds (led1 and led2 ) hanging up. This also is leading to a MCU freeze.

Observations:
H/w and S/w disconnect: We are sending an on()/off() via console of Electron to the Relays. When AC is NOT connected the Relays status and the corresponding leds status is in sync. Now with AC Contactor connected to the Relays, the whole setup goes out of sync randomly after any number of ons/offs. Any action via browser does not affect the MCUs status. This is leading us to assume that the MCU is freezing.

As long as the AC load is not connected the system works flawlessly forever. When ever the AC load is connected malfunction occurs. Not sure why.

Questions:

  1. Is there any thing abnormal in the schematic or connectivity that we have used?
  2. Do you think the AC load is causing the MCU freeze up?
  3. How do we know/test if J5 is alive?
  4. Are we missing some thing here?

NOTE:
The same setup is working perfectly with Arduino UNO+Ehternet shield.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions