AutoArduino Reading pin causes it to change state

Discussion in 'AutoApps' started by ACURATEWIFI, Nov 2, 2019.

  1. ACURATEWIFI

    ACURATEWIFI New Member

    Joined:
    Nov 2, 2019
    Messages:
    2
    Likes Received:
    0
    On my setup, HIGH means the relay is off.

    Im using one of those 8 channel arduino style relay boards... it's negatively triggered.

    When I initially setup a prototype rig on a breadboard, with 3 LED's instead of relays, I did not get this phenomenon. I could read pins and the LED's would stay on.

    Now, with the relay board, everytime tasker commands a pin read, the relay turns off. It is clear the state is staying "LOW" (relay supposed to be on) because i can send a "TOGGLE" command and the relay stays off. When I send another "TOGGLE" command, then the relay finally turns back on. It's very consistent, but I'm not sure what's causing it.
     
  2. ACURATEWIFI

    ACURATEWIFI New Member

    Joined:
    Nov 2, 2019
    Messages:
    2
    Likes Received:
    0
    I got it working. Was trying to read a pin that was in use. Need to use that pin to drive a transistor to a different pin that can be an input.
     

Share This Page