{"id":20060351,"url":"https://github.com/fedecastellaro/ad7124-4-implementation","last_synced_at":"2025-09-20T13:32:05.365Z","repository":{"id":196645303,"uuid":"428055039","full_name":"fedecastellaro/AD7124-4-Implementation","owner":"fedecastellaro","description":"AD7124-4 - 24-Bit ADC, 4-Channel , Sigma-Delta -  PCB and software implementation","archived":false,"fork":false,"pushed_at":"2021-11-15T09:26:17.000Z","size":4268,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"ad","last_synced_at":"2024-11-13T13:14:01.735Z","etag":null,"topics":["24-bit-adc","ad7124","ad7124-4","c","kicad","lpc1769","sigma-delta"],"latest_commit_sha":null,"homepage":"","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/fedecastellaro.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}},"created_at":"2021-11-14T22:21:30.000Z","updated_at":"2024-05-13T12:06:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9f6950d-fdbc-492c-91f3-c57351b2a482","html_url":"https://github.com/fedecastellaro/AD7124-4-Implementation","commit_stats":null,"previous_names":["fedecastellaro/ad7124-4-implementation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedecastellaro%2FAD7124-4-Implementation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedecastellaro%2FAD7124-4-Implementation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedecastellaro%2FAD7124-4-Implementation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedecastellaro%2FAD7124-4-Implementation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedecastellaro","download_url":"https://codeload.github.com/fedecastellaro/AD7124-4-Implementation/tar.gz/refs/heads/ad","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233665645,"owners_count":18710920,"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":["24-bit-adc","ad7124","ad7124-4","c","kicad","lpc1769","sigma-delta"],"created_at":"2024-11-13T13:14:07.770Z","updated_at":"2025-09-20T13:31:59.488Z","avatar_url":"https://github.com/fedecastellaro.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AD7124 24 BITS ADC\n\nImplementation for a AD7124-4 24 bits sigma delta ADC. \n\n# Application Circuit\nAs a simple application circuit you can guide yourself with the following one:\n\n![salida-1](https://user-images.githubusercontent.com/41343686/141705731-2ef978b6-8f3b-4fa6-95b0-706349e23625.jpg)\n\nThis is a pressure sensor limited in bandwith (fc = 250Hz) connected directly to the AIN0 of the ADC. All the others inputs of the ADC were shorted to ground because they not used in this example. \n\n# Code\n\nBefore starting, **please read the Disclaimer**.\n\nYou'll need to include in your directory the following files:\n- ad7124.c\n- ad7124.h\n- ad7124_regs.c\n- ad7124_regs.h\n\nYou can find them in the \"software\" folder.\n\n# Setup:\n\nUse the following lines to configure your AD7124:\n\n- Ad7124Chip_setConfig     (SETUP_0, RefInternal, Pga1, TRUE, BurnoutOff);\n- Ad7124Chip_setChannel    (CHANNEL_0, SETUP_0, AIN0Input, AIN1Input, FALSE);\n- Ad7124Chip_setAdcControl (StandbyMode, FullPower, TRUE, InternalClk);\n\n\n# Take a Sample:\n\n- uint32_t sample = Ad7124Chip_read(CHANNEL_0);\n\nYou can find a full working code for a LPC1769 Cortex®-M3 microcontroler in the folder \"AD7124_MYFUNC\"\n\n## Disclaimer:\n\nPlease take in mind that all the **functions in the file ad7124.c where modified to be used with a LPC1769 Cortex®-M3 microcontroler** using the LPCOpen standard APIs.\nThis means that in order to make it work in your uC **you'll need to set up your own SPI communication functions**.\n\nIn this code, you'll need to adapt the function:\n  - Chip_SSP_RWFrames_Blocking() \n\nAnd the Macros:\n  - SSP_CS_LOW\n  - SSP_CS_HIGH\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedecastellaro%2Fad7124-4-implementation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedecastellaro%2Fad7124-4-implementation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedecastellaro%2Fad7124-4-implementation/lists"}