iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
📖

Testing a Stepper Motor-Driven Rotating Hanging Platform

に公開

1. Overview

I needed to rotate an object 360 degrees while filming.
Since I also had to shoot the object in a tilted state, a standard turntable was unusable because the support would be visible.
I decided to create a mechanism that rotates while hanging the object from above using fishing line or similar materials.

2. Environment

3. Procedure

Connect the pins referring to the specifications below.
To set pins 9 and 10 to High, 3.3/5V is required. However, pin 4 cannot be used, so it's a bit tedious as you need to prepare a separate control power supply different from the stepping motor's power supply.
I prepared an Arduino separately, but in that case, the GND must also be connected to the stepping motor's GND.

https://strawberry-linux.com/pub/drv8825-manual.pdf

Pin No. Name I/O Function Connection
1 ~FAULT Output (OD) Fault output ----
2 ~HOME Output (OD) Home position output ----
3 DECAY Input Mode setting ----
4 3V3 Output DRV8825 3.3V regulator output ----
5 ~ENBL Input DRV8825 enable input Pulse generator ENA terminal
6 DIR Input Rotation direction setting Pulse generator DIR terminal
7 STEP Input Rotation pulse input Pulse generator PUL terminal
8 GND Power Signal and motor power ground Pulse generator GND
9 ~SLEEP Input Sleep input 3.3V/5V
10 ~RESET Input Reset input 3.3V/5V

If an H level is not applied to the ~SLEEP terminal, the 3V3 output will not be generated.
Therefore, the 3V3 voltage cannot be used to set the ~SLEEP terminal or others to High level.
Input pins are up to 5V; the motor power supply cannot be connected to them.

It worked for now.
Forward/reverse rotation worked, but for some reason the stop button did not work.
It stopped after connecting pin 5 of the driver to the enable terminal of the pulse generator.

https://youtu.be/hrRO7-BwrYY

Discussion