🤖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

    Scheduled Pinned Locked Moved Units
    1 Posts 1 Posters 981 Views
    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 Offline
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post