Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for driving LEDs and acquiring key information

A technology of LED driving and keys, applied in lighting devices, electric lamp circuit layout, input/output of user/computer interaction, etc., can solve the problem of too many input/output ports of microcontroller and insufficient allocation of input/output ports of microcontroller , Insufficient input/output ports, etc.

Inactive Publication Date: 2014-04-16
SHENZHEN H&T INTELLIGENT CONTROL
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods in the prior art have more input / output ports of the microcontroller, and more resources of the microcontroller. In the case where the input / output ports of the microcontroller are less or buttons and LEDs are more situation, it may cause insufficient allocation of input / output ports of the microcontroller
With the development of technology, many microcontrollers are now equipped with input / output ports with analog-to-digital conversion functions, which can be used to improve the existing technology. Causes problems with not enough input / output ports in microcontrollers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device and method for driving LEDs and acquiring key information
  • Device and method for driving LEDs and acquiring key information
  • Device and method for driving LEDs and acquiring key information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0028] Such as figure 1 As shown, in the first embodiment of the device and method for driving LEDs and obtaining key information according to the present invention, the device includes a central controller (not shown in the figure), and the central controller includes a plurality of input / output ports ( I / O port), a plurality of LEDs and buttons connected to the input / output port, the input / output port includes a dynamic input / output port ( figure 1 Terminal 3 and Terminal 4) and general-purpose input / output ports ( figure 1 terminal 1, terminal 2 and terminal 5), the buttons are respectively connected between the dynamic input / output port and the general input / output port through serial resistors with different resistance values, and the LED is connected to the dynamic input Between the / output port and the general-purpose input / output port; the dyna...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a device for driving LEDs and acquiring key information, which comprises a central controller; the central controller comprises a plurality of input / output ports, a plurality of LEDs and a plurality of keys; the input / output ports comprise dynamic input / output ports and universal input / output ports; the keys are respectively connected between the dynamic input / output ports and the universal input / output ports through series resistors with different resistances; the LEDs are connected between the dynamic input / output ports and the universal input / output ports; and the dynamic input / output ports are set to be analog and digit input ports when the device acquires the key information, and are set to be output ports when the device drives the LEDs. The invention also relates to a method for driving the LEDs and acquiring the key information. The device and the method for driving the LEDs and acquiring the key information have the advantages that more key information is acquired and more LEDs are driven through fewer ports.

Description

technical field [0001] The invention relates to the field of household appliances control, more specifically, to a device and method for driving LEDs and obtaining key information. Background technique [0002] Generally, in the control of household appliances, a large number of microcontrollers are used to control their functions and displays. These control circuits usually include buttons and LEDs (light emitting diodes) for displaying the working status of the household appliances. In the prior art, usually these light-emitting diodes are connected on the input / output ports of the microcontroller, and the keys are generally also respectively connected on the input / output ports of different microcontrollers or utilize multiple input / output ports to connect these The keys form a key matrix. However, these methods in the prior art have more input / output ports of the microcontroller, and more resources of the microcontroller. In the case where the input / output ports of the m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/02H05B37/02
Inventor 汪显方首召兵秦宏武冯磊杨小宝刘建伟龙逸
Owner SHENZHEN H&T INTELLIGENT CONTROL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products