CN109856485A - Low-power consumption bracelet device, bracelet debugging system and adjustment method - Google Patents
Low-power consumption bracelet device, bracelet debugging system and adjustment method Download PDFInfo
- Publication number
- CN109856485A CN109856485A CN201910145946.XA CN201910145946A CN109856485A CN 109856485 A CN109856485 A CN 109856485A CN 201910145946 A CN201910145946 A CN 201910145946A CN 109856485 A CN109856485 A CN 109856485A
- Authority
- CN
- China
- Prior art keywords
- bracelet
- debugging
- module
- gpio
- power consumption
- 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
Links
Landscapes
- Power Sources (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to electronics fields, it discloses a kind of low-power consumption bracelet device, bracelet debugging system and adjustment method, solve the problem of bracelet device serial port resource anxiety in traditional technology and normally opened serial ports is so that debugging is unfavorable for reducing power consumption.Bracelet device in the present invention includes: main control MCU, power module, network module and external functional module;The power module, network module and external functional module are electrically connected with the main control MCU;It is reserved there are two general GPIO port in bracelet design in the main control MCU and distributes to the debugging use of later period factory, one of GPIO mouthfuls is arranged to imported GPIO, and level monitoring mouth when as debugging, another GPIO mouthfuls of default setting is not drive.
Description
Technical field
The present invention relates to electronics fields, and in particular to a kind of low-power consumption bracelet device, bracelet debugging system and debugging
Method.
Background technique
Factory's debugging of bracelet is the indispensable link before factory, is generally used the debud mode of serial communication.But with
The extensive use of bracelet product, function become increasingly complex, and plug-in device is more, and the serial port resource of master chip is often not enough;
Moreover, normally opened serial ports can bring great system power dissipation even with AccessPort, this product demanding for low-power consumption is
Fatal.
Summary of the invention
The technical problems to be solved by the present invention are: proposing a kind of low-power consumption bracelet device, bracelet debugging system and debugging
It is nervous to solve bracelet device serial port resource in traditional technology for method, and normally opened serial ports is unfavorable for reducing asking for power consumption for debugging
Topic.
In order to solve the above technical problems, on the one hand, the embodiment provides a kind of low-power consumption bracelet device, packets
It includes:
Main control MCU, power module, network module and external functional module;
The power module, network module and external functional module are electrically connected with the main control MCU;The master control
It is reserved there are two general GPIO port in bracelet design in MCU and distributes to the debugging use of later period factory, one of GPIO
Mouth is arranged to imported GPIO, and level monitoring mouth when as debugging, another GPIO mouthfuls of default setting is not drive.
As advanced optimizing, the network module is GSM NB communication module or 4G module.
As advanced optimizing, the external functional module includes locating module and heart rate detection module, the positioning mould
Block includes: GPS positioning module, gyroscope and acceleration transducer.
On the other hand, the embodiments of the present invention also provide a kind of debugging systems comprising above-mentioned low-power consumption bracelet device,
It further include debugging terminal and serial ports tooling;The debugging terminal connects the low-power consumption bracelet device by serial ports tooling and reserves
Two GPIO ports.
As advanced optimizing, the debugging terminal is PC machine.
The third aspect, the embodiments of the present invention also provide the adjustment methods for being applied to above-mentioned debugging system comprising:
It debugs terminal and burst of data is sent to bracelet device by serial ports tooling;The main control MCU of bracelet device passes through level
After monitoring mouth monitors level change, two reserved general GPIO ports are resetted and be initialized as simulative serial port, are touched simultaneously
Hair bracelet device enters factory mode, can enter bracelet and debug process.
As advanced optimizing, the burst of data is arbitrary data.
As advanced optimizing, this method further include:
After entering bracelet debugging process, debugging terminal sends serial ports test command to bracelet device.
As advanced optimizing, this method further include:
After entering bracelet debugging process, if discharging simulation if bracelet device does not receive data within a certain period of time
Serial ports, and exit factory mode.
As advanced optimizing, this method further include:
Terminal is debugged after the completion of debugging to bracelet, sends debugging END instruction, bracelet device release simulation string to bracelet
Mouthful, and exit factory mode.
The beneficial effects of the present invention are: two GPIO mouthfuls for reserving main control MCU are used as later period factory tune in bracelet design
Examination uses, and one of GPIO mouthfuls is arranged to imported GPIO, and level monitoring mouth when as debugging, another GPIO mouthfuls silent
Recognize and is set as not driving;When carrying out factory's debugging, a string of numbers are sent to reserved GPIO by serial ports tooling from debugging terminal
Reset and be initialized as simulative serial port according to trigger bracelet main control MCU for two general GPIO ports, and enter factory mode into
Row debugging.Due to not needing using the serial port resource on chip in such a way that external trigger is come simulative serial port, to solve to go here and there
The problem of mouth resource anxiety;Due in reserved GPIO mouth, it is only necessary to which one GPIO mouthfuls are come monitoring level variation, another GPIO
Mouth is configured as default and does not drive, then can reduce bracelet power consumption;In addition, exiting factory mode simultaneously after the completion of bracelet debugging
The serial ports of simulation is discharged, to realize the low-power consumption of bracelet operation, extends stand-by time.
Detailed description of the invention
Fig. 1 is the debugging system structural block diagram in the embodiment of the present invention.
Specific embodiment
The present invention is directed to propose a kind of low-power consumption bracelet device, debugging system and adjustment method, solve hand in traditional technology
The problem of loop device serial port resource is nervous, and normally opened serial ports is unfavorable for reduction power consumption for debugging.
It verifies thought: in bracelet design, two GPIO mouthfuls of reserved main control MCU make as the debugging of later period factory
With one of GPIO mouthfuls is arranged to imported GPIO, and level monitoring mouth when as debugging, another GPIO mouthfuls of default is set
It is set to and does not drive;When carrying out factory's debugging, by debugging terminal by serial ports tooling to reserved GPIO send burst of data come
Two general GPIO ports are resetted and are initialized as simulative serial port by triggering bracelet main control MCU, and are adjusted into factory mode
Examination.Due to not needing using the serial port resource on chip in such a way that external trigger is come simulative serial port, to solve serial ports money
The problem of source anxiety;Due in reserved GPIO mouth, it is only necessary to which one GPIO mouthfuls are come monitoring level variation, another GPIO mouthfuls of quilt
It is configured to default not drive, then can reduce bracelet power consumption;In addition, exiting factory mode after the completion of bracelet debugging and discharging
The serial ports of simulation extends stand-by time to realize the low-power consumption of bracelet operation.
In specific implementation, low-power consumption bracelet device of the invention comprising:
Main control MCU, power module, network module and external functional module;
The power module, network module and external functional module are electrically connected with the main control MCU;The master control
It is reserved there are two general GPIO port in bracelet design in MCU and distributes to the debugging use of later period factory, one of GPIO
Mouth is arranged to imported GPIO, and level monitoring mouth when as debugging, another GPIO mouthfuls of default setting is not drive.
Wherein, the other modules of power module provide power supply and support, can be made of charge management circuit and battery;Network
Module provides network connecting function, can be GSM NB communication module or 4G module;Main control MCU be responsible for data parsing and
Processing, can use single-chip microcontroller;External functional module provides some functional requirements of bracelet, such as: positioning function, heart rate measurement function
Energy, step function etc..
Embodiment:
As shown in Figure 1, the debugging system in the present embodiment includes: bracelet, serial ports tooling and PC machine;Wherein, bracelet packet
Power supply, NFC, gyroscope, GPS, WIFI, network module and the acceleration transducer for including MCU and being connected electrically;
In bracelet design, GPIO mouthfuls of A, B two-way are distributed in MCU and is used as the debugging of later period factory, wherein GPIO B
Default does not drive, and GPIO A is as level monitoring mouth.In scheduling and planning link, PC connects GPIO A and GPIO by serial ports tooling
B。
Adjustment method is as follows:
When starting debugging, the AccessPort software in PC machine at will sends burst of data to bracelet by serial ports tooling, makees
For trigger data.After the MCU of bracelet monitors GPIO A level change, GPIO A and B are resetted and are initialized as simulation string by MCU
Mouthful, and trigger bracelet and enter factory mode.
After bracelet enters factory mode, the i.e. transmittable serial ports test command of PC machine starts to test to bracelet.In the application
In, while into factory mode, the timer in MCU is also triggered, if the serial ports that MCU is simulated in certain time does not receive
Data, then the serial ports of simulation is discharged and is exited factory mode by MCU, this two ports is avoided to work in the serial ports mould of simulation always
Formula, to reduce power consumption.After the completion of opponent's ring test, PC machine sends END instruction to bracelet, and bracelet exits factory mode, releases
The serial ports of simulation is put, the system power dissipation of bracelet is reduced with this, can effectively extend the standby time of bracelet.
Claims (10)
1. low-power consumption bracelet device characterized by comprising
Main control MCU, power module, network module and external functional module;
The power module, network module and external functional module are electrically connected with the main control MCU;In the main control MCU
It is reserved there are two general GPIO port in bracelet design and distributes to the debugging use of later period factory, one of GPIO mouthfuls is set
It is set to imported GPIO, level monitoring mouth when as debugging, another GPIO mouthfuls of default setting is not drive.
2. low-power consumption bracelet device as described in claim 1, which is characterized in that
The network module is GSM NB communication module or 4G module.
3. low-power consumption bracelet device as described in claim 1, which is characterized in that
The external functional module includes locating module and heart rate detection module, the locating module include: GPS positioning module,
Gyroscope and acceleration transducer.
4. bracelet debugging system, which is characterized in that
It further include debugging terminal and serial ports tooling including low-power consumption bracelet device as claimed in any one of claims 1-3;
The debugging terminal connects two reserved GPIO ports of the low-power consumption bracelet device by serial ports tooling.
5. bracelet debugging system as claimed in claim 4, which is characterized in that
The debugging terminal is PC machine.
6. bracelet adjustment method is applied in bracelet debugging system as claimed in claim 4 characterized by comprising
It debugs terminal and burst of data is sent to bracelet device by serial ports tooling;The main control MCU of bracelet device passes through level monitoring
After mouth monitors level change, two reserved general GPIO ports are resetted and are initialized as simulative serial port, while triggering hand
Loop device enters factory mode, can enter bracelet and debug process.
7. bracelet adjustment method as claimed in claim 6, which is characterized in that
The burst of data is arbitrary data.
8. bracelet adjustment method as claimed in claim 6, which is characterized in that this method further include:
After entering bracelet debugging process, debugging terminal sends serial ports test command to bracelet device.
9. bracelet adjustment method as claimed in claim 6, which is characterized in that this method further include:
After entering bracelet debugging process, if discharging simulative serial port if bracelet device does not receive data within a certain period of time,
And exit factory mode.
10. bracelet adjustment method as claimed in claim 6, which is characterized in that this method further include:
Terminal to be debugged after the completion of debugging to bracelet, sends debugging END instruction to bracelet, bracelet device discharges simulative serial port, and
Exit factory mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910145946.XA CN109856485B (en) | 2019-02-27 | 2019-02-27 | Low-power-consumption bracelet device, bracelet debugging system and debugging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910145946.XA CN109856485B (en) | 2019-02-27 | 2019-02-27 | Low-power-consumption bracelet device, bracelet debugging system and debugging method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109856485A true CN109856485A (en) | 2019-06-07 |
CN109856485B CN109856485B (en) | 2021-05-25 |
Family
ID=66899184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910145946.XA Active CN109856485B (en) | 2019-02-27 | 2019-02-27 | Low-power-consumption bracelet device, bracelet debugging system and debugging method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109856485B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1498806A1 (en) * | 2003-07-17 | 2005-01-19 | High Tech Computer Corp. | Keypad device and operation method thereof |
CN106502930A (en) * | 2016-10-27 | 2017-03-15 | 福建星网视易信息系统有限公司 | The method and apparatus that GPIO based on windows platforms simulates serial line interface |
CN107357742A (en) * | 2017-07-14 | 2017-11-17 | 上海瀚银信息技术有限公司 | A kind of serial ports analogy method and computer equipment |
CN107888223A (en) * | 2017-11-25 | 2018-04-06 | 贵阳永青仪电科技有限公司 | A kind of CAN data wireless transmission circuits with USB interface |
CN207639769U (en) * | 2017-11-03 | 2018-07-24 | 杭州诚億科技有限公司 | Intelligent bracelet based on LORA communications |
-
2019
- 2019-02-27 CN CN201910145946.XA patent/CN109856485B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1498806A1 (en) * | 2003-07-17 | 2005-01-19 | High Tech Computer Corp. | Keypad device and operation method thereof |
CN106502930A (en) * | 2016-10-27 | 2017-03-15 | 福建星网视易信息系统有限公司 | The method and apparatus that GPIO based on windows platforms simulates serial line interface |
CN107357742A (en) * | 2017-07-14 | 2017-11-17 | 上海瀚银信息技术有限公司 | A kind of serial ports analogy method and computer equipment |
CN207639769U (en) * | 2017-11-03 | 2018-07-24 | 杭州诚億科技有限公司 | Intelligent bracelet based on LORA communications |
CN107888223A (en) * | 2017-11-25 | 2018-04-06 | 贵阳永青仪电科技有限公司 | A kind of CAN data wireless transmission circuits with USB interface |
Non-Patent Citations (3)
Title |
---|
ZHANG CHAO: "On frequency response analysis of GPIO", 《 2015 AMERICAN CONTROL CONFERENCE (ACC)》 * |
代勇: "基于STM32定时电压采集与报警系统的设计", 《技术交流》 * |
彭震: "《51菜鸟到ARM(STM32)高手进阶之旅》", 31 December 2014 * |
Also Published As
Publication number | Publication date |
---|---|
CN109856485B (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9672186B2 (en) | Electronic monitoring device having wake-up for daisy chain | |
KR101281354B1 (en) | Universal serial bus (usb) remote wakeup | |
CN103440216B (en) | A kind of by I2C from the chip of equipment debugging MCU and method | |
JP7421486B2 (en) | Debugging solution for multi-core processors | |
CN109857243A (en) | System level chip, universal serial bus main equipment, system and awakening method | |
CN105915328B (en) | To the receiving handling method and device of synchronization frame | |
CN104635722B (en) | A kind of abnormal power-down simulating test device | |
CN108777862B (en) | Bluetooth transmission method, Bluetooth controller and Bluetooth device | |
CN102967815A (en) | Chip testing method, automated testing equipment and system | |
EP2903206B1 (en) | Method for waking up a distant device from a local device. | |
CN107943732B (en) | 1553B bus module realized based on domestic FPGA device | |
CN112398714A (en) | Backboard bus master station, system and data communication method thereof | |
TW201447559A (en) | Two-wire serial interface and protocol | |
CN109856485A (en) | Low-power consumption bracelet device, bracelet debugging system and adjustment method | |
CN109426643A (en) | USB interface request scheduling method, device and equipment | |
Buschmann et al. | iSense: A modular hardware and software platform for wireless sensor networks | |
CN108920184A (en) | Microprocessor high performance data communication method based on Crossed Circle buffer area | |
CN109039777A (en) | A kind of wifi equipment and its match network method | |
CN109408456B (en) | S905D chip and STM32 chip based cooperative hardware circuit | |
CN201749462U (en) | Reusable serial port | |
CN110501928B (en) | Intelligent railway monitoring system | |
CN103747088B (en) | A kind of method and data transmission system that data are transmitted for Full scope simulator | |
CN107239614A (en) | A kind of external event triggers the chip emulation method of breakpoint | |
CN107168867A (en) | A kind of method for the user's debug patterns for realizing microcontroller chip | |
CN103632518B (en) | USB wireless network connections equipment, onboard system and its awakening method |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 621000 Sichuan Ailian Technology Co., Ltd Applicant after: Sichuan Ailian Technology Co., Ltd Address before: 621000 Mianyang city of Sichuan Province, Sichuan Industrial Park, love science and Technology Co. Applicant before: SICHUAN AI-LINK TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |