Instructables

CD-ROM Agitator

Picture of CD-ROM Agitator
These are step by step instructions on how to hack an old CD-ROM drive and turn it into a agitator for PCBs, biohacking projects and anything else you might need to shake continuously. All you need is a CD-ROM drive, breadboard, H-Bridge, a 10Kohm resistors Arduino, plastic container and power source for the Arduino (a toggle switch is optional).

 
Remove these adsRemove these ads by Signing Up

Step 1: Get a old CD-ROM drive

Picture of Get a old CD-ROM drive

Step 2: How to set up the Arduino and Breadboard

Picture of How to set up the Arduino and Breadboard

Step 3: The H-Bridge Connected to the Arduino (No Toggle Switch)

Picture of The H-Bridge Connected to the Arduino (No Toggle Switch)
// Arduino Code:

const int switchPin = 2;    // switch input
const int motor1Pin = 3;    // H-bridge leg 1 (pin 2, 1A)
const int motor2Pin = 4;    // H-bridge leg 2 (pin 7, 2A)
const int enablePin = 9;    // H-bridge enable pin


void setup() {
  // set the switch as an input:
  pinMode(switchPin, INPUT);

  // set all the other pins you're using as outputs:
  pinMode(motor1Pin, OUTPUT);
  pinMode(motor2Pin, OUTPUT);
  pinMode(enablePin, OUTPUT);
//  pinMode(ledPin, OUTPUT);

  // set enablePin high so that motor can turn on:
  digitalWrite(enablePin, HIGH);
}

void loop() {
  // if the switch is high, motor will turn on one direction:

    digitalWrite(motor1Pin, LOW);   // set leg 1 of the H-bridge low
    digitalWrite(motor2Pin, HIGH);  // set leg 2 of the H-bridge high
  delay(500);                  // waits for a second

  // if the switch is low, motor will turn in the other direction:

    digitalWrite(motor1Pin, HIGH);  // set leg 1 of the H-bridge high
    digitalWrite(motor2Pin, LOW);   // set leg 2 of the H-bridge low
  delay(500);                  // waits for a second

}

Step 4: Take apart the CD-ROM drive and solder 2 cables to the motor

Picture of Take apart the CD-ROM drive and solder 2 cables to the motor

Step 5: Put the Arduino and Breadboard in the CD-ROM housing

Picture of Put the Arduino and Breadboard in the CD-ROM housing

Step 6: Screw the CD-ROM drive back onto the housing that is now flipped over

Picture of Screw the CD-ROM drive back onto the housing that is now flipped over

Step 7: Glue a plastic container to the CD-ROM tray, put your contents in and plug it in!

Picture of Glue a plastic container to the CD-ROM tray, put your contents in and plug it in!
swaaag1 year ago
Poor drive :(
Gedxx1 year ago
Hi,

wich H-Bridge are you using? SN754410, L293 or another one?

Thanks
dannewoo (author)  Gedxx1 year ago
Hey there,
Ah forgot to include the type, sorry about that. I used the L293NE H-Bridge but you can also use the SN754410. I used this tutorial as a reference when putting it together. Hope thats helpful. Cheers.
http://itp.nyu.edu/physcomp/Labs/DCMotorControl
danjovic1 year ago
Very Cool!!
pfred21 year ago
Bubbling air through the bath is so much more effective. Doing that not only agitates but oxygenates the fluid too. I made mine with one of those 12 volt tire inflation compressors. I stuck a spray nozzle off a spent spray can on it and it is perfect.