Interface circuit between STM32 and four-wire resistive touch screen
Source: InternetPublisher:两手空空 Keywords: Power supply other power circuits Updated: 2021/11/28
As shown in the figure below, the STM32F103F103 is directly connected to the four-wire resistive touch screen through its own I/O port to implement the touch screen controller function. Among them, PA8, PA9, PA10, and PA11 are used as the control terminals of four triodes respectively. By controlling the on and off of the triodes, the Y+, Y-, X+, and X- of the four-wire touch screen are controlled. PA1 and PA2 are two A/D conversion channels. , connecting Y+ and X+ respectively for calculating the X and Y coordinates of the touch point. The internal interrupt of the PA3 connection is used to detect whether there is a touch action on the touch screen. When the touch screen is running normally, let PA8, PA9 and PA11 output 0 and PA10=1, that is, only let VT2 be turned on. When there is a touch action, D1 is turned on to give an interrupt signal to PA3. After receiving the interrupt request, STM32F103 immediately sets PA8=1 and turns on VT1, so that voltage is added in the Y+ and Y- directions and the A/D conversion is started at the same time. Channel PA2, calculate the Y coordinate of the touch point by inputting the X+ upper voltage, and then similarly set PA8 and PA10 to 0, PA9, PA11 as 1, start the A/D conversion channel PA1, and calculate the touch point X by inputting the Y+ upper voltage. coordinate of.
- ISO113 circuit that can reduce power consumption
- INA155/INA156 is used to form a single-supply high-side current monitor for detecting load current
- Use pulse width modulation to get a precise output voltage
- Driving circuit that controls LED brightness using PWM signal
- 3~15V 10A adjustable voltage regulated power supply
- 0.7~24V continuously adjustable current limiting power supply
- Adjustable voltage regulated power supply circuit
- Solar Lead Acid Battery Charger
- Fully automatic charger for NiCd batteries with discharge function
- Multi-purpose battery constant current charger
- Analysis of various forms of packaging structures of LED light-emitting diodes
- Design of data transmission interface circuit for a car driving recorder
- Unit circuit of voltage and current control loop
- About the internal 5G28 circuit diagram of the integrated operational amplifier
- A brief discussion on the drawing skills of electrical control circuit diagrams
- Those classic analog circuits worth collecting
- ×100L161 operational amplifier
- mini stereo amplifier
- volumeter
- Underwater microphone circuit