This project is used to verify the module design of the Lichuang Mall analog switch chip 74HC4052.
All pins are lead out, and some redundant pin headers are added for plugging jumper caps.
You can use a jumper cap to short-circuit H3's E and GND to enable the analog switch. When a negative power supply is not needed, short-circuit GND and VEE with a jumper cap.
A0 and A1 are strobe input pins, I_A and I_B are the input pins of the analog switch, and O_A and O_B are the analog switch output pins.
This module is designed to be used to control 4 stepper motor drive modules with a microcontroller without using EN or without EN. A simple test with a multimeter works fine, the actual usage needs to be supplemented.
The test uses stm32f103vet6 to control the stepper motor driver through the analog switch to drive the stepper motor. The analog switch VEE and GND are short-circuited. The driver model is BL-210. The input is with optocoupler isolation and common anode connection. The output control signal of the microcontroller flips the level every 700us, which is approximately 714hz.
The output high level of stm32 is 3.3v. When the power supply voltage of the analog switch module is 3.3v, the high level received by the driver is 2.75v, which can drive the motor normally. The on-resistance of the analog switch is about 160 ohms; the analog switch module supplies power When the voltage is 5v, the high level received by the driver is 2.8v, and the motor can be driven normally. The analog switch on-resistance is about 83 ohms.
See the attachment for the analog switch control program using stm32f103rct6.
Program function: Switch the outputs A1 B1 to A4 B4 in turn, use a multimeter to measure the voltage of A1 B1 to A4 B4 to ground. You should be able to read an increase of 500ms, a decrease of 500ms, and then switch to the next output.
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