🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ACSSR and LED Floodlight (Spotlight) is not switching off

    Units
    1
    1
    258
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Erik_
      last edited by

      Hello,
      if i connect the ACSSR unit with a LED Floodlight (30W) or Spotlight (100W) (and 220V), there are some Leds light up, even if i change phase and neutral conductor.
      If i connect the ACSSR with a M5Stack Basic Core and run this program, there are the same Leds light up, if i send SSR.off:

      #include <M5Stack.h>
      #include <Wire.h>
      #include "M5_ACSSR.h"

      M5_ACSSR SSR;

      void setup()
      {
      M5.begin();
      Wire.begin();
      Serial.begin(115200);
      while (!SSR.begin(&Wire, 21, 22, ACSSR_DEFAULT_ADDR)) {
      Serial.println("ACSSR I2C INIT ERROR");
      delay(1000);
      }
      Serial.print("FW Version: 0x");
      Serial.println(SSR.getVersion(), HEX);
      }

      void loop() {
      SSR.on();
      Serial.print("ACSSR STATUS: ");
      Serial.println(SSR.status());
      SSR.setLEDColor(0xff0000);
      Serial.print("LED COLOR: 0x");
      Serial.println(SSR.getLEDColor(), HEX);
      delay(900);
      SSR.off();
      Serial.print("ACSSR STATUS: ");
      Serial.println(SSR.status());
      SSR.setLEDColor(0x00ff00);
      Serial.print("LED COLOR: 0x");
      Serial.println(SSR.getLEDColor(), HEX);
      delay(900);
      }

      The green and red Button Leds are changing from red to green and the 3V~32VDC Led is turning on and off, but at SSR.off some Leds at the Floodlight are light up.
      So the ACSSR is not disconnecting the power completely to the floodlight in SSR.off.
      Even, as i mentioned before, i change phase and neutral conductor of the 230V power.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post