{"id":31579060,"url":"https://github.com/parminderbadhan/autonomous-robot-roaming","last_synced_at":"2025-10-05T20:46:14.099Z","repository":{"id":317309605,"uuid":"1066861147","full_name":"parminderBadhan/Autonomous-Robot-Roaming","owner":"parminderBadhan","description":"This project programs an EEBot robot in HCS12 assembly to autonomously navigate a maze by following a line, detecting intersections, learning the correct path, and retracing its route back to the start.","archived":false,"fork":false,"pushed_at":"2025-09-30T04:24:47.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T06:16:26.153Z","etag":null,"topics":["assembly","embedded-systems"],"latest_commit_sha":null,"homepage":"","language":null,"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/parminderBadhan.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T04:10:32.000Z","updated_at":"2025-09-30T04:25:46.000Z","dependencies_parsed_at":"2025-09-30T06:17:24.975Z","dependency_job_id":"cf8bc9dc-c02c-424b-9cbd-7a9a0ecbecf4","html_url":"https://github.com/parminderBadhan/Autonomous-Robot-Roaming","commit_stats":null,"previous_names":["parminderbadhan/autonomous-robot-roaming"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/parminderBadhan/Autonomous-Robot-Roaming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parminderBadhan%2FAutonomous-Robot-Roaming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parminderBadhan%2FAutonomous-Robot-Roaming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parminderBadhan%2FAutonomous-Robot-Roaming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parminderBadhan%2FAutonomous-Robot-Roaming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parminderBadhan","download_url":"https://codeload.github.com/parminderBadhan/Autonomous-Robot-Roaming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parminderBadhan%2FAutonomous-Robot-Roaming/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278517930,"owners_count":26000175,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["assembly","embedded-systems"],"created_at":"2025-10-05T20:46:05.269Z","updated_at":"2025-10-05T20:46:14.094Z","avatar_url":"https://github.com/parminderBadhan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Autonomous-Robot-Roaming robot 🤖\n\n**📌 Overview**\n\nThis project implements a fully autonomous navigation system for the EEBot mobile robot using HCS12 (9S12) assembly language. The robot is capable of exploring and solving a maze by following a guide line, making decisions at intersections, detecting dead ends, and learning the correct path. Once the destination is reached, the robot retraces its steps back to the starting point — demonstrating basic memory, decision-making, and state machine design.\n\n--------------------------\n**🧭 Key Features:**\n\n- 🧭 Line Following – Uses guider sensors to follow a maze path in real time.\n- 🔀 Intersection Detection \u0026 Decision-Making – Recognizes L and T junctions and chooses a branch.\n- 🔄 Dead-End Detection \u0026 Recovery – Detects obstacles via bumper sensors and performs a 180° turn.\n- 🧠 Maze Learning – Records incorrect and correct branches to learn the maze structure.\n- 🔙 Reverse Navigation – Retraces the correct path back to the start without error.\n- 📊 System Feedback – Displays sensor readings, battery voltage, and current state on an LCD.\n\n--------------------------\n\n**⚙️ State Machine Design:**\n\nThe robot’s behavior is controlled by a finite state machine with the following states:\n\n| State          | Description                                      |\n|---------------|--------------------------------------------------|\n| `START`       | Initial state, waits for bumper input to begin.  |\n| `FWD`         | Follows the line forward.                        |\n| `ALL_STP`     | Stops all motors.                                |\n| `LEFT_TRN`    | Executes a left turn.                            |\n| `RIGHT_TRN`   | Executes a right turn.                           |\n| `REV_TRN`     | Performs a 180° turn when a dead end is detected.|\n| `LEFT_ALIGN`  | Fine alignment left adjustment.                 |\n| `RIGHT_ALIGN` | Fine alignment right adjustment.                |\n\n--------------------------\n\n**🔌 Hardware Components:**\n\n- HCS12 Microcontroller (9S12C32)\n- EEBot Platform with dual DC motors\n- Line Guider Sensor Array (5 IR photodiodes)\n- Bumper Sensors (Front and Rear)\n- 16x2 LCD Display\n- ADC (Analog-to-Digital Converter) for sensor readings\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparminderbadhan%2Fautonomous-robot-roaming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparminderbadhan%2Fautonomous-robot-roaming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparminderbadhan%2Fautonomous-robot-roaming/lists"}