I'm brand new to Arduino and have a question about feasibility before I attempt to research further into the project.
I'd like an Arduino to control a small 360deg servo, 6 LEDs, a motion-sensing camera, and play a sound file.
As far as the parts, I believe I need a servo, LEDs, motion-sensing camera, a small compatible speaker attachment, and perhaps some shields for compatibility with these parts. If I'm missing any parts or you have any general guidance for purchasing parts I'd seriously appreciate it.
How are you expecting to sense motion, will you use a PIR sensor suitable for Arduino use or are you expecting the camera video feed to detect the motion?
Riva:
How are you expecting to sense motion, will you use a PIR sensor suitable for Arduino use or are you expecting the camera video feed to detect the motion?
If you want to play reasonable quality sound (rather than just beeps) you should consider an MP3 player module.
Given the variety of things you want to add on it may be best NOT to think of shields. Some shields make it difficult to connect other things. I've never had a shield.
From a programming point of view start with a series of short programs to learn how to interface with each item one at a time. That will make the learning easier and will make it easier to get help if you get stuck.
Sorry for all the questions but does this mean you don't really need a camera, just a way of detecting people moving or do you need a camera to snap a picture of the person that triggered the movement sensor.
Riva:
Sorry for all the questions but does this mean you don't really need a camera, just a way of detecting people moving or do you need a camera to snap a picture of the person that triggered the movement sensor.
Yes, it's just about detecting movement. I was looking at other projects and saw cameras, in retrospect they were probably PIRs.
Can you please explain your project?
What are you trying to achieve?
What do you want the 360 servo to do?
Can you please tell us your electronics, programming, arduino, hardware experience?
Thanks.. Tom...
Hey thanks!
The purpose of the servo would be to rotate at a constant rate for a specific amount of time when prompted (and end at the position is started). Ideally, when a button is triggered, the lights will turn on, a sound file will play, and the servo will begin its rotation. As for the PIR, I'd planned to have that be attached to a switch. When the switch is on I'd like it to be active, and if it detects motion, I'd like a sound file to play and the lights to turn on.
I have a degree in electrical engineering and I know Python, C++ and Matlab pretty well. I've spent a lot of time around breadboards/microcontrollers/electrical components so I understand the fundamentals. My question is mostly about feasibility and compatibility of Arduino and what components I may need to accomplish this.
For instance, would I be able to buy an Arduino, PIR, 360 servo, LEDs, and MP3 player module, and be able to put those all together? or will I need multiple Arduino's or attachments to make it all work? Or is there a specific kind of Arduino that would work best for these functions?
Robin2:
Given the variety of things you want to add on it may be best NOT to think of shields. Some shields make it difficult to connect other things. I've never had a shield.
Which goes to say, you do not want a UNO or Mega 2560.
One clear problem with the UNO which is primarily designed to mount "shields", is the means to connect to the sockets. Simply sticking wires in them is clearly unreliable. The proper way is to insert pin headers into the sockets, and solder to the pin headers. It is far more difficult to dislodge a whole multi-pin header than an individual wire.
A Nano is vastly more practical - you can solder to it if the pin headers are not fitted, or plug it with headers (soldered of course ) into a "terminal adapter", or solder it to stripboard, protoboard or a custom PCB
Hi,
Is this for a display or security system?
Servos are usually approximately 180degrees.
You may have to shop around for 360degrees, but be aware any "continuous" servos do not have position control, just speed and direction.