CN1719355A - Method of single chip computer using marker position change for multi control modes and peripheral structure - Google Patents

Method of single chip computer using marker position change for multi control modes and peripheral structure Download PDF

Info

Publication number
CN1719355A
CN1719355A CN 200510050881 CN200510050881A CN1719355A CN 1719355 A CN1719355 A CN 1719355A CN 200510050881 CN200510050881 CN 200510050881 CN 200510050881 A CN200510050881 A CN 200510050881A CN 1719355 A CN1719355 A CN 1719355A
Authority
CN
China
Prior art keywords
peripheral structure
control modes
chip microcomputer
ground connection
unsettled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510050881
Other languages
Chinese (zh)
Inventor
谭启仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200510050881 priority Critical patent/CN1719355A/en
Publication of CN1719355A publication Critical patent/CN1719355A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The present invention discloses a method for differentiating several control modes by utilizing single-chip computer to adopt flag bit and its peripheral structure, belonging to the application of single-chip computer technology in control field. It includes flag bit and peripheral structure. It is characterized by that I/O port of single-chip computer is connected with flag bit, and said flag bit is formed from a group of sensitive switches. The peripheral structure of the single-chip computer includes key switch assembly, sensor assembly, execution circuit input end assembly and display circuit assembly.

Description

Single-chip microcomputer adopts the method and the peripheral structure of marker position change for multi control modes
Technical field the invention belongs to the application of singlechip technology in the control field.
Before background technology the invention applying date, the singlechip chip that is used for the similar applications electrical equipment control of family expenses adopts man-to-man control mode, it is a kind of control mode of the corresponding a kind of electrical equipment of a kind of chip, its drawback is the production that makes full use of and intensify that is unfavorable for mcu resource, needs the different control modes Software Secondary Development simultaneously.Owing to do not establish zone bit, the singlechip chip that can not realize integrating multiple control modes is that the different control modes of different electrical equipment is selected for use.
The purpose of summary of the invention the invention just provides method and the peripheral structure that a kind of single-chip microcomputer adopts marker position change for multi control modes.
The invention solves the technical scheme that its technical matters adopts: the I/O port of single-chip microcomputer is connected with zone bit, and zone bit is made up of one group of microswitch, and zone bit ground connection and unsettled various combination can be selected different control modes; The peripheral structure of single-chip microcomputer comprises the keyswitch set, set of sensors, the set of executive circuit input end and display circuit set.Zone bit is made up of microswitch set, and the one end is connected with the single-chip processor i/o port, other end common ground, and the various combination formation of its unsettled and ground connection is in order to distinguish the sign of different control fractions.Comprise in the SCM peripheral structure and can gather with the different buttons that touch that the I/O input port connects, the method that is connected with one-chip machine port is that the one end is connected with the single-chip processor i/o port, and be connected with positive source by resistance, other end ground connection is pressed key class and quantity and is determined by the various combination of the unsettled and ground connection of unlike signal.Comprise the different sensors set that is connected with the I/O input port in the SCM peripheral structure, the sensor kind is determined by the various combination of the unsettled and ground connection of unlike signal position.Comprise the different display set that the I/O output port connects in the SCM peripheral structure, comprise that liquid crystal display, charactron show, the photoelectric tube demonstration also comprises dynamic demonstration, its kind is determined by the various combination of the unsettled and ground connection of unlike signal position.Comprise in the peripheral structure and can gather that comprise switching tube and relay, its kind and quantity are determined by the various combination of the unsettled and ground connection of unlike signal position with the different switch executive circuits that the I/O output port connects.The single-chip microcomputer internal memory comprises the subroutine set of a master routine and one group of different control modes, and subroutine is determined according to the various combination of the unsettled and ground connection of unlike signal position by master routine.
The beneficial effect of the invention is: the zone bit combination that master routine is provided with by the single-chip processor i/o port in the invention singlechip chip, be stored in the various control subroutine of single-chip microcomputer in order to difference, and help the resource sharing of multiple program.The method that the invention relates to can adopt for all kinds of family expenses and similar applications electrical equipment control chip.
Description of drawings Fig. 1 is the circuit structure block diagram of the invention.
Fig. 2 is the embodiment electrical schematic diagram of the invention.
Embodiment is consulted Fig. 1.(1) is singlechip chip among the figure, and wherein A is that different subroutine set (2) are gathered for touching button for master routine B, and (3) are set of sensors, and (4) are the display mode set, and (5) are the set of switch executive circuit.
Consult Fig. 2.The invention is suitable for all kinds of singlechip chips, and embodiment selects the 8-bit microcontroller PIC16C67 of U.S. MICROCHIP company for use.Touching of being connected with the single-chip processor i/o input end among the embodiment connects keyset and closes and comprise start key K 1, closing key K 2, clock setting key K 3, K 4, night letter is provided with key K 5, temperature setting key K 6, K 7, high wind key K 8, weak wind key K 9Sterilizing-drying time key K 10K wherein 1, K 2Be the commons key; K 3, K 4, K 5, K 6, K 7Be electric heater operating key, K 8, K 9Be range hood operating key, K 10Be the disinfection cabinet operating key.The set of sensors that is connected with the I/O input end comprises temperature sensor T 1, smoke transducer T 2, pressure transducer T 3, T wherein 1, T 3The electric supply water heater uses, T 2Use for range hood.The display set that is connected with the single-chip processor i/o output terminal comprises liquid crystal display L 1, charactron shows L 2, photoelectric tube shows L 3The executive circuit set that is connected with the single-chip processor i/o output terminal comprises electrical equipment live wire control circuit GJ 1, GJ 2, zero line control circuit GJ 3, electric supply water heater, range hood, disinfection cabinet use.The invention zone bit is made up of the set of 1-N position microswitch.One end is connected with the single-chip processor i/o port, other end ground connection, and definition I/O=0 was defined as I/O=1 when it was unsettled during ground connection.000,001,010,011,100,101,110,111 8 kind of various combination the present embodiment microswitch is defined as N=3, and its ground connection and unsettled various combination have:, be defined as the different peripheral structures of electric heater, range hood, disinfection cabinet respectively.Detect the unlike signal bit pattern by the master routine P that is stored in storage in the singlechip chip and determined subroutine P 0-P 7In a kind of control mode work.The method that the invention relates to can adopt for all kinds of family expenses and similar applications electrical equipment control chip.Present embodiment relates to the change peripheral structure can realize that specific electrical equipment uses.Present embodiment relates to the control mode and the peripheral structure of electric heater, range hood and disinfection cabinet.

Claims (7)

1, a kind of single-chip microcomputer adopts the method and the peripheral structure of marker position change for multi control modes, the I/O port that it is characterized in that single-chip microcomputer is connected with zone bit, zone bit is made up of one group of microswitch, and zone bit ground connection and unsettled various combination can be selected different control modes; The peripheral structure of single-chip microcomputer comprises the keyswitch set, set of sensors, the set of executive circuit input end and display circuit set.
2, a kind of single-chip microcomputer according to claim 1 adopts the method and the peripheral structure of marker position change for multi control modes, it is characterized in that zone bit is made up of microswitch set, the one end is connected with the single-chip processor i/o port, other end common ground, the various combination of its unsettled and ground connection constitutes in order to distinguish the sign of different control fractions.
3, a kind of single-chip microcomputer according to claim 1 adopts the method and the peripheral structure of marker position change for multi control modes, it is characterized in that comprising in the SCM peripheral structure and can gather with the different buttons that touch that the I/O input port connects, the method that is connected with one-chip machine port is that the one end is connected with the single-chip processor i/o port, and be connected with positive source by resistance, other end ground connection is pressed key class and quantity and is determined by the various combination of the unsettled and ground connection of unlike signal.
4 a kind of single-chip microcomputers according to claim 1 adopt the method and the peripheral structure of marker position change for multi control modes, it is characterized in that comprising in the SCM peripheral structure different sensors set that is connected with the I/O input port, the sensor kind is determined by the various combination of the unsettled and ground connection of unlike signal position.
5, a kind of single-chip microcomputer according to claim 1 adopts the method and the peripheral structure of marker position change for multi control modes, it is characterized in that comprising in the SCM peripheral structure the different displays set of I/O output port connection, comprise that liquid crystal display, charactron show, the photoelectric tube demonstration also comprises dynamic demonstration, its kind is determined by the various combination of the unsettled and ground connection of unlike signal position.
6, a kind of single-chip microcomputer according to claim 1 adopts the method and the peripheral structure of marker position change for multi control modes, it is characterized in that comprising in the peripheral structure and can gather with the different switch executive circuits that the I/O output port connects, comprise switching tube and relay, its kind and quantity are determined by the various combination of the unsettled and ground connection of unlike signal position.
7, a kind of single-chip microcomputer according to claim 1 adopts the method and the peripheral structure of marker position change for multi control modes, it is characterized in that the single-chip microcomputer internal memory comprises the subroutine set of a master routine and one group of different control modes, subroutine is determined according to the various combination of the unsettled and ground connection of unlike signal position by master routine.
CN 200510050881 2005-07-28 2005-07-28 Method of single chip computer using marker position change for multi control modes and peripheral structure Pending CN1719355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510050881 CN1719355A (en) 2005-07-28 2005-07-28 Method of single chip computer using marker position change for multi control modes and peripheral structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510050881 CN1719355A (en) 2005-07-28 2005-07-28 Method of single chip computer using marker position change for multi control modes and peripheral structure

Publications (1)

Publication Number Publication Date
CN1719355A true CN1719355A (en) 2006-01-11

Family

ID=35931210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510050881 Pending CN1719355A (en) 2005-07-28 2005-07-28 Method of single chip computer using marker position change for multi control modes and peripheral structure

Country Status (1)

Country Link
CN (1) CN1719355A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108877188A (en) * 2018-05-17 2018-11-23 济南诚博信息科技有限公司 A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device
CN114809171A (en) * 2022-03-11 2022-07-29 上海华兴数字科技有限公司 Excavator control method and device and excavator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108877188A (en) * 2018-05-17 2018-11-23 济南诚博信息科技有限公司 A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device
CN114809171A (en) * 2022-03-11 2022-07-29 上海华兴数字科技有限公司 Excavator control method and device and excavator
WO2023169109A1 (en) * 2022-03-11 2023-09-14 上海华兴数字科技有限公司 Excavator control method and apparatus, and excavator

Similar Documents

Publication Publication Date Title
CN102609072B (en) The method that response button triggers and the portable set that adopts the method
CN102806853A (en) Vehicular digital instrument system with monitoring, parameter-setting and alarm functions
CN103913699A (en) Circuit, system and method for testing main board keyboard interface
CN201926245U (en) Refrigerator with function of power consumption real-time display
CN203786262U (en) Mainboard keyboard interface test circuit and system
CN1719355A (en) Method of single chip computer using marker position change for multi control modes and peripheral structure
CN201477389U (en) Electronic clock with thermometer
CN2847341Y (en) Peripheral structure of monolithic processor using mark position to separate multiple control modes
CN1731300A (en) Method for distinguishing multiple control modes by using double-flag in SCM and peripheral structure
CN103968965A (en) Temperature upper and lower limit alarm
CN2840442Y (en) Flag bit specification multi-control mode voltage limiting one-chip machine all-insulated chip
CN1741337A (en) Flag bit specification multi-control mode voltage limiting 1+1 one-chip processor electric insulated chip
CN203848940U (en) Temperature top and bottom limitation alarm
CN2840446Y (en) Flag bit specification multi-control mode current limiting one-chip machine all-insulated chip
CN205177385U (en) LED writes screen based on singlechip
CN2840447Y (en) Flag bit specification multi-control mode current-limiting one-chip machine all-insulated chip
CN2865095Y (en) Voltage limited 1+1 SCM electricity-proof chip differentiating multiple control methods in mark position
CN203084508U (en) A full-automatic sawing machine embedded human-computer interface
CN209432965U (en) A kind of test device of capacitance type touch key
CN1858951A (en) Voltage limiting type monotichic computer shock-proof chip of marking position division multiple control
CN203149761U (en) Singlechip-based fire alarm control system
CN202886924U (en) Miniature PLC controller
CN201322732Y (en) Chinese online dissolved oxygen instrument
CN203490882U (en) Intelligent instrument experiment teaching system
CN201527776U (en) Digital OLED display brightness control circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication