Introduction The HC-SR04 can be used to measure distance and detect obstacles in robotic projects. However, the reported range is not always accurate, small objects are mostly not detected at all and ...Read More
Introduction We’ll build a mobile robotic platform with a Raspberry Pi on a chassis. A Pololu DMC02 motor controller board is used to drive the engines. The controller receives serial commands f...Read More
What I needed was a live video stream to provide some sort of an FPV experience. Streaming over VLC or ffmpeg turned out to be suffering from too much of a time lag. Streaming over MJPEG Streamer with...Read More
Introduction OSMDroid is a suitable alternative to Google Maps if you need an alternative tile source for mobile maps (e.g. a hiking map or a custom representation of a campus or theme park). In this ...Read More
Introduction Most large aircrafts today are equipped with an ‘Automatic Dependent Surveillance Broadcast‘ (ADS-B) system. This equipment will be mandatory in 2017. It broadcasts flight dat...Read More
I needed a camera to be turned off at night and a PIR sensor (controlling a light switch) to be turned on. A photoresistor would be an obvious choice here, but we can also accurately calculate twiligh...Read More
To detect intruders in my living room I used the PIR sensor from a Funduino starter kit. A Python script triggers some appropriate actions when motion is detected. Set the jumper on the sensor PCB to ...Read More
Google Text to Speech provides excellent speech quality. A limitation is that the Pi needs to be online to use it (which mine always is, so it’s not really a drawback). First, the ALSA sound dri...Read More
We’ll use our simple game Cave Fizzer as an example again. It’s a libGDX project and we can simply export the desktop sub-project as a runnable jar. Once we have done so the challenge is t...Read More
In my Dutch Hangman game a random word is retrieved from a database containing about 100000 words. To provide a smooth user experience this needs to be done asynchronously. (Actually several asynchron...Read More
Introduction RC power sockets commonly use the 433 MHz band, like many other Short Range Devices (e.g. car keys, garage doors, LPD radios). We will use pilight to sniff the RF signals so we can reprod...Read More
Since our camera is placed behind a window glass and the LED causes reflection, there’s a need to turn it off. Current versions of Raspbian seem to ignore the disable_camera_led=1 setting in /bo...Read More