1. Summary: This case explains the hardware connection part of the stepper motor controlled by the 51 microcontroller. Later, we will explain the microcontroller program, S-curve acceleration and deceleration method, host computer and other related content.
2. Functional schematic diagram:
2.1, 51 microcontroller:
① Output pulses to the PUL port of the TB6600 driver to control the rotation of the stepper motor
②Control the TB6600 driver ENA port to control the stepper motor enable
③Control the DIR port of the TB6600 driver to control the rotation direction of the stepper motor
2.2. Stepper motor:
①Provide mechanical power
2.3. Stabilized power supply:
① Provide power to the stepper motor
2.4. TB6600 driver:
①Special driver for two-phase four-wire stepper motor
3. Physical picture:
** ①**, one 51**** microcontroller control board
** ②**, one two-phase four-wire stepper motor
** ③** , a regulated power supply
** ④**, one TB6600**** stepper motor driver
** Completed connection picture: **
**Hardware connection diagram description:**
①The 51 microcontroller control board and the TB6600 stepper motor driver adopt a common anode connection (the ENA+, DIR+, and PUL+ of the TB6600 driver are connected to the VCC of the microcontroller);
②The P0.0 port of the 51 microcontroller controls ENA-. When P0.0 is at a high potential, the stepper motor is powered off and the stepper motor is in a free state and can be rotated by hand; when P0.0 is at a low potential, the stepper motor is powered on. According to The input pulse signal will rotate, and it will be in a self-locking state when there is no pulse signal;
The P0.1 port of the microcontroller controls DIR-, and the high potential and low position of P0.1 correspond to the forward and reverse rotation of the stepper motor respectively;
** ③** The P0.2 port of the microcontroller controls PUL-. A pulse is formed by switching the high and low potential of the P0.2 port. The TB6600 driver receives a pulse and the stepper motor rotates one step.
Previous article:51 microcontroller controls stepper motor-make the motor rotate
Next article:Hardware circuit design for water level control in water supply system using 8051 microcontroller
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [Recommended] Quartus II usage, programming and download tutorial---professional and super detailed tutorial suitable for beginners
- Brief Analysis of Wireless Power Knowledge
- AC is connected to the RS485 line? I still can't find the reason?
- Firmware download method
- Live FAQ: Wireless technology changes smart life
- Today at 10:00 AM, live broadcast with prizes: TI MSP430 low-power analog peripherals help home portable healthcare products
- Play with AT32F437 (4) --- Using SPI transmission as an example to explore the internal flash performance
- [Mil MYC-JX8MPQ review] + QT calls OpenCV library for testing
- [AT-START-F403A Review] Part 5: On-chip Flash routine test
- How is 0-10V generally implemented in multi-channel 0-10V dimming modules in smart lighting?