Toggle switch state detection circuit, method and device

A toggle switch, state detection technology, applied in the field of electronics, can solve the problem of occupying chip hardware resources and so on

Active Publication Date: 2019-06-25
SICHUAN HONGMEI INTELLIGENT TECH CO LTD
View PDF9 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this way, when the number of toggle switches is large, more I / O ports need to be set, which will occupy a large amount of chip hardware resources

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
  • Toggle switch state detection circuit, method and device
  • Toggle switch state detection circuit, method and device
  • Toggle switch state detection circuit, method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. range.

[0051] Such as figure 1 As shown, the embodiment of the present invention provides a toggle switch state detection circuit, which may include: a first number of toggle switch groups including at least one toggle switch 101, the first number of output ports 102, and Two numbers of detection ports 103, a diode 104 corresponding to each togg...

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 present invention provides a toggle switch state detection circuit, method and device. The circuit comprises: toggle switch sets with a first quantity, output ports with a first quantity, detection ports with a second quantity, pull-up resistors with a second quantity, and diodes corresponding to the toggle switches. The second quantity is the maximum toggle switching number of the toggle switch sets; one end of each pull-up resistor is connected with a first voltage, and the other end of each pull-up resistor is connected with each detection port; one end of each toggle switch is connected with the detection port, and the other end of each toggle switch is connected with the positive pole of the corresponding diode; the detection ports connected with different toggle switches in the same set are different; the negative pole of each diode is connected with one output port; when the toggle switches corresponding to two diodes belong to the same set, the output ports connected with the toggle switches are the same, or else, the output ports connected with the toggle switches are different; and the on-off state of the line connected with any one output port is controllable. Basedon the on-off control of the line connected with each output port, the switching state of each toggle switch is determined according to the level at each detection port. Therefore, the scheme can reduce the arrangement number of the I/O ports.

Description

Technical field [0001] The present invention relates to the field of electronic technology, in particular to a toggle switch state detection circuit, method and device. Background technique [0002] There are various types of existing toggle switch state detection circuits. [0003] At present, it is commonly used that a single switch is connected to a single I / O (input / output) port in switch detection. [0004] In this way, when the number of toggle switches is large, more I / O ports need to be set, which will occupy a lot of chip hardware resources. Summary of the invention [0005] The invention provides a toggle switch state detection circuit, method and device, which can reduce the number of I / O ports. [0006] In order to achieve the above objectives, the present invention is achieved through the following technical solutions: [0007] In the first aspect, the present invention provides a toggle switch state detection circuit, including: [0008] A first number of toggle switch gro...

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 Applications(China)
IPC IPC(8): G01R31/327
Inventor 周广飞刘启武操四胜赵寰王映娟赵勇
Owner SICHUAN HONGMEI INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products