Where can I get a small cheap linear actuator?

I don't know what is in your CD player, but it sounds like you are asking in general how to create linear mechanical motion that is electrically controlled.

The most obvious answer is a solenoid. Look around and you will see many different types. These are basically a magnetic plunger moved by the magnetism of a coil.

There are also devices known as voice coils, which are the same concept as a solenoid except that the coil is intended to move. They are called voice coils because this is the mechanism used to make loud speaker cones move.

There are also such things as linear motors. These are like rotary motors with the magnetic poles sortof unwrapped in a line.

Of course rotary motion, such as produced by a electric motor, can be turned into linear motion mechanically. A rack and pinion arrangement is one way. There can also be lever-arm driven mechanisms, which are in turn driven by geared down motors.

Getting accuracy is a separate issue. A basic solenoid is generally intended to be on or off. Voice coils can position quite accurately as a function of current when working against a known mechanical spring force. If a stepper motor is used, then the rotary motion is known open loop, and this can be turned into known linear movement. Otherwise, you will need some kind of mechanical position sensing and closed loop feedback to control the actuator. There are again many types of that, but that's getting too far afield of your question.

Added:

Whoever downvoted this answer, please explain what you think is wrong. Phantom downvotes don't benefit anyone since nobody knows what you object to. It also doesn't give anyone a chance to decide whether you might be wrong.


If you need the high precision of the screw drive found in CD players, you'll need to duplicate that mechanism with a leadscrew. Look for a NEMA14 or NEMA17 bipolar stepper motor (depending on how much torque you need), attach a shaft coupler to it, and add an ACME-threaded leadscrew. Threaded rod isn't really suited for this purpose, but leadscrews are. Leadscrews have dozens of types of nuts available for all kinds of applications. The Allegro 4988 breakout boards will make driving the motor very easy.

This is a common setup on 3D printers, that use a pair of NEMA17 steppers to push a movable gantry upwards a couple hundred microns at a time. 5-to-8mm flexible aluminum couplers are available for a dollar each at everyone's favorite auction site, and 8mm leadscrews are available from several online retailers. The A4988 is the chip used to drive the NEMA17s, and they are actually driven by an Arduino on the RepRaps.