Beyond: ‘Whose Cat!!’?

This morning, I waited for the postie like a little kid on Christmas Eve.  I was so excited, I really couldn’t sit still; pacing to and fro, nervously looking at my watch every two minutes.

Would he or wouldn’t he?

…And much to my chagrin, he didn’t.

All I received was some junk mail and some other stuff that wasn’t really important.

Ya, boo and sucks.

But then, just as I was glumly getting ready for the imminent arrival of Mr Ward Senior for our regular Monday lunch date, another postie turned up, big parcel in his hands and a large grin on his face.

“Waiting for this were you, Mr Ward?’  He happily exclaimed.

“You bet!  Merry Christmas!”  And I meant it.

So, before my dad arrived, I just had to open it up and check it was right.

And it was!

Throughout lunch, I’ll admit I kept looking at my watch.  I could hear the programmer, still in its wrapper at home, laughing at me.

As soon as I got in…

…I very calmly got a shower & shave, changed my clothes into the ‘All Grey’ comfy programming gear I seem to prefer, made myself a cup of tea then sat down at my bench and carefully opened it all up and plugged it all in.It works!

The Integrated Development Environment (IDE) was pretty cool about it being plugged in, so I set it up in software (…minimal, really…), then realised I had to make a programming lead to go to my new super-duper 8 digit display board.

ANYWAY, to cut a long and boring story only slightly shorter, suffice to say that my new board works (…Whose Cat??!!…), and not only that, it works exactly as I planned and built it to!

Okay, I tell a fib.  I’d forgotten that PORTA4 in an open-drain output.  This means that it can’t drive current, only sink it.  A quick 10K resistor up to the top rail soon cured that.  Oh, and there was a slight short between two of the segment address lines, but on clearing that, it worked absolutely perfectly.

And here you can see it to the right.  You can see the 10K just below to the left of the big chip towards the left of the board.

The top right and middle left digits are counting from 0 to 9 together on an interrupt.

The ‘.0′ you can see is the rev counter, sat at zero because I’m not pedaling!

What you can’t see because it’s so quick is the millisecond flash every second just to the right of that which tells me that the other timer is working perfectly.

Now, don’t worry.  I’ll very easily move the digits around so the top right two are showing revs and the bottom six will, at first, just provide a simple timer.  Once I’ve got this timer code in, I’ll leave it overnight to see if its drifts any.

Then I have to pop a couple of buttons on -one to change between km/h and mph and the other for that bottom display so it will show either and incremental counter, or on repeated pressing, count-downs from 10, 15 and possibly twenty minutes.

Then I have to carry on learning that circuit and circuit board making software I keep blathering on about.

Happy Days!

Print Friendly