Powering the motor, motormind B and basic stamp (beginner's question)
Itsenzothebaker
Posts: 9
Hello everyone.
I plan to build an automatic whiteboard eraser using basic stamp 2, motormind B and a 24V DC motor. Is there a way to power all three of these devices by using one wall wart?
Thanks in advance,
-Phillip-
I plan to build an automatic whiteboard eraser using basic stamp 2, motormind B and a 24V DC motor. Is there a way to power all three of these devices by using one wall wart?
Thanks in advance,
-Phillip-
Comments
The BS2 power input is 5.5 to 15Volt DC, so you will have to regulate the 24 down to say 12 Volt with a 7812 voltage regulator.
Yes, the Motor Mind runs on 4-7 volts so you would need another 5 or 6 volt regulator after the 12 volt regulator. You could try a 6 volt regulator driven by the 24 volts to drive both the BS2 and Motor Mind, but that would require a fairly large heat sink to dissipate the heat.
IMO, your best bet would be to go with a good, regulated supply such as this, to drive the electronics, and a more robust supply to power the motor. Such as this. It's hard to find a good wall wart worthy of 24 volts. You normally have to look at Laptop Power Supplies like the one I linked to. And by seperating the supplies, you separate some of the electrical noise problems, and brownouts on the BS2.
If you use two supplies, just make sure you have the grounds tied together.
The Stamp BS2 also requires a power source, either a regulated source of 5V or an unregulated source of 6-9V (maybe as high as 12V, but that's not recommended because of heat dissipation issues). When you provide power to Vin (at 6-9V), the Stamp's Vdd pin can supply as much as 30-40mA at 5V for external circuitry like the Motor Mind B.
If that's all the external load you have to supply, then I'd recommend that you use a 7809 voltage regulator on a heatsink of some sort to supply +9V to the BS2's Vin input using the +24V for the motor. The BS2 will supply the +5V for the Motor Mind B's logic circuitry from its Vdd pin. You'll need a common ground (Vss) for everything with the wall wart wired to the motor, then from the motor to the rest of the circuitry (to avoid ground loops and noise from the motor getting into the rest of the circuitry). Consider putting a 0.1uF 50V ceramic capacitor across the motor windings at the motor itself to help with this.
On DC motor circuits, it is customary to put 1-3 capacitors directly at the motor to reduce the noise from the brushes entering the system.
I always use the three capacitor system.
Here is a tutorial on it:
http://www.beam-wiki.org/wiki/Reducing_Motor_Noise
Here is a picture of what I was referring to:
http://www.harbormodels.com/site08/images/instructions/noise_sup_cap.jpg
I'm not sure if Mike was referring to noise suppression or over all power supply regulation.