{"id":27134907,"url":"https://github.com/elehobica/pico_level_meter","last_synced_at":"2025-04-08T00:59:49.772Z","repository":{"id":215760633,"uuid":"711364007","full_name":"elehobica/pico_level_meter","owner":"elehobica","description":"Audio Level Meter for rp2040","archived":false,"fork":false,"pushed_at":"2025-02-24T13:10:15.000Z","size":396,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T14:25:38.069Z","etag":null,"topics":["level-meter","raspberry-pi-pico","rp2040"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elehobica.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-10-29T02:50:43.000Z","updated_at":"2025-02-09T12:12:23.000Z","dependencies_parsed_at":"2024-01-06T11:41:15.570Z","dependency_job_id":"38cefaf9-6030-48a5-8282-1b5d79a96d36","html_url":"https://github.com/elehobica/pico_level_meter","commit_stats":null,"previous_names":["elehobica/pico_level_meter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_level_meter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_level_meter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_level_meter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elehobica%2Fpico_level_meter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elehobica","download_url":"https://codeload.github.com/elehobica/pico_level_meter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755574,"owners_count":20990626,"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":["level-meter","raspberry-pi-pico","rp2040"],"created_at":"2025-04-08T00:59:48.532Z","updated_at":"2025-04-08T00:59:49.764Z","avatar_url":"https://github.com/elehobica.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Audio Level Meter for rp2350\n\n![LevelMeterScene](doc/level_meter_scene01.jpg)\n\n## Overview\nThis is Audio Level Meter library for rp2350\n\nThis project feattures:\n* Analog signal inputs for 2 channels\n* Configurable dB scale steps and levels\n* Preserved input attenuator values\n\n## Supported Board and Peripheral Devices\n* Raspberry Pi Pico 2\n* M62429 / FM62429 Electric Volume\n* ST7735S 80x160 LCD\n\n## Pin Assignment\n### Audio Input\n\n| Pin # | Pin Name | Function | Signal Name |\n----|----|----|----\n|31 | GP26 | ADC0 | L_IN |\n|32 | GP27 | ADC1 | R_IN |\n\n### M62429 / FM62429 Electric Volume\n\n| Pin # | Pin Name | Function | Signal Name |\n----|----|----|----\n|19 | GP14 | GPIO | PIN_FM62429_DATA |\n|20 | GP15 | GPIO | PIN_FM62429_CLOCK |\n\n## Schematic\nThe frontend analog circuit should be needed.\n\n[pico_level_meter.pdf](doc/pico_level_meter.pdf)\n\n## How to build\n* See [\"Getting started with Raspberry Pi Pico\"](https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf)\n* Put \"pico-sdk\", \"pico-examples\" and \"pico-extras\" on the same level with this project folder.\n* Set environmental variables for PICO_SDK_PATH, PICO_EXTRAS_PATH and PICO_EXAMPLES_PATH\n* Confirmed with Pico SDK 2.1.1\n```\n\u003e git clone -b 2.1.1 https://github.com/raspberrypi/pico-sdk.git\n\u003e cd pico-sdk\n\u003e git submodule update -i\n\u003e cd ..\n\u003e git clone -b sdk-2.1.1 https://github.com/raspberrypi/pico-examples.git\n\u003e\n\u003e git clone -b sdk-2.1.1 https://github.com/raspberrypi/pico-extras.git\n\u003e \n\u003e git clone -b main https://github.com/elehobica/pico_level_meter.git\n\u003e cd pico_level_meter\n\u003e git submodule update -i\n\u003e cd ..\n```\n### Windows\n* Build is confirmed with Developer Command Prompt for VS 2022 and Visual Studio Code on Windows environment\n* Confirmed with cmake-3.27.2-windows-x86_64 and gcc-arm-none-eabi-10.3-2021.10-win32\n* Lanuch \"Developer Command Prompt for VS 2022\"\n```\n\u003e cd pico_level_meter\n\u003e mkdir build \u0026\u0026 cd build\n\u003e cmake -G \"NMake Makefiles\" ..\n\u003e nmake\n```\n* Put \"pico_level_meter.uf2\" on RPI-RP2 drive\n### Linux\n* Build is confirmed with [pico-sdk-dev-docker:sdk-2.1.1-1.0.0]( https://hub.docker.com/r/elehobica/pico-sdk-dev-docker)\n* Confirmed with cmake-3.22.1 and arm-none-eabi-gcc (15:10.3-2021.07-4) 10.3.1\n```\n$ cd pico_level_meter\n$ mkdir build \u0026\u0026 cd build\n$ cmake ..\n$ make -j4\n```\n* Download \"pico_level_meter.uf2\" on RPI-RP2 drive\n\n\n\n* See [\"Getting started with Raspberry Pi Pico\"](https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf)\n* Put \"pico-sdk\", \"pico-examples\" and \"pico-extras\" on the same level with this project folder.\n* Set environmental variables for PICO_SDK_PATH, PICO_EXTRAS_PATH and PICO_EXAMPLES_PATH\n* Build is confirmed in Developer Command Prompt for VS 2022 and Visual Studio Code on Windows enviroment\n* Confirmed with Pico SDK 1.5.1, cmake-3.27.2-windows-x86_64 and gcc-arm-none-eabi-10.3-2021.10-win32\n```\n\u003e git clone -b master https://github.com/raspberrypi/pico-sdk.git\n\u003e cd pico-sdk\n\u003e git submodule update -i\n\u003e cd ..\n\u003e git clone -b master https://github.com/raspberrypi/pico-examples.git\n\u003e \n\u003e git clone -b main https://github.com/elehobica/pico_level_meter.git\n\u003e cd pico_level_meter\n\u003e git submodule update -i\n\u003e cd ..\n```\n* Lanuch \"Developer Command Prompt for VS 2022\"\n```\n\u003e cd pico_level_meter\n\u003e mkdir build\n\u003e cd build\n\u003e cmake -G \"NMake Makefiles\" ..\n\u003e nmake\n```\n* Put \"pico_level_meter.uf2\" on RPI-RP2 drive\n\n### Serial interface usage\n* type ' ' to display current settings\n* type 's' to store current settings to Flash\n* type '+' or '=' to decrease attenuation (level up)\n* type '-' to increase attenuation (level down)\n* type 'b' to adjust attenuation for both channels\n* type 'l' to adjust attenuation for left channel\n* type 'r' to adjust attenuation for right channel\n* type 'p' to toggle peak hold mode","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felehobica%2Fpico_level_meter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felehobica%2Fpico_level_meter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felehobica%2Fpico_level_meter/lists"}