Motor control?
orrinbare
Posts: 32
I have a bs2 on the super carrier board. My goal is to use a bi-directional motor with a spool to lift an object. The problem is I need to get from the 5 volt output of the stamps pins and vdd to the voltage needed by the motor. My original thought was to use 2 relays. one dual pole, dual throw relay to control the direction of rotation and another relay to simply turn off and on the power to to the other relay. i have a separate power source for the motor so thats not the issue. my problem is i can't get the bs2 to throw the relay. its a 5 volt relay and when i touch the coil leads directly to the vss and vdd i can here it throw, but when i connect one end to vss and the other to a pin and program the pin high, it won't throw. my multimeter shows voltage going through, but only 1.5 to 2 volts. I read that the bs2 can't power a relay so i stopped trying, but i need a way to make this work without buying a motor controller.
an alternative solution would be to use the servos that came with my boe bot to lift the object, but i'm fairly certain they don't have the torque. i need a way to somehow lift the object using the motor or servo and basic radio shack parts. I can order online for parrallax if i have to, but i'd like to get this project finished soon.
thanks so much for any advice or input!
an alternative solution would be to use the servos that came with my boe bot to lift the object, but i'm fairly certain they don't have the torque. i need a way to somehow lift the object using the motor or servo and basic radio shack parts. I can order online for parrallax if i have to, but i'd like to get this project finished soon.
thanks so much for any advice or input!
Comments
You can also use an L293 H-bridge or its equivalent, but a relay will work fine for simple on/off and reversal.
Remember that the diodes added in the coast circuit have to handle the full current of the motor (whatever that is). The maximum current drawn by a motor can be several times the "running" current (when moving freely at full speed).
Laying this out on one of my breadboards this afternoon. Didn't have the relays, but an excellent excuse to buy a few more gadgets!! (She who dies with the most gadgets wins!) ;-)
So for so good. Haven't added the coasting diodes... not sure those would be needed with the small critter I have in mind.
Just DO IT, ajward! You'll do the right thing!
Hey, got a question for y'all. The motor is out of a small drill. its 4.8 volts. the power supply i like 7.6 or something on my meter (the power supply is rated at 6 volts, but my meter says otherwise). the power supply used to charge a set of batteries and the batteries powered the motor. The power supply will now be plugged in permanently and the relay will allow power to the motor twice a day, for about 2 seconds each. Will this small amount of use hurt the motor with 7 volts? it seems like it might, if so how can i step down the voltage? if i use a resistor to do it, that would work wouldn't it? i don't know what to do here