My Idea for this week is a door system , that opens a door and then closes it back after the person enters .
also it turns on a buzzer so that it let know the other that someone enters .
There is android app that uses an input signal that turns on and off the system .
As a software :
I used Arduino IDE to program the Arduino .
I used BlueDuino on the mobile to send Serial signals over bluetooth .
As Hardware I Used :
Arduino
UltraSonic
H-Bridge
DC Motor
Buzzer
I have designed the circuit on tinker cad as following
Then wired every thing up but added the H-Bridge to the motor and the bluetooth module .
Programmed the arduino so when the distance is less than 10 Cm the motor and buzzer starts to work
Also the circuit is not going to work only if the Bluetooth received the enable signal .
Wired the bluetooth module so that tx pin is connected to rx pin on Arduino and vice verso for rx pin .
for the buzzer connected the positive pin to pin 11 and other pin to GND
for the motor connected it to the H-Bridge on the motor pins
and the H-Bridge connected the 3 Power pins two of them to the 5 v and the middle one to the Ground
Connected the control pins from Arduino to the H-Bridge .
Programmed the Arduino and with a little tweaking every thing worked at the end .
Marwa helped me in understanding the H-bridge while we were debugging the issue with her circuit .
I had a different Idea at the beginning which is to use a servo motor and put the ultrasonic above it like a radar , but the servo heated up and didn't work anymore :( .
I will be using the Bluetooth module in my final project so that will help me a lot .
Using processing , it is a new way for me to send data from PC .