CN203350646U - Automatic downloading device of single-chip microcomputer - Google Patents

Automatic downloading device of single-chip microcomputer Download PDF

Info

Publication number
CN203350646U
CN203350646U CN201320385770.3U CN201320385770U CN203350646U CN 203350646 U CN203350646 U CN 203350646U CN 201320385770 U CN201320385770 U CN 201320385770U CN 203350646 U CN203350646 U CN 203350646U
Authority
CN
China
Prior art keywords
pin
circuit
resistance
power
download
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.)
Expired - Fee Related
Application number
CN201320385770.3U
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.)
Kunming University of Science and Technology
Original Assignee
Kunming University of Science and Technology
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 Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201320385770.3U priority Critical patent/CN203350646U/en
Application granted granted Critical
Publication of CN203350646U publication Critical patent/CN203350646U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model relates to an automatic downloading device of a single-chip microcomputer, and belongs to the technical field of electronic products. The automatic downloading device comprises a download main circuit, a power-off restart circuit, and a clock circuit, wherein the download main circuit and the clock circuit are connected to construct a minimum system for program downloading; the power-off restart circuit and the download main circuit are connected; and a relay in the power-off restart circuit is controlled by a signal emitted from the download main circuit, thereby generating a cold power-up process. The automatic downloading device of the utility model is simple and small in structure, reliable in usage, good in automatic downloading effect, and low in cost, and simultaneously realizes the automatic restart of the single-chip microcomputer.

Description

The automatic downloader of a kind of single-chip microcomputer
Technical field
The utility model relates to the automatic downloader of a kind of single-chip microcomputer, belongs to technical field of electronic products.
Background technology
Along with single-chip microcomputer is used more and more widely, the people of study single-chip microcomputer is also more and more, in single-chip learning, need brassboard is downloaded, whether correct in order to the debugging and verification program, but downloading at every turn, 51 single-chip microcomputers all need the power-off restarting single-chip microcomputer, make monolithic processor resetting, so that the program pilot codes can correctly be identified single-chip microcomputer, the program that realizes is downloaded.Although downloader and the microcomputer development plate on market all installed power switch additional now, for the power-off restarting single-chip microcomputer, but download at every turn or need to manually carry out power operation, this is very unfavorable to needing in single-chip learning often to download, the one, power switch damages because of frequent the use easily, the 2nd, pretty troublesome, cause the unnecessary waste of time.
Summary of the invention
The utility model provides a kind of single-chip microcomputer automatic downloader, for solving existing single-chip microcomputer, need restart the problem that just can make it reset.
The technical solution of the utility model is: the automatic downloader of a kind of single-chip microcomputer comprises and downloads main circuit 1, power-off restarting circuit 2, clock circuit 3; Download main circuit 1 and be connected with clock circuit 3, build the minimum system that a program is downloaded, power-off restarting circuit 2 is connected with download main circuit 1, and the relay in the signal controlling power-off restarting circuit 2 sent by download main circuit 1, produce cold power up.
Download main circuit 1, for usb data being converted into to the TTL rs 232 serial interface signal; Power-off restarting circuit 2, realize the power-off restarting function while downloading for completing at single-chip microcomputer; Clock circuit 3, for providing clock signal.
Described download main circuit 1 comprises data chip IC1, USB interface J2, capacitor C 2, C3, C4, resistance R 4, R5, R6, R7, R8, R9, R10; Wherein the 4th, 5 pin of chip IC 1 are connected with capacitor C 2, the 13rd, 14 pin of chip IC 1 are connected with resistance R 4, R5, the 15th, 16,17 pin of chip IC 1 are connected with resistance R 7, R8, R9, and the 2nd, 3 pin of USB interface J2 are connected with resistance R 8, R9, and resistance R 10 is connected with capacitor C 4.
Described power-off restarting circuit 2 comprises midget relay K1, download interface J3, triode T2, resistance R 11, R12, R13, capacitor C 5, diode D1, D2; Wherein the 1st, 2 pin of diode D1 and midget relay K1 are connected, the 3rd pin of triode T2 and the 1st pin of midget relay K1 are connected, resistance R 11 is connected with the 1st, 2 pin of triode T2, the 2nd pin of resistance R 13 and triode T2 is connected, resistance R 12, R13 and capacitor C 5 are connected, and the 1st, 4 pin of download interface J3 are connected with the 3rd, 2 pin of midget relay K1 respectively.
Principle of work of the present utility model is: clock circuit 3 provides operation clock signal for single-chip microcomputer, the USB interface J2 downloaded in main circuit 1 sends into the computer USB data DM and the DP mouth of chip PL-2303 after resistance R 7, R8, R9 isolation, chip internal completes the conversion of usb signal to the Transistor-Transistor Logic level signal, signal after conversion is two pins outputs of TXD and RXD in chip PL-2303, and this signal just can directly connect that single-chip microcomputer downloads or and microcontroller communication.
When the PL-2303 chip detection, when having packet to download, its 2 pin (DTR-N) will be exported a low level (being less than 0.7V), draws high (being greater than 2.7V) after program has been downloaded, and this pin is connected with the diode D2 in power-off restarting circuit 2.
In power-off restarting circuit 2, because PL-2303 chip 2 pin that are connected with D2 are high level usually, so not conducting of D2, the base stage no current of triode T2 flows out, triode T2 cut-off, midget relay K1 is in not attracting state, normally closed contact 5 pin of K1 and the connection of 3 pin, the 5V power supply is switched on and offers download interface J3, in order to power to single-chip microcomputer.
When having program to download, 2 pin output low levels of PL-2303 chip, diode D2 conducting, triode T2 base current is through R13, R12 and C5 flow out, triode T2 conducting, midget relay K1 coil obtains electric adhesive, the normally closed contact 5 of K1 and 3 disconnects, the 5V dump of download interface will be supplied with, make external single-chip microcomputer outage, along with the continuous charging of R13 to C5, C5 voltage constantly raises, the electric current that the T2 base stage flows out through R13 reduces gradually, T2 conducting degree also reduces gradually, when electric current is less than the minimal closure electric current of midget relay K1, relay K 1 disconnects, reclose normally closed contact 5 pin and 3 pin, the 5V power supply is switched on again, make the outer single-chip microcomputer that is connected on download interface again switch on and restart, program just starts download and enters single-chip microcomputer.The process of this outage and energising just simulation has replaced the process closed a switch again after artificial cut-off switch, has realized the auto-breaking of 51 single-chip microcomputers is restarted, and has then realized the automatic download function of program.
The beneficial effects of the utility model are: simple in structure, small and exquisite, use reliably, and automatically download effectively, with low cost, realized the autoboot that single-chip microcomputer is right simultaneously.
The accompanying drawing explanation
Fig. 1 is system chart of the present utility model;
Fig. 2 is the circuit theory diagrams that the utility model is downloaded main circuit;
The circuit theory diagrams that Fig. 3 is the utility model power-off restarting circuit;
The circuit theory diagrams that Fig. 4 is the utility model clock circuit;
In figure, each label is: 1 is that power-off restarting circuit, 3 is clock circuit for downloading main circuit, 2.
Embodiment
Below in conjunction with drawings and Examples, the utility model is described in further detail, but content of the present utility model is not limited to described scope.
Embodiment 1: as Figure 1-4, the automatic downloader of a kind of single-chip microcomputer, comprise and download main circuit 1, power-off restarting circuit 2, clock circuit 3; Download main circuit 1 and be connected with clock circuit 3, build the minimum system that a program is downloaded, power-off restarting circuit 2 is connected with download main circuit 1, and the relay in the signal controlling power-off restarting circuit 2 sent by download main circuit 1, produce cold power up.
Described download main circuit 1 comprises data chip IC1, USB interface J2, capacitor C 2, C3, C4, resistance R 4, R5, R6, R7, R8, R9, R10; Wherein the 4th, 5 pin of chip IC 1 are connected with capacitor C 2, the 13rd, 14 pin of chip IC 1 are connected with resistance R 4, R5, the 15th, 16,17 pin of chip IC 1 are connected with resistance R 7, R8, R9, and the 2nd, 3 pin of USB interface J2 are connected with resistance R 8, R9, and resistance R 10 is connected with capacitor C 4.
Described power-off restarting circuit 2 comprises midget relay K1, download interface J3, triode T2, resistance R 11, R12, R13, capacitor C 5, diode D1, D2; Wherein the 1st, 2 pin of diode D1 and midget relay K1 are connected, the 3rd pin of triode T2 and the 1st pin of midget relay K1 are connected, resistance R 11 is connected with the 1st, 2 pin of triode T2, the 2nd pin of resistance R 13 and triode T2 is connected, resistance R 12, R13 and capacitor C 5 are connected, and the 1st, 4 pin of download interface J3 are connected with the 3rd, 2 pin of midget relay K1 respectively.

Claims (3)

1. the automatic downloader of single-chip microcomputer, is characterized in that: download main circuit (1), power-off restarting circuit (2), clock circuit (3); Downloading main circuit (1) is connected with clock circuit (3), build the minimum system that a program is downloaded, power-off restarting circuit (2) is connected with download main circuit (1), and the relay in the signal controlling power-off restarting circuit (2) sent by download main circuit (1), produce cold power up.
2. the automatic downloader of single-chip microcomputer according to claim 1, it is characterized in that: described download main circuit (1) comprises data chip IC1, USB interface J2, capacitor C 2, C3, C4, resistance R 4, R5, R6, R7, R8, R9, R10; Wherein the 4th, 5 pin of chip IC 1 are connected with capacitor C 2, the 13rd, 14 pin of chip IC 1 are connected with resistance R 4, R5, the 15th, 16,17 pin of chip IC 1 are connected with resistance R 7, R8, R9, and the 2nd, 3 pin of USB interface J2 are connected with resistance R 8, R9, and resistance R 10 is connected with capacitor C 4.
3. the automatic downloader of single-chip microcomputer according to claim 1, it is characterized in that: described power-off restarting circuit (2) comprises midget relay K1, download interface J3, triode T2, resistance R 11, R12, R13, capacitor C 5, diode D1, D2; Wherein the 1st, 2 pin of diode D1 and midget relay K1 are connected, the 3rd pin of triode T2 and the 1st pin of midget relay K1 are connected, resistance R 11 is connected with the 1st, 2 pin of triode T2, the 2nd pin of resistance R 13 and triode T2 is connected, resistance R 12, R13 and capacitor C 5 are connected, and the 1st, 4 pin of download interface J3 are connected with the 3rd, 2 pin of midget relay K1 respectively.
CN201320385770.3U 2013-07-01 2013-07-01 Automatic downloading device of single-chip microcomputer Expired - Fee Related CN203350646U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320385770.3U CN203350646U (en) 2013-07-01 2013-07-01 Automatic downloading device of single-chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320385770.3U CN203350646U (en) 2013-07-01 2013-07-01 Automatic downloading device of single-chip microcomputer

Publications (1)

Publication Number Publication Date
CN203350646U true CN203350646U (en) 2013-12-18

Family

ID=49750523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320385770.3U Expired - Fee Related CN203350646U (en) 2013-07-01 2013-07-01 Automatic downloading device of single-chip microcomputer

Country Status (1)

Country Link
CN (1) CN203350646U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105811945A (en) * 2014-12-29 2016-07-27 厦门雅迅网络股份有限公司 Vehicle-borne terminal download mode automatic switching circuit
CN111041668A (en) * 2020-01-06 2020-04-21 黄友颜 Tension rod servo controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105811945A (en) * 2014-12-29 2016-07-27 厦门雅迅网络股份有限公司 Vehicle-borne terminal download mode automatic switching circuit
CN105811945B (en) * 2014-12-29 2019-04-09 厦门雅迅网络股份有限公司 A kind of adaptive switched circuit of car-mounted terminal downloading mode
CN111041668A (en) * 2020-01-06 2020-04-21 黄友颜 Tension rod servo controller

Similar Documents

Publication Publication Date Title
CN203366017U (en) Building talk-back intelligent terminal and crash restart system for same
CN108183807A (en) The tele-control system of server
CN104486419A (en) Network firmware updating method based on FT platform
CN103227813A (en) Automatic long-distance updating system and method for family Internet of Things system
CN103853301A (en) Server system and automatic reset method thereof
TW201405300A (en) Circuit for controlling computers
WO2016110000A1 (en) Adjustment method, device and system for power-down reboot of single plate
CN103680114A (en) Startup and shutdown system employing remote infrared control and computer
CN203350646U (en) Automatic downloading device of single-chip microcomputer
CN105183509A (en) Apparatus and method for realizing shutdown of system power after soft-off
CN203746007U (en) Microprocessor management circuit for self-powered microprocessor protection device
CN105159436A (en) Industrial personal computer power on-off control apparatus and control method
CN104914966A (en) Single-chip microcomputer self-outage restarting circuit
CN101833480B (en) Method for realizing watchdog by using timer and resetting pin of singlechip
CN204240304U (en) A kind of High-Pole Lamp intelligent controlling device
CN203520299U (en) Timer-power-on control circuit
CN202887096U (en) Central processing unit (CPU) reset circuit
CN201527607U (en) On-off control card based on PCI-E slot
CN206348617U (en) A kind of automatic rebooting device of transformer station
CN104571434A (en) Server and reboot method thereof
CN102608994A (en) Running state simulation circuit for transformer cooling device
CN202615379U (en) Watchdog resetting circuit
CN205158060U (en) Intelligence power management structure
CN204833242U (en) Unusually, automatic recovery system crashes
CN104749987A (en) CAN bus controller based on FPGA

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131218

Termination date: 20140701

EXPY Termination of patent right or utility model