Wireless access point with Zeroshell and Raspberry Pi

A few days ago my powerline definitely died, so I had to set up a very basic wireless access point using Zeroshell and my Raspberry Pi. As you know, the version 3 of this device comes with built-in wireless capabilities. In this article I will briefly explain all the necessary steps to create the access ...

Written by Cristiano

A simple C++ library to drive a stepper motor using the Raspberry Pi 2

About two years ago I wrote a simple C++ class to drive a small stepper motor using the Raspberry Pi. Recently I’ve done the last change to the code. In this post I will try to describe in a simple way how to use the library, also with the help of some examples. Hardware requirements ...

Written by Cristiano

Secure webcam streaming with mjpg-streamer and stunnel 2

Last week I was trying to understand how to establish a secure connection with a webcam streaming server. The idea was to setup a kind of small homemade surveillance system to be used when I’m away. I knew of mjpg-streamer and I used it years ago, but I’ve never tried to encrypt the communication channel ...

Written by Cristiano

A way to extract the playback time from mpg123

In the last period I was working on a project concerning UPnP. In particular I was developing a “smart speaker”, a wireless speaker which plays mp3 files by streaming them from a NAS (UPnP media server). The code is written in Java and leans to mpg123, a real time CLI MPEG audio player/decoder. The hardware ...

Written by Cristiano