当前位置:网站首页>Tb6600+stm32f407 test
Tb6600+stm32f407 test
2022-07-29 08:02:00 【BobBobBao】
connection
Adopt common cathode wiring :
- ENA-、DIR-、PUL- Pick up STM32F407 Development board GND End
- ENA+ Pick up F407 Of PE0, In the air / Ground start ( When there is PWM When you rotate , When none PWM Time lock ), Pick up 5V/3.3V stop it ( The motor is in free state , You can rotate at will )
- DIR+ Pick up F407 Of PE1, Control the rotation direction of the motor , And A+A-B+B- In combination with
- PUL+ Pick up F407 Of PE5, Output PWM wave form , The general duty cycle is 50%
- A+A-/B+B- Connect the pin of stepping motor , There is no difference between positive and negative , Positive and negative connection will only affect the direction of rotation , coordination DIR Control the direction together
- Motor power end : Pick up 24V, Pay attention to the positive pole . here GND There is no common ground with the control end , Maybe a common ground has been made inside the circuit board , There is no need to share the ground when wiring
To subdivide 、 Current setting
As shown in the figure , The two indicators are power indicator and PWM Indicator light .PWM The indicator light will flash continuously in the working state , instructions PWM Whether the signal is normal .ENA When the high level stops ,PWM The status of the indicator light is random , It may be positive 、 It could be negative .
Dial switch 1–3 Control motor subdivision ,ON representative 0,OFF representative 1. among 000 Invalid , amount to ENA High level stop , The stepping motor can rotate freely .001–111 As different subdivisions , This is used here 001, No subdivision .
Dial switch 4–6 Control the motor current , Use here 42 The rated current of stepping motor is 0.6A,000 identification 0.5A
Power Supply 、 Stepping motor waveform
Power end signal : As long as give TB6600 Access to electricity , Whether there is a control signal or not (ENA、DIR、PWM)、 Subdivision status (000–111), The signals at the power end are all one 20ms(50Hz) Waveform of . Regardless of the enabling end ENA Level state ( That is, whether the motor is locked or not ), The power supply terminal is similar to this waveform
When enabling end ENA When the high level is invalid , Stepper motor A+A-,B+B- The end signal is the same as the power end signal
When enabling end ENA Is valid ( nothing PWM Input ), Stepper motor A+A-,B+B- The terminal signal is : Power end signal +PWM( Fix ) superposition
When enabling end ENA Is valid ( nothing PWM Input ), When the stepping motor is locked , After subdividing the output PWM The signal is fixed .
When enabling end ENA Is valid ( Yes PWM Input ), After subdividing the output PWM The signal is constantly changing . The motor is in rotation
Problems occurred during debugging
The faults given by the manufacturer are summarized in the following figure
The problem I have :
The motor does not turn , And there is no holding torque . It is found that the power indicator is only at the moment of power on 、 It lights up immediately after power failure , Then it doesn't light up .
Troubleshoot problems :
- ENA Enable signal grounding , There is still no holding torque
- Motor rated current 0.5A, The minimum current has been modulated
- Check the motor wire sequence : Motor found 4 The resistance of both wires is <10Ω, The motor burned , Has been short circuited . Maybe I didn't pay attention to the driving current at first , The starting current is too large , Burn the motor , The back doesn't move no matter how it is adjusted . Everything is normal after replacing the motor .
边栏推荐
- [beauty of software engineering - column notes] 21 | architecture design: can ordinary programmers also implement complex systems?
- FLink CDC 的mysql connector中,mysql的字段是varbinary, 官方
- Some thoughts on growing into an architect
- C language interview preparation I (about understanding Department)
- [cryoelectron microscope] relion4.0 pipeline command summary (self use)
- QT connects two qslite databases and reports an error qsqlquery:: exec: database not open
- CentOS deploy PostgreSQL 13
- [freeze electron microscope] analysis of the source code of the subtomogram alignment function of relion4.0 (for self use)
- Vmstat memory consumption query
- [note] the art of research - (tell a good story and argument)
猜你喜欢
Measured waveform of boot capacitor short circuit and open circuit of buck circuit
The smallest positive number that a subset of an array cannot accumulate
Sqlmap (SQL injection automation tool)
Effective learning of medical image segmentation annotation based on noise pseudo tags and adversarial learning
Autojs微信研究:微信自动发送信息机器人最终成品(有效果演示)
10 common software architecture modes
[beauty of software engineering - column notes] 21 | architecture design: can ordinary programmers also implement complex systems?
Go 事,如何成为一个Gopher ,并在7天找到 Go 语言相关工作,第1篇
Unity - default rendering pipeline - sculpt shader
Redshift 2.6.41 for maya2018 watermark removal
随机推荐
阿里巴巴政委体系-第四章、政委建在连队上
Space shooting Lesson 17: game over (end)
Basic introduction to pod
[paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet
LANDSCAPE
How to draw an excellent architecture diagram
Autojs微信研究:微信自动发送信息机器人最终成品(有效果演示)
NLP introduction + practice: Chapter 5: using the API in pytorch to realize linear regression
技术分享| 快对讲综合调度系统
Output 1234 three digits without repetition
Operator overloading
【学术相关】为什么很多国内学者的AI的论文复现不了?
Go 事,如何成为一个Gopher ,并在7天找到 Go 语言相关工作,第1篇
207. Curriculum
postman接口测试|js脚本之阻塞休眠和非阻塞休眠
UE4 highlight official reference value
The new colleague wrote a few pieces of code, broke the system, and was blasted by the boss!
Dynamically load data
Day 014 二维数组练习
Keyboard processing in jetpack compose