Power Pins
- Vin - This is the power pin. It can be powered from 3-5V, so it's safe to use with 3V or 5V logic. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 3V microcontroller like a Feather RP2040, use 3V, or for a 5V microcontroller like Arduino, use 5V.
- GND - This is common ground for power and logic.
Input Pins
- FPC Connector - FPC socket for a 1mm-pitch 4-wire resistive touchscreen located at the top of the board. This reads the X/Y contacts directly from a 4-wire FPC cable.
- Y-, X-, Y+, X+ - These are the X/Y contacts available on 0.1" pitch breakouts. If you have another kind of touch screen that does not have a 1mm pitch FPC cable then you can solder directly to these points.
SPI Pins
- MOSI - This is the SPI MOSI (Microcontroller Out / Serial In) pin. It is used to send data from the microcontroller to the TSC2046.
- MISO - This is the SPI MISO (Microcontroller In / Serial Out) pin. It's used for sending data from the TSC2046 to the microcontroller.
- SCK - This is the SPI clock input pin.
- CS - This is the Chip Select pin.
- BUSY - This is the SPI Busy pin. It lets you know when the TSC2046 is still reading.
Interrupt Pin
- IRQ - This is the interrupt output pin. It will drop low when a touch is detected. You can use this to reduce the SPI polling.
ADC Pins
- Vbat - The Vbat pin can be used to measure some other voltage external to the touchscreen. You can measure voltages (inclusively) between 0V - 2*VRef.
- AUX - The AUX pin can be used to measure some other voltage external to the touchscreen. Unlike Vbat, however, the maximum voltage this pin can measure is 0V - VRef.
VRef Pin
-
VRef - The VRef pin can be used to override the "reference voltage" that the TSC2046 uses to measure other voltages. The TSC2046 has an internal reference voltage of 2.5V that by default is used when measuring temperature, Vbat, and AUX voltages. Connecting a 5V supply to the VRef pin instead will allow you to use that as the reference voltage, which will increase the accuracy of voltage reads for temperature, Vbat, and AUX; and will also increase the range of voltage reads for AUX.
However, if you connect to the VRef pin, you must connect VRef to the same voltage you connected Vin to.
Text editor powered by tinymce.