CN104008686A - Experimental board based on MC9S08AC16 - Google Patents

Experimental board based on MC9S08AC16 Download PDF

Info

Publication number
CN104008686A
CN104008686A CN201410141339.3A CN201410141339A CN104008686A CN 104008686 A CN104008686 A CN 104008686A CN 201410141339 A CN201410141339 A CN 201410141339A CN 104008686 A CN104008686 A CN 104008686A
Authority
CN
China
Prior art keywords
pin
circuit
electrically connected
resistance
chip microcomputer
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
CN201410141339.3A
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.)
Shunde Vocational and Technical College
Shunde Polytechnic
Original Assignee
Shunde Vocational and Technical College
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 Shunde Vocational and Technical College filed Critical Shunde Vocational and Technical College
Priority to CN201410141339.3A priority Critical patent/CN104008686A/en
Publication of CN104008686A publication Critical patent/CN104008686A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to an experimental board based on MC9S08AC16. The experimental board based on MC9S08AC16 is characterized by comprising a single-chip microcomputer core circuit, a power circuit, a debugging interface, a reset circuit, an oscillating circuit, an LED display and drive circuit, a nixie tube display and drive circuit, a segment-code type LCD display and drive circuit, a dot-matrix type LCD display and drive circuit, a key processing circuit, a buzzer drive circuit, a temperature measuring circuit, a relay drive circuit, an infrared remote control receiving circuit, an EEPROM storage circuit and a serial communication interface circuit, wherein the single-chip microcomputer core circuit receives signals of the reset circuit, the oscillating circuit, the key processing circuit and the like, and outputs the processed signals to the LED display and drive circuit, the nixie tube display and drive circuit, the segment-code type LCD display and drive circuit and the like. The experimental board based on MC9S08AC16 has the advantages of serving as an experimental apparatus used by students for studying Freescale single-chip microcomputers, and also serving as an auxiliary development tool for developers.

Description

Based on the brassboard of MC9S08AC16
Technical field
The present invention relates to electronic information technical field, relate in particular to a kind of brassboard based on MC9S08AC16.
Background technology
The application of embedded controller is almost ubiquitous, and mobile phone, household electrical appliance and automobile etc. have its trace.Embedded controller is because of many advantages such as its volume are little, reliability is high, function is strong, flexible, its application has been deep into the every field such as industry, agricultural, education, national defence, scientific research and daily life, and technological transformation, model change, the acceleration automated process to all trades and professions and the aspect such as boost productivity have played extremely important impetus.Embedded computer considerably beyond various multi-purpose computers, has just comprised 5-10 embedded microprocessors in number of applications in the external unit of a multi-purpose computer.Embedded system industry is special purpose computer industry, and its object will become simpler, more convenient, more generally and more applicable all exactly; The development of multi-purpose computer becomes function computer, generally enters society, and the target of embedded computer development is special purpose computer, realizes " generalized calculation ", therefore can claim that embedded intelligent chip is " digital gene " that forms future world.
Single-chip microcomputer is by one with the most use in embedded microprocessor, because it is applied widely, nearly all electronic information class specialty all can be offered the course of single-chip microcomputer, and wherein offering maximum is the single-chip microcomputer of 51 kernels, no matter be all very abundant of books or experimental facilities.Although Freescale single-chip microcomputer shared ratio in the global market share comes out at the top, and introduces accordingly books and experimental facilities few, especially there is no for the assistant experiment equipment of small household electrical appliance exploitation.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art and a kind of most of practical circuit having comprised in small household appliances controller is provided, brassboard has feature richness, the advantage such as easy to use, can be used as the experiment equipment of Students ' Learning Freescale single-chip microcomputer, also can be used as the brassboard based on MC9S08AC16 of developer's auxiliary development instrument.
In order to achieve the above object, the present invention realizes like this, it is a kind of brassboard based on MC9S08AC16, it is characterized in that comprising monolithic microcomputer kernel circuit, power circuit, debugging interface, reset circuit, oscillatory circuit, LED demonstration and driving circuit, charactron demonstration and driving circuit, segment code type LCD demonstration and driving circuit, lattice type LCD demonstration and driving circuit, keystroke handling circuit, buzzer drive circuit, temperature measurement circuit, relay drive circuit, infrared remote control reception circuit, EEPROM memory circuit and serial interface circuit, wherein said power circuit is monolithic microcomputer kernel circuit, debugging interface, reset circuit, LED shows and driving circuit, charactron shows and driving circuit, segment code type LCD shows and driving circuit, lattice type LCD shows and driving circuit, keystroke handling circuit, buzzer drive circuit, temperature measurement circuit, relay drive circuit, infrared remote control reception circuit, EEPROM memory circuit and serial interface circuit provide operating voltage, described debugging interface, EEPROM memory circuit and serial interface circuit are electrically connected with monolithic microcomputer kernel circuit respectively, described monolithic microcomputer kernel circuit receives respectively reset circuit, oscillatory circuit, keystroke handling circuit, the signal of temperature measurement circuit and infrared remote control reception circuit, monolithic microcomputer kernel circuit outputs to signal after treatment respectively LED and shows and driving circuit, charactron shows and driving circuit, segment code type LCD shows and driving circuit, lattice type LCD shows and driving circuit, in buzzer drive circuit and relay drive circuit.
Described monolithic microcomputer kernel circuit 1 comprises the single-chip microcomputer of 8 and first to the 3rd electric capacity of Freescale; The model of wherein said single-chip microcomputer is MC9S08A, and single-chip microcomputer has 44 pin, and one end of the first electric capacity is electrically connected with the 29th pin of single-chip microcomputer, other end ground connection; After the second electric capacity and the 3rd Capacitance parallel connection, one end is electrically connected with the 17th pin of single-chip microcomputer, other end ground connection; The 16th pin ground connection of single-chip microcomputer.
Described debugging interface comprises BDM debugging module and the 11 electric capacity, the debugging module of described BDM debugging interface is the DIP contact pin of a biserial, the 1st pin of debugging module is electrically connected with the 36th pin of single-chip microcomputer, the 4th pin of BDM debugging module is electrically connected with the 3rd pin of single-chip microcomputer and one end of the 11 electric capacity respectively, the other end ground connection of the 11 electric capacity, the 6th pin of BDM debugging module connects the output terminal of power circuit.
Described reset circuit comprises the first resistance, the 12 electric capacity and the first button; Wherein said the 12 electric capacity is electrically connected with one end of the first resistance and the 3rd pin of single-chip microcomputer respectively with one end after the first button parallel connection, other end ground connection; The output terminal of another termination power circuit of the first resistance.
Described oscillatory circuit comprises the first crystal oscillator, the second crystal oscillator, the second resistance, the 13 electric capacity, the 14 electric capacity and two-position switch; Wherein said the 13 electric capacity is electrically connected with one end of the second crystal oscillator, one end, one end of the second resistance and the 38th pin of single-chip microcomputer of the first crystal oscillator respectively with one end after the 14 capacitances in series, this end is also provided with the first test point, the other end is electrically connected with the other end, the control end of two-position switch and the 37th pin of single-chip microcomputer of the second resistance respectively, and this end is also provided with the second test point; One gear of another termination two-position switch of the first crystal oscillator, another gear of another termination two-position switch of the second crystal oscillator; The series connection point ground connection of the 13 electric capacity and the 14 electric capacity.
Described charactron shows and driving circuit comprises serial shift register, digital display tube, the 7th to the 16 resistance, the first triode and the second triode; The model of wherein said serial shift register is SN74LS164, and the model of described digital display tube is SEG2BTT; Described the 7th one end to the 14 resistance is electrically connected with the the the the the 7th, 6,4,1,3,8,9,2 pin of digital display tube respectively, and the 7th other end to the 14 resistance is electrically connected with 13,12,11,10,6,5,4,3 pin of serial shift register respectively; 1 pin of serial shift register and 2 pin are all electrically connected with the 6th pin of single-chip microcomputer, 8 pin of serial shift register are electrically connected with the 7th pin of single-chip microcomputer, 7 pin ground connection of serial shift register, 9 pin of serial shift register and 14 pin all connect the output terminal of power circuit; 10 pin of digital display tube are electrically connected with the emitter of the first triode, and 5 pin of digital display tube are electrically connected with the emitter of the second triode; The collector of the first triode is electrically connected with the collector of the second triode, the base stage of the first triode is electrically connected with the 4th pin of single-chip microcomputer by the 15 resistance, the 4th pin of single-chip microcomputer is provided with the 3rd test point, the base stage of the second triode is electrically connected with the 5th pin of single-chip microcomputer by the 16 resistance, and the 5th pin of single-chip microcomputer is provided with the 4th test point.
Described segment code type LCD shows and driving circuit comprises that segment encode display, LCD drive chip and the 17 resistance; Wherein said segment encode display is the display of a customization, has four seven segment codes and six graphic icons, and it is HT1621B that LCD drives the model of chip; Nine section control end signal SEG0-SEG8 of described segment encode display drive nine section control end signal SEG0-SEG8 of chip to be electrically connected with LCD respectively, and four common port chip selection signal COM0-COM3 of described segment encode display drive four common port chip selection signal COM0-COM3 of chip to be electrically connected with LCD respectively; LCD drives the VLCD end of chip to connect the output terminal of power circuit by the 17 resistance, LCD drives the vdd terminal of chip to connect the output terminal of power circuit, LCD drives the VSS end ground connection of chip, and LCD drives the CS end of chip and DATA end to be electrically connected with the 1st pin and the 3 11 pin of single-chip microcomputer respectively.
Described keystroke handling circuit comprises the 18 to the 21 resistance, the 13 to the 16 electric capacity and the second to the 7th keyswitch; Wherein said the 18 resistance is all electrically connected with the output terminal of power circuit with one end of the 19 resistance resistance, the other end of the 18 resistance is electrically connected with one end of the 13 electric capacity, the second keyswitch, the 3rd keyswitch and the 27th pin of single-chip microcomputer respectively, and this end is also provided with the 9th test point; The other end ground connection of the 13 electric capacity; The other end of the second keyswitch is electrically connected with one end of the 4th keyswitch and the 21st pin of single-chip microcomputer respectively, and this end is provided with the tenth to be estimated a little; The other end of the 3rd keyswitch is electrically connected with one end of the 5th keyswitch and the 22nd pin of single-chip microcomputer respectively, and this end is provided with the 11 to be estimated a little; The other end of the 4th keyswitch and the 5th keyswitch is all electrically connected with the 19 other end of resistance resistance and one end of the 14 electric capacity, and this end is provided with the 12 to be estimated a little; The other end ground connection of the 14 electric capacity; The 6th keyswitch is connected with the 20 resistance with after the 15 Capacitance parallel connection again, the output terminal of the circuit one termination power circuit after series connection, and other end ground connection, its series connection point is electrically connected with the 19th pin of single-chip microcomputer; The 7th keyswitch is connected with the 21 resistance with after the 16 Capacitance parallel connection again, the output terminal of the circuit one termination power circuit after series connection, and other end ground connection, its series connection point is electrically connected with the 18th pin of single-chip microcomputer, and this series connection point is also the 13 test point.
Described temperature measurement circuit comprises the first jumper wire selector part, the second jumper wire selector part, the first potentiometer, the second potentiometer, the first thermistor, the second thermistor, the 30 to the 33 resistance, the 18 electric capacity and the 19 electric capacity; One end of wherein said the first potentiometer is electrically connected with 1 pin of the first jumper wire selector part, and the other end and adjustable end are electrically connected with one end of the 18 electric capacity, 2 pin of the first thermistor and the output terminal of power circuit respectively; The other end of the 18 electric capacity is electrically connected with one end, one end of the 31 resistance and 2 pin of the first jumper wire selector part of the 30 resistance respectively, and this end is provided with the 17 test point; 1 pin of the first thermistor is electrically connected with 3 pin of the first jumper wire selector part; The other end ground connection of the 30 resistance; The other end of the 31 resistance is electrically connected with the 31st pin of single-chip microcomputer; One end of described the second potentiometer is electrically connected with 1 pin of the second jumper wire selector part, and the other end and adjustable end are electrically connected with one end of the 19 electric capacity, 2 pin of the second thermistor and the output terminal of power circuit respectively; The other end of the 19 electric capacity is electrically connected with one end, one end of the 33 resistance and 2 pin of the second jumper wire selector part of the 32 resistance respectively; 1 pin of the second thermistor is electrically connected with 3 pin of the second jumper wire selector part; The other end ground connection of the 32 resistance; The other end of the 33 resistance is electrically connected with the 32nd pin of single-chip microcomputer.
Described relay drive circuit comprises the 7th triode, the 8th triode, the first relay, the second relay, the 5th diode, the 6th diode, the 34 to the 37 resistance, the 5th light emitting diode and the 6th light emitting diode; Wherein said the 5th diode is electrically connected with the collector of the 7th triode with one end after the first relay parallel connection, and the other end is electrically connected with the output terminal of power circuit; The normally opened contact of the first relay Hou Jie city alternating current of connecting with the 34 resistance and the 5th light emitting diode; The grounded emitter of the 7th triode, the base stage of the 7th triode is electrically connected with one end of the 34 resistance; The other end of the 34 resistance is electrically connected with the 20th pin of single-chip microcomputer, and this end is provided with the 18 test point; Described the 6th diode is electrically connected with the collector of the 8th triode with one end after the second relay parallel connection, and the other end is electrically connected with the output terminal of power circuit; The normally opened contact of the second relay Hou Jie city alternating current of connecting with the 36 resistance and the 6th light emitting diode; The grounded emitter of the 8th triode, the base stage of the 8th triode is electrically connected with one end of the 37 resistance; The other end of the 37 resistance is electrically connected with the 33rd pin of single-chip microcomputer.
Described infrared remote control reception circuit comprises the 3rd jumper wire selector part, infrared remote receiver, the 7th keyswitch K7, the 38 resistance and the 20 to the 22 electric capacity; 1 pin of wherein said the 3rd jumper wire selector part is electrically connected with the IR-_OUT pin of infrared remote receiver, 2 pin of the 3rd jumper wire selector part are electrically connected with the 2nd pin of single-chip microcomputer, 2 pin of the 3rd jumper wire selector part are provided with the 19 test point, and 3 pin of the 3rd jumper wire selector part are electrically connected with one end of the 7th keyswitch K7; The other end ground connection of the 7th keyswitch K7; The 20 electric capacity connect with the 38 resistance after one end be electrically connected with the output terminal of power circuit, other end ground connection, its series connection point is electrically connected with 2 pin of the 3rd jumper wire selector part; The 21 electric capacity is electrically connected with the output terminal of power circuit with one end after the 22 Capacitance parallel connection, other end ground connection; The VCC pin of infrared remote receiver is electrically connected with the output terminal of power circuit, the GND pin ground connection of infrared remote receiver.
The present invention's advantage is compared with prior art: comprised the most of practical circuit in small household appliances controller, brassboard feature richness and easy to use, can be used as the experiment equipment of Students ' Learning Freescale single-chip microcomputer, also can be used as developer's auxiliary development instrument.
Brief description of the drawings
Fig. 1 is composition frame chart of the present invention;
Fig. 2 is the circuit theory diagrams of the monolithic microcomputer kernel circuit in the present invention;
Fig. 3 is the circuit theory diagrams of the power circuit in the present invention;
Fig. 4 is the circuit theory diagrams of the debug circuit in the present invention;
Fig. 5 is the circuit theory diagrams of the reset circuit in the present invention;
Fig. 6 is the circuit theory diagrams of the outside oscillatory circuit in the present invention;
Fig. 7 is that LED in the present invention shows and the circuit theory diagrams of driving circuit;
Fig. 8 is that charactron in the present invention shows and the circuit theory diagrams of driving circuit;
Fig. 9 is that segment code type LCD in the present invention shows and the circuit theory diagrams of driving circuit;
Figure 10 is that lattice type LCD in the present invention shows and the circuit theory diagrams of driving circuit;
Figure 11 is the circuit theory diagrams of the keystroke handling circuit in the present invention;
Figure 12 is the circuit theory diagrams of the buzzer drive circuit in the present invention;
Figure 13 is the circuit theory diagrams of the temperature measurement circuit in the present invention;
Figure 14 is the circuit theory diagrams of the relay drive circuit in the present invention;
Figure 15 is the circuit theory diagrams of the infrared remote control reception circuit in the present invention;
Figure 16 is the circuit theory diagrams of the EEPROM memory circuit in the present invention;
Figure 17 is the circuit theory diagrams of the serial interface circuit in the present invention .
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further.It should be noted that at this, be used for helping to understand the present invention for the explanation of these embodiments, but do not form limitation of the invention.In addition,, in each embodiment of described the present invention, involved technical characterictic just can interosculate as long as do not form each other conflict.
In description of the invention, term " first " and " the 39 " be only for describing object, and can not be interpreted as instruction or hint relative importance.
As shown in Figure 1, it is a kind of brassboard based on MC9S08AC16, comprises that monolithic microcomputer kernel circuit 1, power circuit 2, debugging interface 4, reset circuit 5, oscillatory circuit 6, LED show with driving circuit 7, charactron shows and driving circuit 8, segment code type LCD demonstration show and driving circuit 10, keystroke handling circuit 11, buzzer drive circuit 12, temperature measurement circuit 13, relay drive circuit 14, infrared remote control reception circuit 15, EEPROM memory circuit 16 and serial interface circuit 17 with driving circuit 9, lattice type LCD, wherein said power circuit 2 is monolithic microcomputer kernel circuit 1, debugging interface 4, reset circuit 5, LED shows and driving circuit 7, charactron shows and driving circuit 8, segment code type LCD shows and driving circuit 9, lattice type LCD shows and driving circuit 10, keystroke handling circuit 11, buzzer drive circuit 12, temperature measurement circuit 13, relay drive circuit 14, infrared remote control reception circuit 15, EEPROM memory circuit 16 and serial interface circuit 17 provide operating voltage, described debugging interface 4, EEPROM memory circuit 16 and serial interface circuit 17 are electrically connected with monolithic microcomputer kernel circuit 1 respectively, and described monolithic microcomputer kernel circuit 1 receives respectively reset circuit 5, oscillatory circuit 6, keystroke handling circuit 11, the signal of temperature measurement circuit 13 and infrared remote control reception circuit 15, monolithic microcomputer kernel circuit 1 outputs to signal after treatment respectively LED and shows and driving circuit 7, charactron shows and driving circuit 8, segment code type LCD shows and driving circuit 9, lattice type LCD shows and driving circuit 10, in buzzer drive circuit 12 and relay drive circuit 14.
In the present embodiment, as shown in Figure 2, described monolithic microcomputer kernel circuit 1 comprises the single-chip microcomputer U1 of 8 and first to the 3rd capacitor C 1-C3 of Freescale; The model of wherein said single-chip microcomputer U1 is MC9S08A, single-chip microcomputer U1 has 44 pin, its inside possesses the resources such as 16K Flash, 1K RAM, 88 or 10 the ADC passages that can establish, 3 independent timers, 6 button interrupt pin, clock generator, SCI interface, SPI interface and IIC interfaces, supports in-circuit emulation; One end of the first capacitor C 1 is electrically connected with the 29th pin of single-chip microcomputer U1, other end ground connection; After the second capacitor C 2 is in parallel with the 3rd capacitor C 3, one end is electrically connected with the 17th pin of single-chip microcomputer U1, other end ground connection; The 16th pin ground connection of single-chip microcomputer U1.
In the present embodiment, as shown in Figure 3, power circuit 2 makes 220V High Level AC Voltage convert 12V low-voltage AC, 12V low-voltage AC, the low-voltage DC of 17V left and right and the conversion of four parts of 3.3V low-voltage DC to.
Part I translation circuit comprises fuse FUSE1, voltage dependent resistor (VDR) R1, the 4th capacitor C 4 and AC transformer T1.AC transformer T1 plays the effect of step-down, and it reduces to the alternating current about 12V the alternating current of 220V; Voltage dependent resistor (VDR) R1 and the 4th capacitor C 4 are also connected in the two ends of the alternating current of 220V, play jamproof effect, and voltage dependent resistor (VDR) R1 Main Function is the interference of removing peak voltage pulse, and the 4th capacitor C 4 Main Functions are to remove high frequency interference; Fuse FUSE1 plays the effect of holding circuit, abnormal when occurring in circuit, for example short circuit, and the increasing sharply of the electric current in circuit, at this moment fuse temperature raises and fuses rapidly, thereby cuts off the electricity supply, and plays the object of other components and parts of holding circuit.
Part II circuit comprises that the model of first to fourth diode D1-D4 and 5, four diodes of the 5th capacitor C is IN4007.A whole wave circuit of full-bridge of first to fourth diode D1-D4 composition is the direct current of 17V left and right the AC rectification of the 12V left and right after Part I step-down; The 5th capacitor C 5 plays the effect of filtering, is the filtering link of full-wave rectifying circuit output terminal, makes filtered current potential smoother.
Part III circuit comprises the first three-terminal regulator block ZW1, the 6th capacitor C 6 and the 7th capacitor C 7; The model of the first three-terminal regulator block ZW1 is L7812, and it can be 11.5~12.5V the input voltage voltage stabilizing of 14.5V~27V, and output current is 1.0A; The 6th capacitor C 6 and the 7th capacitor C 7 are respectively as the filter capacitor of input end and output terminal.
Part IV circuit comprises the second three-terminal regulator block ZW2 and the 8th to the tenth capacitor C 8-C10; The model of the second three-terminal regulator block ZW2 is LM1117MPX-3.3, and it is responsible for the 12V voltage stabilizing of Part III output to arrive 3.3V, and the Vdd in brassboard just refers to this voltage; The the 8th to the tenth capacitor C 8-C10 is as the filter capacitor of input end and output terminal.
In the present embodiment, supplying power for outside interface 3 comprises four row's 8 pin row's pins and four row 2 pin row pin J8, J, wherein all pins of two row's 8 pin rows pins and two row's 4 pin row pins 8 all with GND(earth signal) be connected, all pins of one row's 2 pin rows pins are connected with 12V, all pins of two row's 8 pin row's pins and row's 2 pin row pins equal with Vdd(+3.3V) be connected.There are two row's 2 pin rows pins to adopt and the jack of the test pencil same size of multimeter, the test pencil of multimeter can directly be inserted in the hole of these two rows, 2 pin row pins, facilitate user to utilize multimeter to test, all the other row's pins are DIP encapsulation, and the voltage signal of other row's pins can externally provide by Du Pont's line.
In the present embodiment, as shown in Figure 4, described debugging interface 2 comprises BDM debugging module U2 and the 11 capacitor C 11, the debugging module U2 of described BDM debugging interface 4 is the DIP contact pin of a biserial, BDM debugging interface is new debugging technique of Freescale, S12 and S08 series monolithic at Freescale are widely used, the basic thought of BDM is at a BDM debugging module of the inner embedding of single-chip microcomputer, this module is by the internal resource of special inside line access single-chip microcomputer, communicate by letter with extraneous in single line mode, carry out and operate accordingly and export corresponding information according to the external command receiving, the 1st pin of BDM debugging module U2 is electrically connected with the 36th pin of single-chip microcomputer U1, the 4th pin of BDM debugging module U2 is electrically connected with the 3rd pin of single-chip microcomputer U1 and one end of the 11 capacitor C 11 respectively, the other end ground connection of the 11 capacitor C 11, the 6th pin of BDM debugging module U2 connects the output terminal of power circuit 2.
In the present embodiment, as shown in Figure 5, described reset circuit 5 comprises the first resistance R the 1, the 12 capacitor C 12 and the first button K1; Wherein said the 12 capacitor C 12 is electrically connected with one end of the first resistance R 1 and the 3rd pin of single-chip microcomputer U1 respectively with one end after the first button K1 parallel connection, other end ground connection; The output terminal of another termination power circuit 2 of the first resistance R 1.The first button K1 is as the reset signal of single-chip microcomputer U1.When the first button K1 does not press, the 3rd pin of single-chip microcomputer U1 is high level; When the first button K1 presses, the 3rd pin of single-chip microcomputer U1 is low level.Because the reset signal of single-chip microcomputer U1 is Low level effective, when therefore the first button K1 presses, single-chip microcomputer U1 will be reset.
In the present embodiment, as shown in Figure 6, described oscillatory circuit 6 comprises the first crystal oscillator X1, the second crystal oscillator X2, the second resistance R the 2, the 13 capacitor C the 13, the 14 capacitor C 14 and two-position switch S1; Wherein said the 13 capacitor C 13 connect with the 14 capacitor C 14 after one end be electrically connected with one end of the second crystal oscillator X2, one end, one end of the second resistance R 2 and the 38th pin of single-chip microcomputer U1 of the first crystal oscillator X1 respectively, this end is also provided with the first test point TP1, the other end is electrically connected with the other end, the control end of two-position switch S1 and the 37th pin of single-chip microcomputer U1 of the second resistance R 2 respectively, and this end is also provided with the second test point TP2; A gear of another termination two-position switch S1 of the first crystal oscillator X1, another gear of another termination two-position switch of the second crystal oscillator X2 S1; The series connection point ground connection of the 13 capacitor C the 13 and the 14 capacitor C 14.When work, the effect of the second resistance R the 2, the 13 capacitor C 13 and the 14 capacitor C 14 is vibrations that the outside oscillatory circuit of help can be stable; Although arranged the first crystal oscillator X1 and the second crystal oscillator X2 in circuit, each moment can only determine which is connected in oscillatory circuit by two-position switch S1, and the object of doing is like this impact that the difference that allows user experience oscillation frequency causes system; TP1 and TP2 are the frequencies in order to facilitate user test oscillatory circuit.
In the present embodiment, as shown in Figure 7, LED shows and driving circuit 7 comprises first to fourth LED 1-LED4 and the 3rd to the 6th resistance R 3-R6; Wherein said first to fourth LED 1-LED4 has adopted common anode connection, the the 3rd to the 6th resistance is respectively the current-limiting resistance that R3-R6 is first to fourth LED 1-LED4, the control end of first to fourth LED 1-LED4 is electrically connected with the 23rd pin, the 24th pin, the 25th pin and the 26th pin of single-chip microcomputer U1 respectively, is respectively equipped with the 3rd test point TP3, the 4th test point TP4, the 5th test point TP5 and the 6th test point TP6 one to the control end of the 4th LED 1-LED4.
In the present embodiment, as shown in Figure 8, described charactron shows and driving circuit 8 comprises serial shift register U3, digital display tube DS, the 7th to the 16 resistance R 7-R16, the first triode Q1 and the second triode Q2; The model of wherein said serial shift register U3 is SN74LS164, and the model of described digital display tube DS is SEG2BTT; Described the 7th one end to the 14 resistance R 7-R14 is electrically connected with the the the the the 7th, 6,4,1,3,8,9,2 pin of digital display tube DS respectively, and the 7th other end to the 14 resistance R 7-R14 is electrically connected with 13,12,11,10,6,5,4,3 pin of serial shift register U3 respectively; 1 pin of serial shift register U3 and 2 pin are all electrically connected with the 6th pin of single-chip microcomputer U1,8 pin of serial shift register U3 are electrically connected with the 7th pin of single-chip microcomputer U1, the 7 pin ground connection of serial shift register U3,9 pin of serial shift register U3 and 14 pin all connect the output terminal of power circuit 2; 10 pin of digital display tube DS are electrically connected with the emitter of the first triode Q1, and 5 pin of digital display tube DS are electrically connected with the emitter of the second triode Q2; The collector of the first triode Q1 is electrically connected with the collector of the second triode Q2, the base stage of the first triode Q1 is electrically connected with the 4th pin of single-chip microcomputer U1 by the 15 resistance R 15, the 4th pin of single-chip microcomputer U1 is provided with the 7th test point TP7, the base stage of the second triode Q2 is electrically connected with the 5th pin of single-chip microcomputer U1 by the 16 resistance R 16, and the 5th pin of single-chip microcomputer U1 is provided with the 8th test point TP8.
Digital display tube DS is common anode seven segment code, the current amplification circuit that two common ports of sun level are headed the list of signers by the first triode Q1 and the second triode Q2 respectively drives, the driving signal of amplifying circuit is the signal of the 4th pin of single-chip microcomputer U1 and the 5th pin output of single-chip microcomputer U1, in the time driving signal to be high level, the first triode Q1 and the second triode Q2 conducting, the common port that charactron S1 is corresponding comes into force, triode cut-off in the time driving signal to be low level, and the common port that digital display tube DS is corresponding disconnects.8 control ends of digital display tube DS.In the time that the I/O of single-chip microcomputer U1 pin is not enough and pin multiplexing also can't resolve problem, need to adopt the special chip of transformation from serial to parallel to carry out the expansion of I/O mouth, serial shift register U3 is exactly the 8 bit shift register chips that possess this expanded function, the connection signal of serial shift register U3 and single-chip microcomputer U1 is A_B and CP, 8 parallel output signals are Q0-Q7, a rising edge of the each generation of CP, the signal of A_B will be admitted to serial shift register U3, when CP produces after 8 risings, 8 serial signals on A_B will appear at respectively Q0-Q7.In the time connecting, serial shift register U3 is controlled by I/O mouth PTF0, PTF1, A_B and the CP of single-chip microcomputer U1, and PTB0-PTB3 controls; When disconnection, serial shift register U3 is by other pins of single-chip microcomputer U1 or other signal controlling, and PTF0, PTF1, A_B and CP can be used for controlling other equipment.
In the present embodiment, as shown in Figure 9, described segment code type LCD shows and driving circuit 9 comprises that segment encode display lcd, LCD drive chip U4 and the 17 resistance R 17; Wherein said segment encode display is the display of a customization, has four seven segment codes and six graphic icons, and it is HT1621B that LCD drives the model of chip U4; Nine section control end signal SEG0-SEG8 of described segment encode display lcd drive nine section control end signal SEG0-SEG8 of chip U4 to be electrically connected with LCD respectively, and four common port chip selection signal COM0-COM3 of described segment encode display lcd drive four common port chip selection signal COM0-COM3 of chip U4 to be electrically connected with LCD respectively; LCD drives the VLCD end of chip U4 to connect the output terminal of power circuit 2 by the 17 resistance R 17, LCD drives the vdd terminal of chip U4 to connect the output terminal of power circuit 2, LCD drives the VSS end ground connection of chip U4, and LCD drives the CS end of chip U4 and DATA end to be electrically connected with the 1st pin and the 3 11 pin of single-chip microcomputer U1 respectively.LCD drives many common ports chip selection signal such as a charactron and segment code type LCD of chip U4 Shi Hetai company release and the driving chip of segment encode control signal, LCD drives the VLCD of chip U4 to receive Vdd by the 17 resistance R 17, as LCD background light control signal, it is chip selection signal CS and data-signal DATA with the signal that is connected of single-chip microcomputer U1 that LCD drives chip U4.LCD drives chip U4 to have 4 common port chip selection signal COM0-COM3 and 9 section control end signal SEG0-SEG8, is connected respectively to COM0-COM3 and the SEG0-SEG8 of segment encode display lcd.
In the present embodiment, as shown in figure 10, lattice type LCD shows that the row's needle socket J4 and two that comprises 1 row's 20 pin with driving circuit 10 arranges row's pin J3, the J5 of 4 pin.J4 pin is electrically connected according to the pin arrangements of the lattice type LCD YJD12864-1 with character library, wherein 1 pin Vss, 15 pin PSB and 20 pin LEDK ground connection, 2 pin Vdd and 19 pin LEDA meet power positive end Vdd, and 4 pin CS, 5 pin SID are connected with 4 pin SCLK with 1 pin RS, the 3 pin SID of row's pin J5 respectively with 6 pin CLK.The electrical connection that the pin of J3 and J5 is not fixed, but can their 1 ~ 4 pin be connected respectively by short jumping part.When J3 is connected with J5, lattice type LCD is controlled by PTE4, PTE6, PTE7; When disconnection, lattice type LCD can be by other pins of U3 or other signal controlling, and PTE4, PTE6, PTE7 can be used for controlling other equipment.
In the present embodiment, as shown in figure 11, described keystroke handling circuit 11 comprises the 18 to the 21 resistance R 18-R21, the 13 to the 16 capacitor C 13-C16 and the second to the 7th keyswitch K2-K7; Wherein said the 18 resistance R 18 is all electrically connected with the output terminal of power circuit 2 with one end of the 19 resistance R 19 resistance, the other end of the 18 resistance R 18 is electrically connected with the 13 capacitor C 13, one end of the second keyswitch K2, the 3rd keyswitch K3 and the 27th pin of single-chip microcomputer U1 respectively, and this end is also provided with the 9th test point TP9; The other end ground connection of the 13 capacitor C 13; The other end of the second keyswitch K2 is electrically connected with one end of the 4th keyswitch K4 and the 21st pin of single-chip microcomputer U1 respectively, and this end is provided with the tenth and estimates a TP10; The other end of the 3rd keyswitch K3 is electrically connected with one end of the 5th keyswitch K5 and the 22nd pin of single-chip microcomputer U1 respectively, and this end is provided with the 11 and estimates a TP11; The other end of the 4th keyswitch K4 and the 5th keyswitch K5 is all electrically connected with the other end of the 19 resistance R 19 resistance and one end of the 14 capacitor C 14, and this end is provided with the 12 and estimates a TP12; The other end ground connection of the 14 capacitor C 14; The 6th keyswitch K6 connects with the 20 resistance R 20 with after the 15 capacitor C 15 parallel connections again, the output terminal of the circuit one termination power circuit 2 after series connection, and other end ground connection, its series connection point is electrically connected with the 19th pin of single-chip microcomputer U1; The 7th keyswitch K7 connects with the 21 resistance R 21 with after the 16 capacitor C 16 parallel connections again, the output terminal of the circuit one termination power circuit 2 after series connection, other end ground connection, its series connection point is electrically connected with the 18th pin of single-chip microcomputer U1, and this series connection point is also the 13 test point TP13.The second to the 5th keyswitch K2-K5 connects according to the form of matrix, and wherein row signal is PTA0 and PTA1, and column signal is PTD0 and PTD1.Matrix press-key generally adopts the mode of dynamic scan to process, signal is as output signal at once, timesharing gating, and column signal is as input signal, read in simultaneously, then can determine that according to arbitrary row and arbitrary row the mode of a node determines the state of certain button.
In the present embodiment, as shown in figure 12, described buzzer drive circuit 12 comprises two kinds of buzzer drive circuits of common and U.S. sound, and said common and U.S. sound does not refer to the difference of hummer here, and refers to the difference of both type of drive.Common buzzer drive circuit comprises the 3rd triode Q3, the 22 resistance R the 22, the 23 resistance R 23 and the first hummer ZY1; The effect that the 3rd triode Q3 amplifies as electric current, the 23 23 of resistance R metering function, the break-make of the 3rd triode Q3, by the 42 foot control systems of single-chip microcomputer U1, is provided with the 14 test point TP14 at 42 pin of single-chip microcomputer U1, and the 22 resistance R 22 is as the effect of afterflow.
U.S. sound buzzer drive circuit comprises the second hummer ZY2, the 4th to the 6th triode Q4-Q6, the 24 to the 29 resistance R 24-R29 and the 17 capacitor C 17; The 5th triode Q5, the 6th triode Q6, the 25 resistance R the 25 and the 26 resistance R 26 form a second amplifying circuit, and Main Function is the break-make of controlling the second hummer ZY2 power supply, and control signal is by the 44 foot control systems of single-chip microcomputer U1; The 4th triode Q4, the 24 resistance R the 24 and the 26 resistance R 26 form a current amplification circuit, and Main Function is to control the frequency that the second hummer ZY2 pipes, and control signal is by the 43 foot control systems of single-chip microcomputer U1; The 29 resistance R 29 plays afterflow effect; The 17 capacitor C the 17 and the 28 resistance R 28 forms a tank circuit.While allowing the second hummer ZY2 pipe, 44 pin of single-chip microcomputer U1 are made as high level, and 43 pin of single-chip microcomputer U1 are made as the square-wave signal of certain frequency; The second hummer ZY2 transfers to by piping while stopping, 44 pin of single-chip microcomputer U1 are made as low level, 43 pin of single-chip microcomputer U1 continue to keep this square-wave signal a period of time, until the second hummer ZY2 stops piping, so just can produce the second hummer ZY2 by stopping gradually to weak the U.S. audio fruit that pipes by force.Be provided with the 16 test point TP16 at 44 pin of single-chip microcomputer U1, be provided with the 15 test point TP15 at 43 pin of single-chip microcomputer U1.
In the present embodiment, as shown in figure 13, described temperature measurement circuit 13 comprises the first jumper wire selector part J1, the second jumper wire selector part J2, the first potentiometer RT1, the second potentiometer RT2, the first thermistor TH1, the second thermistor TH2, the 30 to the 33 resistance R 30-R33, the 18 capacitor C the 18 and the 19 capacitor C 19; One end of wherein said the first potentiometer RT1 is electrically connected with 1 pin of the first jumper wire selector part J1, and the other end and adjustable end are electrically connected with one end, 2 pin of the first thermistor TH1 and the output terminal of power circuit 2 of the 18 capacitor C 18 respectively; The other end of the 18 capacitor C 18 is electrically connected with one end, one end of the 31 resistance R 31 and 2 pin of the first jumper wire selector part J1 of the 30 resistance R 30 respectively, and this end is provided with the 17 test point TP17; 1 pin of the first thermistor TH1 is electrically connected with 3 pin of the first jumper wire selector part J1; The other end ground connection of the 30 resistance R 30; The other end of the 31 resistance R 29 is electrically connected with the 31st pin of single-chip microcomputer U1; One end of described the second potentiometer RT2 is electrically connected with 1 pin of the second jumper wire selector part J2, and the other end and adjustable end are electrically connected with one end, 2 pin of the second thermistor TH2 and the output terminal of power circuit 2 of the 19 capacitor C 19 respectively; The other end of the 19 capacitor C 19 is electrically connected with one end, one end of the 33 resistance R 33 and 2 pin of the second jumper wire selector part J2 of the 32 resistance R 32 respectively; 1 pin of the second thermistor TH2 is electrically connected with 3 pin of the second jumper wire selector part J2; The other end ground connection of the 32 resistance R 32; The other end of the 33 resistance R 33 is electrically connected with the 32nd pin of single-chip microcomputer U1.Explain as an example its principle with first temperature measurement circuit, the first jumper wire selector part J1 is as a jumper wire selector part, in the time that 1,2 pin are communicated with, in the first potentiometer RT1 place in circuit, in the time that 3,2 pin are communicated with, in the first thermistor TH1 place in circuit.The first potentiometer RT1 of access or the first thermistor TH1 and the 30 resistance R 30 composition series connection bleeder circuits, in the time of the resistance variations of the first potentiometer RT1 or the first thermistor TH1, will make the voltage of the 17 test point TP17 change, thereby the AD sampled value that 33 pin of single-chip microcomputer U1 are collected changes, can obtain the resistance value of the first potentiometer RT1 or the first thermistor TH1 according to AD sampled value.For the first thermistor TH1, each resistance value corresponding a temperature value, the Main Function of the first potentiometer RT1 is the variation of analog temperature.The effect of the 31 resistance R 31 is current limlitings, and the 18 capacitor C 18 plays the effect of filtering.
In the present embodiment, as shown in figure 14, described relay drive circuit 14 comprises the 7th triode Q7, the 8th triode Q8, the first relay J K1, the second relay J K2, the 5th diode D5, the 6th diode D6, the 34 to the 37 resistance R 34-R37, the 5th LED 5 and the 6th LED 6; Wherein said the 5th diode D5 is electrically connected with the collector of the 7th triode Q7 with one end after the first relay J K1 parallel connection, and the other end is electrically connected with the output terminal of power circuit 2; The normally opened contact of the first relay J K1 Hou Jie city alternating current of connecting with the 34 resistance R 34 and the 5th LED 5; The grounded emitter of the 7th triode Q7, the base stage of the 7th triode Q7 is electrically connected with one end of the 35 resistance R 35; The other end of the 35 resistance R 35 is electrically connected with the 20th pin of single-chip microcomputer U1, and this end is provided with the 18 test point TP18; Described the 6th diode D6 is electrically connected with the collector of the 8th triode Q8 with one end after the second relay J K2 parallel connection, and the other end is electrically connected with the output terminal of power circuit 2; The normally opened contact of the second relay J K2 Hou Jie city alternating current of connecting with the 36 resistance R 36 and the 6th LED 6; The grounded emitter of the 8th triode Q8, the base stage of the 8th triode Q8 is electrically connected with one end of the 37 resistance R 37; The other end of the 37 resistance R 37 is electrically connected with the 33rd pin of single-chip microcomputer U1.When work, the 7th triode Q7 and the 35 resistance R 35 form a current amplification circuit, by the 20th foot control system of single-chip microcomputer U1, in the time that the 20th pin of single-chip microcomputer U1 is high level, the normally opened contact closure of the first relay J K1, the 5th LED 5 is lighted, in the time that the 20th pin of single-chip microcomputer U1 is low level, the normally opened contact of the first relay J K1 disconnects, the 5th LED 5 extinguishes, the 5th diode D5 plays the effect of afterflow, and in the time that the first relay J K1 is closed, the 34 resistance R 34 plays the effect of current limliting; The 8th triode Q8 and the 37 resistance R 37 form a current amplification circuit, by the 33rd foot control system of single-chip microcomputer U1, in the time that the 33rd pin of single-chip microcomputer U1 is high level, the normally opened contact closure of the second relay J K2, the 6th LED 6 is lighted, in the time that the 33rd pin of single-chip microcomputer U1 is low level, the normally opened contact of the second relay J K2 disconnects, the 6th LED 6 extinguishes, the 6th diode D6 plays the effect of afterflow, in the time that the second relay J K2 is closed, the 36 resistance R 36 plays the effect of current limliting.
In the present embodiment, as shown in figure 15, described infrared remote control reception circuit 15 comprises the 3rd jumper wire selector part J3, infrared remote receiver REC, the 7th keyswitch K7, the 38 resistance R the 38 and the 20 to the 22 capacitor C 20-C22; Wherein said the 3rd 1 pin of jumper wire selector part J3 and the IR-_OUT pin of infrared remote receiver REC are electrically connected, 2 pin of the 3rd jumper wire selector part J3 are electrically connected with the 2nd pin of single-chip microcomputer U1,2 pin of the 3rd jumper wire selector part J3 are provided with the 19 test point TP19, and 3 pin of the 3rd jumper wire selector part J3 are electrically connected with one end of the 7th keyswitch K7; The other end ground connection of the 7th keyswitch K7; The 20 capacitor C 20 connect with the 38 resistance R 38 after one end be electrically connected with the output terminal of power circuit 2, other end ground connection, its series connection point is electrically connected with 2 pin of the 3rd jumper wire selector part J3; After the 21 capacitor C 21 is in parallel with the 22 capacitor C 22, one end is electrically connected with the output terminal of power circuit 2, other end ground connection; The VCC pin of infrared remote receiver REC is electrically connected with the output terminal of power circuit 2, the GND pin ground connection of infrared remote receiver REC.When work, infrared remote receiver REC is responsible for receiving infrared remote-controlled signal, and in the time receiving infrared remote-controlled signal, the IR_OUT pin of infrared remote receiver REC will produce a string square-wave signal, in this string square-wave signal, generally comprise first code and numeric data code, sometimes also have running fire code.In the time that 1,2 pins of the 3rd jumper wire selector part J3 are connected, the IR_OUT pin of infrared remote receiver REC is received to the 2nd pin of single-chip microcomputer U1; In the time that 2,3 pins of the 3rd jumper wire selector part J3 are connected, the state of the 7th keyswitch K7 is received to the 2nd pin of single-chip microcomputer U1, in the time that the 7th keyswitch K7 is pressed, the 2nd pin of single-chip microcomputer U1 produces a negative edge signal, thereby causes an external interrupt of single-chip microcomputer U1.The 21 capacitor C the 21 and the 22 capacitor C 22, as the filter capacitor of infrared remote receiver REC, leaches respectively the interference of low frequency and high frequency, and the 20 capacitor C 20 is as the filter capacitor of IR_OUT signal.
In the present embodiment, as shown in figure 16, EEPROM memory circuit 16 comprises a slice eeprom memory U5, the 23 capacitor C the 23, the 39 resistance the 39 and the 40 resistance R 40; The model of wherein said eeprom memory U5 is 24C02; One end of the 39 resistance 39 and the 40 resistance R 40 is all electrically connected with the output terminal of power circuit 2, the other end of the 39 resistance 39 is electrically connected with the SCL pin of eeprom memory U5, this end is also electrically connected and is provided with the 20 test point YP20 with the 40th pin of single-chip microcomputer U1, the other end of the 40 resistance R 40 is electrically connected with the SDA pin of eeprom memory U5, and this end is also electrically connected with the 41st pin of single-chip microcomputer U1; One end of the 23 capacitor C 23 is electrically connected with the Vcc pin of eeprom memory U5 and the output terminal of power circuit 2 respectively, other end ground connection; A0 pin, A1 pin, A2 pin and the Vss pin ground connection of eeprom memory U5, therefore the address of eeprom memory U5 is 0.In the time that eeprom memory U5 is connected with single-chip microcomputer U1, eeprom memory U5 is by the 40th pin and the 41st foot control system of single-chip microcomputer U1; When eeprom memory U5 and single-chip microcomputer U1 disconnect, eeprom memory U5 can be by other pins of single-chip microcomputer U1 or other signal controlling, and the 40th pin and the 41st pin can be used for controlling other equipment; The Main Function of this circuit is operation and the programmed method of study IIC communication modes and EEPROM.
In the present embodiment, as shown in figure 17, serial interface circuit 17 comprises a slice level transferring chip U6 and the 24 to the 28 capacitor C 24-C28; The model of wherein said level transferring chip U6 is MAX3232EPE, MAX3232EPE is a kind of two set drive/receiver, sheet contains a capacitive voltage generator to EIA/TIA-232-E level is provided in the time of single 3V Power supply, the rs 232 serial interface signal of Transistor-Transistor Logic level is changed into the level signal of RS232, to extend the communication distance of serial extended unit, or the level signal of RS232 is changed into the rs 232 serial interface signal of the Transistor-Transistor Logic level that microprocessor can process; The 10th pin of level transferring chip U6 connects the 8th pin of single-chip microcomputer U1, and this pin is also provided with the 21 test point TP21, and the 9th pin of level transferring chip U6 connects the 9th pin of single-chip microcomputer U1, and this pin is also provided with the 22 test point TP22; The two ends of the 24 capacitor C 24 are electrically connected with the 1st pin and the 3rd pin of level transferring chip U6 respectively; One end of the 25 capacitor C 25 is electrically connected with the 2nd pin of level transferring chip U6, other end ground connection; The two ends of the 26 capacitor C 26 are electrically connected with the 4th pin and the 5th pin of level transferring chip U6 respectively; One end of the 27 capacitor C 27 is electrically connected with the 6th pin of level transferring chip U6, other end ground connection; The two ends of the 28 capacitor C 28 are electrically connected with the 15th pin and the 16th pin of level transferring chip U6 respectively, the 15th pin ground connection of level transferring chip U6.When work, the operating circuit of MAX3232EPE only need to meet in outside the 24 to the 27 capacitor C 24-C28, and these 5 electric capacity are decoupling capacitor.The 24 capacitor C the 24 and the 26 capacitor C 26 is mainly as storage capacitor, the 24 capacitor C 24 helps the rise to+10V of charge pump handle+3V of MAX3232EPE inside, and the 26 capacitor C 26 helps the be converted to-10V of another charge pump handle+10V of MAX3232EPE inside; The 25 capacitor C the 25, the 27 capacitor C the 27 and the 28 capacitor C 28 is mainly as filter capacitor, the high frequency noise that this device of filtering produces on the one hand, cut off the path that it is propagated by current supply circuit, prevent that on the other hand the noise that power supply carries forms and disturbs circuit.The Main Function of this circuit is operation and the programmed method of study serial communication mode (become SCI in Freescale single-chip microcomputer, be called UART in 51 single-chip microcomputers).
Below by reference to the accompanying drawings embodiments of the present invention are made to detailed description, but the present invention is not limited to described embodiment.For the ordinary skill in the art, in the situation that not departing from principle of the present invention and aim, these embodiments being carried out to multiple variation, amendment, replacement and distortion still falls within protection scope of the present invention.

Claims (11)

1. the brassboard based on MC9S08AC16, it is characterized in that comprising monolithic microcomputer kernel circuit (1), power circuit (2), debugging interface (4), reset circuit (5), oscillatory circuit (6), LED shows and driving circuit (7), charactron shows and driving circuit (8), segment code type LCD shows and driving circuit (9), lattice type LCD shows and driving circuit (10), keystroke handling circuit (11), buzzer drive circuit (12), temperature measurement circuit (13), relay drive circuit (14), infrared remote control reception circuit (15), EEPROM memory circuit (16) and serial interface circuit (17), wherein said power circuit (2) is monolithic microcomputer kernel circuit (1), debugging interface (4), reset circuit (5), LED shows and driving circuit (7), charactron shows and driving circuit (8), segment code type LCD shows and driving circuit (9), lattice type LCD shows and driving circuit (10), keystroke handling circuit (11), buzzer drive circuit (12), temperature measurement circuit (13), relay drive circuit (14), infrared remote control reception circuit (15), EEPROM memory circuit (16) and serial interface circuit (17) provide operating voltage, described debugging interface (4), EEPROM memory circuit (16) and serial interface circuit (17) are electrically connected with monolithic microcomputer kernel circuit (1) respectively, and described monolithic microcomputer kernel circuit (1) receives respectively reset circuit (5), oscillatory circuit (6), keystroke handling circuit (11), the signal of temperature measurement circuit (13) and infrared remote control reception circuit (15), monolithic microcomputer kernel circuit (1) outputs to signal after treatment respectively LED and shows and driving circuit (7), charactron shows and driving circuit (8), segment code type LCD shows and driving circuit (9), lattice type LCD shows and driving circuit (10), in buzzer drive circuit (12) and relay drive circuit (14).
2. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described monolithic microcomputer kernel circuit (1) comprises the single-chip microcomputer (U1) of 8 and first to the 3rd electric capacity (C1-C3) of Freescale; The model of wherein said single-chip microcomputer (U1) is MC9S08AC16, and single-chip microcomputer (U1) has 44 pin, and one end of the first electric capacity (C1) is electrically connected with the 29th pin of single-chip microcomputer (U1), other end ground connection; After the second electric capacity (C2) is in parallel with the 3rd electric capacity (C3), one end is electrically connected with the 17th pin of single-chip microcomputer (U1), other end ground connection; The 16th pin ground connection of single-chip microcomputer (U1).
3. the brassboard based on MC9S08AC16 according to claim 1, it is characterized in that described debugging interface (4) comprises BDM debugging module (U2) and the 11 electric capacity (C11), the debugging module (U2) of described BDM debugging interface (4) is the DIP contact pin of a biserial, the 1st pin of debugging module (U2) is electrically connected with the 36th pin of single-chip microcomputer (U1), the 4th pin of debugging module (U2) is electrically connected with the 3rd pin of single-chip microcomputer (U1) and one end of the 11 electric capacity (C11) respectively, the other end ground connection of the 11 electric capacity (C11), the 6th pin of BDM debugging module (U4) connects the output terminal of power circuit (2).
4. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described reset circuit (5) comprises the first resistance (R1), the 12 electric capacity (C12) and the first button (K1); After wherein said the 12 electric capacity (C12) is in parallel with the first keyswitch (K1), one end is electrically connected with one end of the first resistance (R1) and the 3rd pin of single-chip microcomputer (U1) respectively, other end ground connection; The output terminal of another termination power circuit (2) of the first resistance (R1).
5. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described oscillatory circuit (6) comprises the first crystal oscillator (X1), the second crystal oscillator (X2), the second resistance (R2), the 13 electric capacity (C13), the 14 electric capacity (C14) and two-position switch (S1); Wherein said the 13 electric capacity (C13) connect with the 14 electric capacity (C14) after one end be electrically connected with one end of the second crystal oscillator (X2), one end, one end of the second resistance (R2) and the 38th pin of single-chip microcomputer (U1) of the first crystal oscillator (X1) respectively, this end is also provided with the first test point (TP1), the other end is electrically connected with the other end, the control end of two-position switch (S1) and the 37th pin of single-chip microcomputer (U1) of the second resistance (R2) respectively, and this end is also provided with the second test point (TP2); One gear of another termination two-position switch (S1) of the first crystal oscillator (X1), another gear of another termination two-position switch (S1) of the second crystal oscillator (X2); The series connection point ground connection of the 13 electric capacity (C13) and the 14 electric capacity (C14).
6. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described charactron shows and driving circuit (8) comprises serial shift register (U3), digital display tube (DS), the 7th to the 16 resistance (R7-R16), the first triode (Q1) and the second triode (Q2); The model of wherein said serial shift register (U3) is SN74LS164, and the model of described digital display tube (DS) is SEG2BTT; One end of described the 7th to the 14 resistance (R7-R14) is electrically connected with the the the the the 7th, 6,4,1,3,8,9,2 pin of digital display tube (DS) respectively, and the other end of the 7th to the 14 resistance (R7-R14) is electrically connected with 13,12,11,10,6,5,4,3 pin of serial shift register (U4) respectively; 1 pin of serial shift register (U3) and 2 pin are all electrically connected with the 6th pin of single-chip microcomputer (U1), 8 pin of serial shift register (U3) are electrically connected with the 7th pin of single-chip microcomputer (U1), 7 pin ground connection of serial shift register (U3), 9 pin of serial shift register (U4) and 14 pin all connect the output terminal of power circuit (2); 10 pin of digital display tube (DS) are electrically connected with the emitter of the first triode (Q1), and 5 pin of digital display tube (DS) are electrically connected with the emitter of the second triode (Q2); The collector of the first triode (Q1) is electrically connected with the collector of the second triode (Q2), the base stage of the first triode (Q1) is electrically connected with the 4th pin of single-chip microcomputer (U1) by the 15 resistance (R15), the 4th pin of single-chip microcomputer (U1) is provided with the 3rd test point (TP3), the base stage of the second triode (Q2) is electrically connected with the 5th pin of single-chip microcomputer (U1) by the 16 resistance (R16), and the 5th pin of single-chip microcomputer (U1) is provided with the 4th test point (TP4).
7. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described segment code type LCD shows and driving circuit (9) comprises that segment encode display (LCD), LCD drive chip (U4) and the 17 resistance (R17); Wherein said segment encode display (LCD) is the display of a customization, has four seven segment codes and six graphic icons, and it is HT1621B that LCD drives the model of chip (U4); Nine section control end signal SEG0-SEG8 of described segment encode display (LCD) drive nine section control end signal SEG0-SEG8 of chip (U4) to be electrically connected with LCD respectively, and four common port chip selection signal COM0-COM3 of described segment encode display (LCD) drive four common port chip selection signal COM0-COM3 of chip (U4) to be electrically connected with LCD respectively; LCD drives the VLCD end of chip (U4) to connect the output terminal of power circuit (2) by the 17 resistance (R17), LCD drives the vdd terminal of chip (U4) to connect the output terminal of power circuit (2), LCD drives the VSS end ground connection of chip (U4), and LCD drives the CS end of chip (U4) and DATA end to be electrically connected with the 1st pin and the 3 11 pin of single-chip microcomputer (U1) respectively.
8. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described keystroke handling circuit (11) comprises the 18 to the 21 resistance (R18-R21), the 13 to the 16 electric capacity (C13-C16) and the second to the 7th keyswitch (K2-K7); Wherein said the 18 resistance (R18) is all electrically connected with the output terminal of power circuit (2) with one end of the 19 resistance (R19) resistance, the other end of the 18 resistance (R18) is electrically connected with one end of the 13 electric capacity (C13), the second keyswitch (K2), the 3rd keyswitch (K3) and the 27th pin of single-chip microcomputer (U1) respectively, and this end is also provided with the 9th test point (TP9); The other end ground connection of the 13 electric capacity (C13); The other end of the second keyswitch (K2) is electrically connected with one end of the 4th keyswitch (K4) and the 21st pin of single-chip microcomputer (U1) respectively, and this end is provided with the tenth and estimates point (TP10); The other end of the 3rd keyswitch (K3) is electrically connected with one end of the 5th keyswitch (K5) and the 22nd pin of single-chip microcomputer (U1) respectively, and this end is provided with the 11 and estimates point (TP11); The other end of the 4th keyswitch (K4) and the 5th keyswitch (K5) is all electrically connected with the other end of the 19 resistance (R19) resistance and one end of the 14 electric capacity (C14), and this end is provided with the 12 and estimates point (TP12); The other end ground connection of the 14 electric capacity (C14); The 6th keyswitch (K6) is connected with the 20 resistance (R20) with after the 15 electric capacity (C15) parallel connection again, the output terminal of the circuit one termination power circuit (2) after series connection, and other end ground connection, its series connection point is electrically connected with the 19th pin of single-chip microcomputer (U1); The 7th keyswitch (K7) is connected with the 21 resistance (R21) with after the 16 electric capacity (C16) parallel connection again, the output terminal of the circuit one termination power circuit (2) after series connection, other end ground connection, its series connection point is electrically connected with the 18th pin of single-chip microcomputer (U1), and this series connection point is also the 13 test point (TP13).
9. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described temperature measurement circuit (13) comprises the first jumper wire selector part (J1), the second jumper wire selector part (J2), the first potentiometer (RT1), the second potentiometer (RT2), the first thermistor (TH1), the second thermistor (TH2), the 30 to the 33 resistance (R30-R33), the 18 electric capacity (C18) and the 19 electric capacity (C19); One end of wherein said the first potentiometer (RT1) is electrically connected with 1 pin of the first jumper wire selector part (J1), and the other end and adjustable end are electrically connected with one end, 2 pin of the first thermistor (TH1) and the output terminal of power circuit (2) of the 18 electric capacity (C18) respectively; The other end of the 18 electric capacity (C18) is electrically connected with one end, one end of the 30 resistance (R31) and 2 pin of the first jumper wire selector part (J1) of the 30 resistance (R30) respectively, and this end is provided with the 17 test point (TP17); 1 pin of the first thermistor (TH1) is electrically connected with 3 pin of the first jumper wire selector part (J1); The other end ground connection of the 30 resistance (R30); The other end of the 31 resistance (R31) is electrically connected with the 31st pin of single-chip microcomputer (U1); One end of described the second potentiometer (RT2) is electrically connected with 1 pin of the second jumper wire selector part (J2), and the other end and adjustable end are electrically connected with one end, 2 pin of the second thermistor (TH2) and the output terminal of power circuit (2) of the 19 electric capacity (C19) respectively; The other end of the 19 electric capacity (C19) is electrically connected with one end, one end of the 33 resistance (R33) and 2 pin of the second jumper wire selector part (J2) of the 32 resistance (R32) respectively; 1 pin of the second thermistor (TH2) is electrically connected with 3 pin of the second jumper wire selector part (J2); The other end ground connection of the 32 resistance (R32); The other end of the 33 resistance (R33) is electrically connected with the 32nd pin of single-chip microcomputer (U1).
10. the brassboard based on MC9S08AC16 according to claim 1, is characterized in that described relay drive circuit (14) comprises the 7th triode (Q7), the 8th triode (Q8), the first relay (JK1), the second relay (JK2), the 5th diode (D5), the 6th diode (D6), the 34 to the 37 resistance (R34-R37), the 5th light emitting diode (LED5) and the 6th light emitting diode (LED6); After wherein said the 5th diode (D5) is in parallel with the first relay (JK1), one end is electrically connected with the collector of the 7th triode (Q7), and the other end is electrically connected with the output terminal of power circuit (2); The normally opened contact of the first relay (JK1) the Hou Jie city alternating current of connecting with the 34 resistance (R34) and the 5th light emitting diode (LED5); The grounded emitter of the 7th triode (Q7), the base stage of the 7th triode (Q7) is electrically connected with one end of the 34 resistance (R34); The other end of the 34 resistance (R34) is electrically connected with the 20th pin of single-chip microcomputer (U1), and this end is provided with the 18 test point (TP18); After described the 6th diode (D6) is in parallel with the second relay (JK2), one end is electrically connected with the collector of the 8th triode (Q8), and the other end is electrically connected with the output terminal of power circuit (2); The normally opened contact of the second relay (JK2) the Hou Jie city alternating current of connecting with the 36 resistance (R36) and the 6th light emitting diode (LED6); The grounded emitter of the 8th triode (Q8), the base stage of the 8th triode (Q8) is electrically connected with one end of the 37 resistance (R37); The other end of the 37 resistance (R37) is electrically connected with the 33rd pin of single-chip microcomputer (U1).
11. brassboards based on MC9S08AC16 according to claim 1, is characterized in that described infrared remote control reception circuit (15) comprises the 3rd jumper wire selector part (J3), infrared remote receiver (REC), the 7th keyswitch (K7), the 38 resistance (R38) and the 20 to the 22 electric capacity (C20-C22); 1 pin of wherein said the 3rd jumper wire selector part (J3) is electrically connected with the IR-_OUT pin of infrared remote receiver (REC), 2 pin of the 3rd jumper wire selector part (J3) are electrically connected with the 2nd pin of single-chip microcomputer (U1), 2 pin of the 3rd jumper wire selector part (J3) are provided with the 19 test point (TP19), and 3 pin of the 3rd jumper wire selector part (J3) are electrically connected with one end of the 7th keyswitch (K7); The other end ground connection of the 7th keyswitch (K7); The 20 electric capacity (C20) connect with the 38 resistance (R38) after one end be electrically connected with the output terminal of power circuit (2), other end ground connection, its series connection point is electrically connected with 2 pin of the 3rd jumper wire selector part (J3); After the 21 electric capacity (C21) is in parallel with the 22 electric capacity (C22), one end is electrically connected with the output terminal of power circuit (2), other end ground connection; The VCC pin of infrared remote receiver (REC) is electrically connected with the output terminal of power circuit (2), the GND pin ground connection of infrared remote receiver (REC).
CN201410141339.3A 2014-04-09 2014-04-09 Experimental board based on MC9S08AC16 Pending CN104008686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410141339.3A CN104008686A (en) 2014-04-09 2014-04-09 Experimental board based on MC9S08AC16

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410141339.3A CN104008686A (en) 2014-04-09 2014-04-09 Experimental board based on MC9S08AC16

Publications (1)

Publication Number Publication Date
CN104008686A true CN104008686A (en) 2014-08-27

Family

ID=51369321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410141339.3A Pending CN104008686A (en) 2014-04-09 2014-04-09 Experimental board based on MC9S08AC16

Country Status (1)

Country Link
CN (1) CN104008686A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104810000A (en) * 2015-05-14 2015-07-29 武汉华星光电技术有限公司 Control circuit and control method used for liquid crystal display
CN106356022A (en) * 2016-10-20 2017-01-25 南京东恒计量实业有限公司 Control device and method used for display screen
CN108508353A (en) * 2018-05-22 2018-09-07 杭州博日科技有限公司 The driver circuit plate high temperature accelerated test aging equipment of PCR instrument
CN110206446A (en) * 2019-07-05 2019-09-06 福建师范大学福清分校 New-type safe control system
CN110544422A (en) * 2019-09-06 2019-12-06 江苏科瑞德智控自动化科技有限公司 Comprehensive capability training platform based on 51-single-chip microcomputer pin and jack combination

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156515A (en) * 2011-04-28 2011-08-17 华南理工大学 Embedded developing board having strong expansibility
CN202443667U (en) * 2012-03-07 2012-09-19 安徽工程大学 Experimental device based on STC MCU (micro controller unit) teaching
CN202563782U (en) * 2012-05-22 2012-11-28 浙江师范大学 Singlechip experiment teaching development system
CN203165315U (en) * 2013-04-09 2013-08-28 杨守良 Single chip microcomputer learning experimental device
CN203178728U (en) * 2013-03-27 2013-09-04 无锡科技职业学院 A MC9S08AW60 single chip microcomputer minimum system board
CN103594012A (en) * 2013-11-05 2014-02-19 广州铁路职业技术学院 Practical training board for single-chip microcomputer teaching

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156515A (en) * 2011-04-28 2011-08-17 华南理工大学 Embedded developing board having strong expansibility
CN202443667U (en) * 2012-03-07 2012-09-19 安徽工程大学 Experimental device based on STC MCU (micro controller unit) teaching
CN202563782U (en) * 2012-05-22 2012-11-28 浙江师范大学 Singlechip experiment teaching development system
CN203178728U (en) * 2013-03-27 2013-09-04 无锡科技职业学院 A MC9S08AW60 single chip microcomputer minimum system board
CN203165315U (en) * 2013-04-09 2013-08-28 杨守良 Single chip microcomputer learning experimental device
CN103594012A (en) * 2013-11-05 2014-02-19 广州铁路职业技术学院 Practical training board for single-chip microcomputer teaching

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
唐红雨: "51/AVR单片机多功能实验板的设计与制作", 《镇江高专学报》 *
石建国 等: "在线调试与编程的单片机教学实验板设计", 《实验科学与技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104810000A (en) * 2015-05-14 2015-07-29 武汉华星光电技术有限公司 Control circuit and control method used for liquid crystal display
CN106356022A (en) * 2016-10-20 2017-01-25 南京东恒计量实业有限公司 Control device and method used for display screen
CN108508353A (en) * 2018-05-22 2018-09-07 杭州博日科技有限公司 The driver circuit plate high temperature accelerated test aging equipment of PCR instrument
CN108508353B (en) * 2018-05-22 2023-08-08 杭州博日科技股份有限公司 High-temperature accelerated test aging device for driving circuit board of PCR instrument
CN110206446A (en) * 2019-07-05 2019-09-06 福建师范大学福清分校 New-type safe control system
CN110544422A (en) * 2019-09-06 2019-12-06 江苏科瑞德智控自动化科技有限公司 Comprehensive capability training platform based on 51-single-chip microcomputer pin and jack combination

Similar Documents

Publication Publication Date Title
CN104008686A (en) Experimental board based on MC9S08AC16
CN101281697A (en) Multifunctional single-chip experimental development plate
CN102750243A (en) Easily-debugged embedded system of complex SD (secure digital) interface
CN101377538B (en) Microprocessor aging test system and test method
CN102801818A (en) Universal sensor interface acquisition system based on ZigBee technology
CN103793302A (en) Debugging device
CN205005030U (en) Electronic information anti -jamming circuit
CN202887106U (en) Novel multifunctional computer keyboard
CN103123799A (en) Rate indication circuit, rigid disk backboard and electronic device
CN206805993U (en) The recording instrument without paper shown with backlight drive
CN102254469A (en) Experimental device based on embedded development platform
CN103970706A (en) External expansion system of mobile device based on FT311D interface chip
CN202904427U (en) Clock tree generation circuit with multiple function modes
CN103823734A (en) Hard disk status display device
CN206489862U (en) A kind of frequency spectrum display module for cascading extension
CN207123835U (en) Versatile interface integrated box
CN204650511U (en) A kind of Multifunctional main board diagnostic card
CN210428425U (en) General DSP chip debugging interface equipment
CN203773535U (en) Mainboard failure diagnostic card
CN202512509U (en) Universal serial bus (USB) serial port debugger
CN205193501U (en) General FPGA debugs device
CN109192023A (en) A kind of teaching simulation analogue system of power electronic devices
CN209267552U (en) The control circuit of keyboard
CN210627623U (en) Circuit board function board of washing machine processor
CN204667732U (en) A kind of NAND gate circuit demonstrating experiment device

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

Application publication date: 20140827