Hello, I am using an Adafruit 12v DC stepper motor hat (part# 2348) to drive a 5v-12v 3-wire stepper motor (DIY DM996). Adafruit displays them in various tutorials, however the connections are always obscured. And that's precisely the problem I'm having.
With a three-wire stepper, I need to know exactly where the red, yellow/orange and brown wires go. I've tried M1, then M2, M3 and M4. Then I tried straddling M3 and M4, which actually made the motor move. This latter configuration was utterly uncontrollable, but illustrated that something might work. Has anyone made the 3-wire stepper work using the small Adafruit 2348, 5v/12v stepper motor hat work? BTW, the stepper motor works using native raspi PWM.
Adafruit stepper motor driver hat (part 2348)
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- rlbaldwin
- Posts: 3
- Joined: Tue Jan 24, 2023 6:30 pm
- adafruit_support_bill
- Posts: 88145
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit stepper motor driver hat (part 2348)
Please post a link to the motor you are using. What you describe sounds more like an RC servo motor.
- rlbaldwin
- Posts: 3
- Joined: Tue Jan 24, 2023 6:30 pm
Re: Adafruit stepper motor driver hat (part 2348)
Yes, it is commonly used to power RC devices like steering control, etc. The 996 is much like the SG90, but stronger.
Here is the datasheet: https://components101.com/motors/mg996r ... -datasheet
I've used the source code on Adafruit to run the motor, but the code doesn't have limits to specifically control movement through 0-180 degrees of rotation. I'll hunt for an alternate bit of source code for a better test.
Here is the datasheet: https://components101.com/motors/mg996r ... -datasheet
I've used the source code on Adafruit to run the motor, but the code doesn't have limits to specifically control movement through 0-180 degrees of rotation. I'll hunt for an alternate bit of source code for a better test.
- adafruit_support_bill
- Posts: 88145
- Joined: Sat Feb 07, 2009 10:11 am
Re: Adafruit stepper motor driver hat (part 2348)
What you have there is an RC servo motor. It is not a stepper motor and cannot be controlled by the DC & Stepper Motor HAT.
RC servos are controlled via PWM pulses. What you need for that motor is the PWM/Servo HAT: https://www.adafruit.com/product/2327
RC servos are controlled via PWM pulses. What you need for that motor is the PWM/Servo HAT: https://www.adafruit.com/product/2327
- rlbaldwin
- Posts: 3
- Joined: Tue Jan 24, 2023 6:30 pm
Re: Adafruit stepper motor driver hat (part 2348)
Thank you. Clearly did not understand the difference between "stepper" and "servo" motors.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/