CN105551353A - Multifunctional controller - Google Patents

Multifunctional controller Download PDF

Info

Publication number
CN105551353A
CN105551353A CN201610107056.6A CN201610107056A CN105551353A CN 105551353 A CN105551353 A CN 105551353A CN 201610107056 A CN201610107056 A CN 201610107056A CN 105551353 A CN105551353 A CN 105551353A
Authority
CN
China
Prior art keywords
module
chip microcomputer
relay
multifunctional controller
alarm
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
CN201610107056.6A
Other languages
Chinese (zh)
Inventor
尹晶
崔艳群
刘春艳
张晶
张立东
Original Assignee
尹晶
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 尹晶 filed Critical 尹晶
Priority to CN201610107056.6A priority Critical patent/CN105551353A/en
Publication of CN105551353A publication Critical patent/CN105551353A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B23/00Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes
    • G09B23/06Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics
    • G09B23/18Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism
    • G09B23/183Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits
    • G09B23/186Models for scientific, medical, or mathematical purposes, e.g. full-sized devices for demonstration purposes for physics for electricity or magnetism for circuits for digital electronics; for computers, e.g. microprocessors

Abstract

The invention provides a multifunctional controller based on a single-chip microcomputer dsPIC33EP512MC806. The multifunctional controller is provided with 19 on-off inputs, 6 analog inputs, 5 counter inputs, 18 on-off outputs and 6 PWM outputs and provided with LINKPORTs, RS232 and 485 communication interfaces through which the multifunctional controller can communicate with an upper computer and can be in cascade connection with a lower computer. The multifunctional controller further has the advantages of chip protection, signal isolation, interference resistance, miniaturization, high reliability, low cost, simple software programming and rapid grasping. The multifunctional controller can be used for automatic smoke alarming of indoor space such as residents, hotels and offices, and can automatically control room temperature and give out anti-theft alarms and remotely and wirelessly control household appliances through a mobile phone. The multifunctional controller can further serve as an experimental platform for the single-chip microcomputer application technology in undergraduate teaching of institutions of higher learning, can be used for design and manufacture of a small application system, can be sold in an external member form, can be used for professional skill competitions, curriculum design, graduation design and the like, and can achieve control over multiple functions and research and development of scientific research projects.

Description

A kind of multifunctional controller
Technical field
The invention belongs to SCM Experimentation Teaching and SCM Based control technology field, relate to a kind of multifunctional controller.
Background technology
At present, experimental teaching technical field, as single chip computer teaching, generally based on MCS-51 single-chip microcomputer, AVR single chip or ARM single-chip microcomputer development multifunctional controller.The experimental apparatus of MCS-51 series is greatly developed, and makes to be equipped with quite perfect in the experimental system of colleges and universities MCS-51 series.But along with the development of singlechip technology, the application of MCS-51 series is very limited, the entry level experimental learning as beginner is all right, but is still weak for innovation personnel training aspect.MCS-51 single-chip microcomputer and AVR single chip insufficiency of function, its resource of a lot of occasion uses not.ARM microcomputer development platform relates to operating system, complex software.
Therefore, colleges and universities must can use Advanced Single machine to carry out research and development and the training of project by training student, are necessary the experimental teaching introducing New Type of Chip Microcomputer.Like this can better the singlechip technology of training student, be conducive to obtaining employment and the cultivation of profile.Based on powerful, cheap, software programming is simple, and the single-chip microcomputer development multifunctional controller of upper quick-moving feature is badly in need of in the industry.
Summary of the invention
In order to solve prior art Problems existing, the invention provides a kind of multifunctional controller.
A kind of multifunctional controller provided by the invention is the multifunctional controller based on dsPIC33EP512MC806 single-chip microcomputer, the single-chip microcomputer that Microsoft company of dsPIC33EP512MC806 single-chip microcomputer system newly releases.This single-chip microcomputer has powerful, cheap, and software programming is simple, upper quick-moving feature.
A kind of multifunctional controller provided by the invention comprises dsPIC33EP512MC806 single-chip microcomputer, smoke transducer module, temperature sensor module, photoresistance module, wireless remote control module, sound and light alarm module, the first relay, fan or air-conditioning, the second relay, light fixture, motor, curtain, pyroelectricity module, Wifi module; DsPIC33EP512MC806 single-chip microcomputer and smoke transducer module, temperature sensor module, photoresistance module, wireless remote control module, sound and light alarm module, the first relay, the second relay, light fixture, motor, pyroelectricity module and Wifi model calling, first relay is connected with fan or air-conditioning, second relay is connected with light fixture, and motor is connected with curtain;
DsPIC33EP512MC806 single-chip microcomputer is as the core of multifunctional controller, and it has 19 tunnel analog input terminals, 14 way switch amount inputs, No. 5 counter inputs, and 18 road lead-out terminals and 6 road PWM export;
Smoke transducer is used for fire hazard aerosol fog alarm, and during alarm, the switching signal of energy outputting standard, is reported to the police by sound and light alarm module, and supported the use by dsPIC33EP512MC806 monolithic function and 119 fire monitoring systems;
Temperature sensor module energy automatic control room temperature, adopt digital temperature sensor detected temperatures, prescribe a time limit when temperature exceedes the upper of setting, send information to dsPIC33EP512MC806 single-chip microcomputer 1, dsPIC33EP512MC806 single-chip microcomputer is by the first relay, and control fan or air-conditioning bring into operation; When reach or upper temperature limit lower than setting time, send information to dsPIC33EP512MC806 single-chip microcomputer, dsPIC33EP512MC806 single-chip microcomputer by the first relay, control fan or air-conditioning out of service.
Photoresistance controls starting or stoping of curtain and light fixture, photoresistance utilizes its light sensitive characteristic identification intensity of illumination, offer an explanation daytime, night, as senser element, information is passed to dsPIC33EP512MC806 single-chip microcomputer, dsPIC33EP512MC806 single-chip microcomputer sends instruction to motor, controls window shade arrangement and starts or stops; Similar, dsPIC33EP512MC806 single-chip microcomputer is started or stoped by the second Control light fixture;
Pyroelectricity module is as burglar alarm sensor, in manager when nobody or sleep, start anti-theft switch, if there is robber to occur, infra-red detection information is sent to dsPIC33EP512MC806 single-chip microcomputer by pyroelectricity module, and dsPIC33EP512MC806 Single-chip Controlling associating acousto-optic alarm module gives the alarm;
Wifi module realizes the communication of mobile phone and dsPIC33EP512MC806 single-chip microcomputer, is realized the operation of remote wireless control household electrical appliance by mobile phone.
Further, as the experiment porch of the single chip application technology in the undergraduate course of universities and colleges of high institute, expand on the apparatus, intelligent transportation lamp module can be set up, design and produce road traffic intelligent controller, control for intelligent road; Also can set up infrared sensor module, ultrasonic sensor modules, color sensor module, pressure transducer, angular transducer, and the more peripherals of alternating current generator, servomotor, steering wheel can be driven simultaneously.
Beneficial effect: a kind of multifunctional controller provided by the invention is the multifunctional controller based on dsPIC33EP512MC806 single-chip microcomputer, that there are 19 way switch amount inputs, 6 road analog inputs, No. 5 counter inputs, 18 way switch amounts export, and 6 road PWM export, and have LINKPORT, RS232 and 485 communication interfaces can with upper machine communication, and with the multifunctional controller of slave computer cascade.
A kind of multifunctional controller provided by the invention has chip protection, and signal is isolated, anti-tampering, micromation, and high reliability is cheap, and software programming is simple, upper quick-moving feature.
A kind of multifunctional controller provided by the invention can also be used for the indoor smog automatic alarm such as house, hotel, office, energy automatic control room temperature, burglar alarm, realize remote wireless control household electrical appliance by mobile phone.
A kind of multifunctional controller provided by the invention can be used as the experiment porch of the single chip application technology in the undergraduate course of institution of higher learning, can designing and producing as compact applications system, can sell with kit form, for professional skill contest, Course Exercise, graduation projects etc., also can realize the research and development of several functions control and scientific research project.Further, as the experiment porch of the single chip application technology in the undergraduate course of institution of higher learning, expand on the apparatus, intelligent transportation lamp module can be set up, design and produce road traffic intelligent controller, control for intelligent road; Also can set up infrared sensor module, ultrasonic sensor modules, color sensor module, pressure transducer, angular transducer, and the more peripherals of alternating current generator, servomotor, steering wheel can be driven simultaneously.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of multifunctional controller provided by the invention.
Fig. 2 is the software flow pattern of a kind of multifunctional controller of the present invention.
Embodiment
As shown in Figure 1, a kind of multifunctional controller comprises dsPIC33EP512MC806 single-chip microcomputer 1, smoke transducer module 2, temperature sensor module 3, photoresistance module 4, wireless remote control module 5, sound and light alarm module 6, first relay 7, fan or air-conditioning 8, second relay 9, light fixture 10, motor 11, curtain 12, pyroelectricity module 13, Wifi module 14 to embodiment 1; DsPIC33EP512MC806 single-chip microcomputer 1 is connected with smoke transducer module 2, temperature sensor module 3, photoresistance module 4, wireless remote control module 5, sound and light alarm module 6, first relay 7, second relay 9, light fixture 10, motor 11, pyroelectricity module 13 and Wifi module 14, first relay 7 is connected with fan or air-conditioning 8, second relay 9 is connected with light fixture 10, and motor 11 is connected with curtain 12;
DsPIC33EP512MC806 single-chip microcomputer 1 is as the core of multifunctional controller, and it has 19 tunnel analog input terminals, 14 way switch amount inputs, No. 5 counter inputs, and 18 road lead-out terminals and 6 road PWM export; DsPIC33EP512MC806 single-chip microcomputer 1 stores and operation has software program;
Smoke transducer 2 is for fire hazard aerosol fog alarm, and during alarm, the switching signal of energy outputting standard, is reported to the police by sound and light alarm module 6, and can be supported the use with 119 fire monitoring systems by dsPIC33EP512MC80 single-chip microcomputer 1;
Temperature sensor module 3 energy automatic control room temperature, adopt digital temperature sensor detected temperatures, prescribe a time limit when temperature exceedes the upper of setting, information is sent to dsPIC33EP512MC806 single-chip microcomputer 1, dsPIC33EP512MC806 single-chip microcomputer 1 is by the first relay 7, and control fan or air-conditioning 8 bring into operation.When reach or upper temperature limit lower than setting time, send information to dsPIC33EP512MC806 single-chip microcomputer 1, dsPIC33EP512MC806 single-chip microcomputer 1 by the first relay 7, control fan or air-conditioning 8 out of service.Embodiment 1 adopts digital temperature sensor DS18B20.
Photoresistance 4 controls curtain and starts or stops, light fixture utilize its light sensitive characteristic identification intensity of illumination, offer an explanation daytime, night, as senser element, information is passed to dsPIC33EP512MC806 single-chip microcomputer 1, dsPIC33EP512MC806 single-chip microcomputer 1 sends instruction to motor 11, controls window shade arrangement 12 and starts or stops; Similar, dsPIC33EP512MC806 single-chip microcomputer 1 controls starting or stoping of light fixture 10 by the second relay 9;
Pyroelectricity module 13 is as burglar alarm sensor, in manager when nobody or sleep, start anti-theft switch, if there is robber to occur, infra-red detection information sends to dsPIC33EP512MC806 single-chip microcomputer 1, dsPIC33EP512MC806 single-chip microcomputer 1 to control associating acousto-optic alarm module 6 and gives the alarm by pyroelectricity module 13;
Wifi module 14 realizes the communication of mobile phone and dsPIC33EP512MC806 single-chip microcomputer 1, is realized the operation of remote wireless control household electrical appliance by mobile phone.
As shown in Figure 2, dsPIC33EP512MC806 single-chip microcomputer 1 software program that stores and run is as follows:
Carry out step 100, start;
Carry out step 101, system initialization;
Carry out step 102, does dsPIC33EP512MC806 single-chip microcomputer 1 receive wireless remote control order by WIFI? carry out step 103; No, carry out step 113;
Carry out step 103, judge concrete teleswitch value;
Carry out step 104, judge that button 1 is pressed? be carry out step 108, open curtain 12; No, carry out step 105;
Carry out step 105, judge whether that key 2 is pressed? be carry out step 109, close curtain 12; No, carry out step 106;
Carry out step 106, judge whether that key 3 is pressed? be carry out step 110, open fan or air-conditioning 8; No, carry out step 107;
Carry out step 107, judge whether that key 4 is pressed? be carry out step 111, close fan or air-conditioning 8;
Carry out step 112, return, after the controlling functions of four buttons of No. 1-4 is finished, all turn back to master routine;
Carry out step 113, dsPIC33EP512MC806 single-chip microcomputer 1 gathers each sensing data respectively: smoke transducer module 2, pyroelectric sensor module 13, temperature sensor module 3 and light intensity resistance 4;
Carry out step 114, judge that whether smoke transducer 2 abnormal? be carry out step 115, sound and light alarm module 6 starts, and carries out sound and light alarm; No, carry out step 116;
Carry out step 116, judge that whether pyroelectric sensor 13 abnormal? be carry out step 117, sound and light alarm module 6 starts, and carries out sound and light alarm; No, carry out step 118;
Carry out step 118, judge that whether temperature sensor 3 abnormal? carry out step 119, no, carry out step 124;
Carry out step 119, judge that temperature exceedes upper limit set value? be carry out step 120, start fan or air-conditioning 8; No, carry out step 121;
Carry out step 121, judge that temperature exceedes lower limit? be carry out step 122, close fan or air-conditioning 8; No, carry out step 123, return, carry out step 124;
Carry out step 124, judge that the value of light intensity resistance 4 represents night? be carry out step 125, close curtain 12 and tool 10 of turning on light; No, carry out step 126, open curtain 12 and close light fixture 10;
Carry out step 127, terminate.

Claims (1)

1. a multifunctional controller, it is characterized in that, comprise dsPIC33EP512MC806 single-chip microcomputer (1), smoke transducer module (2), temperature sensor module (3), photoresistance module (4), wireless remote control module (5), sound and light alarm module (6), the first relay (7), fan or air-conditioning (8), the second relay (9), light fixture (10), motor (11), curtain (12), pyroelectricity module (13), Wifi module (14); DsPIC33EP512MC806 single-chip microcomputer (1) is connected with smoke transducer module (2), temperature sensor module (3), photoresistance module (4), wireless remote control module (5), sound and light alarm module (6), the first relay (7), the second relay (9), light fixture (10), motor (11), pyroelectricity module (13) and Wifi module (14), first relay (7) is connected with fan or air-conditioning (8), second relay (9) is connected with light fixture (10), and motor (11) is connected with curtain (12);
DsPIC33EP512MC806 single-chip microcomputer (1) is as the core of multifunctional controller, and it has 19 tunnel analog input terminals, 14 way switch amount inputs, No. 5 counter inputs, and 18 road lead-out terminals and 6 road PWM export; DsPIC33EP512MC806 single-chip microcomputer (1) stores and operation has software program;
Smoke transducer (2) is for fire hazard aerosol fog alarm, the switching signal of energy outputting standard during alarm, reported to the police by sound and light alarm module (6), and can be supported the use with 119 fire monitoring systems by dsPIC33EP512MC80 single-chip microcomputer (1);
Temperature sensor module (3) energy automatic control room temperature, adopt digital temperature sensor detected temperatures, prescribe a time limit when temperature exceedes the upper of setting, information is sent to dsPIC33EP512MC806 single-chip microcomputer (1), dsPIC33EP512MC806 single-chip microcomputer (1) is by the first relay (7), control fan or air-conditioning (8) bring into operation, when reaching or lower than the upper temperature limit set, information is sent to dsPIC33EP512MC806 single-chip microcomputer (1), dsPIC33EP512MC806 single-chip microcomputer (1) is by the first relay (7), control fan or air-conditioning (8) out of service,
Photoresistance (4) controls curtain and starts or stops, light fixture utilize its light sensitive characteristic identification intensity of illumination, offer an explanation daytime, night, as senser element, information is passed to dsPIC33EP512MC806 single-chip microcomputer (1), dsPIC33EP512MC806 single-chip microcomputer (1) sends instruction to motor (11), controls window shade arrangement (12) and starts or stops; Similar, dsPIC33EP512MC806 single-chip microcomputer (1) controls starting or stoping of light fixture (10) by the second relay (9);
Pyroelectricity module (13) is as burglar alarm sensor, start anti-theft switch, if there is robber to occur, infra-red detection information is sent to dsPIC33EP512MC806 single-chip microcomputer (1) by pyroelectricity module (13), and dsPIC33EP512MC806 single-chip microcomputer 1 controls associating acousto-optic alarm module (6) and gives the alarm;
Wifi module 14 realizes the communication of mobile phone and dsPIC33EP512MC806 single-chip microcomputer (1), is realized the operation of remote wireless control household electrical appliance by mobile phone.
CN201610107056.6A 2016-02-27 2016-02-27 Multifunctional controller Pending CN105551353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610107056.6A CN105551353A (en) 2016-02-27 2016-02-27 Multifunctional controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610107056.6A CN105551353A (en) 2016-02-27 2016-02-27 Multifunctional controller

Publications (1)

Publication Number Publication Date
CN105551353A true CN105551353A (en) 2016-05-04

Family

ID=55830519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610107056.6A Pending CN105551353A (en) 2016-02-27 2016-02-27 Multifunctional controller

Country Status (1)

Country Link
CN (1) CN105551353A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164286A (en) * 2019-05-16 2019-08-23 清华大学 Flue gas diffusion path model equipment when simulant building inside fire

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203070066U (en) * 2013-01-21 2013-07-17 吴辉 Omnibearing intelligent household security control system
CN204856187U (en) * 2015-07-27 2015-12-09 任晓娜 Intelligent household control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203070066U (en) * 2013-01-21 2013-07-17 吴辉 Omnibearing intelligent household security control system
CN204856187U (en) * 2015-07-27 2015-12-09 任晓娜 Intelligent household control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164286A (en) * 2019-05-16 2019-08-23 清华大学 Flue gas diffusion path model equipment when simulant building inside fire

Similar Documents

Publication Publication Date Title
CN205450604U (en) Thing internet -based intelligent home control system
CN102622849A (en) Energy-saving warehouse safety monitoring system
US9946230B2 (en) Automated load control system and method
CN204536757U (en) A kind of intelligent home control system
Jabbar et al. Design and implementation of IoT-based automation system for smart home
CN202854570U (en) Intelligent household control system based on Internet of things
CN205670369U (en) A kind of Smart Home warning system based on ZigBee technology of wireless sensing network
CN102880158A (en) Remote wireless intelligent home control system
CN204065788U (en) A kind of energy saver of teaching building automated management system of Long-distance Control
CN205025265U (en) Intelligence window
CN104460625A (en) Intelligent home switching system based on wireless network
CN203252415U (en) Multifunctional curtain control system
CN105551353A (en) Multifunctional controller
CN206987151U (en) It is a kind of can automatic temperature-control Integral ceiling
CN104536401A (en) Intelligent home control system based on GSM
CN204129513U (en) A kind of indoor environment intelligent control system
CN203574893U (en) Intelligent public illuminating system
CN207571493U (en) A kind of smart home security combined control system and intelligent home lamplight control system
CN110554613A (en) Intelligent household control system
Pujaria et al. Internet of Things based Integrated Smart Home Automation System
CN204178218U (en) The ambient intelligence monitoring of a kind of test Room and regulator control system
CN103792925A (en) Web intelligent home control system based on Wi-Fi network
Bhaskar et al. Smart home automation system using AVR microcontroller
CN205038466U (en) Take garage monitored control system of warning function
Zhang et al. Smart home system based on ZigBee network and STM32F407 microprocessor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160504