①Configure generic_processorConfigBits.h to use the internal crystal oscillator, etc.
There are two places that need to be modified: mTouch_config.h:
②This is the modification channel.
③Modify the touch sensitivity. The smaller the value, the greater the sensitivity.
④ Read the touch value in the main function main.c. The CAP_DATA value here is probably 1 or 2.
Using PIC's touch library for touch processing, the effect is very good.
Things you need:
1. Electronic materials: MCU: 51 core (AT89CXX, STC89CXX), AVR (ATMEGE8, ATMEGE16, ATMEG48), PIC (PIC16F877, PIC16F1827), ARM (STM32, S3C2440), GASIA (GA452P16, GA452P26); resistor (0.01Ω-100MΩ), capacitor (5PF-0.1F), Diodes (IN4001-4007, SS14, 5819), transistors (8050, 8550, 9013, 9014, 3904,), MOS tubes (2301, 2302, 7002, 5802, TIP122), relays (single-pole relays, double-pole relays, single-pole double-throw, single-pole triple-throw), operational amplifiers (258, 358, 324, 339, OP07, 386, TDA2030), EEPROM (24 C01, 24C02-24C516), digital IC (4017, 4011, 40110, 555, 7555, 4511, 595,), voltage regulator (317, 7805, 7809, 78L05, 7555, 1117, 1.8V-36V voltage regulator), buzzer (buzzer, buzzer), sensor (ultrasonic transceiver, infrared receiver 1838, photodiode, phototransistor, pyroelectric, thermistor PT100, Thermistor PT1K, thermocouple CU50, temperature 18B20, temperature LM35), clock (DS1302, DS1887, PCF8563), wired (high voltage 485), wireless (433 module, RC500, 2.4G), LCD driver HT1621B, touch IC, font IC, LCD (segment LCD, 1602, 12864, TFT), dot matrix (8*8, 16*16, two-color dot matrix, three-color dot matrix RGB).
Previous article:PIC18f lights up LED
Next article:Solution to the large array RAM allocation error of PIC microcontroller
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- MSP430 timer is set to 1S
- Wi-Fi in 2025: It might be watching your every move
- Please tell me about low noise broadband op amp
- Keil development environment construction
- MSP430 MCU GPIO Demonstration Program
- Which teacher would like to talk about CPL?
- Live review: Infineon BMS solutions protect electric vehicles and energy storage systems!
- How does MSP430FR6972 achieve the lowest power consumption for LCD driving?
- There is no impetuous advertising here. I like this forum.
- Download and get a gift | ADI "New Concept Analog Circuits" all five volumes