{"id":23381054,"url":"https://github.com/raibisch/dac80501","last_synced_at":"2025-09-08T03:42:31.673Z","repository":{"id":64014536,"uuid":"569850473","full_name":"raibisch/DAC80501","owner":"raibisch","description":"Library for the DAC80501 16 bit digital analog converter ","archived":false,"fork":false,"pushed_at":"2023-02-01T17:39:08.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T18:56:23.172Z","etag":null,"topics":["dac","dac80501","esp32","esp32-arduino","spi"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raibisch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license/LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-23T18:57:13.000Z","updated_at":"2023-01-08T19:28:50.000Z","dependencies_parsed_at":"2023-02-17T09:01:22.056Z","dependency_job_id":null,"html_url":"https://github.com/raibisch/DAC80501","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/raibisch/DAC80501","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raibisch%2FDAC80501","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raibisch%2FDAC80501/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raibisch%2FDAC80501/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raibisch%2FDAC80501/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raibisch","download_url":"https://codeload.github.com/raibisch/DAC80501/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raibisch%2FDAC80501/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274129998,"owners_count":25227269,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dac","dac80501","esp32","esp32-arduino","spi"],"created_at":"2024-12-21T20:39:08.268Z","updated_at":"2025-09-08T03:42:31.647Z","avatar_url":"https://github.com/raibisch.png","language":"C++","funding_links":["https://www.paypal.com/paypalme/goldmannjuergen"],"categories":[],"sub_categories":[],"readme":"#  DAC80501 Arduino Library\n[![GitHub version](https://img.shields.io/github/release/raibisch/DAC80501.svg)](https://github.com/raibisch/Dac80501/archive/refs/heads/master.zip)\n[![License](https://img.shields.io/badge/license-EUPL1.2-green)](license/LICENSE.md)\n[![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.com/paypalme/goldmannjuergen)\n\nThis is a library for the TI DAC80501 16bit digital analog converter\n(until now only the SPI bus connection is supported by this lib)\n## Helpful Infos\nhttps://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/968246/dac80501-spi\n\nhttps://www.ti.com/product/DAC80501\n## Author\nJürgen Goldmann\n## Licence\n[Licensed under the European Union Public License (EUPL)-1.2-or-later](https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12)\n\n[Why licensed under EUPL-1.2: it is compatible to GPL and compatible to EU-rights and regulations](https://joinup.ec.europa.eu/collection/eupl/join-eupl-licensing-community)\n\n[Compare different licences](https://joinup.ec.europa.eu/collection/eupl/solution/joinup-licensing-assistant/jla-find-and-compare-software-licenses)\n## Download and Installation\nTo download click the DOWNLOAD ZIP button, rename the uncompressed folder Dac80501. Check that the Dac80501 folder contains DAC80501.cpp and DAC80501.h\n### Arduino IDE\nPlace the Dac80501 library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.\n### Platform IO\nAdd in 'platform.ini' (no need to download before)\n```\nlib_deps =\n  https://github.com/raibisch/dac80501\n```\n# Remark for Software-Design \nMOSI signal was not used, because of one way data transfer from slave to master, but defined as 'dummy' pin in CPU.\nTested with ESP32, ESP-S2 and ESP-S3 - may also (not tested) work with other arduino CPUs\n### Define\n```\nDAC80501 dac;\n```\n### Init\n```\n// default clock=2MHz\ndac.setClockSpeed(10000000); // 10MHz\ndac.begin(\u0026SPI,SPI1_SCK,SPI1_MISO,SPI1_MOSI,SPI1_CS);\n// default div=2 gain=1\ndac.setREG4_DivGain(SET4_DIV2,SET4_GAIN2);\n``` \n### Write Value to DAC\n```\n dac.writeDAC(0xffff);\n``` \n# Remark for Hardware-Design\nIn some cases the spi data transfer does not work. I have good results with a 330 Ohm resistor in the 'SCLK' and 'MISO' (and CS) line to reduce signal reflections.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraibisch%2Fdac80501","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraibisch%2Fdac80501","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraibisch%2Fdac80501/lists"}