This is a prospective circuit for a simple home alarm system, which operates by alerting the owner if the motion sensors are tripped while the system is armed. My question is, will it work as it should barring any coding errors? Keep in mind that I am quite new to working with an Arduino board, so if you spot some obvious mishap in the circuit, do elaborate on what caused the issue, and how to solve it.
Fritzing is also able to make real schematic diagrams, which will be much easier to understand. It would help if you posted one.
I don't think you should power a servo from the Arduino's 5V supply. It should probably have its own supply (but common ground of course). What is the servo for, anyway?
Also not sure what the bluetooth module is for. Bluetooth only has a range of a few metres, so can only warn the owner if they are in the house at the time, in which case the alarm will not be activated.
Thanks for your reply. I should have mentioned the parts in the original post, my bad.
The project is based off the one shown in this video, the key difference being that I'm trying to simplify it for use with an Arduino UNO. The bluetooth module is actually to enable the owner to communicate with the system, ie, arming/disarming and status checking etc. You are right about the distance issue, but since this is only a demonstration using a scale model, I don't think it will factor in much.
Okay, I'll try to provide an external supply for the servo as you suggested. As for why it's there, it mounts a small camera/ smartphone from which I'm hoping to get video streams if the alarm is tripped (maybe using the IP Camera app), and the servo should turn it based on which sensor got tripped, providing a rudimentary tracking mechanism.