{"id":17329999,"url":"https://github.com/coderbyheart/bmv712reader","last_synced_at":"2025-10-15T02:05:28.549Z","repository":{"id":138002842,"uuid":"294968218","full_name":"coderbyheart/bmv712reader","owner":"coderbyheart","description":"Publish BMV-712 readings using nRF9160 DK","archived":false,"fork":false,"pushed_at":"2020-12-27T14:40:30.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"saga","last_synced_at":"2025-03-27T05:43:59.347Z","etag":null,"topics":["smartvan"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderbyheart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-09-12T15:13:15.000Z","updated_at":"2021-01-16T02:04:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d1d8418-4158-4491-93e6-378c3ab305d1","html_url":"https://github.com/coderbyheart/bmv712reader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderbyheart/bmv712reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fbmv712reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fbmv712reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fbmv712reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fbmv712reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderbyheart","download_url":"https://codeload.github.com/coderbyheart/bmv712reader/tar.gz/refs/heads/saga","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderbyheart%2Fbmv712reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279033978,"owners_count":26089402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["smartvan"],"created_at":"2024-10-15T14:50:02.430Z","updated_at":"2025-10-15T02:05:28.536Z","avatar_url":"https://github.com/coderbyheart.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Publish BMV-712 readings using nRF9160 DK\n\n## Connect BMV-712\n\n![ve.direct](./vedirect.png)\n\n- Pin 2 to Pin 14 on DK\n- Pin 3 to Pin 15 on DK\n\nDo not connect GND and VDD.\n\n## Readings\n\nThe BMV-712 returns these values:\n\n| Property | Value Example | Units    | Description                              |\n| -------- | ------------: | -------- | ---------------------------------------- |\n| PID      |        0xA381 |          | Product ID                               |\n| V        |         12991 | mV       | Main or channel 1 (battery) voltage      |\n| T        |            22 | °C       | Battery temperature                      |\n| I        |         -4696 | mA       | Main or channel 1 battery current        |\n| P        |           -61 | W        | Instantaneous power                      |\n| CE       |         -2160 | mAH      | Consumed Amp Hours                       |\n| SOC      |           993 | ‰        | State-of-charge                          |\n| TTG      |          1750 | Minutes  | Time-to-go                               |\n| Alarm    |           OFF |          | Alarm condition active                   |\n| Relay    |           OFF |          | Relay state                              |\n| AR       |             0 |          | Alarm reason                             |\n| BMV      |     712 Smart |          | Model description (deprecated)           |\n| FW       |          0403 |          | Firmware version                         |\n| H1       |        -28064 | mAh      | Depth of the deepest discharge           |\n| H2       |         -2160 | mAh      | Depth of the last discharge              |\n| H3       |             0 | mAh      | Depth of the average discharge           |\n| H4       |             0 |          | Number of charge cycles                  |\n| H5       |             0 |          | Number of full discharges                |\n| H6       |        -49512 | mAh      | Cumulative Amp Hours drawn               |\n| H7       |          -314 | mV       | Minimum main (battery) voltage           |\n| H8       |         14686 | mV       | Maximum main (battery) voltage           |\n| H9       |          4747 | Seconds  | Number of seconds since last full charge |\n| H10      |             0 |          | Number of automatic synchronizations     |\n| H11      |             0 |          | Number of low main voltage alarms        |\n| H12      |             0 |          | Number of high main voltage alarms       |\n| H15      |             0 | mV       | Minimum auxiliary (battery) voltage      |\n| H16      |             0 | mV       | Maximum auxiliary (battery) voltage      |\n| H17      |            63 | 0.01 kWh | Amount of discharged energy              |\n| H18      |            96 | 0.01 kWh | Amount of charged energy                 |\n\n## Building\n\n### Prepare the Docker image with all build dependencies\n\n    docker build -t zephyr-bmv712reader .\n\n### Build the firmware\n\n    docker run --rm -v ${PWD}:/workdir/ncs/zephyr-bmv712reader zephyr-bmv712reader \\\n        /bin/bash -c 'cd /workdir/ncs/zephyr-bmv712reader \u0026\u0026 west build -p always -b nrf9160dk_nrf9160ns'\n\n### Flash the firmware\n\n    nrfjprog -f nrf91 --program build/zephyr/merged.hex --sectoranduicrerase -r --log\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderbyheart%2Fbmv712reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderbyheart%2Fbmv712reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderbyheart%2Fbmv712reader/lists"}