NodeMCU V3 With solenoid power supply problem.

Hello everyone, i just started to develop iot home automation systems. But i have a question. Now, i need a 12V Power supply to run solenoid lock. How can i get this 12v power? If i buy 12v adapter and extend its cables to nodemcu card will it work? Or how can i figure it out? You can post example products links below this post then ill buy it. Or can anyone explain how can i supply that 12v power? Thanks..

Generally, you can't provide the 12V through the micro controller. You just use a transistor or logic level MOSFET to switch power to the solenoid. Don't forget the snubber diode.

You'll need to ensure that whatever power supply you choose can supply enough current for your particular solenoid.

hrider:
Hello everyone, i just started to develop iot home automation systems. But i have a question. Now, i need a 12V Power supply to run solenoid lock. How can i get this 12v power? If i buy 12v adapter and extend its cables to nodemcu card will it work? Or how can i figure it out? You can post example products links below this post then ill buy it. Or can anyone explain how can i supply that 12v power? Thanks..

And decide if you need to power the solenoid to keep the door locked, or power the solenoid to keep the door unlocked, or if you just need to pulse the current to the solenoid for some length of time and reverse the current to reverse the operation. Or is the solenoid spring loaded so it only needs current to co one way.
Paul

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.