Web controlled Surveillance Camera by iideetee
Featured
P1010047.JPG
login.png
toinen.png
uusi.png
The purpose of this work is to show, how to build surveillance system with the web-page interface. The webcam can be turned in the vertical or horizontal direction throught the interface, but only in the area that border sensors will allow. The control page is secured with login system, where the user types in an username and a password.

On the control page the user can control how the webcam will turn and how many steps it will run. The user can also turn the webcam on and off via web interface. Information about the states will immediately update to screen. User can also turn the motion detector online, if the camera detectd motion, it will automatically save the frames. Naming of the pictures is done with "timestamps", so it is possible to find out when the picture was taken.

The camera interface is coded by using PHP and XHTML programming languages. The micro controller is programmed by using C-language. System works on Linux operating system.
 
Remove these adsRemove these ads by Signing Up

Step 1: Step Motors

moottorit.jpg

You can find the step motors from the old printer. Printer usually contains two step motors. The step motor can be bipolar or unipolar.
bondie7 says: Sep 20, 2011. 11:58 PM
i m trying to make a this project and plz tell me methodology
instructaboy2 says: May 26, 2011. 6:52 PM
hey man can you please link me to where you got your components for the build i got the step motors there a bit monstrous but they work i just need the rest of the stuff my Email is andrewmacmillan1@hotmail.com
tinker234 says: May 22, 2011. 1:05 PM
cool wow if i could shrink this with micro servos then i could make a robot like bladeruner
bengus says: Nov 19, 2010. 2:12 AM
hi..nice work!
where can i find the firmware for this and a better resolution schematic?
tnx
cliffyd says: Oct 25, 2010. 6:43 AM
Ok you have done a nice job but it's just so over kill. I did the same project with two servo's ( eliminating the need for the whole stepper thang here) and it's just such a mess of wires. the exact same thing can be done with 2 servos, a free webcam software download called Yawcam and an arduino, That's it! I will say it must have taken quite sometime put into it and is nice. A+
iideetee (author) says: Oct 25, 2010. 7:18 AM
I have done it also with servos:
http://www.instructables.com/id/30-Surveillance-System-With-User-Interface/
thisisweak says: Jun 23, 2010. 12:56 AM
Use my instructable to make it work on bright sunlight! http://www.instructables.com/id/Convert-a-Webcam-to-work-outdors-in-bright-light/step3/Before-and-after-photos/
andersop says: Mar 17, 2010. 5:01 PM
possible to get the codes commented in english?  (a) :D
Openz says: Feb 21, 2010. 9:45 AM
please im Engineering student....my project on Object tracking
can u send me full information about this please
openz2007@yahoo.com
pesworld66 says: Feb 2, 2010. 7:24 AM
i am very serious on this project can u please provide more details , as to how to store the video in the hardware.....and also any  furthur details if u have missed here...
my id   svchiku.2006@gmail.com

plzzzzzz help!
bsommers says: May 21, 2008. 6:48 AM
Cool instructable. Am I missing the link and instructions about programming the Atmel microcontroller?
iideetee (author) says: May 21, 2008. 6:56 AM
You are right, these things are missing. I have documented every step on this work and it contains 56 pages. My English is what it is, so it is hard to translate them all, but I can do it if someone needs more information about some step.
mzmaker says: Feb 17, 2009. 1:15 PM
Also I though about using the Arduino? what at your thought on that?
http://www.arduino.cc
ewertz says: Sep 16, 2009. 4:14 PM
Clearly you can do it. Assuming that you want to continue to use steppers (rather than servos), you could do it with the help of a motor shield like that from http://www.adafruit.com.
mzmaker says: Feb 17, 2009. 1:10 PM
Hello, I am building this for actual surveillance in long ranges at night time using infrared, could you please please send me the missing information to mzmaker05@gmail.com and also maybe I could use google translate to translate the whole 56 pgs document? Take Care Martin
exchequer598 says: Aug 6, 2008. 4:32 AM
Hi! I'd like to work on this project. Can you please send me the link and instructions about programming the Atmel microcontroller?
slasher03 says: Sep 30, 2008. 4:04 PM
hi id would like to ask if you could help me in building this web controlled camera please send me the instructions guide on how to build it including the micro controller and its parts used ill be using this as a project in our school hope you reply soon here is my email address to where you can send it its angela_nelle@yahoo.com, thank you in advance
Wickedweed says: Jun 6, 2008. 10:35 PM
hi, can you send me the instructions about programming the Atmel microcontroller too ? Thank you.
yousokwesi says: Apr 20, 2009. 6:06 PM
off topic question... anyone know how to make a 2.4 wireless security camera hard wired? i get a lot of wifi interference and i just want to run direct RGB line if possible instead of buying 5 new cameras.
ewertz says: Sep 16, 2009. 4:09 PM
The level of integration in off-the-shelf consumer products (even moreso at the high-end) usually makes mods like these non-trivial. The first thing to check out is if your camera vendor offers a wired-equivalent to your wireless camera and see if there's simply a board that you can purchase from them to swap-in. This would seem to be your best bet. Most analog cameras that are hard-wired use coax. My guess is that if you're actually considering hacking your existing cameras, that you might just want to get/build a wireless receiver to co-locate with your camera(s) that converts to coax.
ewertz says: Sep 15, 2009. 7:45 PM
Since you pointed out the difference between the L293B and L293D, why'd you choose to go with the "B"? Is it a case of "I had a B around (and not a D) and chose to use it" ?
iideetee (author) says: Sep 16, 2009. 8:56 AM
Yes, "D" ones were out of stock.
KaptainKaveMonkey says: Oct 24, 2008. 2:52 PM
Where do I get the Polystrol?
bassmasta1010 says: Mar 28, 2009. 7:04 AM
you can find them in some craft stores they use them to make "slide-in" picture frames and they are cheap so you can cut them up and do whatever
akatsuki666 says: Feb 9, 2009. 4:05 PM
it said something on there about i microcontroller bord. wheres the program for that if you need one ps i didnt realy read much into it so..
hdogg says: Jan 16, 2009. 1:54 PM
hey that's amazing!!!!!!!!!!!!!!!!!! will any printer's motor work?? also could you email me the instructions too??? admin@yewtfans.net
godsmoney says: Nov 4, 2008. 1:14 AM
Man I have like a mountain of questions here: which interfacing port did you use? what microcontroller and how did you program it? how did you drive the clock for the circuit? and so on you see there is a ton of information you didn't mention. I am really excited about this I want to make one of my own but this is just not enough I'm afraid. I guess what I am trying to say is how can I get these info from you?
iideetee (author) says: Dec 2, 2008. 10:41 AM
Something about this project. I can't recommend to do this. There is lot of things what have to be change so it will be useful and functional. Maybe it looks cool but it is not anything else. Yes it works, but the controlling is painful. My advice if someone wanna build this kind of system is forget the stepper motors. Servo motors are 100 x better for controlling the camera. That's why I build the new system with the servo motors and it is functional and lot of easier to do. I also made new web controlling system for that.
elsiecc says: Oct 30, 2008. 12:12 AM
Hi! Do you have any programmes to recommend tt i can use for window XP? I read through your instructable and decided to head on with it for my project. =) you can also reply me at chingchian_elsie@hotmail.com
ray_blader38 says: Oct 29, 2008. 11:34 PM
do u have the code in english? thanks alot.
rsgino7 says: Oct 3, 2008. 3:32 PM
Can anyone who has the instruction please send it at ryan_0717@hotmail.com
rsgino7 says: Oct 3, 2008. 3:30 PM
Hey, great instructable! I want to start this ASAP. Can you please email me the instructions at ryan_0717@hotmail.com Thanks in advance.
CAR_RAMROD says: May 20, 2008. 9:59 AM
Nice use of lego technic parts!
awkrin says: May 20, 2008. 2:37 PM
lego?
andyhuntdesigns says: Jun 15, 2008. 5:37 PM
You've never heard of Lego?The most famous of all Danish toy companies?
awkrin says: Jun 23, 2008. 7:48 AM
I know what lego is. I even know some of its history, but my question was: what lego parts were used in this instructable?
CAR_RAMROD says: Jun 23, 2008. 3:50 PM
Did you read the intructable?
A good name says: Jun 24, 2008. 9:53 AM
Apparently not.
vince086 says: May 23, 2008. 11:28 AM
Cool Instructable!!!!! Is it difficult to build a controller for a steeped motor? I have this old printer and I tried to get the ink tray to move, but no result, and you sound like the guy that would know how.
yaelyney says: Jun 19, 2008. 3:32 AM
can i watch the video through the internet using this surveillance camera? how?
vince086 says: Jun 19, 2008. 6:07 AM
no idea, your asking the wrong person.
iideetee (author) says: May 26, 2008. 3:59 PM
Reply mailed =)
silentdmx says: Apr 3, 2009. 5:15 PM
Hey wondering if u need any help sending all the emails to these people ill gladly send them for you and if you speak french or spanish i might not need 2 much translation. My email is silentdmx@gmail.com
vince086 says: May 27, 2008. 10:45 AM
sorry for not replying to your very helpful mail. It is a bipolar one. Is it difficult to make a micro controller to make it go back and forth? Or is it possible to get one on the Internet? Makes cool sparks when you touch the battery !
iideetee (author) says: May 28, 2008. 4:20 AM
No it is not difficult and the micro processor needs only couple lines of code to work that way. What is your operating system ?
vince086 says: May 28, 2008. 8:57 AM
Windows XP. thanks for the help
iideetee (author) says: May 29, 2008. 4:13 PM
I'm dumb with the Windows. I use only Linux systems and that's why I don't have any idea how to communicate via serial port in Windows.
vince086 says: Jun 17, 2008. 11:55 AM
sorry for all the questions but it would be cool to be able to control a stepper motor. I was wondering, I am taking a new printer apart, would there be microcontrolers in it to control the motors?
vince086 says: Jun 15, 2008. 5:10 PM
is it possible to buy a microcontroler that will move the motor back and forwards depending witch way you flick a switch ???
iideetee (author) says: Jun 17, 2008. 1:04 PM
Everything is possible, but you have to have some knowledge about electronics and C-programming. There is also ready build controller boards, just add the motors. Google will help you to find more information about these boards.
yaelyney says: Jun 19, 2008. 3:33 AM
can i watch the video in this sureveillance camera through the internet? how can this be connected to the net?
A good name says: Jun 7, 2008. 2:10 AM
Again, the mythbusters group thing is adding all featured instructables... God I hope they get banned or removed etc... Nice instructable anyways, If I had the knowledge/tools I'd probably make it,but I don't.
Wickedweed says: May 29, 2008. 12:02 AM
nice project! by the way...can the L293B be replaced with the 'TI SN754410 Quadruple Half H driver'?
iideetee (author) says: May 29, 2008. 3:45 AM
Yes, you can use it.
Wickedweed says: May 29, 2008. 7:37 PM
thanks! i forgot about the most important question. do you have the hex file you programmed your chip with?
iideetee (author) says: May 30, 2008. 10:50 AM
Wickedweed says: May 31, 2008. 6:57 PM
thanks dude!
Sir-Jackington says: May 29, 2008. 4:36 PM
Very Impressive Instructable. I can't wait to make me own one, well attempt to make one. But I am honestly impressed and I was just wondering how you came up with the idea and how you actually managed to develop such an amazing gadget.
sc6chuck9 says: May 29, 2008. 5:58 AM
can anyone tell me where I can get some help at setting up camera survalence here at my machine shop as I have been broken into 3 times now.
andersop says: May 27, 2008. 3:30 PM
Hi again... I've figured out of the problem with the serial port, now a new problem... which capacitor is where on the wiring diagram (c1 is ?, c2 is? and so on..) and the "Q", is that the Crystal? And what printer did you used? was it old? I have a HP DeskJet 720, would I probably find everything I need in this printer? (except for the switches and the wires, as you have written).. I'm very keen on building this, but I'm a little bit unsure about what I need for the whole project:)
iideetee (author) says: May 27, 2008. 6:06 PM
Reply mailed. Good luck with the project.
andersop says: May 26, 2008. 12:09 PM
hi! I see you have used serial cable... is it possible to explain me how to make this with a UBS-connection? My computer doesn't have a serial port :( tnx in advance
Sindrone says: May 21, 2008. 9:18 PM
nice job man that is really cool
railpressureflip says: May 21, 2008. 2:20 PM
Much too complicated for me. Still I'll give a shot =D

Cheerz
rimar2000 says: May 21, 2008. 5:12 AM
Very good work, congratulations.
joejoerowley says: May 20, 2008. 2:45 PM
Very Cool! Great Instructable!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!