{"id":25063854,"url":"https://github.com/virgesmith/pico-neospec","last_synced_at":"2025-03-31T12:42:00.681Z","repository":{"id":273672860,"uuid":"919051679","full_name":"virgesmith/pico-neospec","owner":"virgesmith","description":"Neopixel spectrum analyser","archived":false,"fork":false,"pushed_at":"2025-02-01T19:26:13.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T06:42:50.788Z","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/virgesmith.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":"2025-01-19T15:34:24.000Z","updated_at":"2025-02-01T19:26:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"c80342cd-e8bb-4e16-a00f-832023d0e1c8","html_url":"https://github.com/virgesmith/pico-neospec","commit_stats":null,"previous_names":["virgesmith/pico-neospec"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-neospec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-neospec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-neospec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Fpico-neospec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virgesmith","download_url":"https://codeload.github.com/virgesmith/pico-neospec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246472567,"owners_count":20783224,"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":"2025-02-06T18:54:12.751Z","updated_at":"2025-03-31T12:42:00.652Z","avatar_url":"https://github.com/virgesmith.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pico-neospec\n\nMicrophone -\u003e Pico ADC -\u003e FFT -\u003e Power spectrum -\u003e Neopixel\n\nFFT based on code here: https://github.com/AlexFWulff/awulff-pico-playground\n\nNexopixel based on code here: https://github.com/raspberrypi/pico-examples/tree/master/pio/ws2812\n\n## Prerequisites\n\nMicrophone: I used a DFRobot MEMS microphone, which has a bandwidth of 100-8kHz, connected to ADC 1 (pin 27).\n\nNeopixel: I used a 96 RGB LED connected to pin 0.\n\n(Modify `NPX_PIN` and `CAPTURE_CHANNEL` as necessary)\n\nMain loop (sample, FFT, write to Neopixel) timings (960 samples @ 50kHz) are approx:\n\nBoard        | Time (ms)\n-------------|-----\nRP2040       | 40\nRP2350 ARM   | 22\nRP2350 RISCV | 31\n\nNB Sampling 960 times at 50kHz takes 921600 cycles or 19.2 ms @ 48MHz.\n\n## Build\n\n```sh\nmkdir -p build\ncd build\ncmake -DPICO_PLATFORM=rp2040 ..\nmake -j\n```\n\nBuilds main binary plus individual test harnesses for ADCFFT and Neopixel\n\nCopy the uf2 file to device, powered with reset button pressed.\n\n## Inspect\n\n```sh\nminicom -b 115200 -D /dev/ttyACM0\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Fpico-neospec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirgesmith%2Fpico-neospec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Fpico-neospec/lists"}