Category Archives: Programming

pwn PWM

Not really much of a hack for this hack session, but still a lot of fun – PWM output control in a PIC microcontroller for a configurable H bridge / 3 phase bridge. A High/Low pair of outputs is set … Continue reading

Posted in Programming | Leave a comment

Unveiling HGD – The Hackathon Gunther Daemon

I hereby introduce HGD – The Hackathon Gunther Daemon Continue reading

Posted in Programming, Unix | 1 Comment

Run in case of Death

OK so I figured – I’ve got irssi running in screen on my virtual server, like most good geeks.  What happens if I get hit by a bus/fall down a well/die from a phase-to-phase electrical shock? Assuming that my bank … Continue reading

Posted in Programming | 1 Comment

Interfacing an HD44780 LCD Screen – The Beginnings of the Car Audio System

Following my previous post Programming the Arduino in Pure C, I have had time over the Xmas holdiays to do some more experimentation. Setting the Scene First lets look at what I am aiming to do. I hate taking CDs … Continue reading

Posted in Arduino, Hardware, Programming | Leave a comment

Basic template for multithread client-server GUI

Below is included Java source code for a simple GUI that launches a local-hosted server and any number of clients run on separate threads and displays the client-side and server-side output in two text areas, including text sent client to server and vice … Continue reading

Posted in Programming | Leave a comment

The Video (part 3)

This is the third post in the series, the first and second are elsewhere. In preparation for the next hack night I have been playing around with multiple angle videos. I created short set of images using motion with three … Continue reading

Posted in Programming | Leave a comment

Programming the Arduino in Pure C.

For hack #2, I started looking at how I could program an Arduino; an affordable hobby development board which uses an Atmega AVR microcontroller. More information here. We add a twist by not using the Arduino IDE and instead using … Continue reading

Posted in Arduino, Hardware, Programming | 8 Comments

LCD Now Playing Screen

For Hack Night #2, I wanted to create a “Now Playing” LCD display to integrate with the lpHack music server that we worked on at Hack Night #1. The resulting project is another real Can’t Hack team effort as it … Continue reading

Posted in Hardware, Programming | 2 Comments

Plumbing – Morse Code 1

Plumbing is a runtime system and libraries for the Arduino that lets you write concurrent application using the Occam programing language. This is my first hack using plumbing, it is a Morse Code encoder, that blinks the built in LED … Continue reading

Posted in Arduino, Programming | 1 Comment

lpHack Client in Lazarus

At the first hack night, I wrote a small GUI frontend to the LPD music Hack print server that Edd had set up on a laptop, to make it easier for people to submit tracks to the jukebox style music … Continue reading

Posted in Programming | Leave a comment