I have done the getting started tutorial, and ultimately I am trying to make a solenoid lock that can be accessed by a keypad. I found this basic tutorial on triggering a solenoid lock with Tinker:
But I am not clear on the wiring, because his directions are probably aimed at slightly more advanced users.
I hate to just say “please explain this to me”, but any help would be appreciated. I have tried to figure it out but am a bit lost.
So I found this tutorial and it helped shed a lot of light on the subject:
My first question now is how did the authors of the tutorial come up with the resistor value to use? One author used a 1K resistor and the second author used a 2k resistor. The transistor and diodes were the same.
Was it due to the different voltages of the solenoids they chose to use? How does one determine the appropriate resistor in this scenario?