By turning the potentiometer, this function allows you to control the LCD brightneess the potentiometer uses the 3.3V output from the mbed as its input and uses an analouge in to feedback to the mbed but it must be noted that the signal or voltage the mbed recieves is between 0V to 1V it can not read in anything above this from the potenteiometer.
This function "resting" contians codes which gets the distance from the sensor and displays it on the LCD Also still in this function other functions like the getTempearature are called as they all are display at same time on the screen And all the alerts both sound and virtual associated with the car parking aspect of the device are implement here.
Here the LCD initialisation function is called and the welcome messages and also authors details are implmemet which runs only once whenever the device is powered on.
This function is used to draw the vertical brick wall which show the limit the car sensor can car and to alert the driver that he or she is getting close to an object.
setter (int xVert, int xHor, int xVert2, int xHor2, int yVert, int yHor, int yVert2, int yHor2, int xVert3, int xHor3, int xVert4, int xHor4, int yVert3, int yHor3, int yVert4, int yHor4)
This is declears variables which are later used to draw the moving car depending on the values of the x and y cordinates inputted.
Function to draw the battery symbol, though at the time of this project a way of getting the battery life was not included but will be added in the next revision.
Ultrasonic Distance sensor/Car Parker Designed to help car owners park thier cars more effectively it basically uses burst of sound waves to measure the distance of objects from the device Revision 1.0
Function to draw the battery symbol, though at the time of this project a way of getting the battery life was not included but will be added in the next revision.
This function is used to draw the vertical brick wall which show the limit the car sensor can car and to alert the driver that he or she is getting close to an object.
Here the LCD initialisation function is called and the welcome messages and also authors details are implmemet which runs only once whenever the device is powered on.
This function "resting" contians codes which gets the distance from the sensor and displays it on the LCD Also still in this function other functions like the getTempearature are called as they all are display at same time on the screen And all the alerts both sound and virtual associated with the car parking aspect of the device are implement here.
By turning the potentiometer, this function allows you to control the LCD brightneess the potentiometer uses the 3.3V output from the mbed as its input and uses an analouge in to feedback to the mbed but it must be noted that the signal or voltage the mbed recieves is between 0V to 1V it can not read in anything above this from the potenteiometer.
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.