{"id":19834580,"url":"https://github.com/thingpulse/epulse-feather-c6-samples","last_synced_at":"2026-06-13T05:32:38.498Z","repository":{"id":229787092,"uuid":"769968442","full_name":"ThingPulse/epulse-feather-c6-samples","owner":"ThingPulse","description":"Sample projects for ThingPulse ePulse Feather C6","archived":false,"fork":false,"pushed_at":"2024-03-10T15:09:22.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T21:49:18.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ThingPulse.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}},"created_at":"2024-03-10T15:09:21.000Z","updated_at":"2024-03-10T15:09:26.000Z","dependencies_parsed_at":"2024-03-26T09:13:21.761Z","dependency_job_id":"a0e73c94-41c3-413c-ba4b-1f4e192f5601","html_url":"https://github.com/ThingPulse/epulse-feather-c6-samples","commit_stats":null,"previous_names":["thingpulse/epulse-feather-c6-samples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThingPulse/epulse-feather-c6-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fepulse-feather-c6-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fepulse-feather-c6-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fepulse-feather-c6-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fepulse-feather-c6-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThingPulse","download_url":"https://codeload.github.com/ThingPulse/epulse-feather-c6-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThingPulse%2Fepulse-feather-c6-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34273788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2024-11-12T12:05:06.715Z","updated_at":"2026-06-13T05:32:38.483Z","avatar_url":"https://github.com/ThingPulse.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"ThingPulse ePulse Feather C6\n=================\n\n\nSample projects for [ThingPulse ePulse Feather C6](https://thingpulse.com/products/epulse-feather-c6/)\n ![ePulse C6](assets/img/epulse-c6.jpeg)\n\n# Sample Projects\n\nTo build and run these sample projects follow these steps:\n 1. Install VS Code and install [Platformio](https://platformio.org/install/ide?install=vscode)\n 2. Checkout this repository and open it in VS Code\n 3. Select the sample project by clicking on env section in the footer:\n ![Environment Selector](assets/img/project.png)\n 4. Build and flash the sample by clicking on the right arrow in VS Code footer:\n ![Build \u0026 Flash](assets/img/build-flash.png)\n 5. Turn on serial monitor by clicking on the plug symbol:\n ![Monitor](assets/img/monitor.png)\n\n## Fuel Gauge Simple\n\nThis example shows how to use the MAX17048 fuel gauge chip. \n\n1. Preparation: connect a LiPo battery to the ePulse Feather C6. Make sure polarity of the battery\nis correct-\n2. Select `env:fuel-gauge-simple` to run this example. The `ESP32-C6` connects to the `MAX17048` chip\nand reads battery voltage, state of charge (SoC) and change rate\n\n### Links\n* [MAX 17048 DataSheet](https://www.analog.com/media/en/technical-documentation/data-sheets/max17048-max17049.pdf)\n\n## Fuel Gauge WiFi\n\nThis example shows how to use the MAX17048 fuel gauge chip. In addition to the previous example this code sends\nthe battery voltage and the SoC to the given HTTP server. We used a node-red instance with http node to receive\nthe values\n\n1. Preparation: connect a LiPo battery to the ePulse Feather C6. Make sure polarity of the battery\nis correct-\n2. Select `env:fuel-gauge-wifi` to run this example. The `ESP32-C6` connects to the `MAX17048` chip\nand reads battery voltage, state of charge (SoC) and change rate\n3. Adjust WiFi ssid and password in `main-fuel-gauge-wifi.cpp`\n4. Adjust host and port in the same file\n5. Setup http server to receive GET requests\n\nHere is an example flow of node red. It receives requests under /epulsec6, converts them and sends the message to influx:\n ![Monitor](assets/img/node-red.png?)\n\nContent of the `convert message` node\n ```js\nlet payload = {};\n\npayload.vBat = Number(msg.req.query.voltage);\npayload.soc = Number(msg.req.query.soc);\n\nlet values = payload;\nlet tags = {};\ntags.name = \"epulse feather c6\";\nmsg.payload = [values, tags];\nreturn msg;\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingpulse%2Fepulse-feather-c6-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthingpulse%2Fepulse-feather-c6-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthingpulse%2Fepulse-feather-c6-samples/lists"}