{"id":27375417,"url":"https://github.com/edydfang/electronic_car_diy","last_synced_at":"2025-10-09T23:36:34.668Z","repository":{"id":67221629,"uuid":"92767766","full_name":"edydfang/Electronic_Car_DIY","owner":"edydfang","description":"A small project for Digital Circuit Course","archived":false,"fork":false,"pushed_at":"2017-06-09T18:14:49.000Z","size":11023,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T06:46:50.835Z","etag":null,"topics":["bluetooth","cradle-head","motor","pi-camera","servo"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edydfang.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}},"created_at":"2017-05-29T19:05:49.000Z","updated_at":"2017-05-29T19:26:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"37dca21d-9c15-4c11-911e-7c26aaaecd8c","html_url":"https://github.com/edydfang/Electronic_Car_DIY","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edydfang/Electronic_Car_DIY","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edydfang%2FElectronic_Car_DIY","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edydfang%2FElectronic_Car_DIY/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edydfang%2FElectronic_Car_DIY/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edydfang%2FElectronic_Car_DIY/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edydfang","download_url":"https://codeload.github.com/edydfang/Electronic_Car_DIY/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edydfang%2FElectronic_Car_DIY/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002310,"owners_count":26083340,"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-09T02:00:07.460Z","response_time":59,"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":["bluetooth","cradle-head","motor","pi-camera","servo"],"created_at":"2025-04-13T12:29:06.597Z","updated_at":"2025-10-09T23:36:34.638Z","avatar_url":"https://github.com/edydfang.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electronic Car DIY\n\nA small project for Digital Circuit Course\n\n---\n## Hardware\n\n - Remote controller based on MCU `STC12C5A60S2`, triaxial accelerometer `ADXL345` and bluetooth 2.0 module `HC-05`\n - Car chassis and wheels\n - `Raspberry Pi 3` Model B\n   - Pi Camera\n - Cradle head made with `two` `SG90` servo\n - `Two` Dual Full-Bridge Motor Drivers `L298N`\n - `Four` 12-V stepping motors\n - Adafruit 16-Channel 12-bit PWM/Servo Driver `PCA9685`\n - Wireless Network / WIFI\n \n## Tools\n\n - USB to TTL Transformer\n - Dupont Lines\n - 5V power to support `Raspberry Pi`, remote controller, `PCA9685` and cradle servos\n - 12V power to support wheel motors\n \n## Functions Implemented\n\n - `send.c` in the folder `Remote Controller` is for the MCU `STC12C5A60S2` to connect and read data from `ADXL345` via `I2C` protocal and then transmit them to bluetooth via `UART`\n - `client.py` is used on PC to read the data receive by bluetooth via a `USB-TTL` serial and send the data via internet to the server on the raspberry Pi\n - `server.py` is used to receive the data and make the decision for the motors and the cradle head.\n - `cradle.py` is used to control the servos on the cradle head\n - `face_tracker.py` is used to track the face appear in the camera of Pi and control cradle head via `cradle.py`\n   - OpenCV\n   - rough tracking method\n\n\n## Important\n - Except for `cradle.py` and `face_tracker.py`, all the python scripts should be run in python 3 or higher.\n\n## TO DO\n - improve the size of pictures from the Pi Camera\n - change the cradle head moving algorithm to PID\n - improve the motors algorithm, add feedback processing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedydfang%2Felectronic_car_diy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedydfang%2Felectronic_car_diy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedydfang%2Felectronic_car_diy/lists"}