CAB202 - The report for the final project. PDF

Title CAB202 - The report for the final project.
Author Salman Hamsudeen
Course Microprocessors and Digital Systems
Institution Queensland University of Technology
Pages 5
File Size 178.6 KB
File Type PDF
Total Downloads 78
Total Views 167

Summary

The report for the final project....


Description

CAB202 Microcontroller Assessment report Salman Abdul Hamsudeen N10057684

Schematic Diagram

Link for the Tinker Cad Stimulation https://www.tinkercad.com/things/7JbsEhonSdO-cab202-assessment/editel? sharecode=tE8DaftT4tdehk_lZ5JXNm1jterhKIWF0SQWNCRPZXA

Link to the unlisted YouTube video https://www.youtube.com/watch?v=asGI6fkB-0A

Introduction People want to park their vehicles without much effort and any damage to their surroundings. And people want stop others from parking in their parking spot. My Arduino based parking assistant with an in-house LCD warning will solves the above problems. The distance measured by the ultrasonic distance lights up three different coloured LEDs according to the respective scenarios. The green lights up when the vehicle is between the edge of the detection radius and the middle. The yellow lights up in the middle range. And red lights when its very close to the sensor. The coloured light will help the driver identify the distance between the vehicle and wall and park accordingly. The Arduino, which is in the garage, sends a serial message to the Arduino inside the house which has LCD connected to it when a vehicle is detected in the green LED zone. This displays a vehicle detected sign in the LCD which helps owner know about the status of their parking spot. The switch turns light bulb in the garage when it is in dark and in underground parking spots. Digital I/O – switch The switch is being used in this project to turn on and off the bulb which is in the garage. It will be used during night-time and in underground parking areas. Wiring Instructions for the switch and its components Connect Garage light switch: Place garage light switch below the garage Arduino; connect pin A0 to the terminal 1 of the switch; connect the common terminal garage light switch to one end of a distinct 10 Ohm resistor; connect the other end of the resistor to ground; connect 5V pin from the Arduino to the terminal 2 of the garage light switch. Connect Garage lightbulb: Place garage lightbulb to near the top of the breadboard: connect pin 13 to the terminal 2 of the garage lightbulb: connect the terminal 1 garage light bulb to one end of a distinct 200 Ohm Bulb Resister; connect the other end of the resistor to the ground. Digital I/O – LED The three LEDs are used to show the distance between the sensor and the vehicle. The lights turn on and off depending on the distance between sensor and vehicle Wiring Instructions for the LED and its components Connect Green LED: place Green LED on the breadboard location e15; connect pin 12 to the anode of Green LED; connect the cathode of Green LED to one end of a distinct 220 Ohm Green LED Resister; connect the other end of the resistor to ground Connect Yellow LED: place Green LED on the breadboard location e13; connect pin 10 to the anode of Yellow LED; connect the cathode of Green Yellow to one end of a distinct 220 Ohm Yellow LED Resister; connect the other end of the resistor to ground Connect Red LED: place Red LED on the breadboard location e11; connect pin 8 to the anode of Yellow LED; connect the cathode of Red Yellow to one end of a distinct 220 Ohm Red LED Resister; connect the other end of the resistor to ground

Analog Output (PWM) software-based The software based PWM is used to measure the timer interrupts between the pulses which is used to calculate the distance. There is no wiring instruction for it because it works in conjunction with the learning outcome signal processing tool.

Signal processing tool The HC-SR04 Sensor is used to measure the distance in the project. The sensor transmits an ultrasonic wave from the sender module and when it hits an object and bounce back it is recorded by the receiver module. The distance is calculated by the following equation Distance = (Time X speed of sound)/2 It is divided by two because the sound needs to travel to the object and come to the sensor. Wiring Instructions for the Signal processing tool Connect HC-SR04 Sensor: Place the HC-SR04 Sensor to the top right of the breadboard: connect the Vcc pin of the HC-SR04 Sensor to the positive pin of breadboard which is connected to the 5V pin of the Arduino; connect the GND pin of the HC-SR04 Sensor to the negative pin of breadboard which is connected to the GND pin of the Arduino; connect the TRIG pin of the HC-SR04 Sensor to pin 11 of the Arduino; connect the ECHO pin of the HC-SR04 Sensor to pin 2 of the Arduino. Serial I/O The serial I/O is used by the garage Arduino to send a message to the Arduino which is located inside the house that the green LED zone of the sensor is triggered. This in reduces the complex need of wiring all the LCD display pins to directly to garage Arduino which could be far away from the house. Wiring Instructions for the Serial I/O Connect House Arduino: place House Arduino above the breadboard; connect pin 0/RX of the garage Arduino to the pin 1/TX house Arduino; connect pin 1/TX of the garage Arduino to the pin 0/RX house Arduino; connect pin GND of the garage Arduino to the pin GND house Arduino;

LCD The LCD display is used display the status of vehicles in the garage. It is connected to the house Arduino because it solves the complex wiring of LCD all the display ports to the garage Arduino.

Wiring Instructions for the LCD Connect 16x2 House LCD: place 16x2 House LCD below the garage Arduino; connect the LED anode of 16x2 House LCD to one end of a distinct 220 LCD Resister; connect the other end of the resistor to 5V pin of the house Arduino; connect the power pin of 16x2 House LCD to the 5V pin of the house Arduino; connect GND pin of the 16x2 House LCD to the VO pin of the LCD; connect VO pin of the

16x2 House LCD to the RW pin of the LCD; connect the RW pin of the LCD to the GND pin of the house Arduino; connect LED cathode pin of the 16x2 House LCD to GND pin of the house Arduino; connect register select/RS pin of the 16x2 House LCD to pin 9 of the house Arduino; connect enable/E pin of the 16x2 House LCD to pin 8 of the house Arduino; connect DB4 pin of the 16x2 House LCD to pin 4 of the house Arduino; connect DB5 pin of the 16x2 House LCD to pin 5 of the house Arduino; connect DB6 pin of the 16x2 House LCD to pin 6 of the house Arduino; connect DB7 pin of the 16x2 House LCD to pin 7 of the house Arduino...


Similar Free PDFs