Application
applicationBrief introduction£º
The gradienter is used in such scenes as tile paving and cutting, precise drilling, woodworking cutting, wall pasting and ceiling. With the development of electronic technology, the traditional gradienter has been eliminated. Instead, Laser demarcation device is used, and the Laser demarcation device with touch function is favored by the market.
Plan introduction£º
The plan uses HS16F3211 touch chip
Realize the function of touch part; Through three touch pins, two ports are controlled to output control signals; The master control reads the touch signal through these two IOs.
Touch Laser demarcation device uses hs16f3311, which can realize 4-way touch function at most. The periphery only needs a 100N capacitor and 47nF touch capacitor of the power supply to work.
Schematic diagram of the plan£º
ample physical display£º
HS16F3211 touch MCU Pin diagram£º
HS16F3211 Touch MCU features
*42 RISC instructions, except that the jump instruction is two cycles, all instructions are single cycle.
*14 bit wide instruction, 8-bit wide data path, 5-level deep hardware stack.
*Support GOTO instruction full ROM jump and full ROM subroutine call
*2K*14 program memory
*128*8 bit EEPROM data storage area
*128*8 bit general purpose register
*Direct and indirect addressing mode
*8-bit real-time clock and counter (TMR0) with 1 programmable Prescaler
*12 bit real-time clock and counter (tp0) with 1 programmable Prescaler
*16 bit real-time clock and counter (tc0) with 1 programmable Prescaler
*3-way 8-bit PWM and BUZ controlled by TC0
*1 set of 12 bit PWM with dead band, which can be configured as 3-way 12 bit PWM
*5-channel touch key module
*Configurable port comparator resources
*Internal power on reset circuit (POR), built-in undervoltage reset (LVR)
*Power on reset timer (PWRT) and oscillator start timer (OST)
*The watchdog timer (WDT) uses an internal crystal oscillator with high reliability, which is enabled or disabled by software.
*Two sets of I/O ports can be configured with pull-up, pull-down and open drain states.
*Four working modes can be switched arbitrarily: normal mode, low-speed mode, sleep mode and green mode.
*Wake up sleep: INT/INT1 pin interrupt, IOB input state change, TC0 overflow wake-up, COMP wake-up.
*Wake up green: INT/INT1 pin interrupt, IOB input state change, TC0 overflow wake-up, COMP wake-up, TK wake-up, TP0 overflow wake-up.
*Power saving sleep mode, programmable code protection
*Optional oscillator options: internal high-speed oscillator, internal low-speed oscillator, external low-speed crystal oscillator
*8 kinds of available interrupts: TMR0 overflow interrupt, TC0 overflow interrupt, IOB port change interrupt, INT/INT1 interrupt
Applications of existing touch class£º
Applications |
Foot bath |
Water dispenser |
Gradienter |
Bath mirror |
Electric fan |
Fruit and vegetable machine |
LED light |
Panel (with digital tube) |
Tea bar machine |
PKE Bracelet |
Two button touch lamp |