51 microcontroller control stepper motor hardware connection part

Publisher:Harmonious222Latest update time:2024-02-22 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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:

picture

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: **

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.


Reference address:51 microcontroller control stepper motor hardware connection part

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

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号