11/14/2023 0 Comments Microstepping stepper motor arduino#define GEAR_RATIO DRIVEN_GEAR/DRIVE_GEAR The Motor Control Softwareįirst of all, put the attention to the settings.h header file. One of these is stop-motion videos with tilt and pan movements during a precise time range.įor this reason, I decided to approach the software design creating a general-purpose Arduino application easy to port on other platforms, like Raspberry PI and BeagleBone Black or other embedded Linux platforms. This project has been studied for a series of hardware and software upgrades I am developing with a friend (another crazy maker) for some performer machines ( )Īfter designing the hardware and mechanics I saw that the time-based motion was a good solution for some other applications. Additionally, an emergency button will stop the motor activity at any moment. Parameters are changed by the user with a potentiometer. The user interaction and setting of the system is based on an alphanumeric 16×2 LCD display and three buttons to control a simple display menu. To make the system flexible the circular path is limited by two switches that can be positioned at any angle. The microcontroller used to make this project is an Arduino MEGA 2560 ( ) and a custom shield including all the motor connectors. The software, including the STL files used to make the prototype is available on GitHub: Hardware This is a motor controller supporting a configurable range of micro steps. ( see the micro-stepping PDF document for details) This means I can increase the resolution, and improve the precision, without improving mechanics. To avoid a complex gearing design, I chose a micro-step controller. To travel 1 DEG we need 4 steps, corresponding to We can use two gears with 4:1 ratio to reach our goal: every time the motor shaft makes a complete rotation the gauge rotates 90 DEG: 200 STEPS to complete the angular path in one minute.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |