CN211783500U - Novel electronic compass with USB interface - Google Patents
Novel electronic compass with USB interface Download PDFInfo
- Publication number
- CN211783500U CN211783500U CN202020665815.2U CN202020665815U CN211783500U CN 211783500 U CN211783500 U CN 211783500U CN 202020665815 U CN202020665815 U CN 202020665815U CN 211783500 U CN211783500 U CN 211783500U
- Authority
- CN
- China
- Prior art keywords
- processing unit
- central processing
- data
- electronic compass
- magnetic field
- 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
Links
Images
Landscapes
- Navigation (AREA)
Abstract
The utility model relates to a novel electronic compass with a USB interface, which comprises a magnetic field sensor, a central processing unit, an acceleration sensor, a USB interface module and a voltage converter; the USB interface module is used for being connected with external equipment and receiving an external power supply of the external equipment; the voltage converter is used for converting the external power supply voltage received by the USB interface module into an internal power supply; the magnetic field sensor and the acceleration sensor are used for transmitting the acquired data to the central processing unit; and the central processing unit transmits the magnetic field data and the acceleration data to external equipment through the USB interface module. The electronic compass integrates the acceleration sensor and the magnetic sensor, has high integration performance, and can greatly increase the use scenes of the external equipment in the guiding and navigation application by arranging the connection and the separation of the USB interface module and the external equipment for use, so that the functions of the external equipment are more comprehensive; and the electronic compass is controlled by an independent MCU, so that the electronic compass operates more stably and efficiently.
Description
Technical Field
The utility model belongs to the technical field of micro-electro-mechanical systems (MEMS) technique and specifically relates to a novel electron compass with USB interface.
Background
With the development of electronic technology and communication technology, the requirement for the intellectualization of electronic products is higher and higher, and more electronic products need to have the ability of sensing the surrounding environment. The family of micro-sensors, represented by micro-electro-mechanical systems (MEMS), has evolved from scratch. Common MEMS devices include accelerometers, gyroscopes, magnetic field sensors, and the like.
In modern technology, electronic compasses are widely used as navigation instruments or attitude sensors. The electronic compass is small in size, light in weight and high in precision, and output signals of the electronic compass can be digitized after being processed, and can be processed by various processors to serve as a basis for sensing an external environment by equipment. The electronic compass has the characteristics of shake resistance and vibration resistance, is high in direction finding precision, has electronic compensation on an interference field, and is applied to various navigation fields.
Most of the existing electronic compasses are integrally arranged in various devices and exist as a part of functions of one device, so that the guiding or navigation function of the device is realized, and when the electronic compass is damaged and cannot realize the navigation function of the electronic compass, the device is required to be dismantled and the damaged electronic compass can be replaced, so that the electronic compass is inconvenient to use. And for an integrated device (such as an old vehicle-mounted device) which is not provided with a guiding or navigation function, the integrated device is integrally formed, and an electronic compass with the navigation function cannot be directly added, so that a user faces the condition that the device needs to be replaced. Such a situation can greatly increase the financial burden on the user of the device and even affect project scheduling.
SUMMERY OF THE UTILITY MODEL
The invention of the utility model aims to: aiming at the problems that the electronic compass with the navigation function in the prior art is integrally arranged in equipment and is inconvenient to install and replace, the novel electronic compass with the USB interface is provided, a magnetic field and an acceleration sensor are arranged in the electronic compass to enable the electronic compass to have the navigation function, and a USB interface module is arranged to facilitate connection and detachment of the electronic compass with external equipment.
In order to realize the purpose, the utility model discloses a technical scheme be:
a novel electronic compass with a USB interface, comprising: the data output end of the magnetic field sensor is connected with the first data acquisition end of the central processing unit so as to transmit the acquired magnetic field data to the central processing unit; the device comprises an acceleration sensor, a USB interface module and a voltage converter;
the USB interface module is used for being connected with external equipment and receiving an external power supply of the external equipment;
the USB interface module is connected with the input end of the voltage converter; the output end of the voltage converter is respectively connected with the power supply ports of the magnetic field sensor, the central processing unit and the acceleration sensor;
the voltage converter is used for converting an external power supply voltage received by the USB interface module into an internal power supply to supply power to the magnetic field sensor, the central processing unit acceleration sensor and the memory;
the data output end of the acceleration sensor is connected with the second data acquisition end of the central processing unit so as to transmit the acquired acceleration data to the central processing unit;
and the first data output end of the central processing unit is connected with the USB interface module through a USB line so as to transmit the magnetic field data and the acceleration data to the external equipment through the USB interface module.
Preferably, the electronic compass further comprises a memory, and the output end of the voltage converter is connected to a power supply port of the memory to supply power to the memory;
and the data acquisition end of the memory is connected with the second data output end of the central processing unit so as to receive the magnetic field data and the acceleration data transmitted to the central processing unit by the central processing unit and store the magnetic field data and the acceleration data.
Preferably, the memory has a capacity of 2 kb.
Preferably, the first data acquisition end, the second data acquisition end and the second data output end of the central processing unit are I2C interfaces;
the central processor performs data interaction with the magnetic field sensor, the acceleration sensor and the memory based on an I2C bus protocol.
Preferably, the central processing unit is ARM Cortex-M3STM 32.
Preferably, the central processing unit is configured with a CPU debug interface for receiving external debug control on the central processing unit.
Preferably, the voltage converter is a 5V to 3.3V voltage converter, and is configured to convert a 5V external power supply voltage into a 3.3V internal power supply.
Preferably, the electronic compass further comprises an LED indicator, and a receiving end of the LED indicator is connected to the third data output end of the central processing unit, so as to be flickered and displayed under the trigger of a level signal of the central processing unit.
Preferably, the acceleration sensor is an MMA7361 three-axis acceleration sensor; the magnetic field sensor is an HMC5883L triaxial magnetic field sensor.
To sum up, owing to adopted above-mentioned technical scheme, the beneficial effects of the utility model are that:
1. the electronic compass integrates the acceleration sensor and the magnetic sensor, has high integration performance, and can greatly increase the use scenes of the external equipment in the guiding and navigation application by arranging the connection and the separation of the USB interface module and the external equipment for use, so that the functions of the external equipment are more comprehensive; and the electronic compass is controlled by an independent MCU, so that the electronic compass operates more stably and efficiently.
2. The electronic compass is provided with a 2kb memory for storing the acquired magnetic field and acceleration data, and the memory is configured, so that when the compass is accessed to different devices, the previous measurement data and configuration information can be read by the current device, thereby expanding the use scene and range of the compass.
3. The high-precision MMA7361 triaxial acceleration sensor and the HMC5883L triaxial magnetic field sensor are integrated, so that the electronic compass can perform high-precision navigation; and ARM Cortex-M3STM32 is adopted as a central processing unit, STM32 has the advantages of high processing speed, low power consumption, miniaturization and the like, and is beneficial to the miniaturization of the whole equipment of the electronic compass equipment.
Drawings
Fig. 1 is a schematic structural diagram of the present invention.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings.
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the invention.
Example 1
Fig. 1 shows a novel electronic compass with a USB interface according to an exemplary embodiment of the present invention, which includes: the device comprises a magnetic field sensor, a central processing unit, an acceleration sensor, a USB interface module and a voltage converter;
the USB interface module is used for being connected with external equipment and receiving an external power supply of the external equipment; the USB interface module is connected with the input end of the voltage converter; the output end of the voltage converter is respectively connected with the power supply ports of the magnetic field sensor, the central processing unit and the acceleration sensor;
the voltage converter is used for converting an external power supply voltage received by the USB interface module into an internal power supply to supply power to the magnetic field sensor, the central processing unit acceleration sensor and the memory; the data output end of the magnetic field sensor is connected with the first data acquisition end of the central processing unit so as to transmit the acquired magnetic field data to the central processing unit; the data output end of the acceleration sensor is connected with the second data acquisition end of the central processing unit so as to transmit the acquired acceleration data to the central processing unit; and the first data output end of the central processing unit is connected with the USB interface module through a USB line so as to transmit the magnetic field data and the acceleration data to the external equipment through the USB interface module.
In this embodiment, the central processor is connected and communicates with other external devices (external smart devices) through its USB connector (USB interface module). And supports the simple, general and high reliability of USB 5V power supply (5V external power supply of external equipment) interface. The 5V USB voltage is converted into a 3.3V power supply through an internal voltage converter of the electronic compass, and the power supply is used by each functional device in the electronic compass. The magnetic field sensor and the acceleration sensor are integrated in the electronic compass to receive magnetic field data and acceleration data in the environment, the two sensors convert the acquired data into digital signals and send the digital signals to the central processing unit through the I2C interface, and the central processing unit is also provided with a CPU debugging interface, so that debugging control on the central processing unit is facilitated. The central processing unit can process the received data into USB signals, the USB signals are transmitted to the external equipment connected with the central processing unit through the USB interface module, and the external intelligent equipment connected with the USB interface can identify and analyze the USB signals and finally convert the USB signals into actual directions which can be read by a user so as to complete corresponding navigation and guiding functions.
Example 2
Furthermore, the electronic compass is separately provided with a 2Kb memory for storing information (magnetic field and acceleration data collected by the sensor), and the memory is also supplied with power of 3.3V by the voltage converter. And the data acquisition end of the memory is connected with the second data output end of the central processing unit so as to receive the magnetic field data and the acceleration data transmitted to the central processing unit by the central processing unit and store the magnetic field data and the acceleration data. Through the memory carried by the compass, when the compass is accessed to different devices, the previous measurement data and configuration information can be read by the current device, so that the use scene and range of the compass are expanded.
In the embodiment, the central processing unit uses an ARM Cortex-M3STM32, an MMA7361 three-axis acceleration sensor with high precision and an HMC5883L three-axis magnetic field sensor with high precision, so that the electronic compass can carry out high-precision navigation. The electronic compass has the advantages of high processing speed, low power consumption, miniaturization and the like, and is beneficial to the miniaturization of the whole electronic compass equipment. And meanwhile, a power supply and a system operation indicating lamp (LED indicating lamp) are arranged, and a receiving end of the LED indicating lamp is connected with a third data output end of the central processing unit so as to be subjected to flicker display under the trigger of a level signal of the central processing unit and be used for ensuring the timely feedback of the running state of the compass.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, as any modifications, equivalents, improvements and the like made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.
Claims (9)
1. A novel electronic compass with a USB interface, comprising: the data output end of the magnetic field sensor is connected with the first data acquisition end of the central processing unit so as to transmit the acquired magnetic field data to the central processing unit; it is characterized by also comprising: the device comprises an acceleration sensor, a USB interface module and a voltage converter;
the USB interface module is used for being connected with external equipment and receiving an external power supply of the external equipment;
the USB interface module is connected with the input end of the voltage converter; the output end of the voltage converter is respectively connected with the power supply ports of the magnetic field sensor, the central processing unit and the acceleration sensor;
the voltage converter is used for converting an external power supply voltage received by the USB interface module into an internal power supply to supply power to the magnetic field sensor, the central processing unit acceleration sensor and the memory;
the data output end of the acceleration sensor is connected with the second data acquisition end of the central processing unit so as to transmit the acquired acceleration data to the central processing unit;
and the first data output end of the central processing unit is connected with the USB interface module through a USB line so as to transmit the magnetic field data and the acceleration data to the external equipment through the USB interface module.
2. The electronic compass of claim 1, further comprising a memory, wherein the output of the voltage converter is connected to a power supply port of the memory to power the memory;
and the data acquisition end of the memory is connected with the second data output end of the central processing unit so as to receive the magnetic field data and the acceleration data transmitted to the central processing unit by the central processing unit and store the magnetic field data and the acceleration data.
3. The electronic compass of claim 2, wherein the memory has a capacity of 2 kb.
4. The electronic compass of claim 2, wherein the first data acquisition terminal, the second data acquisition terminal, and the second data output terminal of the central processor are I2C interfaces;
the central processor performs data interaction with the magnetic field sensor, the acceleration sensor and the memory based on an I2C bus protocol.
5. The electronic compass according to any one of claims 1-4, wherein the central processor is ARMCortex-M3 STM 32.
6. The electronic compass of claim 5, wherein the CPU is configured with a CPU debug interface for receiving external debug control thereon.
7. The electronic compass of any one of claims 1-4, wherein the voltage converter is a 5V to 3.3V voltage converter for converting a 5V external supply voltage to a 3.3V internal supply voltage.
8. The electronic compass according to any one of claims 1-4, further comprising an LED indicator light, wherein a receiving end of the LED indicator light is connected to the third data output end of the central processing unit, so as to flash and display under the trigger of the level signal of the central processing unit.
9. The electronic compass according to any one of claims 1-4, wherein the acceleration sensor is an MMA7361 three-axis acceleration sensor; the magnetic field sensor is an HMC5883L triaxial magnetic field sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020665815.2U CN211783500U (en) | 2020-04-27 | 2020-04-27 | Novel electronic compass with USB interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020665815.2U CN211783500U (en) | 2020-04-27 | 2020-04-27 | Novel electronic compass with USB interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211783500U true CN211783500U (en) | 2020-10-27 |
Family
ID=72957792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020665815.2U Active CN211783500U (en) | 2020-04-27 | 2020-04-27 | Novel electronic compass with USB interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211783500U (en) |
-
2020
- 2020-04-27 CN CN202020665815.2U patent/CN211783500U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107449422B (en) | High dynamic carrier position appearance real-time measuring device | |
CN205066776U (en) | Nine attitude sensor based on data fusion | |
Karpov et al. | Designing the platform for monitoring and visualization orientation in Euler angles | |
CN106289256A (en) | Signal calculated processing system based on two CSTR Yu FPGA architecture | |
CN107270902B (en) | MEMS inertial measurement unit with cross-axis coupling error compensation | |
CN211783500U (en) | Novel electronic compass with USB interface | |
CN108170268A (en) | A kind of Whole Body motion capture devices based on Inertial Measurement Unit | |
CN203179279U (en) | Remote transparent data acquisition and transmission system based on optical fiber | |
CN201397343Y (en) | Inertial measurement device | |
CN101475018B (en) | Two dimensional space running orbit tester based on double-shaft optical fiber gyroscope | |
CN211904161U (en) | Portable gesture detection device | |
CN209485372U (en) | A kind of attitude of carrier detection device | |
CN107607114A (en) | A kind of digital gyro stabilized platform, the soft test system of online frequency characteristic and method | |
CN202648649U (en) | Target aspect sensor | |
CN207472420U (en) | Unmanned plane vibration-testing apparatus | |
CN202815012U (en) | Digital three-axis micro-acceleration sensor | |
CN106771352B (en) | Acceleration recording device applied to missile-borne test | |
CN213874372U (en) | Inertia measuring device | |
CN111102973A (en) | Multi-sensor attitude detection system | |
CN209961233U (en) | Miniature strapdown inertial navigation unit | |
CN209897360U (en) | Compatible type circuit board of two kinds of compatible communication module | |
CN213123337U (en) | Traffic detection device | |
CN210154589U (en) | Shell of miniature strapdown inertial navigation unit | |
CN205300595U (en) | Novel MEMS vertical gyro detecting system | |
CN113984036A (en) | Portable three-axis fiber-optic gyroscope attitude measurement system and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 610041 doctor Pioneer Park, Chengdu, China, No.5 Gaopeng Avenue, high tech Zone, Chengdu, Sichuan Province Patentee after: Chengdu wanchuang Technology Co.,Ltd. Address before: 610041 doctor Pioneer Park, Chengdu, China, No.5 Gaopeng Avenue, high tech Zone, Chengdu, Sichuan Province Patentee before: VANTRON TECHNOLOGY, Inc. |
|
CP01 | Change in the name or title of a patent holder |