TOP Contributors

  1. MIKROE (2654 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136746 times)
  2. FAT32 Library (69953 times)
  3. Network Ethernet Library (55942 times)
  4. USB Device Library (46267 times)
  5. Network WiFi Library (41887 times)
  6. FT800 Library (41174 times)
  7. GSM click (28986 times)
  8. PID Library (26414 times)
  9. mikroSDK (26363 times)
  10. microSD click (25377 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

XPT2046 12-bit SAR ADC Demo

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2016-08-03

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 689 times

Not followed.

License: MIT license  

XPT2046 is a well-known resistive touch controller IC. It is based on a 12-bit SAR ADC. It can be used in differential and single-ended modes. When used in single-ended mode we can use it just like regular ADCs. This example demonstrates how to use it in single-ended mode. Four analog channels measure four different sensors.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "XPT2046 12-bit SAR ADC Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "XPT2046 12-bit SAR ADC Demo" changes.

Do you want to report abuse regarding "XPT2046 12-bit SAR ADC Demo".

  • Information
  • Comments (0)

Library Blog

XPT2046 12-bit SAR ADC Demo

XPT2046 12-bit SAR ADC Demo

Watch on YouTube
Project Setup

Project Setup

XPT2046 12-bit SAR ADC Demo

View full image
XPT2046 12-bit SAR ADC IC

XPT2046 12-bit SAR ADC IC

XPT2046 12-bit SAR ADC Demo

View full image
Schematic for 8051

Schematic for 8051

XPT2046 12-bit SAR ADC Demo

View full image
Schematic for AVR

Schematic for AVR

XPT2046 12-bit SAR ADC Demo

View full image

ALSO FROM THIS AUTHOR

Bipolar Stepper Motor Driver with L293 and AVR

0

Bipolar Stepper Motor Driver with L293 and AVR.

[Learn More]

ATMega8A and PIC16F886 Chatting Over HC-12 RF Link

0

ATMega8A and PIC16F886 exchanging info over HC-12 RF link after setting up the RF module. The code for AVR is written with MikroC for AVR and the code for the PIC is written with CCS PIC C compiler.

[Learn More]

DM8BA10 TM1622 16-Segment COG Display Demo

1

DM8BA10 is a TM1622 16-Segment COG LCD available in AliExpress, Amazon and other online platforms. COG displays are usually cheaper compared to GLCDs, OLEDs and other forms of displays but they lack documentation and sample code. Here I demoed a DM8BA10 COG display using an ATMega8A and DHT11 relative humidity-temperature sensor.

[Learn More]