{"id":21191889,"url":"https://github.com/edgeimpulse/example-standalone-inferencing-pico","last_synced_at":"2026-01-02T12:04:23.874Z","repository":{"id":44629271,"uuid":"381454160","full_name":"edgeimpulse/example-standalone-inferencing-pico","owner":"edgeimpulse","description":"Builds and runs an exported impulse locally (Raspberry Pi Pico/RP2040)","archived":false,"fork":false,"pushed_at":"2025-02-10T10:01:55.000Z","size":2178,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-03-07T00:58:40.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause-clear","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgeimpulse.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}},"created_at":"2021-06-29T18:01:47.000Z","updated_at":"2025-02-10T10:01:59.000Z","dependencies_parsed_at":"2023-01-23T14:30:31.890Z","dependency_job_id":null,"html_url":"https://github.com/edgeimpulse/example-standalone-inferencing-pico","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/edgeimpulse%2Fexample-standalone-inferencing-pico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-pico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-pico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgeimpulse%2Fexample-standalone-inferencing-pico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgeimpulse","download_url":"https://codeload.github.com/edgeimpulse/example-standalone-inferencing-pico/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243646664,"owners_count":20324586,"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":[],"created_at":"2024-11-20T19:06:14.039Z","updated_at":"2026-01-02T12:04:23.799Z","avatar_url":"https://github.com/edgeimpulse.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Impulse Example: stand-alone inferencing (Raspberry Pi Pico)\n\nThis repository runs an exported impulse on the Raspberry Pi Pico / RP2040. See the documentation at [Running your impulse locally](https://docs.edgeimpulse.com/docs/running-your-impulse-locally-1). This repository is based off of the [Arducam Pico4ML Magic Wand Example](https://github.com/ArduCAM/Pico4ML-Magic-Wand/).\n\n## Requirements\n\n### Hardware\n\n* [Raspberry Pi Pico](https://www.raspberrypi.org/products/raspberry-pi-pico/).\n\n### Software\n\n* [Edge Impulse CLI](https://docs.edgeimpulse.com/docs/cli-installation).\n* [GNU ARM Embedded Toolchain](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads).\n* [CMake](https://cmake.org/install/).\n* Rasperry Pi Pico SDK:\n   ```bash\n   git clone -b master https://github.com/raspberrypi/pico-sdk.git\n   cd pico-sdk\n   git submodule update --init\n   export PATH=\"\u003cPath to Pico SDK\u003e\"\n   ```\n\n## Building the application\n\n### Get the Edge Impulse SDK\n\nUnzip the deployed `C++ library` from your Edge Impulse project and copy to the source directory of this repository:\n\n   ```\n   example-standalone-inferencing-pico/\n   ├─ source\n   ├─- model-parameters\n   ├─- edge-impulse-sdk\n   ├─- tflite-model\n   ├─- CMakeLists.txt\n   ├─ .gitignore\n   ├─ LICENSE\n   ├─ README.md\n   └─ pico_sdk_import.cmake\n   ```\n\n### Compile\n\n1. Create the `build` folder:\n   ```bash\n   mkdir build \u0026\u0026 cd build\n   ```\n1. Compile:\n   ```bash\n   cmake ..\n   clear \u0026\u0026 make -j4\n   ```\n\n### Flash\n\nConnect the Raspberry Pi Pico to your computer using a micro-USB cable while pressing and holding the **BOOTSEL** button.\n\nDrag and drop the `build/pico_standalone.uf2` file to the **RPI-RP2** disk in your file explorer.\n\n### Serial connection\n\nUse screen, minicom or Serial monitor in Arduino IDE to set up a serial connection over USB. The following UART settings are used: 115200 baud, 8N1.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-pico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-pico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeimpulse%2Fexample-standalone-inferencing-pico/lists"}