
Raspberry Internet Rover Part 2 – Python Datagram Server Codes
Some python code in the Raspberry Pi is needed to send commands. Install socketIO_Client for your python from : http://www.gelens.org/code/gevent-websocket/ Then please save this file in your Raspberry and run it. # # Datagram socket server class – derives from sserver # import socket import serial import sserver from socketIO_client…

Controlling Arduino Motors via Raspberry-Hosted Website (Part 2)
We want to send commands to our remote-control Arduino car. One way to communicate directly with Arduino from Python is through Serial interface. For this we need a Python library called pySerial, which allows direct signal manipulation via serial ports. Installation PySerial is available as a standard Debian package. sudo apt-get install python-serial…

Controlling Arduino Motors via Raspberry-Hosted Website (Part 1)
In ideal geek world, we want to control our Arduino rover miles away via the Internet. Here is some idea on how to do it. Ingredients Hardware 1 Raspberry Pi 1 set of 4WD Rover Platform, like from Dagu or DFRobot 1 solar panel battery 2 usb-to-micro usb cables 1 DFRobot Romeo All-in-One…

Faster Video Streaming on Raspberry Media Server with MJPG STREAMER
MJPG Streamer is a simple and straight forward video streamer, but it is faster than most streamers, so this may be ideal for your remote control projects in which real-time video feed is crucial for navigation and orientation purposes. Installing MPJG Streamer on Raspberry Pi On Raspbian (wheezy), here is…

Python, CGI and lighttpd
Here is step-by-step instruction on how to configure your web server for python CGI web application: 1. sudo lighty-enable-mod cgi 2. sudo nano /etc/lighttpd/conf-enabled/10-cgi.conf # /usr/share/doc/lighttpd/cgi.txt server.modules += ( “mod_cgi” ) $HTTP[“url”] =~ “^/cgi-bin/” { cgi.assign = ( “.py” => “/usr/python” ) } ## Warning this represents a…