CN108984188A - A kind of WIFI Program download - Google Patents

A kind of WIFI Program download Download PDF

Info

Publication number
CN108984188A
CN108984188A CN201810915642.2A CN201810915642A CN108984188A CN 108984188 A CN108984188 A CN 108984188A CN 201810915642 A CN201810915642 A CN 201810915642A CN 108984188 A CN108984188 A CN 108984188A
Authority
CN
China
Prior art keywords
feet
resistance
switch
transmitting terminal
capacitor
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.)
Granted
Application number
CN201810915642.2A
Other languages
Chinese (zh)
Other versions
CN108984188B (en
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.)
Liaoning Mechatronics College
Original Assignee
Liaoning Mechatronics 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 Liaoning Mechatronics College filed Critical Liaoning Mechatronics College
Priority to CN201810915642.2A priority Critical patent/CN108984188B/en
Publication of CN108984188A publication Critical patent/CN108984188A/en
Application granted granted Critical
Publication of CN108984188B publication Critical patent/CN108984188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

A kind of WIFI Program download belongs to SCM program download technology field more particularly to a kind of WIFI Program download.The present invention provides a kind of WIFI Program download easy to use, work efficiency is high.The present invention includes program downloading transmitter and program downloading receiver, it includes transmitting terminal microprocessor that its structural feature program, which downloads transmitter, USB circuit, transmitting terminal data storage circuitry, transmitting terminal WIFI circuit and transmitting terminal function switch circuit, the data transmission port of transmitting terminal microprocessor by transmitting terminal function switch circuit respectively with USB circuit, transmitting terminal WIFI circuit is connected, the data access port of transmitting terminal microprocessor is connected with transmitting terminal data storage circuitry, the switch-over control signal output port of transmitting terminal microprocessor is connected with the switch-over control signal input port of transmitting terminal function switch circuit.

Description

A kind of WIFI Program download
Technical field
The invention belongs to SCM program download technology field more particularly to a kind of WIFI Program downloads.
Background technique
Program after compiling downloads to single-chip microcontroller, and single-chip microcontroller is worked as by specific timing using the specific port of single-chip microcontroller A rom chip is done, single-chip microcontroller is placed on universal programming and is programmed, program burn writing is into single-chip microcontroller.In programming, complete to list The programming of piece machine program, needs download instruction, carries out erasing ROM, reads in the processes such as data, programming ROM and verification ROM.
Common SCM program downloading at present, a kind of downloading program are with dedicated downloading wire by program burn writing to monolithic In machine, but to plank debugging or the upgrade procedure being mounted on large-scale teaching equipment containing single-chip microcontroller has been carried out, more people are with one When teaching equipment, student need to be lined up by the PC machine to equipment for respectively having oneself in arms, under the downloading wire ability that individual also wants company commander long Carry SCM program.Another kind downloading program is the operation by program burn writing into single-chip microcontroller with dedicated off line program downloader Process is that program off line downloader is removed after first passing through PC machine USB port downloading program, then is inserted into single-chip microcontroller downloading mouth on plank and is burnt It programs, when one teaching equipment of the more people of student, student also has to be lined up, and is first obtained from PC machine with program off line downloader Calling program, then with program off line downloader programming single-chip microcontroller, student operates, leaves, repeatedly between PC machine of being dashing about all day and equipment.For Teaching process, both modes, which download program, inconvenient.
Summary of the invention
The present invention addresses the above problem, provides a kind of WIFI Program download easy to use, work efficiency is high.
To achieve the above object, the present invention adopts the following technical scheme that, the present invention includes program downloading transmitter and program Receiver is downloaded, structural feature program downloading transmitter includes transmitting terminal microprocessor, USB circuit, transmitting end data storage Circuit, transmitting terminal WIFI circuit and transmitting terminal function switch circuit, the data transmission port of transmitting terminal microprocessor pass through transmitting End function switch circuit be connected respectively with USB circuit, transmitting terminal WIFI circuit, the data access port of transmitting terminal microprocessor and Transmitting terminal data storage circuitry is connected, switch-over control signal output port and transmitting terminal the function switch electricity of transmitting terminal microprocessor The switch-over control signal input port on road is connected;
It includes receiving end microprocessor, receiving end data storage circuitry, receiving end WIFI circuit and reception that program, which downloads receiver, Hold function switch circuit, the data transmission port of receiving end microprocessor by receiving end function switch circuit respectively with downloading Mouth, receiving end WIFI circuit are connected, and the data access port of receiving end microprocessor is connected with receiving end data storage circuitry, connects The switch-over control signal output port of receiving end microprocessor and the switch-over control signal input port of receiving end function switch circuit It is connected.
As a preferred embodiment, transmitting terminal microprocessor of the present invention use ATMEGA32 chip IC 0, the 12 of IC0 Foot is connected with the one end crystal oscillator Y1, the one end capacitor C1 respectively, and the capacitor C1 other end is connected with ground wire, the one end capacitor C2 respectively, capacitor The C2 other end is connected with 13 feet of the crystal oscillator Y1 other end, IC0 respectively.
As another preferred embodiment, USB circuit of the present invention includes CH340 chip IC 1, and 14 feet of IC0 pass through electricity Dynamic switching switch S1 first via normally closed switch is connected with the one end resistance R1,2 feet of another termination IC1 of resistance R1, and 15 feet of IC0 are logical It crosses electronic switching switch S1 the second road normally closed switch to be connected with the one end resistance R2,3 feet of another termination IC1 of resistance R2;
7 feet of IC1 are connected with the one end crystal oscillator Y2, the one end capacitor C3 respectively, the capacitor C3 other end respectively with ground wire, the one end capacitor C4 It is connected, the capacitor C4 other end is connected with 8 feet of the crystal oscillator Y2 other end, IC1 respectively;
16 feet of IC1 are connected with the one end capacitor C6, capacitor C7 anode respectively, the capacitor C6 other end respectively with the one end capacitor C5, electricity Hold C7 cathode, ground wire is connected, 4 feet of another termination IC1 of capacitor C5;
6 feet of IC1 connect 2 feet of USB interface J1, and 1 foot of USB interface J1 meets power supply VCC, and 5 feet of IC1 connect the 3 of USB interface J1 Foot, 1 foot of IC1 connect 4 feet and ground wire of USB interface J1.
As another preferred embodiment, transmitting terminal data storage circuitry of the present invention includes W25X80 chip IC 2, IC0 1 foot be connected with 1 foot of the one end resistance R4, IC2 respectively by resistance R3, another termination power VCC of resistance R4;2 feet of IC0 are logical It crosses resistance R5 to be connected with 2 feet of the one end resistance R6, IC2 respectively, another termination power VCC of resistance R6;3 feet of IC0 pass through resistance R7 is connected with 5 feet of the one end resistance R8, IC2 respectively, another termination power VCC of resistance R8;4 feet of IC0 are distinguished by resistance R9 It is connected with 6 feet of the one end resistance R10, IC2, another termination power VCC of resistance R10;
8 feet of IC2 are connected with 7 feet of IC2,3 feet of IC2, the one end capacitor C8 respectively, the capacitor C8 other end respectively with IC2 4 Foot, ground wire are connected.
As another preferred embodiment, transmitting terminal WIFI circuit of the present invention includes HX-M02 chip IC 3, and the 14 of IC0 Foot is connected by electronic switching switch S1 first via normal open switch with 40 feet of IC3, and 15 feet of IC0 pass through electronic switching switch S1 Second road normal open switch is connected with 41 feet of IC3;
30 feet of IC3 are connected with the one end resistance R11, the one end button switch SW1 respectively, button switch SW1 other end ground connection, resistance Another termination power VCC of R11;
42 feet of IC3 are connected with the one end resistance R12, the one end capacitor C9 respectively, the resistance R12 other end respectively with 31 feet of IC3, press The one end button switch SW2 is connected, and the button switch SW2 other end is connected with 39 feet, the ground wire of the one end capacitor C9, IC3 respectively.
As another preferred embodiment, transmitting terminal function switch circuit of the present invention includes PNP triode Q1, and the 5 of IC0 Foot is connected by resistance R13 with the cathode of light emitting diode D1, and the anode of light emitting diode D1 is respectively with light emitting diode D2's Anode, power supply VCC, the one end resistance R15 are connected, and the cathode of light emitting diode D2 is connected by resistance R14 with 6 feet of IC0, resistance The R15 other end is connected with the one end resistance R16, PNP triode Q1 base stage respectively, 7 feet of another termination IC0 of resistance R16, PNP tri- Pole pipe Q1 grounded collector, PNP triode Q1 emitter respectively with diode D3 anode, electronic switching switch S1 control terminal one end It is connected, the electronic switching switch S1 control terminal other end is connected with power supply VCC, diode D3 cathode respectively.
As another preferred embodiment, receiving end microprocessor of the present invention uses ATMEGA32 chip IC 4.
As another preferred embodiment, WIFI circuit in receiving end of the present invention includes HX-M02 chip IC 5, and the 14 of IC4 Foot is connected by electronic switching switch S2 first via normally closed switch with 40 feet of IC5, and 15 feet of IC4 pass through electronic switching switch S2 Second road normally closed switch is connected with 41 feet of IC5;
30 feet of IC5 are connected with the one end resistance R17, the one end button switch SW4 respectively, button switch SW4 other end ground connection, resistance Another termination power VCC of R17;
42 feet of IC5 are connected with the one end resistance R18, the one end capacitor C10 respectively, the resistance R18 other end respectively with 31 feet of IC5, The one end button switch SW5 is connected, and the button switch SW5 other end is connected with 39 feet, the ground wire of the one end capacitor C10, IC5 respectively.
Secondly, receiving end data storage circuitry of the present invention includes W25X80 chip IC 6,1 foot of IC4 passes through resistance R19 is connected with 1 foot of the one end resistance R20, IC6 respectively, another termination power VCC of resistance R20;2 feet of IC4 pass through resistance R21 It is connected respectively with 2 feet of the one end resistance R22, IC6, another termination power VCC of resistance R22;3 feet of IC4 are distinguished by resistance R23 It is connected with 5 feet of the one end resistance R24, IC6, another termination power VCC of resistance R24;4 feet of IC4 by resistance R25 respectively with electricity Hinder the one end R26,6 feet of IC6 are connected, another termination power VCC of resistance R26;
8 feet of IC6 are connected with 7 feet of IC6,3 feet of IC6, the one end capacitor C11 respectively, the capacitor C11 other end respectively with IC6 4 Foot, ground wire are connected.
In addition, function switch circuit in receiving end of the present invention includes PNP triode Q2,5 feet of IC4 pass through resistance R27 Be connected with the cathode of light emitting diode D4, the anode of light emitting diode D4 respectively with the anode of light emitting diode D5, power supply VCC, The one end resistance R29 is connected, and the cathode of light emitting diode D5 is connected by resistance R28 with 6 feet of IC4, resistance R29 other end difference It is connected with the one end resistance R30, PNP triode Q2 base stage, 7 feet of another termination IC4 of resistance R30, PNP triode Q2 collector connects Ground, PNP triode Q2 emitter are connected with diode D6 anode, electronic switching switch S2 control terminal one end respectively, electronic switching The switch S2 control terminal other end is connected with power supply VCC, diode D6 cathode respectively;
14 feet of IC4 are connected by electronic switching switch S2 first via normal open switch with 2 feet of downloading mouth J2, and 15 feet of IC4 are logical It crosses electronic switching switch S2 the second road normal open switch and is connected with 3 feet for downloading mouth J2,1 foot of downloading mouth J2 meets power supply VCC, downloads The 4 feet ground connection of mouth J2.
Beneficial effect of the present invention.
The present invention is suitable for the plank containing single-chip microcontroller on large-scale teaching equipment, and student need to frequently change for programming experiment SCM program is write, debugged or upgraded, and is not easy to the environment of line program burn writing.
The present invention is in use, program downloading transmitter is connect with PC machine USB, and program downloads receiver and single-chip microcontroller downloads mouth Connection;It is easy to connect, it is easy to operate.
The present invention can download program without line connection, and work efficiency is high.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings and detailed description.The scope of the present invention not only limits to In the statement of the following contents.
Fig. 1 is USB circuit schematic diagram of the present invention.
Fig. 2 is transmitting terminal data storage circuitry schematic diagram of the present invention.
Fig. 3 is transmitting terminal WIFI circuit diagram of the present invention.
Fig. 4 is transmitting terminal function switch circuit diagram of the present invention.
Fig. 5 is WIFI circuit diagram in receiving end of the present invention.
Fig. 6 is data storage circuitry schematic diagram in receiving end of the present invention.
Fig. 7 is function switch circuit diagram in receiving end of the present invention.
Specific embodiment
As shown, the present invention includes program downloading transmitter and program downloading receiver, program downloading transmitter includes Transmitting terminal microprocessor, USB circuit, transmitting terminal data storage circuitry, transmitting terminal WIFI circuit and transmitting terminal function switch circuit, The data transmission port of transmitting terminal microprocessor is electric with USB circuit, transmitting terminal WIFI respectively by transmitting terminal function switch circuit Road is connected, and the data access port of transmitting terminal microprocessor is connected with transmitting terminal data storage circuitry, transmitting terminal microprocessor Switch-over control signal output port is connected with the switch-over control signal input port of transmitting terminal function switch circuit;
It includes receiving end microprocessor, receiving end data storage circuitry, receiving end WIFI circuit and reception that program, which downloads receiver, Hold function switch circuit, the data transmission port of receiving end microprocessor by receiving end function switch circuit respectively with downloading Mouth, receiving end WIFI circuit are connected, and the data access port of receiving end microprocessor is connected with receiving end data storage circuitry, connects The switch-over control signal output port of receiving end microprocessor and the switch-over control signal input port of receiving end function switch circuit It is connected.
The transmitting terminal microprocessor use ATMEGA32 chip IC 0,12 feet of IC0 respectively with the one end crystal oscillator Y1, capacitor The one end C1 is connected, and the capacitor C1 other end is connected with ground wire, the one end capacitor C2 respectively, and the capacitor C2 other end is another with crystal oscillator Y1 respectively End, 13 feet of IC0 are connected.
The USB circuit includes CH340 chip IC 1, and 14 feet of IC0 pass through electronic switching switch S1 first via normally closed switch It is connected with the one end resistance R1,2 feet of another termination IC1 of resistance R1,15 feet of IC0 are normally closed by the second tunnel electronic switching switch S1 Switch is connected with the one end resistance R2,3 feet of another termination IC1 of resistance R2;
7 feet of IC1 are connected with the one end crystal oscillator Y2, the one end capacitor C3 respectively, the capacitor C3 other end respectively with ground wire, the one end capacitor C4 It is connected, the capacitor C4 other end is connected with 8 feet of the crystal oscillator Y2 other end, IC1 respectively;
16 feet of IC1 are connected with the one end capacitor C6, capacitor C7 anode respectively, the capacitor C6 other end respectively with the one end capacitor C5, electricity Hold C7 cathode, ground wire is connected, 4 feet of another termination IC1 of capacitor C5;
6 feet of IC1 connect 2 feet of USB interface J1, and 1 foot of USB interface J1 meets power supply VCC, and 5 feet of IC1 connect the 3 of USB interface J1 Foot, 1 foot of IC1 connect 4 feet and ground wire of USB interface J1.
See Fig. 1, the switching chip IC 1 of usb bus selects CH340.S1 is electronic switching switch, and J1 is USB interface.Micro- place The external crystal oscillator 11.0592MHZ of device IC0 is managed, load capacitance C1 and C2 select 22P.IC1 external crystal oscillator 12MHZ, load capacitance C3 and C4 selects 22P.Not electronic switching switch S1, two normally-closed contact are connect respectively on resistance R1 and resistance R2, resistance R1 and electricity Resistance R2 connects on the port IC1 TXD and RXD respectively again.It is read on the TXD of the port IC1 by resistance R1 the port microprocessor RXD IC0 The port IC1 RXD is given by resistance R2 down-transmitting data in the data of biography, the port microprocessor TXD IC0.
The USB interface J1 grafting of program downloading transmitter enters PC machine USB interface, and by USB circuit, PC machine is realized and micro- place Manage device IC0 data exchange.
The transmitting terminal data storage circuitry includes W25X80 chip IC 2,1 foot of IC0 by resistance R3 respectively with resistance The one end R4,1 foot of IC2 are connected, another termination power VCC of resistance R4;2 feet of IC0 by resistance R5 respectively with the one end resistance R6, 2 feet of IC2 are connected, another termination power VCC of resistance R6;3 feet of IC0 by resistance R7 respectively with the one end resistance R8, IC2 5 Foot is connected, another termination power VCC of resistance R8;4 feet of IC0 pass through the resistance R9 6 foot phases with the one end resistance R10, IC2 respectively Even, another termination power VCC of resistance R10;
8 feet of IC2 are connected with 7 feet of IC2,3 feet of IC2, the one end capacitor C8 respectively, the capacitor C8 other end respectively with IC2 4 Foot, ground wire are connected.
See that Fig. 2, IC2 are high-speed memory, model W25X80, memory capacity 8MB.PB0~PB3 of IC0 microprocessor Port passes through resistance R3, R5, R7, R9 respectively and connects with the port IC1/CS, DO, DIO, CLK, and/CS is that piece selects mouth, and DO is that data are defeated Outlet, DIO is I/O mouthfuls of data, and CLK is clock mouth.The one end resistance R4, R6, R8, R10 connects on VCC respectively, plays pull-up resistor Effect.
By data storage circuitry, microprocessor IC0 is realized and the reading of 2 data of memory IC and the storage of data.PC Machine is uploaded to the data of microprocessor IC0, is stored in IC2 memory.
The transmitting terminal WIFI circuit includes HX-M02 chip IC 3, and 14 feet of IC0 pass through the electronic switching switch S1 first via Normal open switch is connected with 40 feet of IC3,41 feet that 15 feet of IC0 pass through electronic switching switch S1 the second road normal open switch and IC3 It is connected;
30 feet of IC3 are connected with the one end resistance R11, the one end button switch SW1 respectively, button switch SW1 other end ground connection, resistance Another termination power VCC of R11;
42 feet of IC3 are connected with the one end resistance R12, the one end capacitor C9 respectively, the resistance R12 other end respectively with 31 feet of IC3, press The one end button switch SW2 is connected, and the button switch SW2 other end is connected with 39 feet, the ground wire of the one end capacitor C9, IC3 respectively.
See Fig. 3, WIFI module IC3, model HX-M02WIFI wireless transparent transmission module, it is a high-performance, high sexual valence The embedded WIFI module of ratio, maximum feature are that configuration is simple, starting speed is fast, most start speed fastly less than 1 second.Resistance The one end R11, R12 connects on VCC respectively, plays pull-up resistor.The port CONFIG of IC3 is radio configuration model selection control Donsole, low level is effective, operation inching button SW1 control.The port RESTORE of IC3, configuration mode select control mouth, low electricity It is flat effectively to operate inching button SW2, restore WIFI module factory-said value.
Electronic S1 switching switch, electronic switching switch S1 are switched on two normally opened contacts, the port IC0 RXD and TXD, point It does not connect on the port UART1_TX and the port UART1_RX of WIFI module IC3.
The data that WIFI module IC3 wireless receiving arrives are uploaded to the port of microprocessor IC0 by its port UART1_TX RXD.The wireless data that microprocessor IC0 is issued, by the port UART1_RX for being transmitted to WIFI module IC3 under its port TXD.
By WIFI circuit, microprocessor IC0 realizes that control WIFI module IC3 issues wireless data.
The transmitting terminal function switch circuit includes PNP triode Q1, and 5 feet of IC0 pass through resistance R13 and light emitting diode The cathode of D1 is connected, the anode of light emitting diode D1 respectively with the anode of light emitting diode D2, power supply VCC, the one end resistance R15 phase Even, the cathode of light emitting diode D2 is connected by resistance R14 with 6 feet of IC0, the resistance R15 other end respectively with resistance R16 mono- End, PNP triode Q1 base stage are connected, 7 feet of another termination IC0 of resistance R16, PNP triode Q1 grounded collector, tri- pole PNP Pipe Q1 emitter is connected with diode D3 anode, electronic switching switch S1 control terminal one end respectively, electronic switching switch S1 control The end other end is connected with power supply VCC, diode D3 cathode respectively.
See that Fig. 4, D1 and D2 are light emitting diodes, plays working status indication.When PC machine and microprocessor IC0 data are handed over When changing, D1 flash for prompting.As microprocessor IC0 and WIFI module wireless data transceiving, D2 flash for prompting.D3 is two pole of afterflow Pipe, shields.SW3 inching button is operated, microprocessor IC0 wipes data in data storage.
Triode Q1 model 8550 drives electronic switching switch S1, is controlled by the port PB6 of IC0, when PB6 output is low When level, triode Q1 saturation conduction, S1 obtains electric, and the double-pole of electronic switching switch S1 leaves two normally-closed contacts, is switched to two On a normally opened contact, microprocessor IC0 and WIFI circuit are connected.When PB6 exports high level, triode Q1 cut-off, S1 power-off, The double-pole of S1 returns on two normally-closed contacts, and microprocessor IC0 and USB circuit are connected.
By function switch circuit, electronic switching switch S1, microprocessor IC0 is driven to realize and USB circuit and WIFI mould Switch between block circuit, completes data exchange.
The USB interface J1 grafting of program downloading transmitter enters PC machine USB interface, by USB circuit, PC machine and microprocessor Data exchange is carried out between IC0.The program PC machine of compiled single-chip microcontroller downloading is uploaded to microprocessor IC0.Microprocessor IC0 controls data storage circuitry, in the program data deposit memory IC 2 for the downloading that PC machine is uploaded.Microprocessor IC0, then The double-pole of control function switching circuit, electronic switching switch S1 leaves two normally-closed contacts, is switched on two normally opened contacts, micro- Processor IC0 and WIFI circuit are connected.Microprocessor IC0 reads the program data downloaded in memory IC 2 to WIFI module, control WIFI processed wirelessly issues data.
Program downloads transmitter, realizes that the program data for the single-chip microcontroller downloading that PC machine uploads first keeps in data storage In IC2, microprocessor IC0 control, after circuit switching, then the program data downloaded from data storage IC2 reading single-chip microcontroller, by WIFI module wirelessly issues.
The receiving end microprocessor uses ATMEGA32 chip IC 4.
The receiving end WIFI circuit includes HX-M02 chip IC 5, and 14 feet of IC4 pass through the electronic switching switch S2 first via Normally closed switch is connected with 40 feet of IC5,41 feet that 15 feet of IC4 pass through electronic switching switch S2 the second road normally closed switch and IC5 It is connected;
30 feet of IC5 are connected with the one end resistance R17, the one end button switch SW4 respectively, button switch SW4 other end ground connection, resistance Another termination power VCC of R17;
42 feet of IC5 are connected with the one end resistance R18, the one end capacitor C10 respectively, the resistance R18 other end respectively with 31 feet of IC5, The one end button switch SW5 is connected, and the button switch SW5 other end is connected with 39 feet, the ground wire of the one end capacitor C10, IC5 respectively.
See Fig. 5, WIFI module IC5, model HX-M02WIFI wireless transparent transmission module.The one end resistance R17, R18 connects respectively On VCC, play pull-up resistor.The port CONFIG of IC5 is radio configuration model selection control mouth, and low level is effective, behaviour Make inching button SW4 control.The port RESTORE of IC5, configuration mode select control mouth, and low level is effective, operate inching button SW5 restores WIFI module factory-said value.
Not electronic switching switch S2, the port microprocessor IC4 RXD and TXD are connect respectively by two normally-closed contacts of S2 On the port UART1_TX and the port UART1_RX of WIFI module IC5.
The data that WIFI module IC5 wireless receiving arrives are uploaded to the port of microprocessor IC4 by its port UART1_TX RXD.The wireless data that microprocessor IC4 is issued, by the port UART1_RX for being transmitted to WIFI module IC5 under its port TXD.
By WIFI circuit, microprocessor IC4, which is realized, receives the program downloading transmitter hair that program downloading transmitter issues Wireless data out.
The receiving end data storage circuitry includes W25X80 chip IC 6,1 foot of IC4 by resistance R19 respectively with resistance The one end R20,1 foot of IC6 are connected, another termination power VCC of resistance R20;2 feet of IC4 by resistance R21 respectively with resistance R22 One end, 2 feet of IC6 are connected, another termination power VCC of resistance R22;3 feet of IC4 by resistance R23 respectively with resistance R24 mono- End, 5 feet of IC6 are connected, another termination power VCC of resistance R24;4 feet of IC4 by resistance R25 respectively with the one end resistance R26, 6 feet of IC6 are connected, another termination power VCC of resistance R26;
8 feet of IC6 are connected with 7 feet of IC6,3 feet of IC6, the one end capacitor C11 respectively, the capacitor C11 other end respectively with IC6 4 Foot, ground wire are connected.
See that Fig. 6, IC6 are high-speed memory, model W25X80, memory capacity 8MB.PB0~PB3 of IC4 microprocessor Port passes through resistance R19, R21, R23, R25 respectively and connects with the port IC6/CS, DO, DIO, CLK.Resistance R20, R22, R24, The one end R26 connects on VCC respectively, plays pull-up resistor.By data storage circuitry, microprocessor IC4 is realized and memory The reading of IC6 data and the storage of data.By WIFI circuit, the received program downloading transmitter of microprocessor IC4 is issued Wireless data, and be stored in IC6 memory.
The receiving end function switch circuit includes PNP triode Q2, and 5 feet of IC4 pass through resistance R27 and light emitting diode The cathode of D4 is connected, the anode of light emitting diode D4 respectively with the anode of light emitting diode D5, power supply VCC, the one end resistance R29 phase Even, the cathode of light emitting diode D5 is connected by resistance R28 with 6 feet of IC4, the resistance R29 other end respectively with resistance R30 mono- End, PNP triode Q2 base stage are connected, 7 feet of another termination IC4 of resistance R30, PNP triode Q2 grounded collector, tri- pole PNP Pipe Q2 emitter is connected with diode D6 anode, electronic switching switch S2 control terminal one end respectively, electronic switching switch S2 control The end other end is connected with power supply VCC, diode D6 cathode respectively;
14 feet of IC4 are connected by electronic switching switch S2 first via normal open switch with 2 feet of downloading mouth J2, and 15 feet of IC4 are logical It crosses electronic switching switch S2 the second road normal open switch and is connected with 3 feet for downloading mouth J2,1 foot of downloading mouth J2 meets power supply VCC, downloads The 4 feet ground connection of mouth J2.
See that Fig. 7, D4 and D5 are light emitting diodes, plays working status indication.When microprocessor IC4 and WIFI module without When line data transmit-receive, D4 flash for prompting.When microprocessor IC4 downloads program to single-chip microcontroller, D5 flash for prompting.D6 is afterflow two Pole pipe shields.SW6 inching button is operated, microprocessor IC4 wipes data in data storage IC6.
Triode Q2 model 8550 drives electronic switching switch S2, is controlled by the port PB6 of IC4, when PB6 output is low When level, triode Q2 saturation conduction, S2 obtains electric, and the double-pole of electronic switching switch S2 leaves two normally-closed contacts, is switched to two On a normally opened contact, microprocessor IC4 and downloading mouth J2 are connected.When PB6 exports high level, triode Q2 cut-off, S2 power-off, The double-pole of S2 returns on two normally-closed contacts, and microprocessor IC4 and WIFI circuit are connected.
By function switch circuit, electronic switching switch S2, microprocessor IC4 is driven to realize and downloading mouth J2 and WIFI mould Switch between block circuit, completes data exchange.
The downloading mouth J2 grafting of program downloading receiver enters single-chip microcontroller download interface.Received under program by its WIFI circuit Carry the program data for the single-chip microcontroller downloading that transmitter is sent by its WIFI circuit.Program downloads the microprocessor IC4 of receiver, Data storage circuitry is controlled, in the program data deposit memory IC 6 that first single-chip microcontroller of receiving is downloaded.Microprocessor IC4, then The double-pole of control function switching circuit, electronic switching switch S2 leaves two normally-closed contacts, is switched on two normally opened contacts, micro- Processor IC4 and downloading mouth J2 circuit are connected.The program data that microprocessor IC4 reads single-chip microcontroller downloading in memory IC 6 is given Mouth J2 is downloaded, downloads program into single-chip microcontroller.
Program downloads receiver, and the program of single-chip microcontroller downloading is received by WIFI, is first kept in data storage, micro- Processor IC4 control, after circuit switching, then the program data that reading single-chip microcontroller is downloaded from data storage IC6, pass through downloading Mouth J2 downloading program is into single-chip microcontroller.
It is understood that being merely to illustrate the present invention above with respect to specific descriptions of the invention and being not limited to this Technical solution described in inventive embodiments, those skilled in the art should understand that, still the present invention can be carried out Modification or equivalent replacement, to reach identical technical effect;As long as meet use needs, all protection scope of the present invention it It is interior.

Claims (10)

1. a kind of WIFI Program download, including program downloading transmitter and program download receiver, it is characterised in that under program Carrying transmitter includes transmitting terminal microprocessor, USB circuit, transmitting terminal data storage circuitry, transmitting terminal WIFI circuit and transmitting terminal Function switch circuit, the data transmission port of transmitting terminal microprocessor by transmitting terminal function switch circuit respectively with USB circuit, Transmitting terminal WIFI circuit is connected, and the data access port of transmitting terminal microprocessor is connected with transmitting terminal data storage circuitry, transmitting Hold the switch-over control signal input port phase of the switch-over control signal output port and transmitting terminal function switch circuit of microprocessor Even;
It includes receiving end microprocessor, receiving end data storage circuitry, receiving end WIFI circuit and reception that program, which downloads receiver, Hold function switch circuit, the data transmission port of receiving end microprocessor by receiving end function switch circuit respectively with downloading Mouth, receiving end WIFI circuit are connected, and the data access port of receiving end microprocessor is connected with receiving end data storage circuitry, connects The switch-over control signal output port of receiving end microprocessor and the switch-over control signal input port of receiving end function switch circuit It is connected.
2. a kind of WIFI Program download according to claim 1, it is characterised in that transmitting terminal microprocessor uses ATMEGA32 chip IC 0,12 feet of IC0 are connected with the one end crystal oscillator Y1, the one end capacitor C1 respectively, the capacitor C1 other end respectively with ground Line, the one end capacitor C2 are connected, and the capacitor C2 other end is connected with 13 feet of the crystal oscillator Y1 other end, IC0 respectively.
3. a kind of WIFI Program download according to claim 2, it is characterised in that the USB circuit includes CH340 chip 14 feet of IC1, IC0 are connected by electronic switching switch S1 first via normally closed switch with the one end resistance R1, another termination of resistance R1 15 feet of 2 feet of IC1, IC0 are connected by electronic switching switch S1 the second road normally closed switch with the one end resistance R2, and resistance R2 is another Terminate 3 feet of IC1;
7 feet of IC1 are connected with the one end crystal oscillator Y2, the one end capacitor C3 respectively, the capacitor C3 other end respectively with ground wire, the one end capacitor C4 It is connected, the capacitor C4 other end is connected with 8 feet of the crystal oscillator Y2 other end, IC1 respectively;
16 feet of IC1 are connected with the one end capacitor C6, capacitor C7 anode respectively, the capacitor C6 other end respectively with the one end capacitor C5, electricity Hold C7 cathode, ground wire is connected, 4 feet of another termination IC1 of capacitor C5;
6 feet of IC1 connect 2 feet of USB interface J1, and 1 foot of USB interface J1 meets power supply VCC, and 5 feet of IC1 connect the 3 of USB interface J1 Foot, 1 foot of IC1 connect 4 feet and ground wire of USB interface J1.
4. a kind of WIFI Program download according to claim 2, it is characterised in that the transmitting terminal data storage circuitry packet W25X80 chip IC 2 is included, 1 foot of IC0 is connected with 1 foot of the one end resistance R4, IC2 respectively by resistance R3, the resistance R4 other end Meet power supply VCC;2 feet of IC0 are connected with 2 feet of the one end resistance R6, IC2 respectively by resistance R5, another termination power of resistance R6 VCC;3 feet of IC0 are connected with 5 feet of the one end resistance R8, IC2 respectively by resistance R7, another termination power VCC of resistance R8;IC0 4 feet be connected with 6 feet of the one end resistance R10, IC2 respectively by resistance R9, another termination power VCC of resistance R10;
8 feet of IC2 are connected with 7 feet of IC2,3 feet of IC2, the one end capacitor C8 respectively, the capacitor C8 other end respectively with IC2 4 Foot, ground wire are connected.
5. a kind of WIFI Program download according to claim 2, it is characterised in that the transmitting terminal WIFI circuit includes HX- 14 feet of M02 chip IC 3, IC0 are connected by electronic switching switch S1 first via normal open switch with 40 feet of IC3,15 feet of IC0 It is connected by electronic switching switch S1 the second road normal open switch with 41 feet of IC3;
30 feet of IC3 are connected with the one end resistance R11, the one end button switch SW1 respectively, button switch SW1 other end ground connection, resistance Another termination power VCC of R11;
42 feet of IC3 are connected with the one end resistance R12, the one end capacitor C9 respectively, the resistance R12 other end respectively with 31 feet of IC3, press The one end button switch SW2 is connected, and the button switch SW2 other end is connected with 39 feet, the ground wire of the one end capacitor C9, IC3 respectively.
6. a kind of WIFI Program download according to claim 3, it is characterised in that the transmitting terminal function switch circuit packet PNP triode Q1 is included, 5 feet of IC0 are connected by resistance R13 with the cathode of light emitting diode D1, the anode of light emitting diode D1 It is connected respectively with the anode of light emitting diode D2, power supply VCC, the one end resistance R15, the cathode of light emitting diode D2 passes through resistance R14 is connected with 6 feet of IC0, and the resistance R15 other end is connected with the one end resistance R16, PNP triode Q1 base stage respectively, resistance R16 It is another termination IC0 7 feet, PNP triode Q1 grounded collector, PNP triode Q1 emitter respectively with diode D3 anode, electricity Dynamic switching switch S1 control terminal one end is connected, and the electronic switching switch S1 control terminal other end is negative with power supply VCC, diode D3 respectively Extremely it is connected.
7. a kind of WIFI Program download according to claim 1, it is characterised in that the receiving end microprocessor uses ATMEGA32 chip IC 4.
8. a kind of WIFI Program download according to claim 7, it is characterised in that the receiving end WIFI circuit includes HX- 14 feet of M02 chip IC 5, IC4 are connected by electronic switching switch S2 first via normally closed switch with 40 feet of IC5,15 feet of IC4 It is connected by electronic switching switch S2 the second road normally closed switch with 41 feet of IC5;
30 feet of IC5 are connected with the one end resistance R17, the one end button switch SW4 respectively, button switch SW4 other end ground connection, resistance Another termination power VCC of R17;
42 feet of IC5 are connected with the one end resistance R18, the one end capacitor C10 respectively, the resistance R18 other end respectively with 31 feet of IC5, The one end button switch SW5 is connected, and the button switch SW5 other end is connected with 39 feet, the ground wire of the one end capacitor C10, IC5 respectively.
9. a kind of WIFI Program download according to claim 7, it is characterised in that the receiving end data storage circuitry packet W25X80 chip IC 6 is included, 1 foot of IC4 is connected with 1 foot of the one end resistance R20, IC6 respectively by resistance R19, and resistance R20 is another Termination power VCC;2 feet of IC4 are connected with 2 feet of the one end resistance R22, IC6 respectively by resistance R21, another termination of resistance R22 Power supply VCC;3 feet of IC4 are connected with 5 feet of the one end resistance R24, IC6 respectively by resistance R23, another termination power of resistance R24 VCC;4 feet of IC4 are connected with 6 feet of the one end resistance R26, IC6 respectively by resistance R25, another termination power VCC of resistance R26;
8 feet of IC6 are connected with 7 feet of IC6,3 feet of IC6, the one end capacitor C11 respectively, the capacitor C11 other end respectively with IC6 4 Foot, ground wire are connected.
10. a kind of WIFI Program download according to claim 8, it is characterised in that the receiving end function switch circuit packet PNP triode Q2 is included, 5 feet of IC4 are connected by resistance R27 with the cathode of light emitting diode D4, the anode of light emitting diode D4 It is connected respectively with the anode of light emitting diode D5, power supply VCC, the one end resistance R29, the cathode of light emitting diode D5 passes through resistance R28 is connected with 6 feet of IC4, and the resistance R29 other end is connected with the one end resistance R30, PNP triode Q2 base stage respectively, resistance R30 It is another termination IC4 7 feet, PNP triode Q2 grounded collector, PNP triode Q2 emitter respectively with diode D6 anode, electricity Dynamic switching switch S2 control terminal one end is connected, and the electronic switching switch S2 control terminal other end is negative with power supply VCC, diode D6 respectively Extremely it is connected;
14 feet of IC4 are connected by electronic switching switch S2 first via normal open switch with 2 feet of downloading mouth J2, and 15 feet of IC4 are logical It crosses electronic switching switch S2 the second road normal open switch and is connected with 3 feet for downloading mouth J2,1 foot of downloading mouth J2 meets power supply VCC, downloads The 4 feet ground connection of mouth J2.
CN201810915642.2A 2018-08-13 2018-08-13 WIFI program downloader Active CN108984188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810915642.2A CN108984188B (en) 2018-08-13 2018-08-13 WIFI program downloader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810915642.2A CN108984188B (en) 2018-08-13 2018-08-13 WIFI program downloader

Publications (2)

Publication Number Publication Date
CN108984188A true CN108984188A (en) 2018-12-11
CN108984188B CN108984188B (en) 2022-03-25

Family

ID=64552736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810915642.2A Active CN108984188B (en) 2018-08-13 2018-08-13 WIFI program downloader

Country Status (1)

Country Link
CN (1) CN108984188B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004350A (en) * 2005-06-22 2007-01-11 Nec Electronics Corp Method for executing temporary use program, microprocessor system, information processor and program
CN102394933A (en) * 2011-11-07 2012-03-28 天津市电视技术研究所 Parallel port data interception and GPRS wireless forwarding system
CN102722124A (en) * 2012-07-02 2012-10-10 吕清胜 Intelligent wireless remote control device
CN103559067A (en) * 2013-11-23 2014-02-05 孟祥� Wireless downloader for singlechip programs
CN204595832U (en) * 2015-05-22 2015-08-26 中国地质大学(武汉) A kind of SCM Based wireless programming equipment
CN204613928U (en) * 2015-05-20 2015-09-02 江苏建筑职业技术学院 A kind of USB Program download based on CH341T chip
CN205384601U (en) * 2016-02-01 2016-07-13 湖南铁道职业技术学院 Singlechip downloader
CN206671832U (en) * 2017-04-05 2017-11-24 西安圣豆电子信息技术有限公司 A kind of sludge real-time monitoring device
CN206975473U (en) * 2017-08-10 2018-02-06 信阳师范学院 A kind of wireless programmer of STC single-chip microcomputers

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004350A (en) * 2005-06-22 2007-01-11 Nec Electronics Corp Method for executing temporary use program, microprocessor system, information processor and program
CN102394933A (en) * 2011-11-07 2012-03-28 天津市电视技术研究所 Parallel port data interception and GPRS wireless forwarding system
CN102722124A (en) * 2012-07-02 2012-10-10 吕清胜 Intelligent wireless remote control device
CN103559067A (en) * 2013-11-23 2014-02-05 孟祥� Wireless downloader for singlechip programs
CN204613928U (en) * 2015-05-20 2015-09-02 江苏建筑职业技术学院 A kind of USB Program download based on CH341T chip
CN204595832U (en) * 2015-05-22 2015-08-26 中国地质大学(武汉) A kind of SCM Based wireless programming equipment
CN205384601U (en) * 2016-02-01 2016-07-13 湖南铁道职业技术学院 Singlechip downloader
CN206671832U (en) * 2017-04-05 2017-11-24 西安圣豆电子信息技术有限公司 A kind of sludge real-time monitoring device
CN206975473U (en) * 2017-08-10 2018-02-06 信阳师范学院 A kind of wireless programmer of STC single-chip microcomputers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张竣 等: ""基于WiFi的可无线编程创客教育智能控制器系统设计"", 《仪器仪表用户》 *

Also Published As

Publication number Publication date
CN108984188B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US11366655B2 (en) Power tool system and upgrading method for the same
CN205281770U (en) Wireless remote control control circuit
CN207752441U (en) A kind of software and hardware on/off circuit
CN207946681U (en) A kind of massage chair control system
CN201097171Y (en) Reading and writing device for air conditioner out-chip memory
CN108984188A (en) A kind of WIFI Program download
CN203760085U (en) EEPROM (electrically erasable programmable read-only memory) programmer
CN104536428B (en) Multimedia remote control
CN204044810U (en) USB device and work system
CN207148816U (en) A kind of program burn writing system and electronic equipment
CN208444293U (en) A kind of full-automatic CD writers
CN206788625U (en) A kind of 3D printer tele-control system based on WIFI
CN204480233U (en) A kind of automatic download circuit of STC single-chip microcomputer supporting 5V and 3.3V
CN203520299U (en) Timer-power-on control circuit
CN102902551A (en) System and method for upgrading programs of talkback equipment based on single-chip microcomputer
CN110297445A (en) A kind of microcontroller electric appliance by means of WiFi plug-in module
CN205302285U (en) Computer extension communication module
CN108196604A (en) Luminous energy powered, wireless temperature control system
CN210954700U (en) Control device of wireless remote control intelligent switch
CN204347533U (en) A kind of WIFI on-off controller
CN203965892U (en) A kind of appliance switch control device
CN205485431U (en) A intelligent terminal for thing networking systems
CN208477343U (en) A kind of program-controlled low-power consumption timing starting circuit
CN202795336U (en) System achieving talk back equipment procedure upgrade based on single chip
CN216435466U (en) Movable data storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant