CN104317225A - Microcontroller - Google Patents

Microcontroller Download PDF

Info

Publication number
CN104317225A
CN104317225A CN201410570900.XA CN201410570900A CN104317225A CN 104317225 A CN104317225 A CN 104317225A CN 201410570900 A CN201410570900 A CN 201410570900A CN 104317225 A CN104317225 A CN 104317225A
Authority
CN
China
Prior art keywords
pin
chip microcomputer
signal end
microcontroller
resistance
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
CN201410570900.XA
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.)
TIANJIN CHANGYUE ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd
Original Assignee
TIANJIN CHANGYUE ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd
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 TIANJIN CHANGYUE ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd filed Critical TIANJIN CHANGYUE ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN201410570900.XA priority Critical patent/CN104317225A/en
Publication of CN104317225A publication Critical patent/CN104317225A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Blinds (AREA)

Abstract

The invention discloses a microcontroller, and relates to the electric and automation filed. The microcontroller comprises a single chip computer, wherein a sixth lead foot of the single chip computer is a horizontal angle motor work/ stop control signal end, a seventh lead foot of the single chip computer is a horizontal motor direction control signal end, an eighth lead foot of the single chip computer is a horizontal angle motor chip select signal, a twelfth lead foot FREE 1 of the single chip computer is an elevation angle motor work/ stop control signal end, an eleventh lead foot of the single chip computer is an elevation angle motor direction control signal end, and a ninth lead foot of the single chip computer is an elevation angle motor chip select signal end. The microcontroller outputs corresponding control signals according to input signals so as to drive motors to rotate, is simple in circuit structure, and reduces production costs.

Description

A kind of microcontroller
Technical field
The present invention relates to electric and automatic field, particularly relate to a kind of microcontroller.
Background technology
Microcontroller is by integrated for the major part of microcomputer one-chip microcomputer on a single die.Microcontroller was born in for 20 century 70 mid-terms, and through the development of more than 20 years, its cost was more and more lower, and performance from strength to strength, and it is ubiquitous that this makes it apply, throughout every field.Such as Electric Machine Control, bar-code reader/scanner, consumer electronics, game station, phone, HVAC, building safety and access control, Industry Control and robotization and white domestic appliances (washing machine, micro-wave oven) etc.
Intel Company, as the company releasing microprocessor the earliest, is equally also the company releasing microcontroller the earliest.After releasing MCS-48 continue 1976, be proposed MCS-51 again in 1980, the microcontroller of new generation for development with favorable compatibility is had laid a good foundation.8051 technology realize open after, the companies such as Philips, Atmel, Dallas and Siemens are proposed one after another based on 80C5l kernel (CMC of 805l) S version) microcontroller.These products differed from one another can meet a large amount of Embedded Application demand.Microcontroller based on 80C51 kernel does not stop the step of development, the DS89C430 Series of MCU that such as present Maxim/Dallas company provides, and its one-cycle instruction speed has brought up to 12 times of 805l.
During practical application, microcontroller reaches the problem controlling solar panel orientation by the running controlling motor.It is not high to there is output signal accuracy in existing microcontroller, can not control the running of driven by motor solar panel well.
Summary of the invention
The invention provides a kind of microcontroller, invention increases the precision of output signal, described below:
A kind of microcontroller, comprise: single-chip microcomputer, the first pin of described single-chip microcomputer is resetting pin, is connected respectively with the first electric capacity, the second resistance, the positive pole of described first electric capacity is connected with 5V power supply VCC, and the 4th pin of described single-chip microcomputer also connects crystal oscillator, the second electric capacity and the 3rd electric capacity;
6th pin of described single-chip microcomputer is level of control angle machine operation/stop signal end, and the 7th pin of described single-chip microcomputer is level of control motor drive direction signal end, and the 8th pin of single-chip microcomputer is horizontal angle motor chip selection signal; 12 pin FREE1 of single-chip microcomputer is for controlling elevation angle machine operation/stop signal end, and the 11 pin of single-chip microcomputer is for controlling elevation angle motor drive direction signal end, and the 9th pin of single-chip microcomputer is that elevation angle dynamo-sheet selects signal end;
19 pin of described single-chip microcomputer, the 18 pin are horizontal angle signal input part, and the 17 pin of single-chip microcomputer, the 16 pin are elevation signals input end; Second pin of single-chip microcomputer, the 3rd pin, the 13 pin and the 14 pin are unsettled;
Wherein, the 6th pin of described single-chip microcomputer, the 7th pin, the 8th pin, the 12 pin, the 11 pin motor drive correspondence equal with external with the 9th pin is connected, and described motor drive comprises horizontal motor and elevation angle motor.
15 pin of described single-chip microcomputer connects the emitter of the first resistance and phototriode respectively,
The collector of described phototriode connects 9V power supply by the 3rd resistance, and described first resistance and described 3rd resistance are biasing resistor.
The model of described single-chip microcomputer is 89C2051.
The beneficial effect of technical scheme provided by the invention is: microcontroller exports the rotation of corresponding control signal drive motor according to the signal of input, and then drives the movement of solar panel, and this microcontroller circuit structure is simple, reduces production cost.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of microcontroller;
Fig. 2 is the external connection diagram of the 15 pin of single-chip microcomputer.
In accompanying drawing, the list of parts representated by each label is as follows:
U5: single-chip microcomputer; C10: the first electric capacity;
R75: the second resistance; X1: crystal oscillator;
C11: the second electric capacity; C12: the three electric capacity;
R74: the first resistance; L5: phototriode;
R76: the three resistance.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below embodiment of the present invention is described further in detail.
See Fig. 1, a kind of microcontroller comprises: single-chip microcomputer U5, first pin of single-chip microcomputer U5 is resetting pin, be connected with the first electric capacity C10, the second resistance R75 respectively, the positive pole of the first electric capacity C10 is connected with 5V power supply VCC, and the 4th pin of single-chip microcomputer U5 also connects crystal oscillator X1, the second electric capacity C11 and the 3rd electric capacity C12; The 6th pin FREE of single-chip microcomputer U5 is level of control angle machine operation/stop signal end, and the 7th pin DIR of single-chip microcomputer U5 is level of control motor drive direction signal end, and the 8th pin CP of single-chip microcomputer U5 is horizontal angle motor chip selection signal; The 12 pin FREE1 of single-chip microcomputer U5 is for controlling elevation angle machine operation/stop signal end, and the 11 pin DIR1 of single-chip microcomputer U5 is for controlling elevation angle motor drive direction signal end, and the 9th pin CP1 of single-chip microcomputer U5 is that elevation angle dynamo-sheet selects signal end; The 19 pin CKX1 of single-chip microcomputer U5, the 18 pin CKX2 are horizontal angle signal input part, the 17 pin CKY1 of single-chip microcomputer U5, the 16 pin CKY2 are elevation signals input end, and the 15 pin Z of single-chip microcomputer U5 is day/night work/stop signal input end; Second pin of single-chip microcomputer U5, the 3rd pin, the 13 pin and the 14 pin are unsettled; Wherein, equal with the external motor drive correspondence of 8th pin CP, the 12 pin FREE1 of single-chip microcomputer U5 of the 6th pin FREE of single-chip microcomputer U5, the 7th pin DIR of single-chip microcomputer U5, single-chip microcomputer U5, the 11 pin DIR1 of single-chip microcomputer U5 and the 9th pin CP1 of single-chip microcomputer U5 is connected, and motor drive comprises horizontal motor and elevation angle motor.
See Fig. 2, the 15 pin of single-chip microcomputer U5 connects the emitter of the first resistance R74 and phototriode L5 respectively, and the collector of phototriode L5 connects 9V power supply by the 3rd resistance R76, and the first resistance R74 and the 3rd resistance R76 is biasing resistor.
Wherein, the model of single-chip microcomputer U5 is 89C2051.
During specific implementation, when this microcontroller is used in solar tracking system, microcontroller exports the rotation of corresponding control signal drive motor according to the signal of input, and then drives the movement of solar panel, realizes the accurate tracking to sunshine.
The embodiment of the present invention is to the model of each device except doing specified otherwise, and the model of other devices does not limit, as long as can complete the device of above-mentioned functions.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (3)

1. a microcontroller, comprise: single-chip microcomputer, it is characterized in that, first pin of described single-chip microcomputer is resetting pin, be connected with the first electric capacity, the second resistance respectively, the positive pole of described first electric capacity is connected with 5V power supply VCC, and the 4th pin of described single-chip microcomputer also connects crystal oscillator, the second electric capacity and the 3rd electric capacity;
6th pin of described single-chip microcomputer is level of control angle machine operation/stop signal end, and the 7th pin of described single-chip microcomputer is level of control motor drive direction signal end, and the 8th pin of single-chip microcomputer is horizontal angle motor chip selection signal; 12 pin FREE1 of single-chip microcomputer is for controlling elevation angle machine operation/stop signal end, and the 11 pin of single-chip microcomputer is for controlling elevation angle motor drive direction signal end, and the 9th pin of single-chip microcomputer is that elevation angle dynamo-sheet selects signal end;
19 pin of described single-chip microcomputer, the 18 pin are horizontal angle signal input part, and the 17 pin of single-chip microcomputer, the 16 pin are elevation signals input end; Second pin of single-chip microcomputer, the 3rd pin, the 13 pin and the 14 pin are unsettled;
Wherein, the 6th pin of described single-chip microcomputer, the 7th pin, the 8th pin, the 12 pin, the 11 pin motor drive correspondence equal with external with the 9th pin is connected, and described motor drive comprises horizontal motor and elevation angle motor.
2. a kind of microcontroller according to claim 1, is characterized in that, the 15 pin of described single-chip microcomputer connects the emitter of the first resistance and phototriode respectively,
The collector of described phototriode connects 9V power supply by the 3rd resistance, and described first resistance and described 3rd resistance are biasing resistor.
3. a kind of microcontroller according to claim 1, is characterized in that, the model of described single-chip microcomputer is 89C2051.
CN201410570900.XA 2014-10-23 2014-10-23 Microcontroller Pending CN104317225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410570900.XA CN104317225A (en) 2014-10-23 2014-10-23 Microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410570900.XA CN104317225A (en) 2014-10-23 2014-10-23 Microcontroller

Publications (1)

Publication Number Publication Date
CN104317225A true CN104317225A (en) 2015-01-28

Family

ID=52372469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410570900.XA Pending CN104317225A (en) 2014-10-23 2014-10-23 Microcontroller

Country Status (1)

Country Link
CN (1) CN104317225A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859152A (en) * 2010-06-22 2010-10-13 西南民族大学 Solar-cell panel sun tracking system and control method thereof
WO2011025129A1 (en) * 2009-08-31 2011-03-03 Sdn Co., Ltd Solar servo control tracking device using pyranometer
CN102411377A (en) * 2011-12-31 2012-04-11 天津职业技术师范大学 Sun auto-tracking device and tracking method thereof
CN202494932U (en) * 2012-04-05 2012-10-17 珠海市第一中学 Sunlight following device for solar power generation
CN103472856A (en) * 2013-09-13 2013-12-25 天津市畅悦电子科技有限公司 Three-dimensional photovoltaic energy battery sunlight automatic tracking system
CN203722554U (en) * 2013-12-13 2014-07-16 廖冕 Simulation control circuit for realizing automatic sun tracking function of photovoltaic support
CN204188978U (en) * 2014-10-23 2015-03-04 天津市畅悦电子科技有限公司 Microcontroller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011025129A1 (en) * 2009-08-31 2011-03-03 Sdn Co., Ltd Solar servo control tracking device using pyranometer
CN101859152A (en) * 2010-06-22 2010-10-13 西南民族大学 Solar-cell panel sun tracking system and control method thereof
CN102411377A (en) * 2011-12-31 2012-04-11 天津职业技术师范大学 Sun auto-tracking device and tracking method thereof
CN202494932U (en) * 2012-04-05 2012-10-17 珠海市第一中学 Sunlight following device for solar power generation
CN103472856A (en) * 2013-09-13 2013-12-25 天津市畅悦电子科技有限公司 Three-dimensional photovoltaic energy battery sunlight automatic tracking system
CN203722554U (en) * 2013-12-13 2014-07-16 廖冕 Simulation control circuit for realizing automatic sun tracking function of photovoltaic support
CN204188978U (en) * 2014-10-23 2015-03-04 天津市畅悦电子科技有限公司 Microcontroller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陶涛: "太阳能板自动追光系统设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Similar Documents

Publication Publication Date Title
CN206908538U (en) Servo motor driving device and system
CN102801384A (en) Induction machine frequency control system based on DSP (Digital Signal Processor)
CN204013310U (en) Brushless dual-feed motor direct Torque Control
CN103078575B (en) Integrated multifunctional controller for low-power direct-current servomotors
CN101070855A (en) Pump smart control system based PROFIBUS-DP communication interface
CN104102233A (en) Single-chip microcomputer-based pan-tilt control device
CN202524349U (en) Motor controller automatically configuring various interfaces
CN204188978U (en) Microcontroller
CN205725556U (en) A kind of electric machine controller and apply its ECM motor
CN204646536U (en) A kind of wind-driven power generation control system being applied to microgrid
CN204086997U (en) A kind of small-sized solar automatic tracing and intelligent power supply
CN104317225A (en) Microcontroller
CN209389967U (en) A kind of stepper motor servo controller
CN205017239U (en) Brushless direct current motor control circuit
CN103401361A (en) Intelligentized motor magnetic coding system and working method thereof
CN201448277U (en) Temperature-control fan controller
CN204422725U (en) Electric motor of automobile integrated test system
CN204633666U (en) A kind of electric tool High speed SRM control device
CN201178396Y (en) Intelligent energy saving control apparatus of oil pumping machine dragging equipment
CN202661892U (en) Synchronous speed controller
CN201114166Y (en) Pump intelligence control system based on PROFIBUS-DP communication interface
CN102684584A (en) Remote stepping motor control system based on Ethernet
CN103138670A (en) High-power-generation-efficiency diesel generating set
CN203151422U (en) Stepping motor control circuit and air conditioner comprising same
Khan et al. IoT Based Smart Home Automation Using Solar Panel System

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: 20150128