Saturday, 29 September 2018

Ring ring

I've been called many names like perfectionist, difficult and obsessive. I think it takes obsession, takes searching for the details for any artist to be good.
Barbra Streisand

We're not sure how good Barbra Streisand is at electronics, but details certainly caused a half-day delay recently when we first encountered the phenomenon of wire "ringing". The project seemed quite simple - make an attiny13a output to a common anode 7-segment display.

It started badly when two of the displays died in early experiments due to a lack of a current limiting resistor. Finally after a bit of fiddling about, the code was working well outputting the required hexadecimal numbers from an Arduino Nano test-bed. But every time we shifted (pun intended) to the attiny13a, weird extra signals led to faulty inconsistent errors in the display.

The lack of reproducibility was excruciating - and even weirder that an attiny85 behaved perfectly in the same circuit! Was it the individual chips? The circuit? The gods of electronics and their capricious cosmic interference?

Spot the smoothing resistors and capacitors (plus short traces!)
Nope - it was wire ringing in the circuit. As the display was on one breadboard and the chip on the other, a combination of 10 cm connecting wires (too long!), no resistors in line with the 74HC595 shift register (47Ω), no decoupling capacitors (47μF and 0.1μF) to filter the signal and just enough differences between the specs of the attiny85 and the attiny13a to be crucial.

So the final product worked, and it was so satisfying and frustrating at the same time that it has been set up on the breadboard ever since. It is fired up from time to time amidst much sighing, shaking of heads and clucking noises. Or, as Kym would say, "That's very nice, dear."







Saturday, 15 September 2018

The impossible takes a little longer

“I believe when life gives you lemons, you should make lemonade...and try to find someone whose life has given them vodka, and have a party.” 
Ron White

You are not supposed to be able to do the whole citrus thing up here in the hills, what with the cold and noticeably wild winter weather (altogether alliterate). Despite that, and maybe due to optimistic naivety, we parked a lemon tree by the fence in the garden when we first arrived.

As a couple of semi-retired scientists, we added two big thermal masses close by in the guise of black solar absorbing compost bins. The theory was that even in the midst of winter there might be few hours of re-radiated warmth from the big yellow.

Like warmish dwarf vaders on guard
The other bit of conventional wisdom is that it takes a few years to get fruit. So it was a bit of surprise to see a proto-lemon on the tree this week.

Well hello yellow
All this is quite wonderful, but not as wonderful as fluffy puppies and besotted dog dads.

Melting the internet
Have a grand day, y'all!



Thursday, 6 September 2018

Sproing

“I enjoy the spring more than the autumn now. One does, I think, as one gets older.” 
Virginia Woolf, Jacob's Room

Days are becoming warm enough to prompt motorcycling, and it was a cold but invigorating dash down the hill for work yesterday. The Italian Princess has new shoes, and she fair flung herself into the corners - emboldened with all the promises of warmer weather that the 1st of September heralds.

Meantime spring means that much younger folk get all dewy eyed and, er, buy a puppy? Meet our "GrandPup" Ella - gorgeous!

And puppy makes three
The previously cutest puppy in the extended family now sits forlornly outside looking in - oh how the mighty have fallen.

Let me in ya mongrels
Warmer weather has also prompted us to think of wood for next winter! So we put our pile of crappy pine on Gumtree last week and great balls of "resin choking" fire a bloke came along and bought it all. So now we have space for proper logs which will delivered soon and then be therapeutically cut up over the next few months in anticipation of the great cold in '19.

Posing with pine
We were going to spend a few column inches moaning about the recent debacle and abominable behaviour displayed by the self serving plutocrats in Canberra, but honestly with their tin ears it doesn't make much sense to keep banging on their walls!  Well done, little boys.

Take care and we hope you are enjoying your hayfever as much as we are.




Monday, 20 August 2018

The door into summer

"While still a kitten Pete had worked out a simple philosophy. I was in charge of quarters, rations, and weather; he was in charge of everything else. But he held me especially responsible for weather. Regularly Pete would check his own door, refuse to go out it because of that unpleasant white stuff beyond it, then badger me to open a people door.

He had a fixed conviction that at least one of them must lead into summer weather. Each time this meant that I had to go around with him to each of eleven doors, hold it open while he satisfied himself that it was winter out that way, too, then go on to the next door, while his criticisms of my mismanagement grew more bitter."
Robert Heinlein


Heinlein's fictional cat Pete could have a meaningful discussion with any or all of our three goats. Convinced that it is only winter on our property, they regularly abscond into the forest looking for warmer climes. They return, sometimes after a few days, bleating and bedraggled and glaring at us for not having flicked the "warm this valley" switch during their absence.  We feed them and house them and pat them, trying in all of our clearly fallible human ways to repudiate the notion that we have anything to do with the bitterly cold nights and sleeting days.

The temperature oscillates diurnally between about -3°C and 15°C, with the "unpleasant white stuff" descending down almost to our front door.

Nice by the fire, nasty in the fields
It is spectacular, and the wattle in the corner of the picture is trying to let all of us know, even the disbelieving goats, that summer will surely follow spring, and spring is maybe not that far away.

Wednesday, 8 August 2018

200 channels, nothing but dog

Every dog should have a man of his own. There is nothing like a well-behaved person around the house to spread the dog's blanket for him, or bring him his supper when he comes home man-tired at night.
Corey Ford

In training the Giant Galoot we have employed a technological solution (of course), consisting of a Raspberry Pi Zero W connected to a small camera and a power supply.

Small Pi, small camera!
The Pi is programmed to switch on a video stream and then we retreat to a safe distance (e.g. back to bed with breakfast) and watch what we call "Dog TV". It might be a little bit boring by some standards, but it allows us to growl at the Gargantuan Mop when she moves from her bed. She looks around in bewilderment ("How do they know??") and then settles back down.

Using this method we have been able to stretch out a session to over an hour of her sitting faithfully on her bed. Thanks Raspberry Pi and nerdy goodness.

All tucked up and snoozing