CN218974908U - Wireless downloader suitable for Arduino - Google Patents

Wireless downloader suitable for Arduino Download PDF

Info

Publication number
CN218974908U
CN218974908U CN202122593453.8U CN202122593453U CN218974908U CN 218974908 U CN218974908 U CN 218974908U CN 202122593453 U CN202122593453 U CN 202122593453U CN 218974908 U CN218974908 U CN 218974908U
Authority
CN
China
Prior art keywords
bluetooth module
chip
port
bluetooth
arduino
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.)
Active
Application number
CN202122593453.8U
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202122593453.8U priority Critical patent/CN218974908U/en
Application granted granted Critical
Publication of CN218974908U publication Critical patent/CN218974908U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The utility model relates to a wireless download ware suitable for Arduino, it includes bluetooth transmitter and bluetooth receiver, bluetooth receiver includes slave machine bluetooth module and resets the chip, the data receiving port of resetting the chip is connected with slave machine bluetooth module's data emission port electricity, bluetooth transmitter includes host computer bluetooth module and based on interface conversion's control module, host computer bluetooth module's data emission port with based on interface conversion's control module's data receiving port electricity is connected, host computer bluetooth module's data receiving port with based on interface conversion's control module's data emission port electricity is connected; the host Bluetooth module is in communication pairing with the slave Bluetooth module; the utility model discloses an I/O mouth output low level pulse that utilizes the chip that resets provides reset signal for Arduino control panel, lets Arduino control panel can realize wireless program download through bluetooth wireless communication function.

Description

Wireless downloader suitable for Arduino
Technical Field
The utility model relates to the technical field of electronic circuits, in particular to a wireless downloader applicable to Arduino.
Background
Arduino is a convenient nimble, and the open source electronic platform of convenient top is connected with the development board when using development board debugging and downloading program, need use USB download line, has influenced the portability of development board.
OTTO robot, open source projects such as bluetooth remote control car based on Arduino just can be with the control panel of the equipment remote control Arduino that has bluetooth function such as cell-phone to adorn bluetooth module, all need take off bluetooth module before the procedure down at every turn and just can download, very inconvenient. Bluetooth and the wired serial port cannot be used simultaneously, so that the Bluetooth module is integrated with a downloading function. At present, the Bluetooth module available in Arduino only has a communication function and does not have a downloading function.
Meanwhile, the patent with the application number of 201811137852.X is a wireless download development board and a wireless download method based on Arduino, a reset signal is generated by using a slave Bluetooth module connection state pin, bluetooth is required to be reconnected in each download, the Bluetooth state is changed from unconnected to connected, and the reset is generated by using the change of the Bluetooth state, but in the non-data download stage, the system is reset and restarted by using the Bluetooth of a mobile phone to communicate with the slave Bluetooth module; further, the serial port bluetooth module status pin does not belong to a part of serial port communication data lines (data receiving line RX, data transmitting line TX, ground line), and the signal characteristics are not specified in the clear, so that for a specific serial port module, the status pin output signal cannot determine whether a reset signal can be made.
Disclosure of Invention
The utility model aims to solve the technical problem that when a Bluetooth module is used on an Arduino development board in the existing Bluetooth communication technology, the Arduino development board does not have a wireless downloading function.
The technical scheme for solving the technical problems is as follows:
the wireless downloader applicable to Arduino comprises a Bluetooth transmitter and a Bluetooth receiver, wherein the Bluetooth receiver comprises a slave Bluetooth module and a reset chip, and a data receiving port of the reset chip is electrically connected with a data sending port of the slave Bluetooth module; the Bluetooth transmitter comprises a host Bluetooth module and a control module based on interface conversion, wherein a data transmission port of the host Bluetooth module is electrically connected with a data receiving port of the control module based on interface conversion, and a data receiving port of the host Bluetooth module is electrically connected with a data transmission port of the control module based on interface conversion; and the host Bluetooth module is in communication pairing with the slave Bluetooth module.
The beneficial effects of the utility model are as follows:
because the communication interface of the common bluetooth module on the market has data receiving line, data transmitting line, power supply line and power ground wire, and does not have the line that resets, can't let Arduino control panel carry out wireless download procedure, consequently, this patent is through setting up reset chip, utilizes reset chip's I/O mouth output low level pulse to provide reset signal for Arduino control panel, lets Arduino control panel can realize wireless program download through bluetooth wireless communication function.
The working principle of the utility model is as follows:
the method comprises the steps of electrically connecting a data transmission port of a slave Bluetooth module with a data receiving port of an Arduino control board, electrically connecting the data receiving port of the slave Bluetooth module with the data transmission port of the Arduino control board, electrically connecting an I/O port of a reset chip with a reset port of the Arduino control board, and electrically connecting a power input end of the slave Bluetooth module with a power output end of the Arduino control board; when the Arduino control board needs to download software, the Bluetooth transmitter is connected to the computer, the Bluetooth transmitter is in wireless communication pairing with a slave Bluetooth module in the Bluetooth receiver, the Bluetooth transmitter receives an open serial signal triggered by clicking Arduino development software to download and transmits the open serial signal to the Bluetooth receiver through Bluetooth, the Bluetooth receiver receives the signal and then inputs the signal to a data receiving port of a reset chip through a serial port, the data receiving port of the reset chip receives the signal, an I/O port of the reset chip outputs a low-level pulse, and the reset chip generates a reset signal, namely the low-level pulse to reset the Arduino control board, so that the Arduino control board can download software on the computer through Bluetooth in a wireless mode.
On the basis of the technical scheme, the utility model can be improved as follows.
Further, the control module based on interface conversion comprises an interface conversion chip and a control chip I; the data transmitting port of the host Bluetooth module is electrically connected with the data receiving port of the interface conversion chip, the data transmitting port of the host Bluetooth module is electrically connected with the data receiving port of the first control chip, the data receiving port of the host Bluetooth module is electrically connected with the data transmitting port of the interface conversion chip, the data receiving port of the host Bluetooth module is electrically connected with the data transmitting port of the first control chip, and the data terminal ready port of the interface conversion chip is electrically connected with the I/O port of the first control chip.
Further, the interface conversion chip is a USB to serial port chip, the first control chip is a single chip microcomputer, the data transmission port of the interface conversion chip is electrically connected with the data receiving port of the first host Bluetooth module, the data receiving port of the first host Bluetooth module is also electrically connected with the data transmission port of the first control chip, the data receiving port of the interface conversion chip is electrically connected with the data transmission port of the first host Bluetooth module, and the data transmission port of the first host Bluetooth module is also electrically connected with the data receiving port of the first control chip.
The beneficial effects of adopting the further scheme are as follows:
when the control chip has no USB interface, the Bluetooth transmitter adopts a combination of a host Bluetooth module, an interface conversion chip and a control chip I, so that the host Bluetooth module can be connected with the USB of the computer through the interface conversion chip to establish communication, the computer can carry out unidirectional communication with the control chip I through a data terminal ready port of the interface conversion chip, the control chip I can carry out serial port communication with the host Bluetooth module, and the computer can indirectly carry out unidirectional communication with the host Bluetooth module through the data terminal ready port of the interface conversion chip and the control chip I to transmit reset signals; when the Bluetooth transmitter is combined by adopting the control chip II and the host Bluetooth module, the control chip II is an integrated chip with a USB interface, so that the computer can directly communicate with the control chip II through the USB, the control chip II can directly communicate with the host Bluetooth module, and the computer can indirectly communicate with the host Bluetooth module through the control chip II.
Further, a resistor is connected in series between the interface conversion chip data transmitting port and the data receiving port of the host Bluetooth module.
Further, the model of the USB-to-serial port chip is CH340, the model of the singlechip is STM32F030F4P6, and the model of the host Bluetooth module is JDY34.
Further, the control module based on interface conversion comprises a second control chip supporting interface conversion, a data transmitting port of the second control chip is electrically connected with a data receiving port of the host Bluetooth module, and a data receiving port of the second control chip is electrically connected with a data transmitting port of the host Bluetooth module.
Further, the second control chip is an STM32F070F6P6 singlechip module, a data transmission port of the second control chip is electrically connected with a data receiving port of the host Bluetooth module, and a data receiving port of the second control chip is electrically connected with a data transmission port of the host Bluetooth module.
Further, the model of the slave Bluetooth module is JDY31.
Drawings
FIG. 1 is a schematic diagram of a circuit of the present utility model;
FIG. 2 is a schematic diagram of a second embodiment of the present utility model;
fig. 3 is a schematic diagram of the circuit connection of the bluetooth receiver to the Arduino control board;
fig. 4 is a flow chart of the operation of the present utility model.
In the drawings, the list of components represented by the various numbers is as follows:
1. arduino control panel; 2. a computer; 3. a Bluetooth transmitter; 4. an interface conversion chip; 5. a host Bluetooth module; 6. a first control chip; 7. a Bluetooth receiver; 8. a slave Bluetooth module; 9. resetting the chip; 10. and a second control chip.
Detailed Description
The principles and features of the present utility model are described below with reference to the drawings, the examples are illustrated for the purpose of illustrating the utility model and are not to be construed as limiting the scope of the utility model.
As shown in fig. 1 and 3, a wireless downloader applicable to Arduino comprises a bluetooth transmitter 3 and a bluetooth receiver 7, wherein the bluetooth receiver 7 comprises a slave bluetooth module 8 and a reset chip 9, and a data receiving port of the reset chip 9 is electrically connected with a data transmitting port of the slave bluetooth module 8; the Bluetooth transmitter 3 comprises a host Bluetooth module 5 and a control module based on interface conversion, wherein a data transmission port of the host Bluetooth module 5 is electrically connected with a data receiving port of the control module based on interface conversion, and a data receiving port of the host Bluetooth module 5 is electrically connected with a data transmission port of the control module based on interface conversion; the master bluetooth module 5 is in communication pairing with the slave bluetooth module 8.
When the Arduino control board 1 needs to download software, the Bluetooth transmitter 3 is connected to the computer 2, the Bluetooth transmitter 3 is in communication pairing with the slave Bluetooth module 8 in the Bluetooth receiver 7, the Bluetooth receiver 7 receives signals and inputs the signals to the data receiving port RX of the reset chip 9 through a serial port, after the data receiving port RX of the reset chip 9 receives the signals, the I/O port of the reset chip 9 outputs low-level pulses, the reset chip 9 generates low-level pulse reset signals to enable the Arduino control board 1 to reset, and the Arduino control board 1 can download software on the computer 2 through Bluetooth in a wireless mode.
The Bluetooth transmitter 3 comprises a host Bluetooth module 5, an interface conversion chip 4 and a first control chip 6, wherein a data transmission port of the host Bluetooth module 5 is electrically connected with a data receiving port of the interface conversion chip 4, a data transmission port of the host Bluetooth module 5 is electrically connected with a data receiving port of the first control chip 6, a data receiving port of the host Bluetooth module 5 is electrically connected with a data transmission port of the interface conversion chip 4, a data receiving port of the host Bluetooth module 5 is electrically connected with a data transmission port of the first control chip 6, and a data terminal ready port TDR of the interface conversion chip 4 is electrically connected with an I/O port of the first control chip 6.
The USB-to-serial port chip model is CH340, the first control chip 6 is a singlechip with the model STM32F030F4P6, the model of the host Bluetooth module 5 is JDY34, the model of the slave Bluetooth module 8 is JDY31, and the reset chip 9 is a singlechip with the model STC8G1K 08A.
The power input end of the slave Bluetooth module 8 is electrically connected with the power output end of the Arduino control board 1.
The interface conversion chip 4 is a USB to serial chip, the data transmission port TX of the interface conversion chip 4 is electrically connected with the data reception port RX of the host bluetooth module 5, the data reception port RX of the interface conversion chip 4 is electrically connected with the data transmission port TX of the host bluetooth module 5, the data reception port RX of the host bluetooth module 5 is also electrically connected with the data transmission port TX of the control chip one 6, and the data transmission port TX of the host bluetooth module 5 is also electrically connected with the data reception port RX of the control chip one 6.
When the first control chip 6 has no USB interface, the Bluetooth transmitter 3 adopts the combination of the host Bluetooth module 5, the interface conversion chip 4 and the first control chip 6, so that the host Bluetooth module 5 can be connected with the USB of the computer 2 through the interface conversion chip 4, communication is established, the computer 2 can communicate with the host Bluetooth module 5 in a serial port manner, the computer 2 can establish unidirectional communication with the first control chip 6 through the ready port TDR of the data terminal of the conversion chip 4, namely, the computer 2 can communicate with the first control chip 6 in a unidirectional manner, a reset signal is transmitted, the first control chip 6 can communicate with the host Bluetooth module 5 in a serial port manner, and the computer 2 can indirectly communicate with the first control chip 6 and the host Bluetooth module 5 in a unidirectional manner through the ready port TDR of the data terminal of the conversion chip 4, so as to transmit the reset signal.
The TX port of the USB serial port chip and the TX port of the control chip one 6 are electrically connected with the host bluetooth module 5RX and occupy buses, but the TX pin of the control chip one 6 is directly electrically connected with the RX pin of the host bluetooth module 5 without a series resistor, and the driving capability is larger than that of the USB serial port chip connected with the resistor Rs in series.
Fig. 2 is a schematic circuit diagram of the present utility model when the second control chip 10 is an integrated chip with a USB interface.
The Bluetooth transmitter 3 comprises a second control chip 10 and a host Bluetooth module 5; the second control chip 10 is a singlechip module with the model of STM32F070F6P 6.
The data transmission port TX of the second control chip 10 is electrically connected to the data reception port RX of the host bluetooth module 5, and the data reception port RX of the second control chip 10 is electrically connected to the data transmission port TX of the host bluetooth module 5.
The computer 2 is directly communicated with the second control chip 10 through the USB, the host Bluetooth module 5 is in communication pairing with the slave Bluetooth module 8, the Bluetooth receiver 7 receives signals and inputs the signals to the data receiving port RX of the reset chip 9 through the serial port, after the data receiving port RX of the reset chip 9 receives the signals, the I/O port of the reset chip 9 outputs low-level pulses, the low-level pulse reset signals generated by the reset chip 9 enable the Arduino control board 1 to reset, and the Arduino control board 1 can download software on the computer 2 through Bluetooth in a wireless mode.
Fig. 4 is a working flow chart of the present utility model, the master bluetooth module 5 is in communication pairing with the slave bluetooth module 8, the computer 2 installed with the program development software or the burning software is clicked with a serial port opening signal triggered by a program download button of the program development software or the burning software, the bluetooth transmitter 3 recognizes the serial port opening signal and transmits the signal to the bluetooth receiver 7 through bluetooth, the slave bluetooth module 8 receives the signal and inputs the signal to the data receiving port RX of the reset chip 9 through serial port, the I/O port of the reset chip 9 outputs a low level pulse after the data receiving port RX of the reset chip 9 receives the signal, the low level pulse reset signal generated by the reset chip 9 enables the Arduino control board 1 to reset, the Arduino control board 1 is started in reset, the start BootLoader, bootLoader detects whether the program needs to be downloaded, if the program needs to be downloaded, and the BootLoader jumps to the application program after the BootLoader detection times out.
It should be noted that: the writing procedure in the network Arduino control board 1 or the downloading procedure from the computer 2 to the Arduino control board 1 are all in the prior art, and the program writing operation of the Arduino controller is already disclosed in the Arduino controller use course published in the Chinese electronic fever friend forum, so the computer program and the operation method thereof are not improved in any way, and the reset signal is sent to the Arduino control board 1 only by improving the hardware structure in the Bluetooth receiving and sending module.
Meanwhile, the reset signal output by the reset chip 9 is a low-level pulse, which is not in the utility model content in the prior art, and the chip reset signal of the Arduino controller is also a low-level pulse, and the pulse width can inquire the external reset requirement part of the chip manual. For example, the UNO of the Arduino control board uses a single chip microcomputer with the model number of ATmega328, and looking up the "ATmega 48A/PA/88A/PA/168A/PA/328/P" chip manual issued by the american microchip technology company, it can be known that the chip reset signal, i.e. the pulse width of the low level pulse is 2.5 μs at the minimum, and the reset chip sets the pulse width of the low level pulse output by the reset line to be greater than 2.5 μs.
For the technology of controlling the communication of the Bluetooth module by the controller, the serial port AT instruction set and the control port electric connection pin are definitely controlled in the specification of the Bluetooth module, and the method of controlling the Bluetooth module by the singlechip and the specific connection structure thereof are all connected according to the manufacturer manual, so that the method of controlling the Bluetooth module by the singlechip is the prior art, no further description is needed, and the patent also does not relate to the improvement of the technology of controlling the communication of the Bluetooth module. For example, the AT instruction "AT+INQ" of the SCM control host computer Bluetooth module JDY-34 scanning slave computer and the AT instruction "AT+CONA" of the SCM control Bluetooth module JDY-34 connecting slave computer can be referred to by the "JDY-34 high-speed double-mode Bluetooth handbook" disclosed on the "people library network".
The foregoing description of the preferred embodiments of the utility model is not intended to limit the utility model to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the utility model are intended to be included within the scope of the utility model.

Claims (8)

1. A wireless downloader suitable for Arduino, characterized in that: the Bluetooth device comprises a Bluetooth transmitter (3) and a Bluetooth receiver (7), wherein the Bluetooth receiver (7) comprises a slave Bluetooth module (8) and a reset chip (9), and a data receiving port of the reset chip (9) is electrically connected with a data sending port of the slave Bluetooth module (8); the Bluetooth transmitter (3) comprises a host Bluetooth module (5) and a control module based on interface conversion, wherein a data transmission port of the host Bluetooth module (5) is electrically connected with a data receiving port of the control module based on interface conversion, and a data receiving port of the host Bluetooth module (5) is electrically connected with a data transmission port of the control module based on interface conversion; the host Bluetooth module (5) is in communication pairing with the slave Bluetooth module (8).
2. The wireless downloader for Arduino as claimed in claim 1, wherein: the control module based on interface conversion comprises an interface conversion chip (4) and a control chip I (6); the data transmission port of the host Bluetooth module (5) is electrically connected with the data receiving port of the interface conversion chip (4), the data transmission port of the host Bluetooth module (5) is electrically connected with the data receiving port of the control chip I (6), the data receiving port of the host Bluetooth module (5) is electrically connected with the data transmission port of the interface conversion chip (4), the data receiving port of the host Bluetooth module (5) is electrically connected with the data transmission port of the control chip I (6), and the data terminal ready port of the interface conversion chip (4) is electrically connected with the I/O port of the control chip I (6).
3. The wireless downloader for Arduino as claimed in claim 2, wherein: the interface conversion chip (4) is a USB-to-serial port chip, and the control chip I (6) is a singlechip.
4. A wireless downloader for Arduino as claimed in claim 3, wherein: and a resistor is connected in series between the data transmitting port of the interface conversion chip (4) and the data receiving port of the host Bluetooth module (5).
5. A wireless downloader for Arduino as claimed in claim 3, wherein: the USB-to-serial port chip model is CH340, the singlechip model is STM32F030F4P6, and the host Bluetooth module (5) model is JDY34.
6. The wireless downloader for Arduino as claimed in claim 1, wherein: the control module based on interface conversion comprises a second control chip (10) supporting interface conversion, a data transmission port of the second control chip (10) is electrically connected with a data receiving port of the host Bluetooth module (5), and a data receiving port of the second control chip (10) is electrically connected with a data transmission port of the host Bluetooth module (5).
7. The wireless downloader of claim 6, wherein: the control chip II (10) is an STM32F070F6P6 singlechip module, a data transmission port of the control chip II (10) is electrically connected with a data receiving port of the host Bluetooth module (5), and the data receiving port of the control chip II (10) is electrically connected with the data transmission port of the host Bluetooth module (5).
8. The wireless downloader for Arduino as claimed in claim 1, wherein: the model of the slave Bluetooth module (8) is JDY31.
CN202122593453.8U 2021-10-27 2021-10-27 Wireless downloader suitable for Arduino Active CN218974908U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122593453.8U CN218974908U (en) 2021-10-27 2021-10-27 Wireless downloader suitable for Arduino

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122593453.8U CN218974908U (en) 2021-10-27 2021-10-27 Wireless downloader suitable for Arduino

Publications (1)

Publication Number Publication Date
CN218974908U true CN218974908U (en) 2023-05-05

Family

ID=86152536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122593453.8U Active CN218974908U (en) 2021-10-27 2021-10-27 Wireless downloader suitable for Arduino

Country Status (1)

Country Link
CN (1) CN218974908U (en)

Similar Documents

Publication Publication Date Title
TWI601016B (en) Method of updating adapting device, adapting device, converter and system updating adapting device
CN111090605B (en) USB-to-UART circuit for MCU software upgrade
CN210327637U (en) Protocol conversion device for air conditioner and communication system
CN108647180A (en) A kind of arithmetic system and corresponding electronic equipment
CN109033010B (en) Arduino-based wireless download development board and wireless download method
CN205942295U (en) Intelligence house infrared control system based on STM32
CN218974908U (en) Wireless downloader suitable for Arduino
CN108667488A (en) Low-power consumption bluetooth control chip based on wide area Internet technology and sensor device
CN108023897B (en) Communication port and electronic equipment with same
CN108702830B (en) Peripheral device, system including peripheral device and method
JP2009003915A (en) Conversion circuit
CN110380719A (en) Data transmission circuit, control system and the control device of chip
CN114661646A (en) Serial port switching control circuit
CN209930254U (en) Serial port self-sending and self-receiving control circuit
CN108132902B (en) UART-to-USB system and method capable of self-adapting to voltage
CN207039564U (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN107170227B (en) IR emission device and method
CN211506470U (en) Isolated RS422 multifunctional communication adapter plate
CN215450162U (en) Optical module program downloading device for 5G communication
CN203179014U (en) Single IO port line communication circuit with function of serial port
CN210776663U (en) Bus management module
CN109992546B (en) Serial port debugging device and method
CN211349071U (en) Intelligent home environment monitoring system
CN221239263U (en) Serial port ISP one-key downloading circuit suitable for single chip microcomputer
CN207150763U (en) AccessPort remote control

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant