My first CurrentCost development board circuit

June 22, 2009 at 17:59 | In Ones and Zeros, Uncategorized | 6 Comments
Tags: , , , , , , , , , ,

The result of a fair bit of googling and a weekend of hacking is… [drum roll]… a circuit to connect my gas meter to a CurrentCost Envi using a nice little dev board from CurrentCost

cc-circuit

Now I’m much more familiar with messing about with software, not all this messy hardware stuff, so I’m really hoping to get some feedback to improve this early prototype!

So, my theory is that the stuff on the left will trigger the timer on the positive edge of the pulse from the gas meter. R1 and C1 control the 555 timing; more on that in a second. And the stuff on the right (LED and the CurrentCost dev board) should be triggered whenever the gas meter is running and emitting pulses. It all seems to work, except that I can’t seem to get the timing quite right. The gas meter takes about 1m40s between pulses, and I can choose values for R1 and C1 that trigger the output for the right length of time when a single pulse is detected, unfortunately subsequent pulses don’t keep the output on as I was hoping. The best I’ve managed is with R1 = 3M ohms and C1 = 100uF, which does stay on as long as there are pulses from the meter… unfortunately just for a little too long at 5 minutes. Still, at least the CurrentCost Envi will get a reading all the time the boiler is running, and it won’t get stuck on if the meter stops on the portion of the dial where the reed switch is closed.

Any comments with glaring errors, small problems, improvements, or a completely different way to do it?!

Updated: looks like I was having problems with left and right in my first description! Hopefully I’ve got them the right way round now! (2 July 2009)

Update: for an alternative approach (latching a pulse and clearing it when the cc board transmits) take a look at the circuit and photos on John’s blog. (9 July 2009)

GasCost

June 20, 2009 at 09:21 | In Ones and Zeros | 1 Comment
Tags: , , , , , , , , ,

I’m getting pretty close to getting the gas meter hoked up to CurrentCost. Not quite the finished thing, but was pretty excited when I got this working…

gascost

It’s a 555 timer circuit (using a low power 555 chip) which I’m hoping will keep the CurrentCost dev board transmitting a value as long as the gas meter is running. I’ve since added a capacitor to trigger on an edge so it shouldn’t keep transmitting if the meter stops on the ‘pulse’ position, which is probably around 1/8th of the time on my meter.

I wasn’t quite sure everything was working when I finished last night, but it does seem to do what I want when I was showing Jo this morning, so hopefully all I need to do is get the timing right for the gas meter, rather than me hitting a button every few seconds. More details to follow if it does work.

Graphing CurrentCost using RRDtool

June 1, 2008 at 23:02 | In Ones and Zeros | 3 Comments
Tags: , , , , , ,

I’ve not been doing much with my CurrentCost data lately, having been slightly distracted with upgrading my home server OS. Well, upgrading is possibly a slightly odd description for a running a new live CD system but to compile rrdtool I grabbed the latest version (6.0.7) of SLAX instead of SLAMPPLite which is based on an older release. I really like the new version of SLAX so I’ve been experimenting with some home server type customizations, manually so far since MySLAX creator only seems to understand older versions, but I might give SLAX Tools a go too.

Anyway, while not quite as interesting as Dale’s CurrentCost bill, I now have a working RRDtool SLAX module. RRDtool seems ideal for graphing CurrentCost data. I’m aiming for something like this example, which would be perfect for viewing on a TV using the Wii but to start with I’ve been giving it a simple trial run over the last day. Here are the results so far:

RRDtool power graph

Looking pretty good, and I think there are a few more features of RRDtool that could prove useful.

Update: found another great example of using RRDtool for CurrentCost data, which has a link to another page with exactly the kind of RRDtool settings you’ll need for a CurrentCost meter! (17 November 2008)

Update: looks like Chris Dalby has RRDtool hooked up as well now. Hope to post about RRDtool again soon with the commands I’m using; just need a couple more tweaks! (7 December 2008)

Flashing light

May 17, 2008 at 20:18 | In Ones and Zeros | 1 Comment
Tags: , , , , ,

Roo’s been doing some open circuit board surgery on a doorbell so his house can twitter when it has visitors. By a stoke of luck (they were in the bargain bin when I needed one!) my doorbell flashes a light as well sounding a bell when it goes off:

Flashing. Lights.

Hopefully making it easy to hook up to one of these (when they’re available) with no chance of breaking the doorbell!

More broadband procrastination

January 30, 2008 at 00:19 | In Life, the Universe, and Everything | 3 Comments
Tags: , , , , , , ,

Still undecided about a new phone company!

One of the early front runners, Orange, has done even worse than TalkTalk in a recent survey! BT seem to do well in various reviews, including a BBC survey, but the high connection charge still puts me off, and a colleague was recently cut off, along with numerous neighbors. for over a week! If I have to pay a high connection charge, I think I’m more likely to give Greenbee a go at £115. Sky keep putting leaflets through the door as well, and the deals do seem to be getting better- I may crack yet!

I’m still tempted to give Virgin a try though, to see if cable is any better… it’s been a while since they were NTL now!

Decisions decisions!

Looking for a new phone company

January 10, 2008 at 14:50 | In Grumpy Old Man | 6 Comments
Tags: , , , , , , , , ,

18 months of TalkTalk hell is almost over, so I’m looking for a new phone company. I have also been completely underwhelmed by Vodafone recently, so a package that includes, home phone, broadband and mobile phone could be the answer.

Of course, I don’t doubt that most companies are just as useless, so who to choose…

Not Pipex it would seem!

And, even if I did think about going back to BT, they don’t seem to want me back, with a comedy, “Installation fee just £124.99″ (this is obviously a new use of the word ‘just’ indicating a complete rip off). Unfortunately that kind of limits the choice somewhat, as many other providers require a BT line. One option I’m beginning to give serious thought to is Virgin Media (they must have improved since the NTL days by now surely?!) but I have reservations: their pricing seems a tad chaotic (their junk mail seems to include a reasonable offer, but it doesn’t appear on the web site it tells you to go to!) and if I pay for 4Mb broadband from them I would be extremely upset not to get the whole 4Mb, all the time. None of this ADSL/’up to’ nonsense. Sure, it might not be possible to supply higher speeds, so charge me less (not difficult really)!!!

Maybe Orange could be the answer- that would take care of the mobile part of the equation without going near O2 or Vodafone, which is a plus. At first glance they don’t seem to require a BT line either…

You also need:
a home phone line (excluding Kingston Communications and cable)

I suspect that’s just the tip of the iceberg, so I’m still looking. Any suggestions for who to try, and who to avoid, would be very very handy!!

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.