{"id":18636782,"url":"https://github.com/xanthium-enterprises/atmega328p-10bit-adc-configuration-code","last_synced_at":"2026-01-24T11:01:38.994Z","repository":{"id":110172729,"uuid":"193970455","full_name":"xanthium-enterprises/atmega328p-10bit-adc-configuration-code","owner":"xanthium-enterprises","description":"ATmega328p sending ADC data to PC using USART and USB to Serial Converter","archived":false,"fork":false,"pushed_at":"2021-08-18T05:37:49.000Z","size":3935,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-13T14:36:28.638Z","etag":null,"topics":["adc","atmega328p","avr","avr-gcc","avr-microcontroller","embedded-c","embedded-systems","microchip"],"latest_commit_sha":null,"homepage":"https://www.xanthium.in/atmega328p-10bit-sar-adc-usart-serial-transmit-to-pc-data-acquisition-tutorial","language":"Makefile","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/xanthium-enterprises.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":"2019-06-26T20:06:56.000Z","updated_at":"2023-05-05T01:34:25.000Z","dependencies_parsed_at":"2023-03-14T06:15:33.482Z","dependency_job_id":null,"html_url":"https://github.com/xanthium-enterprises/atmega328p-10bit-adc-configuration-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xanthium-enterprises/atmega328p-10bit-adc-configuration-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xanthium-enterprises","download_url":"https://codeload.github.com/xanthium-enterprises/atmega328p-10bit-adc-configuration-code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28725503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["adc","atmega328p","avr","avr-gcc","avr-microcontroller","embedded-c","embedded-systems","microchip"],"created_at":"2024-11-07T05:32:18.377Z","updated_at":"2026-01-24T11:01:38.968Z","avatar_url":"https://github.com/xanthium-enterprises.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AVR ATmega328p 10 bit ADC Configuration and PC serial communication tutorial\n\n - The tutorial teaches the user to configure the 10 bit SAR ADC of ATmega328P in Embedded C and transmit the ADC result to Linux /Windows PC using USART and a USB to Serial Converter.\n\n - **ADC6** and **ADC7** channels are only available in the 32 pin TQFP version of ATmega328P chip.\n\n - Tutorial deals in **Single Channel** conversionas well as configuring **multiple channels** of ATmega328P ADC\n\n\u003cimg src = \"https://www.xanthium.in/sites/default/files/site-images/atmega328p-adc-config-tutorial/atmega32-adc-data-acquisution-tutorial.jpg\"/\u003e\n\n## Code\n\n- Sourcecode written in **Embedded C**. \n- Compiled using **AVR-GCC** using **Make** utility.\n- Code can be uploaded using AVRDUDE and any compatible programmer.\n\n## Hardware setup\n\n- Code tested on ATmega328p (32 pin TQFP).\n- ATmega328p Clocked with a **11.0592MHz external crystal**.\n- USB to Serial Converter used to connect ATmega328p with PC \n- PuTTY used to receive and Transmit data\n- \u003cimg src = \"https://www.xanthium.in/sites/default/files/site-images/atmega328p-adc-config-tutorial/atmega328p-adc-data-serial-putty.jpg\"/\u003e\n\n## ATmega328p Clocking (Fuse Bits)\n- External 11.0592MHz Crystal\n- *avrdude -c usbasp -p m328p -U lfuse:w:0xFF:m*\n\n## Online Documentation\n\n- \u003ca href=\"https://www.xanthium.in/how-to-configuring-atmega328p-fuse-low-byte-embedded-design-use-external-crystal-fuse-settings\"\u003eConfiguring the ATmega328p 10 bit ADC and transmitting the results to a PC\u003c/a\u003e\n\n- \u003ca href=\"https://www.xanthium.in/how-to-configuring-atmega328p-fuse-low-byte-embedded-design-use-external-crystal-fuse-settings\"\u003eConfiguring the ATmega328p Microcontroller to use external crystal\u003c/a\u003e\n\n- \u003ca href =\"https://www.xanthium.in/how-to-avr-atmega328p-microcontroller-usart-uart-embedded-programming-avrgcc\"\u003eATmega328p USART serial communication tutorial\u003c/a\u003e\n\n- \u003ca href=\"https://www.xanthium.in/USB-to-Serial-RS232-RS485-Converter\"\u003eUSB to Serial/RS232/RS485 Converter\u003c/a\u003e\n\n- www.xanthium.in\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthium-enterprises%2Fatmega328p-10bit-adc-configuration-code/lists"}