-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef561d4
commit 6fe2d3f
Showing
3 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Car Simulation on Arduino | ||
|
||
## Group 4 | ||
|
||
- Madeline Quang | ||
- Sayfullah Eid | ||
|
||
## Description | ||
|
||
The project our group is doing is to mimic a car’s distance from the car in front of them using ultrasonics sensors, LEDs and LCD screen. It will indicate to the user whether it is a safe distance they are following or if it is too close. If it is too close, it will let the driver know and if it is really too close, it will safely stop the car so it does not hit the car. | ||
|
||
## Components and Topics | ||
|
||
- LEDs | ||
- USART | ||
- Timers | ||
- Push buttons | ||
- 7-segment | ||
- LCD | ||
- Shift registers | ||
- Servo motor | ||
- Speaker | ||
|
||
## Circuit | ||
|
||
![Circuit Diagram](Circuit_Diagram.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
/** | ||
* @file main.cpp | ||
* @author Madeline Quang ([email protected]) | ||
* @author Sayfullah Eid ([email protected]) | ||
* @brief NET 3001 - Final Project | ||
* @version 0.1 | ||
* @date 2023-04-09 | ||
* | ||
* @copyright Copyright (c) 2023 | ||
* | ||
*/ | ||
|
||
#include <Arduino.h> | ||
#include <USART.h> | ||
#include <ShiftRegister.h> | ||
#include <INT0.h> | ||
#include <LCD.h> | ||
#include <ADC.h> | ||
|
||
void setup() { | ||
// put your setup code here, to run once: | ||
int main() { | ||
// Setup | ||
USART_init(); | ||
|
||
} | ||
|
||
void loop() { | ||
// put your main code here, to run repeatedly: | ||
} |