Hello, amazing people.
I have built an arduino based keypad lock that uses a TIP 120 transistor switch to activate a solenoid lock if the correct combination is entered.
I want to add WiFi control to it as a fail-safe so if the user forgets his PIN, he can unlock using his phone. For this, I plan to use a NodeMCU as AP to set a pin high or low wirelessly. I want to connect that pin to the same TIP 120 I am using with the arduino so the transistor switch can be activated (and the lock be unlocked) with both the NodeMCU and the Arduino.
But when I connect that NodeMCU pin to the base of the TIP 120, the lock does not unlock even on entering the correct combination. Will using a diode on both the arduino and NodeMCU pin solve the problem?
Kindly guide me about what I'm doing wrong.
TL;DR: How to control a TIP 120 transistor switch from two microcontrollers so that it can be activated by either of them independent of the other?
Hope I am clear. Thanks a ton.