Webcam over 3G with Raspberry PI

Description This project was about a personal challenge that my Dad asked me to do it. Everything started more than one year ago when I was trying to do it with Arduino but I lost a lot of time because I couldn’t make everything works as fast as Raspberry does. I decided to move on Raspberry PI and everything became easy and fast, in a few days I had made 70% of the project. Webcam over 3G with Raspberry PI Let’s talk about the project, my idea was to create a remote webcam that I could control it over the 3G network, because I wanted to install it on my mountain’s house and I don’t have an internet connection. The camera have to be equipped with:

  • 2 servos: move left/right and up/down from a web interface
  • one temperature sensor: getting information and store them in a file
  • one motion sensor: something like a little CCTV that will send me message and picture when someone is close to it
Obviously everything have to be very well thought for any little problems,  and in case that something goes wrong, I had to make sure that I can access to the camera and fix it.
Web Interface I made a little website to communicate with the camera, I can move it LEFT/RIGHT and UP/DOWN by pressing 4 buttons. I can get the current temperature, start live streaming, change motion alerts and manager all files about camera pictures and some other files. I’d like to improve everything with a proper client side using another Raspberry Pi, small screen and a few buttons.
Web Interface I made a little website to communicate with the camera, I can move it LEFT/RIGHT and UP/DOWN by pressing 4 buttons. I can get the current temperature, start live streaming, change motion alerts and manager all files about camera pictures and some other files. I’d like to improve everything with a proper client side using another Raspberry Pi, small screen and a few buttons.
Webcam over 3G with Raspberry PI schematic
3G Modem I was looking for a good and cheap 3G modem that could work with Raspberry PI and read/send message, what I found was the HUAWEI E3131 that had a web interface and a simple API to control it. I made a little wrapper library that I could send commands from my Python code, something like: connect to 3G network, send message, read message, etc.. I really recommender this modem because it was cheap, unlocked and easy to use! Python library for HUAWEI E3131 Servo Pan and Tilt I had to build my own Pan and Tilt system because the position that I have chosen is not simple one. I came up with a solution to put everything in a PVC tube and attached one servo on the top to move the whole structure and the second to move the camera up and down.

 

Scroll to Top