In this project, I am going to build a wifi security camera and a web application to take a picture and stream video. The project is based on the Spark Core to which we are going to connect to wifi and a TTL Camera. The web application is based on NodeJS and AngularJS.
Data will send over TCP via Spark Core to your home IP address. NodeJS serve as server in your computer and listen to port 3000. You need to port forwarding your router for this port. In computer networking, port forwarding or port mapping is an application of network address translation (NAT) that redirects a communication request from one address and port number combination to another while the packets are traversing a network gateway, such as a router or firewall.
You need to forward any request from port 80 to your localhost port 3000. (See here: http://www.dlink.com/uk/en/support/faq/modems/dsl-modems/dsl-series/how-do-i-setup-port-forwarding-or-virtual-server-on-the-dsl-g624t)
When you run the application the data from camera will be received and saved in your local disc. You can access to your camera anywhere by opening your home IP address.
Comments