garage

Dependencies:   Servo HCSR04

Committer:
kefil_tonouewa
Date:
Mon Mar 08 18:48:34 2021 +0000
Revision:
0:d05b3ce87bb4
my program

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kefil_tonouewa 0:d05b3ce87bb4 1 Use this components to build the project:
kefil_tonouewa 0:d05b3ce87bb4 2 Ultasonic Sensor: Determine how close the car/object is to the gate.
kefil_tonouewa 0:d05b3ce87bb4 3 Pressure Sensor: Determine whether is it a car or other object.
kefil_tonouewa 0:d05b3ce87bb4 4 Servo Motor: To open and close the garage gate.
kefil_tonouewa 0:d05b3ce87bb4 5 LCD: To display the number of spot left in the garage.
kefil_tonouewa 0:d05b3ce87bb4 6 RGB LED: To represent the red-green light
kefil_tonouewa 0:d05b3ce87bb4 7
kefil_tonouewa 0:d05b3ce87bb4 8 NEEDED PARTS:
kefil_tonouewa 0:d05b3ce87bb4 9 -SERVO MOTOR https://www.amazon.com/Micro-Servos-Helicopter-Airplane-Controls/dp/B07MLR1498/ref=sr_1_6?dchild=1&keywords=servo+motor&qid=1614047170&s=toys-and-games&sr=1-6
kefil_tonouewa 0:d05b3ce87bb4 10 -RGB LIGHT https://www.amazon.com/ELEGOO-Diffused-Assorted-Flashing-Arduino/dp/B0739VKXYG/ref=sr_1_3?dchild=1&keywords=rgb+arduino&qid=1614047226&sr=8-3
kefil_tonouewa 0:d05b3ce87bb4 11 -PIEZO SPEAKER https://www.amazon.com/mxuteuk-Electronic-Computers-Printers-Components/dp/B07VK1GJ9X/ref=sr_1_4?crid=3CIE4AXXLHG37&dchild=1&keywords=piezo+speaker&qid=1614047495&sprefix=piezo+spea%2Caps%2C183&sr=8-4
kefil_tonouewa 0:d05b3ce87bb4 12 -9V BATTERY https://www.amazon.com/AmazonBasics-Everyday-Alkaline-Batteries-8-Pack/dp/B0774D64LT/ref=sr_1_5?crid=YNWSMFV1I6BK&dchild=1&keywords=9%2Bvolt%2Bbattery&qid=1614047528&sprefix=9%2Bv%2Caps%2C227&sr=8-5&th=1
kefil_tonouewa 0:d05b3ce87bb4 13 -PRESSURE SENSOR https://www.amazon.com/Sensitive-Resistor-Pressure-Diameter-Resistance-Type/dp/B07MP4RL9Q/ref=psdc_306935011_t1_B07T1CHY58
kefil_tonouewa 0:d05b3ce87bb4 14 PLAN:
kefil_tonouewa 0:d05b3ce87bb4 15 -Start by changing the color of the lights(5pins total)
kefil_tonouewa 0:d05b3ce87bb4 16 -Make the piezo sound as the light go green (4pins total)
kefil_tonouewa 0:d05b3ce87bb4 17 -Make the servo motor go up when the light is green and make it go back down and proceed to turn the light back to red(5pins)
kefil_tonouewa 0:d05b3ce87bb4 18 -Make the ultrasonic sensor sense object that are close to it (7pins)
kefil_tonouewa 0:d05b3ce87bb4 19 -Mesure the pressure of the object to classify it (4pins)
kefil_tonouewa 0:d05b3ce87bb4 20 -This is a maybe (hook up the ultrasonic sensor on a servo mortor.)
kefil_tonouewa 0:d05b3ce87bb4 21 -close the gate if the pressure sensor is not detecting any pressure
kefil_tonouewa 0:d05b3ce87bb4 22 -LCD hook up (10pins)
kefil_tonouewa 0:d05b3ce87bb4 23
kefil_tonouewa 0:d05b3ce87bb4 24 30pins total
kefil_tonouewa 0:d05b3ce87bb4 25
kefil_tonouewa 0:d05b3ce87bb4 26
kefil_tonouewa 0:d05b3ce87bb4 27