0
\$\begingroup\$

So I am doing a project for school that involves making a sort of car-thing with a Raspberry Pi, getting the idea from projects.raspberrypi.org.

I wasn't able to order the suggested pieces online, so I went to my local hobby shop and bought a bunch of things that seemed similar. (I don't know what I'm doing. At all.) I have a Uln2003 stepper motor driver that came with the "Kuongshun Power Supply Learning Kit" that I bought and some regular motors. Not stepper motors, but like normal motors. I don't know if they're brushless or brushed, I don't know what that means. I have two of them. The kit they came in says they're made for 3 volts, so 2 AA batteries. I think they might be able to handle 4 AA batteries, but I don't want to test because I don't want to burn out the motors.

My question is this: Can I use the stepper motor driver to control the two regular motors? I want to control the direction the motors move in so that I can make the car turn. Do I need an Arduino to make this happen?

\$\endgroup\$
  • \$\begingroup\$ You better learn more before you try anything. Start with Ohm's Law and V/DC coil reistance, then impedance of an Inductor like the motor winding then the commutation frequency then Torque vs current and conductions losses Pd=I^2R and where they exist. Then RPM vs Voltage no load \$\endgroup\$ – Sunnyskyguy EE75 Feb 24 at 16:42
  • \$\begingroup\$ That ULN2003 driver is a poor choice for such low-voltage motors. It would likely overheat, and consume a significant portion of your battery voltage, leaving less for your motors. \$\endgroup\$ – glen_geek Feb 24 at 16:51
  • \$\begingroup\$ Without even a picture it is impossible to know what you have, but those sounds like cheap brushed motors. A unipolar stepper chip could only drive them in one direction. You need an FET H-bridge, possibly a TB6612FNG or something from the DRV series. Do not buy a lossy L293 or L298. If the motors draw higher currents than IC bridges allow you may want cheap RC brushed esc's with discrete FET bridges in them. \$\endgroup\$ – Chris Stratton Feb 24 at 16:59
  • \$\begingroup\$ Further, incompletely thought through publications aside, a pi is a poor choice for a basic mobile robot as it is power hungry and requires orderly shutdown before power is removed. Such things generally are better driven by flash based MCUs, such as the various Arduinos, super-Arduinos and their more industrial bare metal counterparts. \$\endgroup\$ – Chris Stratton Feb 24 at 17:08
  • \$\begingroup\$ A RasPi's power consumption can be lowered lots (a PI zero down to 80mA) and orderly shutdown is required to not damage the SD-card which risk can also greatly reduced by using a (more expensive,) faster SD-card. \$\endgroup\$ – Huisman Feb 24 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.