{"id":21894265,"url":"https://github.com/martinstereo/acceldrive","last_synced_at":"2026-05-15T20:33:15.714Z","repository":{"id":262020498,"uuid":"886002189","full_name":"martinstereo/AccelDrive","owner":"martinstereo","description":"Accelerometer controlling a robot Arduino car over UDP protocol.","archived":false,"fork":false,"pushed_at":"2024-11-14T13:38:03.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T04:11:20.427Z","etag":null,"topics":["accelerometer","arduino-boards","arduino-project","prototype","udp-protocol"],"latest_commit_sha":null,"homepage":"","language":"C++","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/martinstereo.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}},"created_at":"2024-11-09T23:31:47.000Z","updated_at":"2024-11-14T13:38:07.000Z","dependencies_parsed_at":"2024-11-10T00:23:09.941Z","dependency_job_id":"e2988664-4b07-434b-890f-21d8d3de6e76","html_url":"https://github.com/martinstereo/AccelDrive","commit_stats":null,"previous_names":["martinstereo/acceldrive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/martinstereo/AccelDrive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinstereo%2FAccelDrive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinstereo%2FAccelDrive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinstereo%2FAccelDrive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinstereo%2FAccelDrive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinstereo","download_url":"https://codeload.github.com/martinstereo/AccelDrive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinstereo%2FAccelDrive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["accelerometer","arduino-boards","arduino-project","prototype","udp-protocol"],"created_at":"2024-11-28T13:21:06.641Z","updated_at":"2026-05-15T20:33:15.699Z","avatar_url":"https://github.com/martinstereo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AccelDrive\n\nThis project consists of two main components: a server that reads accelerometer data from an MPU6050 sensor and a client that controls a robot car based on the received gestures. The server broadcasts the detected gestures via UDP, and the client receives these gestures to control the robot car's movements.\n\n## Components\n\n### Server (server_accelerometer.ino)\n\nThe server reads data from an MPU6050 accelerometer and gyroscope sensor to detect gestures. It then broadcasts these gestures over a UDP connection.\n\n#### Features:\n- Connects to a Wi-Fi network.\n- Reads accelerometer data to detect gestures.\n- Broadcasts detected gestures via UDP.\n\n#### Setup:\n1. Connect the MPU6050 sensor to the microcontroller.\n2. Update the `arduino_secrets.h` file with your Wi-Fi credentials.\n3. Upload the `server_accelerometer.ino` sketch to your microcontroller.\n\n#### Gesture Detection:\n- Forward: `F`\n- Backward: `B`\n- Left: `L`\n- Right: `R`\n- None: `N`\n\n### Client (client_robot_car.ino)\n\nThe client receives the gestures broadcasted by the server and controls the robot car's motors accordingly.\n\n#### Features:\n- Connects to a Wi-Fi network.\n- Listens for UDP packets containing gesture data.\n- Controls the robot car's motors based on the received gestures.\n\n#### Setup:\n1. Connect the motor driver to the microcontroller and the robot car's motors.\n2. Update the `arduino_secrets.h` file with your Wi-Fi credentials.\n3. Upload the `client_robot_car.ino` sketch to your microcontroller.\n\n#### Motor Control:\n- Move Forward: `F`\n- Move Backward: `B`\n- Turn Left: `L`\n- Turn Right: `R`\n- Stop: `N`\n\n## Wiring Diagrams\n\n### Server (MPU6050 to Microcontroller)\n- VCC to 3.3V\n- GND to GND\n- SCL to SCL\n- SDA to SDA\n\n### Client (Motor Driver to Microcontroller)\n- ENA to Pin 9\n- IN1 to Pin 8\n- IN2 to Pin 7\n- ENB to Pin 3\n- IN3 to Pin 5\n- IN4 to Pin 4\n\n## Dependencies\n\n- Adafruit MPU6050 Library\n- Adafruit Sensor Library\n- WiFiS3 Library\n- WiFiUdp Library\n\n## Usage\n\n1. Power on both the server and client microcontrollers.\n2. Ensure both devices are connected to the same Wi-Fi network.\n3. The server will start broadcasting gestures detected by the MPU6050 sensor.\n4. The client will receive these gestures and control the robot car's motors accordingly.\n\n## Troubleshooting\n\n- Ensure the Wi-Fi credentials in `arduino_secrets.h` are correct.\n- Verify the wiring connections for both the MPU6050 sensor and the motor driver.\n- Check the serial monitor for any error messages or debug information.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinstereo%2Facceldrive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinstereo%2Facceldrive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinstereo%2Facceldrive/lists"}