{"id":30760921,"url":"https://github.com/omarbazaraa/cnc-machine","last_synced_at":"2026-04-13T18:01:36.441Z","repository":{"id":80410343,"uuid":"82592474","full_name":"OmarBazaraa/CNC-Machine","owner":"OmarBazaraa","description":"A CNC machine powered by Arduino for solving Android Flow game, and drawing images.","archived":false,"fork":false,"pushed_at":"2018-06-25T12:38:25.000Z","size":14982,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-04T13:54:52.949Z","etag":null,"topics":["algorithm","arduino","cnc","opencv","serial-communication"],"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/OmarBazaraa.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-02-20T19:08:47.000Z","updated_at":"2024-02-28T18:52:30.000Z","dependencies_parsed_at":"2023-06-07T09:45:43.354Z","dependency_job_id":null,"html_url":"https://github.com/OmarBazaraa/CNC-Machine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OmarBazaraa/CNC-Machine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarBazaraa%2FCNC-Machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarBazaraa%2FCNC-Machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarBazaraa%2FCNC-Machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarBazaraa%2FCNC-Machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmarBazaraa","download_url":"https://codeload.github.com/OmarBazaraa/CNC-Machine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarBazaraa%2FCNC-Machine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31764317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["algorithm","arduino","cnc","opencv","serial-communication"],"created_at":"2025-09-04T13:53:30.298Z","updated_at":"2026-04-13T18:01:36.436Z","avatar_url":"https://github.com/OmarBazaraa.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Antar CNC Machine\nA CNC machine powered by Arduino with the following features:\n\n* Solving Flow game\n* Drawing images\n* Manual calibration\n* Playing piano\n* Sense 9 different issues that can damage the machine or lead to wrong results\n* Fully expandable\n* Contain power backup circuit\n* Precise accuracy\n\n![alt text](https://raw.githubusercontent.com/OmarBazaraa/CNC-Machine/master/picture.png)\n\n### Trailer Video:\n[![IMAGE ALT TEXT](http://img.youtube.com/vi/A8BskRCSG7A/0.jpg)](http://www.youtube.com/watch?v=A8BskRCSG7A \"CNC Machine\")\n\n# Project Structure\n\n## Controller\nA console application written in Java that establish asynchronous communication with the Arduino to control the CNC-Machine from the computer.\n\nIt allows the user to select one of the following tasks:\n* Solve flow game.\n* Paint photo on paper.\n* Play piano from the keyboard.\n* Calibrate the CNC manually.\n\nThe controller is designed in a fully expandable way.\nAll the logic to communicate and configure the CNC is encapsulated in `CNCTask` class.\nSo we can simply add new tasks by just extending `CNCTask` class and implementing few methods\nwithout the need to deal with the underlying logic for serial communications with the Arduino.\n\n## Arduino\nA C-program burnt on the Arduino that:\n* Controls the motors and the sensors on the CNC machine and execute the instructions received from the controller program.\n* Has a simple logic for protecting the CNC against some faults that might occur.\n\n## Flow Solver\nA C++ program that takes a screenshot for Flow game level, analyses it and perform one of the following tasks:\n* Run an algorithm for solving the game level.\n* Detect the \"Next Level\" button.\n\nFinally, it returns an instruction-string that the CNC can perform.\n\n## Painter\nA C++ program that takes an image and convert it into an instruction-string that the CNC can perform.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomarbazaraa%2Fcnc-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomarbazaraa%2Fcnc-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomarbazaraa%2Fcnc-machine/lists"}