Author Archives: batchloaf

Using the PHP command line web server to transfer files between devices on a local network

When you install PHP, you get a simple built-in webserver as a bonus. This is very handy for testing web pages you’re writing, but I also sometimes use it as a simple way to transfer files between devices on my … Continue reading

Posted in Uncategorized | Leave a comment

€5 PPG – photoplethysmogram amplifier / Arduino circuit

The photoplethysmogram (PPG) is a signal that measures changes in blood volume in some part of the body (e.g. the fingertip) by shining light into the skin and detecting small changes in the level of light absorption that occur due … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Clap detector circuit / AirSpell typing system

This circuit combines a simple audio amplifier (based on an LM358 opamp) with an Arduino Nano to facilitate the detection of clapping sounds or blowing on the microphone. This is my breadboard circuit: I actually used a loudspeaker for my … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

AirMouse – control mouse pointer in Linux using one switch or by blowing on microphone

Article under construction! To install xdotool: Bash script (save as “airmouse” and “chmod 755 airmouse” to make it executable): Arduino code:

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Some RGB fractal doodles

Click on the animation to view full size gif. This is the code I used to generate the animation: The version below is obtained by modifying the iterating function on line 59 of the program, as follows: Click on the … Continue reading

Posted in Uncategorized | Leave a comment

How to display USB webcam as live video on desktop using mplayer

mplayer -tv driver=v4l2:gain=1:width=1280:height=720:device=/dev/video1:fps=10:outfmt=rgb16 tv://

Posted in Uncategorized | Leave a comment

Ronan Byrne’s ultra low-cost brain-computer interface

Over the years, I’ve dabbled a bit in the creation of a so-called brain-computer interface (BCI). These systems take various forms, but the basic idea is to use technology to transfer information from the conscious mind of a human into … Continue reading

Posted in Uncategorized | 3 Comments