component
DS1307M
Public Made by Adomby adom
HGSEMI Real Time Clocks, SOP-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
Initial commit: component/ds1307m
5290c03
DS1307M
HGSEMI · Real Time Clocks · SOP-8
DS1307M from HGSEMI, in a SOP-8. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | X1 | passive | 32.768 kHz crystal connection pin with 12.5 pF specified load capacitance, or external oscillator input |
| 2 | X2 | passive | 32.768 kHz crystal connection pin; leave floating when external oscillator is connected to X1 |
| 3 | VBAT | power_in | Battery backup power supply input; operating voltage 2.0 V to 3.5 V |
| 4 | GND | power_in | Ground reference potential |
| 5 | SDA | bidirectional | I2C serial data input/output; open-drain pin requires external pull-up resistor |
| 6 | SCL | bidirectional | I2C serial clock input; open-drain pin requires external pull-up resistor and supports 0 to 100 kHz frequency |
| 7 | SQW/OUT | tri_state | Programmable square wave output or fixed logic level; selectable frequencies 1 Hz/4.096 kHz/8.192 kHz/32.768 kHz; open-drain requires external pull-up resistor |
| 8 | VCC | power_in | Power supply input; operating voltage range 4.5 V to 5.5 V with typical 5.0 V |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | HGSEMI |
| Package | SOP-8 |
| Category | Clock/Timing |
| Pins | 8 |
CAD (KiCad official)
- Symbol:
DS1307M - Footprint:
Package_SO:SOIC-8_3.9x4.9mm_P1.27mm - 3D model: SOP-8 (KiCad packages3D, STEP)
- 3D model files:
ds1307m-etched.step/ds1307m-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);ds1307m.step/ds1307m.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: HGSEMI datasheet (14 pp, sha256
99d95856b4d3f840, retrieved 2026-09-17, tier: lcsc) - Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
- Extractor: parts-factory
2.0.0/extract_pins 0.2, primaryclaude-haiku-4-5-20251001(text), consensusclaude-sonnet-4-6(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).
# DS1307M
**HGSEMI** · Real Time Clocks · SOP-8
DS1307M from HGSEMI, in a SOP-8. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | X1 | passive | 32.768 kHz crystal connection pin with 12.5 pF specified load capacitance, or external oscillator input |
| 2 | X2 | passive | 32.768 kHz crystal connection pin; leave floating when external oscillator is connected to X1 |
| 3 | VBAT | power_in | Battery backup power supply input; operating voltage 2.0 V to 3.5 V |
| 4 | GND | power_in | Ground reference potential |
| 5 | SDA | bidirectional | I2C serial data input/output; open-drain pin requires external pull-up resistor |
| 6 | SCL | bidirectional | I2C serial clock input; open-drain pin requires external pull-up resistor and supports 0 to 100 kHz frequency |
| 7 | SQW/OUT | tri_state | Programmable square wave output or fixed logic level; selectable frequencies 1 Hz/4.096 kHz/8.192 kHz/32.768 kHz; open-drain requires external pull-up resistor |
| 8 | VCC | power_in | Power supply input; operating voltage range 4.5 V to 5.5 V with typical 5.0 V |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | HGSEMI |
| Package | SOP-8 |
| Category | Clock/Timing |
| Pins | 8 |
## CAD (KiCad official)
- Symbol: `DS1307M`
- Footprint: `Package_SO:SOIC-8_3.9x4.9mm_P1.27mm`
- 3D model: SOP-8 (KiCad packages3D, STEP)
- 3D model files: `ds1307m-etched.step` / `ds1307m-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `ds1307m.step` / `ds1307m.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [HGSEMI datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756372549431508992) (14 pp, sha256 `99d95856b4d3f840`, retrieved 2026-09-17, tier: lcsc)
- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
- **CAD:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/ds1307m-datasheet.pdf)