-
Notifications
You must be signed in to change notification settings - Fork 0
sennan21/315
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
SIT315 Task M1 - Interrupt-Driven Distance Radar System This project is an Arduino-based distance radar system using interrupt-driven programming. It uses both pin change interrupts (PCI) and a timer interrupt to manage inputs and background tasks. Features: Measures distance using an ultrasonic sensor Displays distance on a 16x2 LCD (dot and numeric) Timer interrupt blinks an LED every second Two buttons controlled via PCI: Button 1 toggles the radar system on and off Button 2 switches between live and hold display modes Hardware: Arduino Uno HC-SR04 ultrasonic sensor 16x2 LCD module 10k potentiometer 2 pushbuttons Green LED Breadboard and jumper wires Files in this repo: TaskM1.cpp – Arduino code wokwidiagram.json – Circuit layout for Wokwi DiagramScreenshot.png – Screenshot of circuit Serial monitor screenshots.pdf – Output from serial monitor Demonstration&pics.pdf – Photos of hardware and LCD output Reflection.txt – Short write-up about the project How to run: Upload TaskM1.cpp to the Arduino Uno using Arduino IDE Build the circuit using the included diagram Open the Serial Monitor at 9600 baud Press the buttons and observe the LCD and LED behavior Sennan Hettiarachchi
About
arduino project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published