{"id":21749102,"url":"https://github.com/veeso/degree-robot","last_synced_at":"2026-05-09T13:06:03.824Z","repository":{"id":104339368,"uuid":"298659150","full_name":"veeso/degree-robot","owner":"veeso","description":"A refactoring of the project I made with arduino for my IT degree in 2016","archived":false,"fork":false,"pushed_at":"2020-10-17T14:12:38.000Z","size":543,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T23:16:17.157Z","etag":null,"topics":["arduino","degree","project"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"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/veeso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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},"funding":{"github":"veeso","ko_fi":"veeso"}},"created_at":"2020-09-25T19:11:19.000Z","updated_at":"2020-10-17T14:12:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ccac880d-72ae-4547-a851-a836e138be61","html_url":"https://github.com/veeso/degree-robot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veeso%2Fdegree-robot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veeso%2Fdegree-robot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veeso%2Fdegree-robot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veeso%2Fdegree-robot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veeso","download_url":"https://codeload.github.com/veeso/degree-robot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244724761,"owners_count":20499478,"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":["arduino","degree","project"],"created_at":"2024-11-26T08:16:27.111Z","updated_at":"2026-05-09T13:06:03.782Z","avatar_url":"https://github.com/veeso.png","language":"C++","funding_links":["https://github.com/sponsors/veeso","https://ko-fi.com/veeso"],"categories":[],"sub_categories":[],"readme":"# Degree - Robot\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-teal.svg)](https://opensource.org/licenses/MIT) [![Stars](https://img.shields.io/github/stars/ChristianVisintin/degree-robot.svg)](https://github.com/ChristianVisintin/degree-robot)\n\nDeveloped by Christian Visintin\n\n- [Degree - Robot](#degree---robot)\n  - [Introduction](#introduction)\n  - [Project Description](#project-description)\n  - [Project Circuit](#project-circuit)\n    - [Circuit Components](#circuit-components)\n    - [Circuit Scheme](#circuit-scheme)\n  - [License](#license)\n\n---\n\n## Introduction\n\nThis repository contains the (refactored) source code and the project I made for my IT degree in 2016.\nI refactored the source code since it was really bad written, even if written with the best intentions and it actually worked pretty well.\n\n## Project Description\n\nFrom my thesis (which was about AI) - *well actually is translated from italian at 10PM, so it's not very well written*:\n\n\u003e Starting from the Artificial Intelligence concept, I made a practical project where I implemented it\n\u003e The project consists in a robot vehicle made up of 4 wheels, of which 2 can stear while the other two have a DC engine, 2 servos placed on the front wheels to stead and 3 distance sensors placed on front.\n\u003e Everything is then controlled by an Arduino UNO board and powered by a 10,000 mA/h Lithium Battery (powerbank) connected to the board through USB, with a throughput of 2.1A.\n\u003e The robot, thanks to its distance sensor is capable of learning how the space in front and around of it, is structured and is then able to avoid obstacles, choosing the best direction.\n\u003e The memorization of the space structure it takes place through a 3 columns matrix (one column for each sensor); every 500 milliseconds the space detected distance, expressed in centimeters, is stored in the matrix; old records are shifted back by one position.\n\u003e The robot goes always straight on, until an obstacle is detected in front of the vehicle with a distance less than 50cm.\n\u003e If an obstacle is detected the vehicle steers right or left based on the distances recorded on both sides, and steers in the direction with more space available.\n\u003e If the space between the vehicle and the obstacle in front of it, is less than 15cm, it will go backward for a certain time in order to prevent structural damages.\n\nTL;DR: a robot vehicle which, thanks to its distance sensor is able to learn how the space is made and then is able to avoid obstacles. Like a hoover robot.\n\nSome picture of the device:\n\nFront\n\n![Front](img/front.JPG)\n\nTop\n\n![Top](img/top.JPG)\n\nYes I know, this is a perfect example of *spaghetti-wires*.\n\n---\n\n## Project Circuit\n\n### Circuit Components\n\nThese components are required:\n\n- 2 DC motors\n- 2 Continuous Rotation Micro Servo - FS90R\n- 3 Ultrasonic Sensor - HC-SR04\n- 1 L293D Motor Driver\n- 1 Mini Pushbutton Switch\n- 1 10K Ohm Resistor\n- 1 Arduino UNO Rev. 3\n- 1 PowerBank 10,000 mA/h\n\n### Circuit Scheme\n\n![Circuit](img/wires.png)\n\n---\n\n## License\n\nView [LICENSE](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveeso%2Fdegree-robot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveeso%2Fdegree-robot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveeso%2Fdegree-robot/lists"}