Non-contact UART communication device
By using a non-contact UART communication device, data transmission is achieved through magnetic field modulation of miniature coils and Hall devices, which solves the problem of metal contact wear in shared power bank cabinets, thus extending equipment life and reducing costs.
Patent Information
- Application Number
- CN202520388897.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2035-03-07
AI Technical Summary
In shared power bank cabinets, oxidation and wear issues caused by metal contact communication lead to poor contact, short lifespan, and high maintenance costs.
It adopts a non-contact UART communication device, which uses miniature coils and Hall devices to transmit data through magnetic field modulation and demodulation, avoiding wear of physical contacts. It adopts an axially aligned layout of miniature coils and Hall devices, and is compatible with standard UART protocols.
It extends device lifespan, reduces maintenance costs, and is cheaper than Bluetooth or WiFi modules, while being directly compatible with existing power bank main control logic.
Smart Images

Figure CN223829313U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of shared charging, specifically a contactless UART communication device. Background Technology
[0002] Shared power bank cabinets are smart rental devices deployed in public places such as hotels, shopping malls, KTVs, and internet cafes. Users can quickly rent power banks by scanning a code to register and pay a deposit (or credit authorization). The fee is charged by the hour, and the power banks must be returned to any networked cabinet after use, solving the problem of insufficient power for users' mobile phones and other electronic devices.
[0003] The communication between shared power bank cabinets and mobile power banks mostly uses metal contact points, which can lead to poor contact due to contact oxidation and wear. This results in a short lifespan and high maintenance costs for traditional contact-based communication, requiring improvement. Utility Model Content
[0004] The purpose of this invention is to provide a contactless UART communication device to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, this utility model provides the following technical solution:
[0006] A contactless UART communication device includes a transmitter and a receiver;
[0007] The transmitter includes:
[0008] The first microprocessor is used to generate UART signals and output them to the coil drive unit;
[0009] The coil driving unit is used to receive UART signals and drive current changes based on the UART signals, and output them to the miniature coil.
[0010] Miniature coils are used to generate alternating magnetic fields when current flows into them;
[0011] The receiving end includes:
[0012] Hall effect sensors are used to detect changes in magnetic fields and output a level signal.
[0013] The level conversion unit is used to convert the received level signal back into a UART signal and output it to the second microprocessor.
[0014] The second microprocessor is used to parse the UART signals based on the received UART signals;
[0015] The output of the first microprocessor is connected to the input of the coil driving unit, the output of the coil driving unit is connected to the input of the micro coil, the output of the micro coil is connected to the input of the Hall unit, the output of the Hall unit is connected to the input of the level conversion unit, and the output of the level conversion unit is connected to the input of the second microprocessor.
[0016] As a further improvement of this utility model, the UART signal transmission data packet format is: data + end character (0x00) + data content XOR and check character.
[0017] As a further improvement of this utility model: in the UART signal transmission data packet, each byte has a start bit of 2 bits (low level), a sequence number bit of 5 bits, and a data bit of 8 bits.
[0018] As a further improvement of this invention, a miniature coil is wound inside the power bank.
[0019] As a further improvement of this utility model: the micro coil and the Hall device are arranged in an axially aligned manner, the micro coil is encapsulated inside the power bank shell, and the Hall device is embedded in the corresponding position of the cabinet slot.
[0020] Compared with the prior art, the beneficial effects of this utility model are: This utility model uses a miniature coil (transmitter) and a switch-type Hall device (receiver) to realize contactless UART communication, and transmits data through magnetic field modulation and demodulation, avoiding physical contact wear and extending the life of the device; compared with wireless communication solutions such as Bluetooth and WiFi, the cost of miniature coils and Hall devices is much lower than that of Bluetooth and WiFi modules; it is directly compatible with the standard UART protocol and does not require modification of the existing power bank main control logic. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of a contactless UART communication device.
[0022] Figure 2 A schematic diagram of data packet bytes being transmitted for UART signals.
[0023] Figure 3 This is a schematic diagram showing the axial alignment of the coil and the Hall device. Detailed Implementation
[0024] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present utility model. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present utility model without creative effort are within the protection scope of the present utility model.
[0025] Please see Figure 1 A contactless UART communication device, comprising a transmitter and a receiver;
[0026] The transmitter includes:
[0027] The first microprocessor is used to generate UART signals and output them to the coil drive unit;
[0028] The coil driving unit is used to receive UART signals and drive current changes based on the UART signals, and output them to the miniature coil.
[0029] Miniature coils are used to generate alternating magnetic fields when current flows into them;
[0030] The receiving end includes:
[0031] Hall effect sensors are used to detect changes in magnetic fields and output a level signal.
[0032] The level conversion unit is used to convert the received level signal back into a UART signal and output it to the second microprocessor.
[0033] The second microprocessor is used to parse the UART signals based on the received UART signals;
[0034] The output of the first microprocessor is connected to the input of the coil driving unit, the output of the coil driving unit is connected to the input of the micro coil, the output of the micro coil is connected to the input of the Hall unit, the output of the Hall unit is connected to the input of the level conversion unit, and the output of the level conversion unit is connected to the input of the second microprocessor.
[0035] The first microcontroller outputs a UART signal, which drives a miniature coil (5mm in diameter, 50 turns) via a coil driving unit (designed with MOSFET as the core). A "1" in the UART signal corresponds to the coil being energized (magnetic field turned on), and a "0" corresponds to the coil being de-energized (magnetic field turned off). A switching Hall effect device (such as AH3369Q) detects the magnetic field and outputs high and low level signals. The signals are then converted back to UART signals by a level conversion unit (filtered by an RC circuit and shaped by a hysteresis comparator, which can be an LM393), and input to the receiving pin of the second microprocessor.
[0036] Baud rate limitation: Constrained by the response speed of the Hall device (typical value 10kHz), the baud rate is set to 100bps~9600bps.
[0037] In this embodiment, the UART signal transmission data packet format is: data + end character (0x00) + data content XOR and checksum character.
[0038] Adding a CRC checksum improves anti-interference capabilities. Data packets utilize common techniques and do not involve any innovative methods.
[0039] In this embodiment: Please refer to Figure 2 In UART signal transmission data packets, each byte has a 2-bit start bit (low level), a 5-bit sequence number bit, and an 8-bit data bit.
[0040] Different data bits display different information; here, there are 8 data bits. Figure 2 The value is 00101000. Different information is conveyed based on different data bits. Using data bits to carry information is a common technique and does not involve any innovative methods.
[0041] In this embodiment: the miniature coil is wound inside the power bank.
[0042] In this embodiment: Please refer to Figure 3 The micro coil and Hall device are axially aligned. The micro coil is encapsulated inside the power bank casing, and the Hall device is embedded in the corresponding position of the cabinet slot.
[0043] The miniature coil and the Hall device are axially aligned with a spacing of ≤4mm to ensure that the Hall device can fully detect the magnetic field changes caused by the miniature coil.
[0044] The working principle of this utility model is as follows: the first microprocessor generates a UART signal and outputs it to the coil driving unit; the coil driving unit receives the UART signal, drives the current change based on the UART signal, and outputs it to the micro coil; the micro coil generates an alternating magnetic field when current flows in; the Hall unit detects the magnetic field change and outputs a level signal; the level conversion unit converts the received level signal back into a UART signal and outputs it to the second microprocessor; the second microprocessor parses the UART signal based on the received UART signal.
[0045] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects.
[0046] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A contactless UART communication device, characterized in that, The contactless UART communication device includes a transmitter and a receiver; The transmitter includes: The first microprocessor is used to generate UART signals and output them to the coil drive unit; The coil driving unit is used to receive UART signals and drive current changes based on the UART signals, and output them to the miniature coil. Miniature coils are used to generate alternating magnetic fields when current flows into them; The receiving end includes: Hall effect sensors are used to detect changes in magnetic fields and output a level signal. The level conversion unit is used to convert the received level signal back into a UART signal and output it to the second microprocessor. The second microprocessor is used to parse the UART signals based on the received UART signals; The output of the first microprocessor is connected to the input of the coil driving unit, the output of the coil driving unit is connected to the input of the micro coil, the output of the micro coil is connected to the input of the Hall unit, the output of the Hall unit is connected to the input of the level conversion unit, and the output of the level conversion unit is connected to the input of the second microprocessor.
2. The contactless UART communication device according to claim 1, characterized in that, The UART signal transmission data packet format is: data + end character + data content XOR and checksum character.
3. The contactless UART communication device according to claim 1, characterized in that, In UART signal transmission data packets, each byte has a 2-bit start bit, a 5-bit sequence number bit, and an 8-bit data bit.
4. The contactless UART communication device according to any one of claims 1 to 3, characterized in that, The miniature coil is wound inside the power bank.
5. The contactless UART communication device according to any one of claims 1 to 3, characterized in that, The micro coil and Hall effect device are arranged in an axially aligned manner. The micro coil is encapsulated inside the power bank casing, and the Hall effect device is embedded in the corresponding position of the cabinet slot.