UPDATE TO ANYONE READING! THE DOOR LOCK IS A 12 VOLTNOT 24 VOLT****
Hi!
I have a curious question.
Please keep in mind I am neither and electrician or engineer. Just a hobbyist.
My project requires that I produce and up and down linear motion that has about an inch and a half of travel.
Kind of like a whack a mole, but tiny. It goes up and then it goes down. This motion does not seem simple or cheap to produce. Linear actuators are crazy expensive and terribly noisy. Then I remembered that a door lock in my dads Cadillac kind of worked in this way. So I checked amazon and there door lock actuators are like 4 dollars a pop. Really in my price range and does exactly what I need it to do.
Can I power this and program it through the arduino without frying it?
I popped one open and it looks like a standard DC motor in there. Could it be possible just to connect the motor as I would any DC motor from my kit?
Without seeing the exact motor and its specs, all I can offer is general info.
Find out the stall current of the motor and look for an H bridge rated to take that current. The H bridge can be controlled by the Arduino. The motor will need an external power supply rated for the motor (stall) current. If the stall current spec can't be found, measure the winding resistance. Divide the motor power voltage by the winding resistance to get an estimated stall current.
You would use the SRD-05VDC. the 5VD refers to the voltage used to operate the relay. The relay itself will be able to switch both AC and DC supplies at a range of voltages. In your case you would be switching 12V DC going to the motor.
The relays use current. According to the datasheets you could power two of these relays from the Arduino. however if you plan to connect other things you should calculate the total used.
stobi77:
My project requires that I produce and up and down linear motion that has about an inch and a half of travel.
Before you start ordering parts and building, verify that the actuator has the travel you need. These have a travel of just about 1" and a stall current right around four amps.