1. Put stream camera into Local web (using "motion")
2. Make Local server
3. Put camera, IO control to Local server
4. Install hardware
1. Put stream camera into Local web (using "motion")
$ sudo apt-get update
$ sudo apt-get install motion
$ sudo apt-get install libv4l-0
$ sudo apt-get install uvccapture
$ gedit /etc/default/motion
change "start_motion_daemon yes" (from "no")$ sudo apt-get install motion
$ sudo apt-get install libv4l-0
$ sudo apt-get install uvccapture
$ gedit /etc/default/motion
$ gedit /etc/motion/motion.conf
change daemon on (from "off")
stream_localhost off (from "on")
framerate 100 (from "2")
stream_maxrate 10 (from "1")
$ service motion start
$ motion start
$ motion start
In order to stop:
$ motion stop
$ service motion stop
$ service motion stop
Open web browser, input address: 192.168.1.71:8081 -> camera image should be on web browser
(note: 192.168.1.71 is Raspberry IP address)
2. Make Local server
$ sudo apt-get install apache2 php5 libapache2-mod-php5
If everything is OK, local web will display in Web Browser as following:This "index.html" is saved in /var/www/html/
3. Put "camera" and "IO control" to Local server
On step 1, camera image is on stream (192.168.1.71:8081)
On step 2, a local web server is made.
So an php page is made in Local server to load camera stream, meanwhile this php page also have 2 button (turn left/right) to control camera
For easy, whole project is save at this link (google share)
Take above files, extract it, then save all files and folder into /var/www/html/
4. Install hardware
GPIO of Raspberry (GPIO_0, GPIO_7, GND) is used to control Motor driver (H-Bridge L298N)
Connect system like this:
Make a camera base with Motor (gear type)
Open web browser, input address 192.168.1.71/camera.php
Now, camera can remote control rotate:
You might also like:
1. Raspberry pi - remote control car camera
This project will make remote car control which can view camera attached on car.
It will need:
Hardware side:
1. Car toy
2. Two gear motor
3. Raspberry B+
4. Wifi dongle
5. Power bank (10A) (for Raspberry board)
6. Battery (for gear motor)
7. H-bridge circuit (L298N)
2. Rasbperry pi - FFmpeg install and stream to web
Following tutorial will show how to install FFmpeg into Raspberry Pi, then stream video to Local web which can be access through Computer/Phone/Tablet
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :