Halfluck Bot

Electronics Tinkering
Picked up some old wood from bulk rubbish in our local are and had a spare microcontroller & some RGB Led’s so I decided to make some Night lights, They have 3 Modes. Static, Hueshift & Rainbow mode.

Quite a tight fit but I managed to get everything jammed into the housing and it works nicely.

6 x RGB Led’s (Common Cathode)
2 x Shift Registers (74HC595N)
1 x  Arduinio Nano Microcontroller
Misc: terminal blocks & wiring.

Philips 70’s AM Transistor Radio (Model No: MT10) Conversion

I picked up an old AM Transistor Radio that was unrepairable so I decided to convert it into a Portable Speaker.

I replaced the speaker with a 15W 4” Speaker and the Amp with a 15W TDA7297F Amplifier and wired in the existing Volume Control (Potentiometer) & Converted the Stereo signal to Mono using a couple of 10K Ohm Resistors. Cosmetically for the outside the only thing that was broken is the Handle so I have knocked up a replacement one and will get it 3D Printed. Overall I am very happy with the results the only thing I may do down the track is add a rechargeable battery the spare spot on the housing.

Cheers Rob

Philips Bakelite Radio Project

I picked up an old 50’s Bakelite Valve Radio (Mono/AM) with the intention of bring it up to current tech specs (Stereo/FM/Stream/Airplay etc) but still maintaining the original look & interface.

To do this I stripped out the guts and installed

  • 2 x 2 Inch Speakers (Salvaged from PC Speakers)
  • Mini Amplifier Board 10W+10W Class D Amplifier 12V ($6 from ebay)
  • tea5767 - Philips FM Radio Module ($2 from ebay)
  • a Raspberry Pi (a small single board computer), Wifi dongle & Mini PCM2704 USB Sound Card

The left dial is used to turn On/Off the Amp and for Volume Control, Everything else is done thru a a web browser of any connected device to the network (PC/laptop, Phone etc). I can change the radio station or turn it off or on without even leaving the couch!

It’s been a fun rewarding project, The hardest bit was knocking out some code to get the RPi to talk to the FM Transmitter.

Cheers rob@halfluck.com

Nixie Mk II with IN-18 Tubes #aduino #nixie #circuitbending

Nixie Mk II with IN-18 Tubes #aduino #nixie #circuitbending

I’ve been working on a Nixie Clock for the last couple of months after snapping up a couple of Nixie Tubes on Ebay Russia for cheap. I have now got it to the stage where is is up and running. I haven’t settled on a final housing yet so just knocked up a quick and dirty housing to keep the high voltage circuitry away from being touched while I burn it in. I have written the sketch so that between Minutes it will change numbers randomly, a random number of times and display for a random amount of time. This looks quite speccy and helps the tubes from getting Cathode Poising. I’m seeing if i’ll get sick of it happening every minute and might just re-code it so it happen at random intervals throughout the day.

Components ==>

1 x Arduino Nano Microcontroller

2 x INS-1 Nixie Lamp for Colon

4 x IN-12 Russian Nixie Tubes

4 x 74141 BCD to decimal decoder and Nixie driver IC

2 x 74HC595N 8 Bit Shift Registers IC

1 x DS1307 Real Time Clock

Lots and lots of wires and heatshrink.

Source Code ==>

// 5/10/2012 v0.1
// Compiled on Arduino 1.0.1 using adafruitRTClib & ogi lumen Nixie Driver Libraries

// Date and time functions using a DS1307 RTC connected via I2C and Wire lib
// On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5.

#include <NixieBeta4.h>
#include <Wire.h>
#include “RTClib.h”

// note the digital pins of the arduino that are connected to the nixie driver
#define dataPin 2  // data line or SER
#define clockPin 3 // clock pin or SCK
#define latchPin 4 // latch pin or RCK

// note the number of digits (nixie tubes) you have (buy more, you need more)
#define numDigits 4

// Create the Nixie object
// pass in the pin numbers in the correct order
Nixie nixie(dataPin, clockPin, latchPin);


int previoushour;
int previousminute;
int currenthour;
int currentminute;
int nixiedisplay;

int randNumber;
int randTime;
int randTimeCount = 0;

void setup () {
      // Clear the display if you wish

 // following line sets the RTC to the date & time this sketch was compiled
//    RTC.adjust(DateTime(__DATE__, __TIME__));

void clock()
        if (currenthour > 12) //Added for 12 Hour time instead of 24 hour
      currenthour = currenthour - 12;

      nixiedisplay = ((currenthour*100)+currentminute);

     nixie.writeNumZero(nixiedisplay, numDigits);

void loop ()
{  //Display Initial Time once and then  go into loop.
    DateTime now = RTC.now();
    previoushour = now.hour();
    previousminute = now.minute();
    currenthour = now.hour();
    currentminute = now.minute(); 
  while (1) //infinite loop
  now = RTC.now();
  currenthour = now.hour();
  currentminute = now.minute(); 
 if ((currenthour!=previoushour) | (currentminute!=previousminute))    // if either doesnt equal previous value display new values
    // gemerate random numbers for a random period of time
    randTime = random(15,30); // Change Values between 15 and 30 times before displaying Actual Time
    while (randTimeCount != randTime)
     randNumber = random(0,9999); //Display Random Number between 0 and 9999
     nixie.writeNumZero(randNumber, numDigits);
     delay(random(50,250));  //Delay for a random period of time between 50ms and 250ms
    randTimeCount = 0;
      previoushour = now.hour();
      previousminute = now.minute();
  else //Do Nothing
 //  Serial.print(“Doing nothing”); 
 //  Serial.println();
 //  delay(3000); 

Temperature Controller Mk2

HABS (Halfluck Automated Brewing System)

After recently discovering the joys of “Physical Computing” i’ve decided to undertake my first micro controller project, 
an automated brewing system fondly referred to from here on in as HABS

Main Features:

  • produces a standard batch of All Grain Beer unattended!
  • Run on standard mains power.
  • Reliable and consistent results using a simplistic design.
  • Ability to Remotely Control, Monitor & Log
  • Built in CIP (Cleaning in Place) Mode
  • Made from readily available parts, So anyone can undertake this project.

HABS Design Layout

 The rig as it stands at the moment

Inside Kettle

 Inside Mash Tun

Screenshot of Main Menu 

 Sceenshot of LCD during the Mashhing Stage

Screenshot of the Setup Screen during Remote Control

Data Logging & Live Graph 

Other Homebrewer’s HABS

Travis Law’s Brewery

Joe Szacon’s “JunkTrunk” Brewery,

which has been modified to be controlled remotely via web interface!

More info on his website HERE

Arduino Temperature Controller & Logger

I have knocked up some code for a standalone Temperature Monitor/Logger/Controller. 

Minimum requirements would be an Arduino Compatable Microcontroller and 2 x Dallas Ds1820 Temperature Sensors

This could be used to record the temperature in 2 vessles (think HLT & Mashtun), a Fermenter & Ambient Fridge Temperature

(That’s what i’m going to use it for!) or even a Kegerator. it also has the functionality to be able to control the temperature.

An hour after brewing the Temperature Controller has bought the Beer down to Pitching Temps.

Testting the Temperature Controller An American Pale Ale, as you can see It’s inside a fridge with one Temp Sensor Dut taped

to the side of the Fermenter (T1) and the other Dangling in Ambient Temp (T2) with a Heat Belt maintaing temps.

A live graph of the fermentation, Can you guess when i opened the fridge to take a photo

The Control unit

Inside the Control Unit.