{"id":21945089,"url":"https://github.com/gurkengewuerz/microcontroller-tensorflow","last_synced_at":"2025-03-22T16:16:04.943Z","repository":{"id":143577445,"uuid":"382017670","full_name":"Gurkengewuerz/microcontroller-tensorflow","owner":"Gurkengewuerz","description":"Tensorflow lite used on a SAMD21 microcontroller in the arduino framework for activity recognition","archived":false,"fork":false,"pushed_at":"2021-07-02T00:08:55.000Z","size":1488,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-03T17:47:59.021Z","etag":null,"topics":["arduino","microcontroller","platformio","samd21","tensorflow","tensorflow-lite","tensorflow-lite-micro"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gurkengewuerz.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}},"created_at":"2021-07-01T11:58:12.000Z","updated_at":"2024-03-30T14:53:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"86785d96-b50c-4abf-a490-e885a47f27c3","html_url":"https://github.com/Gurkengewuerz/microcontroller-tensorflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fmicrocontroller-tensorflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fmicrocontroller-tensorflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fmicrocontroller-tensorflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurkengewuerz%2Fmicrocontroller-tensorflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gurkengewuerz","download_url":"https://codeload.github.com/Gurkengewuerz/microcontroller-tensorflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244982060,"owners_count":20542301,"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","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":["arduino","microcontroller","platformio","samd21","tensorflow","tensorflow-lite","tensorflow-lite-micro"],"created_at":"2024-11-29T04:17:44.717Z","updated_at":"2025-03-22T16:16:04.920Z","avatar_url":"https://github.com/Gurkengewuerz.png","language":"C++","readme":"# Tensorflow Lite Micro examples\n\nThis repository is an example how to use tensorflow with a microcontroller.\nThe example is using a `GY521` sensor to detect and recognise *standing*, *walking* and *running*.  \nThe code can recognise and also collect new data to a SD card. Everything is visible on a simple SSD1306 OLED display.\n\n## ⚠ **Warnings** ⚠\n### Model\n\nThe current model is currently not correctly trained. Because this is just an example i haven't collected enough data.\n\n### On update\n\nPlease check on every update if the output by train.py equals the array `ACTIVITIES` in `main.cpp`. The indexes must match! Also check if the features are in the correct order.\n\n## Repo structure\n\n- `data` - this directory is for the data processing\n    - `processed` - output directory for `train.py`\n        - `model_data.cpp` - tensorflow lite model **auto generated** by `train.py` \n    - `raw_data` - this directory holds all raw data collected by the microcontroller\n        - `*.csv` \n    - `requirements.txt` - python module requirements\n    - `train.py` - python code to generate a tensorflow model\n- `src` - microcontroller code\n    - `NeuralNetwork.cpp` - Tensorflow lite Wrapper by [@atomic14](https://github.com/atomic14/tensorflow-lite-esp32/blob/master/firmware/src/NeuralNetwork.cpp)\n    - `main.cpp` - main arduino framework code\n\n\n## The Arduino_TensorFlowLite library\n\nTo get the newest tensor flow lite library for the Arduino framework just visit [this repository](https://github.com/antmicro/tensorflow-arduino-examples) and download the newest `tflite-micro` folder.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurkengewuerz%2Fmicrocontroller-tensorflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgurkengewuerz%2Fmicrocontroller-tensorflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurkengewuerz%2Fmicrocontroller-tensorflow/lists"}