{"id":16397535,"url":"https://github.com/coord-e/dsp6951","last_synced_at":"2025-11-14T09:01:53.261Z","repository":{"id":115891179,"uuid":"81723828","full_name":"coord-e/DSP6951","owner":"coord-e","description":"Library for DSP6951 DSP Radio IC.","archived":false,"fork":false,"pushed_at":"2017-02-12T13:10:10.000Z","size":5,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T10:59:59.868Z","etag":null,"topics":["arduino","arduino-library","cpp","dsp","radio"],"latest_commit_sha":null,"homepage":"http://blog.y-modify.org/2017/03/17/m6951-radio/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coord-e.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":"2017-02-12T12:21:09.000Z","updated_at":"2020-02-24T03:32:17.000Z","dependencies_parsed_at":"2023-05-16T21:30:24.339Z","dependency_job_id":null,"html_url":"https://github.com/coord-e/DSP6951","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/coord-e%2FDSP6951","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2FDSP6951/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2FDSP6951/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coord-e%2FDSP6951/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coord-e","download_url":"https://codeload.github.com/coord-e/DSP6951/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240286519,"owners_count":19777353,"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","arduino-library","cpp","dsp","radio"],"created_at":"2024-10-11T05:10:20.936Z","updated_at":"2025-11-14T09:01:48.230Z","avatar_url":"https://github.com/coord-e.png","language":"C++","readme":"# DSP6951\nArduino Library for DSP6951 DSP Radio IC.\n\n## Supported devices\n- [DSP6951](http://www.aitendo.com/product/7350)\n- [M6951 module](http://www.aitendo.com/product/7011)\n\n## Known issue\n- Tuning to AM doesn't work.\n\n## Getting started\n### Circuit\n![circuit](http://blog.y-modify.org/wp-content/uploads/2017/02/m6951-1.png)\n\n(resistor is all 10k)\n\nAccording to datasheet, the rated voltage is 3.3v.\n\nHowever in my environment, it didn't work with 3.3v.\n\nSo I powers it with 5v and it worked successfully. (Also maximun voltage is 5.8v, so it is OK for the moment)\n\n### Sketch\n\n```cpp\n#include \u003cDSP6951.h\u003e\n\nDSP6951 radio;\n\nvoid setup() {\n  Serial.begin(9600);\n  radio.begin();\n  radio.setVolume(50);\n  radio.setMode(DSP6951::FM);\n  radio.setChannel(81.3);\n}\n\nvoid loop() {\n  Serial.println(radio.getCNR()); //get \"Carrier to noise ratio\" and print it\n  delay(300);\n}\n```\n\n## API Reference\n- `void begin(void);`\n\nInitialize IC and prepare to work.\n\n- `void setVolume(uint8_t volume);`\n\nSet output volume to the specified value(0-100).\n\n- `void setChannel(float freq);`\n\nSet channel to the specified frequency.\n\n- `void setMode(bool mode);`\n\nSet working mode (`DSP6951::AM` or `DSP6951::FM`)\n\nCurrently only FM is supported. AM support will be added soon.\n\n- `void setMute(bool mute);`\n\nSet mute or not. Set `true` to mute, `false` to unmute.\n\n- `uint8_t getCNR();`\n\nGet CNR(Carrier to noise ratio).\n\n- `uint8_t getRSSI();`\n\nGet RSSI(Received Signal Strength Indication).\n\n- `bool isTuned();`\n\nGet whether it is successfully tuned to the channel or not.\n\n- `uint8_t getVolume();`\n\nGet current volume value. (0-100)\n\n- `float getChannel();`\n\nGet current frequency.\n\n- `bool getMode();`\n\nGet current working mode. (`DSP6951::AM` or `DSP6951::FM`)\n\n- `bool getMute();`\n\nGet current mute state.\n\n- `void tune();`\n\nTune to current frequency expressly.\n\nIt doesn't needed in usual.\n\n## LICENSE\nThis library is published under MIT LICENSE.\n\nSee `LICENSE`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoord-e%2Fdsp6951","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoord-e%2Fdsp6951","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoord-e%2Fdsp6951/lists"}