Application scheme of touch chip for desk lamp
Application Description:
1. Simple application circuit, few components, easy processing, and low cost;
2. Choose YS65F805 as the main control chip, which can achieve various logic switch controls through touch;
3. The brightness of the lights can be adjusted as needed, with a wide selection range, simple operation, and convenient practicality.
Scheme features:
1. The application circuit is simple, with few peripheral components and easy processing;
2. Touch sensitivity can be adjusted through external capacitors;
3. Up to four touch buttons can be used to achieve multiple light control modes;
4. SOT23-6, SOP8, DNF8 and other small packages;
5. Wide application voltage range, freely choose between 2.5~5.5V;
6. The brightness of the lights can be adjusted as needed, with a wide selection range and simple and convenient operation;
7. Touch function can be achieved with medium (such as glass, acrylic, plastic, ceramic) isolation protection, with high safety;
8. Good resistance to power interference and mobile phone interference, with EFT reaching ± 5KV or above; Under close range and multi angle mobile phone interference, touch response sensitivity and reliability are not affected.
Characteristics of the main control chip YS65F805
ROM: 2K*14Bit
CS SRAM: 32 Byte
SRAM:128 Byte
Working temperature: -40 ° C~+85 ° C;
Working voltage range: 2.5V~5.5V;
I/O: 6 I/O with independent directional control;
Standby current: When the voltage is 2.5V, the typical value is 500nA;
PWM module: 2-channel 10 bit resolution PWM module;
Watchdog timer current: When the voltage is 2.5V, the typical value is 1uA with touch channel scanning current: When the operating voltage is 3V, the typical value is 4uA
Timer:
Timer0: 8-bit timer/counter with 8-bit programmable prescaler Enhanced Timer1: 16 bit timer/counter with prescaler;
Working current: When the frequency is 8MHz and the voltage is 2.5V, the typical value is 500uA. Interrupt sources: Timer0, Timer1 interrupts, PA level change interrupts, touch interrupts;
Implement online serial programming and debugging through three pins (PA0, PA1, PA3);
Touch Channel: 5-channel Touch Key, supports up to 4 channels simultaneously, and can adjust the touch sensitivity of each channel through software


