Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

A TinyXML library for the Arduino

A lot of devices use XML these days – and parsing the XML by hand is quite complex. I use a CurrentCost CC128 power monitor and also Twitter. Both of these have an XML interface.

Over the last couple of months I have been developing a simple XML parser as an Arduino library – it […]

Arduino code for Currentcost/XPORT/Pachube

The code I have been developing for my Current Cost meter updating to Pachube via Arduino with XPORT is ready for sharing. You can download the code from this link. Current cost sensors are 0) Main electricity sensor – clamp on incoming live cable 1) Gas pulse sensor – see entry below 2) light sensor […]

Gas meter to CurrentCost to Arduino to Pachube up and running

Built to circuit and connected it all up. Bluetacked reed switch to meter and board + cc dev board + 2 AA batteries into small container. CurrentCost meter connect to Pachube via Arduino. In order to try and get some idea of energy usage and comparison with the electricity usage I am logging KW. The […]

Why the diode in the circuit?

When the switch opens the falling edge will cause a negative pulse on the 4013 input. The diode removes that negative pulse.

Input to 4013 without diode – one pulse (on/off) – zero volts is the centre line. The signal goes negative to minus 1.44 volts. Positive pulse comes from direct connection to +3 volts, […]

Final gas meter to current cost circuit

Here is the final circuit I will use, the resistor and capacitor values give a time constant of about 0.5 sec – I’m sure many other values would work but I have these ones in my box. I have added a pull down resistor on the reset line just to make sure it is low […]

Energy tracking part 2a

This is the CurrentCost development board. Note the 10 pin programming header – the leftmost pins are at 0V the rightmost at the positive supply voltage. I have attached a wire to the anode of the led.

This is my gas meter – there is a cut out at the bottom right of the […]

Energy tracking part 2

@MartinDix from CurrentCost kindly sent me a dev board so I could interface other feeds to the CurrentCost meter. After some experimentation this is the circuit I intend to use. I have not yet fully finalised values of components but it seems to work pretty well on the breadboard. Note my dev board is version […]