|
ATTINY85-20SU |
x 1 | |
|
MX116 |
x 2 | |
|
SMD LED |
x 1 | |
|
4k7 SMD resistor |
x 1 |
ATTINY_RC_Stepper_servo
This is a tiny circuit that takes PWM (RC servo) inputs on pin PB0 and uses them to control stepper motor operation on pins PB1-4.
I have designed the PCB to use very inexpensive motor drivers, capable of about 0.5A drive.
Max voltage into the board should be limited to 5v (like normal RC servos).
The Code is available on Github (https://github.com/dagnall53/ATTINY_RC_Stepper_servo).
Video of operation is here https://youtu.be/CbauUchePao
Photo and video are of a slightly earlier version. This design here is an improved layout with some decoupling capacitors, and better location stencil for the stepper motor film wire location on the rear, but otherwise the circuit is the same.
There are extra motor pads so you can easily connect to the motor using long wires. I soldered mine by first tinning both the board and the film wire, then aligning the film wire on the board and carefully heating with a heat gun until the solder melted. YOU must be careful not to short the connections when you do this! Which is why there is an extra set of pads on the back to make testing for shorts easy. You should get a reading of about 18 ohms across each winding and no connection between the two windings.
When you turn on, the motors will drive to (0).
You can add a 100k resistor from PB5 to ground to switch to "analogue" mode with the standard code for testing, but I would recommend just modifying the code to use whichever version you prefer for your project.
Once programmed, using the ICP, you can break off the ICP part of the board to make a smaller PCB.
ATTINY_RC_Stepper_servo
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.

Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)

- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by R Clutterbuck
-
-
-
Modifying a Hotplate to a Reflow Solder Station
936 1 5 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
476 0 1 -
-
Nintendo 64DD Replacement Shell
407 0 2 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
1179 4 2 -
How to measure weight with Load Cell and HX711
727 0 3