https://github.com/mongshil553/line-tracer-with-vhdl
Sophomore 2023 2nd Semester Robotics Lab2 Term Project Focused on FPGA, VHDL
https://github.com/mongshil553/line-tracer-with-vhdl
de0-board fpga line-tracing pwm vhdl
Last synced: 3 months ago
JSON representation
Sophomore 2023 2nd Semester Robotics Lab2 Term Project Focused on FPGA, VHDL
- Host: GitHub
- URL: https://github.com/mongshil553/line-tracer-with-vhdl
- Owner: mongshil553
- Created: 2024-07-17T17:51:33.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T11:56:14.000Z (10 months ago)
- Last Synced: 2025-01-13T14:18:53.023Z (5 months ago)
- Topics: de0-board, fpga, line-tracing, pwm, vhdl
- Language: VHDL
- Homepage:
- Size: 3.83 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Term Project for Robotics Lab2.
Create a Line Tracing Robot using DE0. This board is programmed with VHDL via Altera Quartus.
Eight IR sensors are used.
Robot Images
![]()
![]()
![]()
![]()
![]()
System Architecture
![]()
Technical Difficulties
Since the hardware does not have capacitor connected to IR Recieving Sensor, it is very vulnerable to noise. To be specific, when the robot approaches a horizontal line, the sensor value stutters causing the program to incorrectly count the amount of times where robot passed a horizontal line.
To avoid this, a rejection code was added.
In addition, to reduce noise that can cause robot to decide wrong rotation control, the robot decides IR Detection with the following instruction;
![]()
By Calculating the amount of sensors detected for each group(shown with the boxes) and applying a threshold, the machine can decide where the line is located more safely. This calculation is done in parallel.