{"id":22096254,"url":"https://github.com/dorstern3/radar","last_synced_at":"2025-03-24T00:57:13.811Z","repository":{"id":147867568,"uuid":"612152427","full_name":"dorstern3/Radar","owner":"dorstern3","description":"Radar Project","archived":false,"fork":false,"pushed_at":"2023-03-26T15:02:41.000Z","size":36205,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T07:30:31.577Z","etag":null,"topics":["c","driver","stm32"],"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/dorstern3.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}},"created_at":"2023-03-10T10:06:47.000Z","updated_at":"2023-11-15T10:47:10.000Z","dependencies_parsed_at":"2023-05-27T20:15:33.414Z","dependency_job_id":null,"html_url":"https://github.com/dorstern3/Radar","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/dorstern3%2FRadar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorstern3%2FRadar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorstern3%2FRadar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dorstern3%2FRadar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dorstern3","download_url":"https://codeload.github.com/dorstern3/Radar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245191636,"owners_count":20575248,"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":["c","driver","stm32"],"created_at":"2024-12-01T04:09:55.865Z","updated_at":"2025-03-24T00:57:13.772Z","avatar_url":"https://github.com/dorstern3.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Radar Project\n\n## View:\n- ### Video:\n\nhttps://user-images.githubusercontent.com/96941609/227784577-06cc01fa-d5b8-4542-8d52-3a0b3c459464.mp4\n\n- ### Photos:\n\n\u003cimg src=\"https://user-images.githubusercontent.com/96941609/227784069-96aa5136-2897-484a-903a-c14aecc02ec5.jpg\" width=\"15%\"\u003e\u003c/img\u003e \u003cimg src=\"https://user-images.githubusercontent.com/96941609/227784083-b1a2a269-6ddc-4171-aff7-53a282d1592e.jpg\" width=\"15%\"\u003e\u003c/img\u003e \u003cimg src=\"https://user-images.githubusercontent.com/96941609/227784084-c19cec82-79f6-48cb-9a64-520c57b61361.jpg\" width=\"15%\"\u003e\u003c/img\u003e \u003cimg src=\"https://user-images.githubusercontent.com/96941609/227784093-3b3ce2e0-badb-46a0-94c4-83cdf191aa7b.jpg\" width=\"15%\"\u003e\u003c/img\u003e \u003cimg src=\"https://user-images.githubusercontent.com/96941609/227784095-9250588e-16a3-4092-9a58-9cd7c17b994b.jpg\" width=\"15%\"\u003e\u003c/img\u003e \n\n\n\n## Description:\nIn the project, I used the **STM32G431RB Processor** which activates the **Servo motor** that performs a 180-degree scan when mounted on it is an **HC-SR04 ultrasonic sensor** which, during the scanning process, measures the distance of the object and transmits it in two different ways at the same time.\u003cbr\u003e\nOne way is through a **16X2 LCD screen** connected via **I2C communication**.\u003cbr\u003e\nThe second way is through a **GUI** connected by **UART communication**, which receives a string of angle and distance and displays it in the form of a radar display \u003cbr\u003e\nIn addition, the **GUI** detects with the help of the **HC-SR04 ultrasonic sensor** when an object is or is not present in front of it.\u003cbr\u003e\n\u003cbr\u003e\nThe process of processing the distance of the **HC-SR04 sensor** is carried out using **Timer 1** which measures the width of the pulse and is received by the **ECHO** pin which is responsible for receiving the echo and stopping the stopwatch.\u003cbr\u003e\nAccording to the formula: Distance = (Time x SpeedOfSound) / 2. \u003cbr\u003e\nThe **TRIG** pin is responsible for sending the sound detector and starting the timer.\u003cbr\u003e\nIn addition, the **Servo motor** is controlled by **Timer 2** which is responsible for changing the pulse width.\u003cbr\u003e\n\n## Electrical diagram:\n![Electrical diagram](https://user-images.githubusercontent.com/96941609/226195805-9b67b911-201d-4230-a40e-2630c4e9acbe.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdorstern3%2Fradar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdorstern3%2Fradar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdorstern3%2Fradar/lists"}