{"id":46347699,"url":"https://github.com/mlab-modules/batdatunit01","last_synced_at":"2026-03-04T22:02:52.220Z","repository":{"id":205443042,"uuid":"689076941","full_name":"mlab-modules/BATDATUNIT01","owner":"mlab-modules","description":"Multiple parallel Li-ion 18650 battery cell module with BMS and data storage with MCU control.","archived":false,"fork":false,"pushed_at":"2026-02-07T10:47:24.000Z","size":249799,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"BATDATUNIT01C","last_synced_at":"2026-02-07T19:50:15.139Z","etag":null,"topics":["battery","battery-power","data-storage","lii-on","measuring-device","measuring-platform","mlab-kicad","mlab-module","sd-card","usb-c"],"latest_commit_sha":null,"homepage":"https://docs.dos.ust.cz/airdos/BATDATUNIT01","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlab-modules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-08T18:37:48.000Z","updated_at":"2026-02-07T10:47:27.000Z","dependencies_parsed_at":"2025-09-10T21:14:55.993Z","dependency_job_id":"32860782-ba91-4838-94dd-b3098f6e0c94","html_url":"https://github.com/mlab-modules/BATDATUNIT01","commit_stats":{"total_commits":256,"total_committers":4,"mean_commits":64.0,"dds":0.65625,"last_synced_commit":"83d7bc093265b2d2f8474cfe87b58c0fd2dae5c4"},"previous_names":["mlab-modules/batdatunit01"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mlab-modules/BATDATUNIT01","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlab-modules%2FBATDATUNIT01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlab-modules%2FBATDATUNIT01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlab-modules%2FBATDATUNIT01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlab-modules%2FBATDATUNIT01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlab-modules","download_url":"https://codeload.github.com/mlab-modules/BATDATUNIT01/tar.gz/refs/heads/BATDATUNIT01C","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlab-modules%2FBATDATUNIT01/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30095693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T21:59:23.547Z","status":"ssl_error","status_checked_at":"2026-03-04T21:57:50.415Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["battery","battery-power","data-storage","lii-on","measuring-device","measuring-platform","mlab-kicad","mlab-module","sd-card","usb-c"],"created_at":"2026-03-04T22:02:51.667Z","updated_at":"2026-03-04T22:02:52.186Z","avatar_url":"https://github.com/mlab-modules.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BATDATUNIT01 - Power and Data Storage Module\n\nThe BATDATUNIT01 is power and data storage module incorporating an ATmea1284p microcontroller paired with a five 18650 Li-ion safely rechargable accumulator cells. It is a reliable power source for extended durations, making it an integral component in various detectors or measuring systems.\n\n![Previw of BATDATUNIT01 PCB](/doc/img/kicad_render_BATDATUNIT01.png)\n\n## Features\n\n- **Microcontroller**: [ATmega1284p](https://www.microchip.com/wwwproducts/en/ATmega1284p) provides robust processing capabilities to manage complex tasks efficiently.\n- **Battery Pack**: A Set of up to five Li-ion batteries offers substantial power, facilitating long-term operations without frequent recharging.\n- **USB-C Charging**: Enables hassle-free charging with a USB-C interface, ensuring the module is readily powered for sustained use.\n- **Charging and Monitoring Circuits**: The [BQ25628E](https://www.ti.com/product/BQ25628) circuit oversees the charging, while the [BQ34Z100](https://www.ti.com/product/BQ34Z100) gauge monitors the battery state for optimal energy management.\n\n## Applications\n\nThe BATDATUNIT01 is designed for versatility:\n\n- As a **power module for semiconductor particle detectors** like the [AIRDOS04](https://github.com/UniversalScientificTechnologies/AIRDOS04), it ensures uninterrupted data acquisition in environmental monitoring.\n- It can be integrated into **remote sensing stations**, providing consistent power and data logging capabilities for long-term ecological studies.\n- In **automated weather stations**, the module's resilience and sensor suite offers valuable insights into meteorological conditions.\n- The module can be deployed in **mobile robotics** for energy supply and environmental data collection, aiding navigation and decision-making processes.\n- It is also ideal for **educational purposes**, as a hands-on tool to teach about energy management, data acquisition, and sensor integration.\n\nThe robust design and connectivity options make the BATDATUNIT01 a dependable choice for powering and managing data across many scientific applications.\n\nFor more detailed information on interfacing and protocols, please refer to the [ATmea1284p datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/doc8059.pdf) and the communication standards for [UART](https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter), [I2C](https://www.i2c-bus.org/), [SPI](https://en.wikipedia.org/wiki/Serial_Peripheral_Interface), and [GPIO](https://en.wikipedia.org/wiki/General-purpose_input/output).\n\n\n## Design\n\nDesigned for convenience, the module allows for fast detachment from the measuring part without tools, streamlining the replacement process. Data can be downloaded during battery charging thanks to onboard memory.\n\n![BATDATAUNIT01 top view](/doc/gen/img/BATDATUNIT01-top.svg)\n\n![BATDATAUNIT01 bottom view](/doc/gen/img/BATDATUNIT01-bottom.svg)\n\n## Schematics\n\n[![](/doc/gen/BATDATUNIT01-schematic.svg)](/doc/gen/BATDATUNIT01-schematic.pdf)\n\n\n### Internal structure\n\n```mermaid\n\n    flowchart TD\n\n    subgraph a[User interfaceI]\n        USB[[USB-C\\nData + power]]\n        UI1([User interface \\n Button + battery indicator])\n        UI2([User interface \\n Button + 3x LED])\n    \n    end\n\n    USB --USB --\u003e USW\n\n    FTDI -- I2C --\u003e I2CSW\n    FTDI -- UART \u003c--\u003e MCU\n    MCU -- I2C --\u003e I2CSW[I2C mux]\n    MCU[Microcontroller]\n    MCU --SPI \u003c--\u003e SDW\n    MCU --\u003e SDW\n\n    subgraph one[Memory interface]\n    SDR[SD card] \u003c--\u003e SDI\n    SDI[SD card interface] -- USB \u003c--\u003e USW\n    USW[USB-SWITCH]\n    SDW[SD card \\n SPI-SWITCH] \u003c--\u003e SDI\n    end\n\n\n    subgraph three[Digital part ]\n    USW -- USB \u003c--\u003e FTDI[FTDI\\nI2C + UART]\n\n    I2CSW --I2C--\u003e HYG[Hygrometer]\n    I2CSW --I2C--\u003e ALT[Pressure sensor]\n\n    I2CSW -- I2C --\u003e I2Cen\n\n    end\n\n\n    I2CSW --I2C--\u003e GAUGE\n    I2CSW --I2C--\u003e charger\n\n\n    GAUGE --\u003e UI1\n    MCU --\u003e UI2\n\n    GAUGE --\u003e PWR3v3\n    GAUGE --\u003e PWR3v3E\n    GAUGE --\u003e PWR5vE\n    \n    USB -- Power --\u003e charger\n\n    subgraph two[POWER sources]\n    PWR3v3[Power supply\\nfor internal 3.3V]\n    PWR3v3E[Power supply\\nfor detector 3.3V]\n    PWR5vE[Power supply\\nfor detector 5V]\n    \n    charger --\u003e GAUGE[Accumulators gauge]\n    GAUGE \u003c==\u003e LIION[(5x Li-ion cells)]\n    end\n    PWR3v3 --\u003e MCU\n\n    PWR3v3E --\u003e DI\n    PWR5vE --\u003e DI\n\n    I2Cen[I2C switch] -- I2C --\u003e DI\n    DI[[Detector interface]] == GPIO, SPI \u003c==\u003e MCU\n\n\n\n```\n\n## Connectivity\n\nA durable Molex connector brings together data and detection with impressive mechanical resilience. It hosts UART, I2C, SPI buses, and extra GPIO signals, providing extensive interfacing options with various systems. The complementary module to the interface connector is [BATDATSOCKET01](https://github.com/mlab-modules/BATDATSOCKET01).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlab-modules%2Fbatdatunit01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlab-modules%2Fbatdatunit01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlab-modules%2Fbatdatunit01/lists"}