The board is a motor driver board, with a reset button, a Boot button, a user button, two power indicators (motor drive power and chip power respectively), two user LEDs and a TB6612 motor driver chip, and leads to It removes unused chip pins and provides serial port programming and J-link programming ports. The program implementation mainly uses the GPT timer to output the PWM wave, and uses the ADC function of the P000 pin to collect the voltage on the rotating potentiometer. According to the collected voltage, the duty cycle of the PWM wave is changed to realize the control of the motor or fan. Speed regulation, of course, you can also configure the high and low levels of P012 and P013 to realize the forward and reverse rotation of the motor. When writing the program, I found that the external 48MHz crystal oscillator is not needed, because the external crystal oscillator of the chip requires the highest bit of 24MHz, and the chip can generate 48MHz by itself. When high-precision RTC is required, the external 32.768KHz crystal oscillator needs to be welded. This project does not require Requires RTC, so no soldering.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet