{"id":25862842,"url":"https://github.com/mkwapisz2000/c-atmega328p-adc","last_synced_at":"2026-05-03T21:32:09.822Z","repository":{"id":277326456,"uuid":"932070327","full_name":"MKwapisz2000/c-atmega328p-adc","owner":"MKwapisz2000","description":"ADC implementation on ATmega328P in pure C, without Arduino libraries. Direct register access, optimized for embedded systems.","archived":false,"fork":false,"pushed_at":"2025-02-13T10:32:56.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T01:29:11.539Z","etag":null,"topics":["adc","atmega328p","avr","c","electronics","embedded","microcontroller"],"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/MKwapisz2000.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-13T10:11:17.000Z","updated_at":"2025-02-13T10:34:26.000Z","dependencies_parsed_at":"2025-02-13T11:36:11.774Z","dependency_job_id":null,"html_url":"https://github.com/MKwapisz2000/c-atmega328p-adc","commit_stats":null,"previous_names":["mkwapisz2000/c-atmega328p-adc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MKwapisz2000/c-atmega328p-adc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-adc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-adc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-adc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-adc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MKwapisz2000","download_url":"https://codeload.github.com/MKwapisz2000/c-atmega328p-adc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-adc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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","c","electronics","embedded","microcontroller"],"created_at":"2025-03-01T23:57:14.538Z","updated_at":"2026-05-03T21:32:09.795Z","avatar_url":"https://github.com/MKwapisz2000.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c-atmega328p-adc\nADC implementation on ATmega328P in pure C, without Arduino libraries. Direct register access, optimized for embedded systems.\n\n**Project Description - English**\n\nThis project demonstrates how to handle the analog-to-digital converter (ADC) in an ATmega328P microcontroller, used in embedded systems. The implementation in C directly accesses registers, without using Arduino libraries.\n\nFeatures:\n\n- ADC initialization using registers\n\n- Reading voltage value from A0 and A3 channels\n\n- Controlling LED indicators based on the measured voltage\n  \nHardware Requirements:\n\n- ATmega328P (e.g., Arduino Nano or standalone AVR)\n\n- Analog sensor or potentiometer\n\n- Connecting wires\n\nUsage Instructions:\n\n- Compile the code using an AVR C-compatible environment (e.g., Atmel Studio, PlatformIO, AVR-GCC).\n\n- Upload the program to the microcontroller using an ISP programmer.\n\n- Observe the LED indicators changing based on the measured voltage.\n\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n**Opis projektu - Polski**\n\nTen projekt demonstruje sposób obsługi przetwornika analogowo-cyfrowego (ADC) w mikrokontrolerze ATmega328P, używanym w systemach wbudowanych. Implementacja w języku C korzysta z bezpośredniego dostępu do rejestrów, bez użycia bibliotek Arduino.\n\nFunkcjonalność:\n\n- Inicjalizacja ADC przy użyciu rejestrów\n\n- Odczyt wartości napięcia na kanale A0 oraz A3\n\n- Obsługa mikrokontrolera ATmega328P w czystym C\n\nWymagania sprzętowe:\n\n- ATmega328P (np. Arduino Nano lub standalone AVR)\n\n- Czujnik analogowy lub potencjometr\n\n- Przewody połączeniowe\n\nInstrukcja użytkowania:\n\n- Skompiluj kod w środowisku obsługującym AVR C (np. Atmel Studio, PlatformIO, AVR-GCC).\n\n- Wgraj program do mikrokontrolera przy użyciu programatora ISP.\n\n- Obserwuj zapalanie się diod w zależności od odczytanego napięcia. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwapisz2000%2Fc-atmega328p-adc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkwapisz2000%2Fc-atmega328p-adc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwapisz2000%2Fc-atmega328p-adc/lists"}