TWS Bluetooth Earbud Charging Case
Published 2026-11-23
End product
A TWS Bluetooth earbud charging case uses lid open/close detection for automatic pairing and sleep.
How it works
The lid magnet approaches or leaves the Hall sensor. Opening the lid triggers Bluetooth pairing; closing it changes the state, starts charging and enters sleep.
Selection considerations
Case space is extremely tight, requiring a small SOT-23 package; the small battery requires quiescent current below 2 µA.
Ouzhuo solution
Micropower omnipolar Hall ICs in a small SOT-23 package with polarity-independent, consistent response; standby current and package are confirmed against the product requirements.
Typical structure and mounting notes
TWS charging-case detection is direct: a small magnet is embedded in the lid and an omnipolar switch Hall sensor is placed at the corresponding position on the case main board. When the lid opens, the magnet leaves, the Hall sensor changes state and wakes the controller, and the case starts advertising for the earbuds to reconnect. When the lid closes, the magnet returns, the Hall sensor changes state again, and the controller disconnects the earbuds, starts charging and enters low power. Because the lid opens and closes frequently, this signal carries most of the user interaction, and a wrong decision directly affects the user experience.
The Hall sensor is usually mounted at the board edge near the case boundary, with an air gap of only 2~4 mm; the plastic housing thickness is the main variable. The case also holds two earbuds, their charging contacts, the battery and antennas; the earbud magnets, speaker magnets and wireless-charging coil are all nearby, so place the detection Hall sensor as far from these sources as possible and distinguish “earbuds inserted” from “lid open/close” using thresholds and software debounce. Magnet polarity does not affect an omnipolar Hall output, but the relative orientation of magnet and sensor affects the trigger distance.
Case space is very tight, so the Hall sensor is usually a SOT-23 or smaller package. The controller still needs to monitor the lid signal during sleep, so quiescent current directly determines standby time. Confirm the specific air gap, quiescent current and wake method against the product structure.
FAQ
- Opening does not pair, closing does not disconnect: first check magnet position and air gap, then whether the Hall output is connected to the wake pin.
- It still shows connected after closing: check the debounce time and state-machine transition conditions, and confirm the Hall sensor really changes state in the closed position.
- Inserting an earbud is mistaken for opening the lid: check the relative position of the earbud magnet and the detection Hall sensor, and adjust the threshold or layout.
- Standby time is noticeably shorter: check Hall quiescent current, the pull-up resistor and the controller wake frequency.
- Detection fails after a drop or moisture: check Hall solder joints, whether the magnet has come unglued, and housing deformation.
