• Hi Gordon

    • Espruino Wifi is powered by VUSB and GND Pin, 5v (Not USB)
    • Wifi is connected
    • Relay is connected to the same powersource, 5v, trigger on A5 (Nothing connected to the relay on the load side)
    • A6 is monitored by setWatch, nothing connected to A6

    SetWatch:

    pinMode(A6, "input_pulldown");
    setWatch(function(e) { do something }

    Relay:

    When i switch the relay width "digitalWrite(A5,1)" on, relay will be triggered as expected.

    Sometimes the A6 setWatch is triggered in the same moment as the relay is triggered. Not allways, it is reproduceable out of 25 on/off switches of the relay.

    I was not able to reproduce it when i have the setWatch on A1.
    I was also not able to reproduce it then i powered the EspruinoWifi by USB.

    Is this becuase A5 and A6 are neighbors ?

    Thanks
    Sacha

About

Avatar for Sacha @Sacha started