CN204856478U - High -speed automatic downloader based on CH340G and STC104W - Google Patents
High -speed automatic downloader based on CH340G and STC104W Download PDFInfo
- Publication number
- CN204856478U CN204856478U CN201520571950.XU CN201520571950U CN204856478U CN 204856478 U CN204856478 U CN 204856478U CN 201520571950 U CN201520571950 U CN 201520571950U CN 204856478 U CN204856478 U CN 204856478U
- Authority
- CN
- China
- Prior art keywords
- usb
- pin
- integrated circuit
- electric capacity
- serial ports
- 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
Links
Landscapes
- Information Transfer Systems (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The utility model discloses a high -speed automatic downloader, it is including the automatic the control unit that downloads, downloads the control unit automatically by little control integrated circuit U2 (STC104W), the 5th resistance R1 - R5 of 1 -, the 1st electric capacity C1, and the 2nd electric capacity C2, push -button switch S1, field effect transistor Q1 and switch tube Q2 constitute, and the characteristic is: include still that USB connects the interface and USB level dress trades the unit, wherein: USB level dress trades the unit by adopting the high -speed communication socket component P1 who changes serial ports integrated circuit U3 (CH340G), the 7th electric capacity C3 - C7 of 3 -, crystal oscillator X1, connection host computer of USB to constitute. The utility model discloses a be used for host computer (like PC) and the next machine (like the singlechip) communication, the utility model discloses the reliable communication of high speed of the next machine not only can be realized, the automation of whole communication process has been realized simultaneously to the efficiency of debugging is greatly improved. Be used for host computer (like PC) and the next machine (like the singlechip) communication.
Description
Technical field
The utility model relates to upper and lower computer communication apparatus, especially relates to a kind of High-Speed Automatic downloader based on CH340G and STC104W achieved the High-Speed Automatic download of single-chip microcomputer.
Background technology
In the performance history of single-chip microcomputer, because the communication modes majority of single-chip microcomputer is serial ports download interface, and the communication interface of current host computer is USB2.0, USB3.0 interface, therefore upper bottom directly cannot be connected download.Classic method is that the conversion using PL2303 integrated circuit to realize usb signal and serial ports level is downloaded, but the speed of download of PL2303 is partially slow, and greatly between 2400kps to 9600kps, and integrated circuit manufacturer is various, and stability is barely satisfactory.Simultaneously in serial ports downloading process, integrated circuit needs cold start-up to download, and this just requires to need additional manual cold start-up button in circuit, downloads each time and all needs manual break-make ic power once, reduce debugging efficiency.
Summary of the invention
The purpose of this utility model is to provide the High-Speed Automatic downloader that a kind of communication speed is high, automaticity is high, production cost is low.
The purpose of this utility model is achieved in that
A kind of High-Speed Automatic downloader, comprise automatic downloading control unit, automatic downloading control unit is by microcontroller integrated circuit U2(STC104W), 1-the 5th resistance R1-R5, the 1st electric capacity C1,2nd electric capacity C2, push-button switch S1, field effect transistor Q1 and switching tube Q2 form, feature is: also comprise USB connection interface and USB level dress changes unit, wherein: USB level dress changes unit and at a high speed turns serial ports integrated circuit U3(CH340G by adopting USB), 3-the 7th electric capacity C3-C7, crystal oscillator X1, the socket communication element P1 that connects host computer form.
USB connection interface adopts USB-B type technical grade standard interface, there is high dry resistance, the features such as high strength of joint, USB level dress changes unit and adopts CH340 high-speed transitions integrated circuit, for realize USB communication level conversion be serial communication level (through reality test can stable operation in the upper rate limit of serial communication), the control section of automatic download circuit adopts STC104W microcontroller integrated circuit, performs part and adopts P-channel enhancement type field effect transistor.When host computer sends communication request, control integration circuit can detect communication request, after to communication request analysis, send control signal to topworks, automatically cuts off slave computer integrated circuit, completes whole automatic communication process thus.
The utility model is that the utility model can not only realize the high speed reliable communicating of upper and lower computer, achieves the robotization of whole communication process simultaneously, thus substantially increases the efficiency of debugging for host computer (as PC) and slave computer (as single-chip microcomputer) communication.
Accompanying drawing explanation
Fig. 1 is circuit theory diagrams of the present utility model.
Embodiment
Below by the drawings and the specific embodiments, the utility model is described in further detail.
A kind of High-Speed Automatic downloader, comprises USB connection interface U1, USB level dress changes unit, automatically downloading control unit, wherein:
Power end 1 pin of USB connection interface U1 meets power supply UVCC, the equal ground connection of earth terminal 0,4 pin of USB connection interface U1 after connecting with fuse F1;
USB level dress changes unit and turns serial ports integrated circuit U3(CH340G at a high speed by adopting USB), 3-the 7th electric capacity C3-C7, crystal oscillator X1, the socket communication element P1 connecting host computer forms, USB turns at a high speed D+ data terminal 3 pin and D-data terminal 2 pin that UD+ data terminal 5 pin of serial ports integrated circuit U3 and UD-data terminal 6 pin meet USB connection interface U1 respectively, serial data output terminal 2 pin that USB turns at a high speed serial ports integrated circuit U3 connects No. 1 pin of interrogating socket element P1, to connect the RXD end of host computer, serial data input 3 pin that USB turns at a high speed serial ports integrated circuit U3 connects No. 2 pin of interrogating socket element P1, to connect the TXD end of host computer, the two ends of crystal oscillator X1 are connected on the clock end 7 that USB turns at a high speed serial ports integrated circuit U3 respectively, 8 pin, 6th electric capacity C6 be connected on that USB at a high speed turns serial ports integrated circuit U3 between clock end 7 pin and ground, 7th electric capacity C7 be connected on that USB at a high speed turns serial ports integrated circuit U3 between clock end 8 pin and ground, USB turns at a high speed power end 16 pin of serial ports integrated circuit U3, 3rd electric capacity C3 one end, the public termination power UVCC of the 4th electric capacity C4 one end, power end 4 pin that USB turns at a high speed serial ports integrated circuit U3 is connected with the 5th electric capacity C5 ground connection afterwards, USB turns at a high speed the earth terminal 1 pin ground connection of serial ports integrated circuit U3,
Automatic downloading control unit is by microcontroller integrated circuit U2(STC15F104W), 1-the 5th resistance R1-R5, 1st electric capacity C1, 2nd electric capacity C2, push-button switch S1, field effect transistor Q1 and triode Q2 forms, download indication end 14 pin that download indication end 8 pin and the USB of microcontroller integrated circuit U2 turn at a high speed serial ports integrated circuit U3 is connected, data terminal 7 pin of microcontroller integrated circuit U2 connects the base stage of triode Q2 after connecting with the 5th resistance R5, data terminal 7 pin of microcontroller integrated circuit U2 connects the emitter of triode Q2 after connecting with the 4th resistance R4, the collector of triode Q2 connects the grid of field effect transistor Q1, the source electrode of field effect transistor Q1 connects positive pole 1 pin of the power supply interface P2 of host computer, the negative pole 1 pin ground connection of the power supply interface P2 of host computer, the drain electrode of field effect transistor Q1 meets power supply UVCC, the grid of the public termination field effect transistor Q1 of push-button switch S1 one end and the 2nd resistance R2 one end, the other end of push-button switch S1 meets power supply UVCC after connecting with the 1st resistance R1, the other end ground connection of the 2nd resistance R2, 1st electric capacity C1 is polar capacitor, the positive pole of the 1st electric capacity C1 meets power supply UVCC, the minus earth of the 1st electric capacity C1, 2nd electric capacity C2 is connected in parallel between power supply UVCC and ground.
USB connection interface U1 connects the USB interface of host computer by USB connecting line, host computer usb signal UD+, UD-accesses USB by USB connection interface U1 and at a high speed turns serial ports integrated circuit U3(CH340G), turn serial ports integrated circuit U3(CH340G at a high speed by USB) be serial ports level by the USB level conversion of host computer.Wherein X1:12M crystal oscillator shakes frequency accurately for CH340G provides, and C5:0.01uF leaded multilayer ceramic capacitor prevents integrated circuit from shaking.
In communication process, host computer first USB at a high speed turns serial ports integrated circuit U3 and sends download signal, USB turns serial ports integrated circuit U3 after receiving the signal of host computer at a high speed, the RTS end turning at a high speed serial ports integrated circuit U3 at USB sends download indicator signal, microcontroller integrated circuit U2(STC15F104W) RTS signal can be detected fast, low level is sent at P3.2 mouth under the guiding of internal processes, the base stage coupling low level of triode Q2, the collector of Q2 obtains the grid that high level is coupled to field effect transistor Q1, field effect transistor Q1 is P type enhancement mode MOSFET, between grid and source electrode, zero is inclined, field effect transistor Q1 will end, thus the cut-out realized host computer power supply, break time is about 1ms, P3.2 mouth recovers high level state afterwards, field effect transistor Q1 conducting, host computer restores electricity, so far automatic Cold Start is completed.
Claims (1)
1. a High-Speed Automatic downloader, comprise automatic downloading control unit, automatic downloading control unit is by microcontroller integrated circuit U2,1-the 5th resistance R1-R5, the 1st electric capacity C1,2nd electric capacity C2, push-button switch S1, field effect transistor Q1 and switching tube Q2 form, it is characterized in that: also comprise USB connection interface and USB level dress change unit, wherein:
Power end 1 pin of USB connection interface U1 meets power supply UVCC, the equal ground connection of earth terminal 0,4 pin of USB connection interface U1 after connecting with fuse F1;
USB level dress changes unit and turns serial ports integrated circuit U3 at a high speed by adopting USB, 3-the 7th electric capacity C3-C7, crystal oscillator X1, the socket communication element P1 connecting host computer forms, USB turns at a high speed D+ data terminal 3 pin and D-data terminal 2 pin that UD+ data terminal 5 pin of serial ports integrated circuit U3 and UD-data terminal 6 pin meet USB connection interface U1 respectively, serial data output terminal 2 pin that USB turns at a high speed serial ports integrated circuit U3 connects No. 1 pin of interrogating socket element P1, to connect the RXD end of host computer, serial data input 3 pin that USB turns at a high speed serial ports integrated circuit U3 connects No. 2 pin of interrogating socket element P1, to connect the TXD end of host computer, the two ends of crystal oscillator X1 are connected on the clock end 7 that USB turns at a high speed serial ports integrated circuit U3 respectively, 8 pin, 6th electric capacity C6 be connected on that USB at a high speed turns serial ports integrated circuit U3 between clock end 7 pin and ground, 7th electric capacity C7 be connected on that USB at a high speed turns serial ports integrated circuit U3 between clock end 8 pin and ground, USB turns at a high speed power end 16 pin of serial ports integrated circuit U3, 3rd electric capacity C3 one end, the public termination power UVCC of the 4th electric capacity C4 one end, power end 4 pin that USB turns at a high speed serial ports integrated circuit U3 is connected with the 5th electric capacity C5 ground connection afterwards, USB turns at a high speed the earth terminal 1 pin ground connection of serial ports integrated circuit U3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520571950.XU CN204856478U (en) | 2015-08-03 | 2015-08-03 | High -speed automatic downloader based on CH340G and STC104W |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520571950.XU CN204856478U (en) | 2015-08-03 | 2015-08-03 | High -speed automatic downloader based on CH340G and STC104W |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204856478U true CN204856478U (en) | 2015-12-09 |
Family
ID=54747010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520571950.XU Expired - Fee Related CN204856478U (en) | 2015-08-03 | 2015-08-03 | High -speed automatic downloader based on CH340G and STC104W |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204856478U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111696300A (en) * | 2020-07-28 | 2020-09-22 | 甘肃探索者无人机智能装备有限公司 | Wisdom conflagration prevention and control early warning monitoring audio alert device |
CN117007416A (en) * | 2023-09-21 | 2023-11-07 | 常州市建筑材料研究所有限公司 | Safe cement pressure testing machine |
-
2015
- 2015-08-03 CN CN201520571950.XU patent/CN204856478U/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111696300A (en) * | 2020-07-28 | 2020-09-22 | 甘肃探索者无人机智能装备有限公司 | Wisdom conflagration prevention and control early warning monitoring audio alert device |
CN117007416A (en) * | 2023-09-21 | 2023-11-07 | 常州市建筑材料研究所有限公司 | Safe cement pressure testing machine |
CN117007416B (en) * | 2023-09-21 | 2023-12-08 | 常州市建筑材料研究所有限公司 | Safe cement pressure testing machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204856478U (en) | High -speed automatic downloader based on CH340G and STC104W | |
CN102801818B (en) | Universal sensor interface acquisition system based on ZigBee technology | |
CN205384601U (en) | Singlechip downloader | |
CN205193783U (en) | Circuit is downloaded to a singlechip key | |
CN204117134U (en) | A kind of electric-controlled plate wireless transmission programmer | |
CN203881830U (en) | Parameter detecting instrument based on Android phone | |
CN203688642U (en) | Power failure detection circuit | |
CN104668736B (en) | The circuit for remotely controlling of argon arc welding machine | |
CN203444675U (en) | Integrated experiment table for Internet of Things | |
CN109150911B (en) | Communication protocol conversion device of security inspection machine | |
CN103440802B (en) | A kind of Internet of Things comprehensive experiment table | |
CN204270057U (en) | The mutual circuit of intelligent electric instrument | |
CN108197047B (en) | Intelligent interface circuit | |
CN110413550B (en) | Chip serial port program downloading control circuit | |
CN206283496U (en) | Agricultural machinery small intelligent terminal based on Internet of Things | |
CN203338343U (en) | USB downloading device of STC single chip microcomputer | |
CN205247381U (en) | Absolute value servo driver RS485 communication circuit | |
CN218041389U (en) | Improved functional integrated circuit | |
CN204166692U (en) | A kind of infrared transmitter based on mobile terminal earphone interface | |
CN208689541U (en) | Computer incoming call auto power on device | |
CN204595160U (en) | The simple batch-testing device of wireless transmit chip | |
CN204362018U (en) | A kind of USB device power supply circuits and electronic installation | |
CN203405814U (en) | Multifunctional downloader based on programmable logic devices | |
CN208443909U (en) | The emulator of self-monitoring | |
CN211791566U (en) | Network bridging module for connecting smart phone and field control equipment |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151209 Termination date: 20160803 |