# Stepper Motor Hat for Pi (Problems)

**URL:** <https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772>\
**Category:** Uncategorized\
**Created:** [31 January 2025 09:23 UTC](https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772 "2025-01-31T09:23:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trafford287928](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@Trafford287928](https://forum.core-electronics.com.au/u/Trafford287928)\
**Post date:** [31 January 2025 09:23 UTC](https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772/1 "2025-01-31T09:23:13Z")

</div>

Hello, I just recently bought a stepper motor hat for my rpi 5. I am having an error where none of my motors are spinning even though i have followed exactly what is shown in the youtube video. I also do have 9v external power supply.

I am not sure if this is normal or not but whenever i run the code for either the stepper or the dc, the power light turns off and i hear a very high pitched buzz.

If anyone could help that would be awsome.

Thank you so much!

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [31 January 2025 09:37 UTC](https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772/2 "2025-01-31T09:37:05Z")

</div>

Hi Trafford  
I think a bit more info would be good. For instance more detail re your stepper hat. Just what is the 9V supply and what is the current capability of that supply.

> [@Trafford287928](#):
>
> whenever i run the code for either the stepper or the dc, the power light turns off and i hear a very high pitched buzz.

Sounds like the 9V battery or whatever is not up to it. Running out of grunt as the saying goes like not being able to supply the current the stepper requires.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [1 February 2025 21:03 UTC](https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772/3 "2025-02-01T21:03:02Z")

</div>

> [@Trafford287928](#):
>
> i have followed exactly what is shown in the youtube video.

Not all youtube videos work in all situations, it is full of stuff that is old and really does not work. Then there are some good helpful ones too.

As @Robert93820 said more information is needed, bit hard to provide advise when we don’t know what you have. In my experience Stepper motors can take a lot of current and setting up can be a pain if you get it wrong, but when they work they are great.

Cheers  
Jim

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [2 February 2025 04:09 UTC](https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772/4 "2025-02-02T04:09:40Z")

</div>

> [@Trafford287928](#):
>
> i hear a very high pitched buzz.

A buzzing from the motor often indicates that the wiring to the motor is incorrect. You can’t assume that the wiring colour in the video is correct, even when your motor is the same - you must check the continuity to find the pairs.

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [3 February 2025 04:35 UTC](https://forum.core-electronics.com.au/t/stepper-motor-hat-for-pi-problems/21772/5 "2025-02-03T04:35:06Z")

</div>

Hi @Trafford287928

Welcome to the forum!

Are you able to post an image of your setup, as well as provide more information as to the hat that you’re using?
