Timeline for 5 V relay connected to Arduino
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 28, 2021 at 15:21 | comment | added | Transistor | OK. Accept your answer instead of mine if yours is correct. Otherwise you'll confuse anyone looking for the solution. Thanks. | |
Mar 28, 2021 at 15:12 | vote | accept | Tims | ||
Mar 31, 2021 at 4:19 | |||||
Mar 28, 2021 at 15:10 | comment | added | Tims | Not sure, but relay is acting perfectly after using INPUT_PULLOUT instead of HIGH pinmode for deactivating the relay. | |
Mar 28, 2021 at 15:06 | comment | added | Transistor | Typically the microcontroller's outputs are push-pull. You only need a pull-up if the output is open drain only. Do you know what yours is? | |
Mar 28, 2021 at 15:02 | comment | added | Tims | Thank you @Transistor. Wiring was correct. Turning off requires conditionally activating a 20K resistor (PULLUP). This is apparently done through code. I will add a solution below. | |
Mar 28, 2021 at 10:07 | history | answered | Transistor | CC BY-SA 4.0 |