{"id":20162300,"url":"https://github.com/mongshil553/sensor-digital-filtering-using-atmega128","last_synced_at":"2025-07-06T00:35:59.707Z","repository":{"id":238163582,"uuid":"796008473","full_name":"mongshil553/Sensor-Digital-Filtering-Using-Atmega128","owner":"mongshil553","description":"Junior 2024 1st Semester Robotics Lab3 Term Project Focused on Sensor Filtering","archived":false,"fork":false,"pushed_at":"2024-07-17T17:28:57.000Z","size":3424,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T00:35:55.386Z","etag":null,"topics":["atmega128","pwm","robot","sensor-filtering"],"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/mongshil553.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":"2024-05-04T16:53:16.000Z","updated_at":"2024-07-22T06:03:45.000Z","dependencies_parsed_at":"2024-07-17T21:28:15.851Z","dependency_job_id":null,"html_url":"https://github.com/mongshil553/Sensor-Digital-Filtering-Using-Atmega128","commit_stats":null,"previous_names":["mongshil553/gccapplication1","mongshil553/robotics-lab3-term-project-using-atmega128","mongshil553/sensor-digital-filtering-using-atmega128"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mongshil553/Sensor-Digital-Filtering-Using-Atmega128","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FSensor-Digital-Filtering-Using-Atmega128","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FSensor-Digital-Filtering-Using-Atmega128/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FSensor-Digital-Filtering-Using-Atmega128/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FSensor-Digital-Filtering-Using-Atmega128/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongshil553","download_url":"https://codeload.github.com/mongshil553/Sensor-Digital-Filtering-Using-Atmega128/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongshil553%2FSensor-Digital-Filtering-Using-Atmega128/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263832177,"owners_count":23517347,"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":["atmega128","pwm","robot","sensor-filtering"],"created_at":"2024-11-14T00:24:16.911Z","updated_at":"2025-07-06T00:35:59.642Z","avatar_url":"https://github.com/mongshil553.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eTerm Project for Robotics Lab3.\u003c/h1\u003e\n\nThe main idea is that with using Atmega128 and Python Server, search and locate colored marble using camera and rotate the servo motor, enable Electromagnet so as to catch the marble.\n\nThe Python server is used to locate the marble using Hough Transform and identify its color using K-Means Clustering Algorithm.\n\nAtmega128 and Python Sever Communicates via Bluetooth(HC-04).\n\n\u003chr\u003e\n\u003ch3\u003eHardware Images\u003c/h3\u003e \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/a30a8e43-35bf-4413-9689-e635dedbe66d\" width=\"60%\" height=\"60%\"\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/f0fe351e-fe2f-460a-aeb0-420fb8e6e8ba\" width=\"37%\" height=\"37%\"\u003e \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/da8a83f0-487c-4523-9f41-98ddb99bf2c7\" width=\"24%\" height=\"24%\"\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/5153a1b4-eed2-446b-acd7-7093159d24e9\" width=\"24%\" height=\"24%\"\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/c22e4d8c-d1f7-498a-9418-22671be9f99d\" width=\"24%\" height=\"24%\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/44a12962-f3d4-430a-bc28-6fc79d082e1c\" width=\"24%\" height=\"24%\"\u003e \u003cbr\u003e\n\n\u003chr\u003e\n\u003ch3\u003eCircuit Images\u003c/h3\u003e\nMain board with Atmega128 is prepared by the lab so images are not uploaded to this git. \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/2fdb8b02-3d12-43a9-930c-4d58ccc44dfe\" width=\"30%\" height=\"30%\"\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/ebf3f4ed-36fc-4613-8492-7856194834e0\" width=\"30%\" height=\"30%\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/6eb4d559-89a6-49b6-938b-fffb06fa233a\" width=\"30%\" height=\"30%\"\u003e\u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/0b9f1389-e79b-4f50-87aa-c9efeeb0c1ec\" width=\"40%\" height=\"40%\"\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/f6a02f39-be46-49dc-9908-de5f209e5433\" width=\"50%\" height=\"50%\"\u003e\n\n\u003chr\u003e\n\u003ch3\u003eInformation About Sensors\u003c/h3\u003e\nUsed 6 sensors with filtering: Pressure Sensor, Thermister Sensor, CdS Sensor, PSD Sensor, Fire Detection Sensor, Vibration Detecting Sensor\u003cbr\u003e\u003cbr\u003e\n\ni) Pressure Sensor: Used IIR Low Filter(Butterworth). \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/cfa31110-c6ef-409b-82f7-17083a4fae57\" width=\"24%\" height=\"24%\" title=\"Matlab Result\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/84ea5d32-4c68-44a2-8699-76dd11d574e2\" width=\"32%\" height=\"32%\" title=\"Actual Data Before Filtering\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/d2fb1386-20a0-49f2-ab2d-717f0cd18718\" width=\"32%\" height=\"32%\" title=\"Actual Data After Filtering\"\u003e \n\n\u003cbr\u003eii) Thermister Sensor: Used Low Pass Filter. \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/204190dd-7046-48dc-a7b8-b071cf5f70c1\" width=\"24%\" height=\"24%\" title=\"Matlab Result\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/1e78bd2f-a2ef-4209-a3c7-278172e30d39\" width=\"32%\" height=\"32%\" title=\"Actual Data Before Filtering\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/877ffd15-7668-4369-b2ca-e3e24255470e\" width=\"32%\" height=\"32%\" title=\"Actual Data After Filtering\"\u003e \n\n\u003cbr\u003eiii) CdS Sensor: Used IIR Low Filter(Butterworth). \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/5ed2a1cc-3c51-489c-b580-80cf91ca57e9\" width=\"24%\" height=\"24%\" title=\"Matlab Result\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/4bb0b58e-be20-47a8-a55f-50badef11591\" width=\"32%\" height=\"32%\" title=\"Actual Data Before Filtering\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/23713133-dcf5-4094-9489-396600bbe0dc\" width=\"32%\" height=\"32%\" title=\"Actual Data After Filtering\"\u003e \n\n\u003cbr\u003e iv) PSD Sensor: Used IIR Low Filter(Butterworth). \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/a43835b6-928c-400a-a7ae-0591a3ab7312\" width=\"24%\" height=\"24%\" title=\"Matlab Result\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/6c55aa76-30b4-4b2a-b33e-fd8e9de5b9b0\" width=\"32%\" height=\"32%\" title=\"Actual Data Before Filtering\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/3214ad98-c872-41d1-87d0-b5f1f7f3ae42\" width=\"32%\" height=\"32%\" title=\"Actual Data After Filtering\"\u003e \n\n\u003cbr\u003e v) Fire Detection Sensor: Used FIR Low Filter(Butterworth). \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/69e55dbf-2435-425e-88c8-7e24cfe24268\" width=\"24%\" height=\"24%\" title=\"Matlab Result\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/a31737ff-20c8-4dcc-aae4-7938781a4660\" width=\"32%\" height=\"32%\" title=\"Actual Data Before Filtering\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/0b4688d0-ad69-43f2-8f4a-d11ac3359417\" width=\"32%\" height=\"32%\" title=\"Actual Data After Filtering\"\u003e \n\n\u003cbr\u003e vi) Vibration Detecting Sensor: Used IIR High Filter(Butterworth). \u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/ac4e1cb8-78ce-4cbc-9667-da3549b94cd2\" width=\"24%\" height=\"24%\" title=\"Matlab Result\"\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/e33ddb3e-c5f3-48e2-891e-232034ed7cef\" width=\"32%\" height=\"32%\" title=\"Actual Data Before Filtering\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/056dea6c-5846-40fd-bb9b-f975c278f117\" width=\"32%\" height=\"32%\" title=\"Actual Data After Filtering\"\u003e \n\n\u003chr\u003e\n\u003ch3\u003eInformation About Python Server\u003c/h3\u003e\nAtmega128 and Python Server Communicates using Bluetooth. On the Server, User need to press \"Bluetooth Connect\" in order to connect with HC-04. HC-04 setup must be preceded.\u003cbr\u003e\u003cbr\u003e\nWhen pressed \"Demo\", K-Means Clustering Algorithm runs and shows in the far left image placeholder. When Pressed \"Camera On\", Camera connected to the computer is shown in the far right image place holder.\nWhen command arrives from Atmega128, System captures image from the camera and finds the marble using Hough Transform with OpenCV2. Then Evaluation of its color is run with K-Means Clustering Algorithm and the results are returned to Atemga128.\u003cbr\u003e\n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/f3440b44-13ac-4a5e-aa7f-63ae8f3745a3\" width=\"90%\" height=\"90%\" title=\"Data for Clustering Learning\"\u003e \n\u003cimg src = \"https://github.com/mongshil553/GccApplication1/assets/129606995/e38c9a76-14ce-4401-84ae-870a0ee6e6e7\" width=\"90%\" height=\"90%\" title=\"Server UI\"\u003e \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongshil553%2Fsensor-digital-filtering-using-atmega128","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongshil553%2Fsensor-digital-filtering-using-atmega128","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongshil553%2Fsensor-digital-filtering-using-atmega128/lists"}