Blog

  • Painting queen

    So, the last few days have been awash with exciting sand-paint-filling joy.

    The original wallpaper – textured as it was:

    IMG_0434

    covered, as usual, a multiple of sins.

    I’d started filling it months (and months) ago – but had paused whilst I did my course. Returning to it and sanding it back revealed some more areas where the plaster was gently crumbly, so those were scraped out and filled.

    Untitled

    Then it had a coat of basecoat, then more filler to just catch the few bits that still stood out. I could spend an endless amount of time trying to make our walls look completely smooth, but they are now ‘acceptable’. I’ve also fillered the joint between the two bits of picture rail that I put up, and caulked every last joint between ceiling and wall, and between walls and picture rails and door frames. I’ve still got some lamb’s tongue strips to put on around the frame when I finish fitting the door, but otherwise it’s going fairly well so far.

    Despite it taking a little longer than expected, it’s now ready for top-coating:

    Untitled

    And very, very white.

    Untitled

    You can also see the jauntily unsquare frame and the door which is currently ‘hung’ (it gets it out of the way until I take it down and plane it a bit). I fear whatever I do – the frame is so far off square that it’s going to look a bit odd. I’m going to shave a bit off both sides of the door, mainly (obviously) at the bottom) and then we’ll see. I’d like to have a stained glass section in that door, but I don’t think it’s realistically worth the effort. It’s no-where near as dark in there as I thought it was. It has, however, had the odd effect of making the kitchen marginally warmer, and the rest of the downstairs much colder. Upstairs is also a bit chilly – I guess the heaters in the kitchen were gently heating the rest of the house. Also, it’s (weather wise) got colder, so perhaps we should just suck it up and wind the thermostat up a bit.

    That’s pretty much been it in my little world. I’ve recorded the next Dead Bug Jumping podcast, so that will, in fact, be up on time. I’m trying to get a smidge ahead, so that holidays aren’t an issue… And our router crashed, which in some way deeply upset the Pi. The pi then died, and I had to dump the disk image back across again. This has culminated in me leaving the Viewsonic box in situ, and giving the Pi it’s own input. The idea being that the Viewsonic can be a backup. I’d like to replace the router, since that seems to be the source of some of our grief, but I’m not convinced it’s wholly worth it since it’s just more crap to move. Mind you, that didn’t stop me picking up more vinyl… :-/

  • Progress (apace)

    So, today was definitely one of those days where progress was made. Indeed, between yesterday and today much progress in a forward direction has occurred. The Pi is now working (although it has had to be overclocked to get enough performance to play my 30 gig HD Blu-Ray rips), I now just need to knock up a case for the LCD. For some reason some of the shows haven’t quite been picked up right to the library – and some shows have some episodes missing for no apparent reason. The naming conventions are fairly reasonably adhered to, so I’m not quite sure what’s up with that.

    Anyhow, it’s working. I need to work out how to turn on two audio interfaces simultaneously (or maybe get it a USB audio interface, apparently the standard one’s a bit sucky). See, when we’re watching TV, in general we listen to the audio through the TV, but when we listen to music, that’s through the amp. The amp does not sport an HDMI connection, because it’s a proper hi-fi amp, not a home-cinema amp. It’s one of my favourite purchases, actually, that amp. Because after years of crappy amplifiers, of using my family’s cast-off Technics to replace my very repaired Eagle amplifier (which I’ll grant was a very nice amp before it was repaired, twice), the modern Cambridge Audio amplifier and Gale speakers do sound gorgeous. And yes, after watching When Albums Ruled the World I am playing my parent’s copy of Sergent Pepper. Why do you ask. Uh, sorry, so the having audio output on both the HDMI and analogue audio outputs of the Pi would be handy. I don’t know how to persuade it to do that yet. I know people have persuaded it to do that though, so I need to look that up.

    So that was a good start to yesterday. Today I actually used it as intended and watched a fine rip of Blackadder (the fourth) over breakfast. Then whilst I was working on the house (I’ll get to that) I used Airplay. This Pi business is ace, to be honest. Although my phone’s working far harder than it ever has before.

    Then yesterday continued well, with a trip over to see the illustrious John. I took the opportunity to take the much maligned m-audio interface with me. This has been giving me grief again, or so I thought. It turned out I was wrong. It was a poor connection in the (brand new) Maplin 1/4″ jack plug – which was making the microphone into an aerial – and picking up all the hum that was available (which is quite a lot given that it’s surrounded by lots of computing stuff). This was exacerbated by the fact I appear to have gone insane. I am convinced that I’d been using it to capture audio from the record deck. Only either I am mad, or I something very odd was happening. Because it’s only got a mono input. Err, so, yes. Either we’ve been recording the difference between the two channels for records, or..err… perhaps I’m just misremembering. It’s so long since it worked (and tbh, the connector (it turns out) died so promptly when I started trying to record the show after John fixed the M-Audio interface last time), that I’ve forgotten what it was like to use it!

    Anyhow, having traced the fault, which it turned out was nothing to do with either my craptastic soldering, or the (unfairly maligned) m-audio interface (problem is, it’s actually failed twice, and so now is highly suspect whenever anything goes wrong), we lopped the jack plug-and-socket off, and I soldered the XLR connector straight onto the mic. Which is probably what I should have done in the first place, but does mean that if the m-audio does fail again then I’ve no easy way to connect the mic to the Mac. So, all pray, eh. It was however, generally, a nice social day. Spent lots of time considering a bench multimeter – since it appears that I’m going to go doing stuff I’d sort of forgotten that I loved doing. I really do rather enjoy dinking with electronics. I’d obviously help if I was good at it, or actually could remember the stuff I was taught and learned as a kid, but eventually it’ll come back to me I’m sure.

    Anyhow, today was similarly productive. Having cleaned the kitchen a bit, and done some washing up, I set to work on the house. I’ve sanded the filler in the hall way (it’s ready to paint now), and the plaster’s primed, and I’ve also spent a bit of time running a bead of caulking around the ceiling-wall joint (old-new plaster). I’ve cut and fitted the small piece of timber to replace the original bit that had warped and fallen down. I’ve hung the door in the hallway (after nearly two years with no door to our kitchen we now have an extremely ill fitting one). Unfortunately, it became (rapidly) apparent that the doorway to the kitchen is hilariously far from square. As in, ‘oh that’s a witty joke’. I mean, I know that having been built on a hill in the 1930s our house has only had a passing acquaintance with right angles. Indeed, one of the things I noticed when we first looked around was that I thought the stairs were not horizontal. They’re not. But the unsquareness of the doorways is… challenging. Now, before I hung it I took off the 1960s modernism which had been applied to one side (a layer of hardboard). Confusingly, all the doors in the house have a layer of hardboard on one side – I’d understand if both sides had been tormented in this way, but it is only the one side.

    Untitled

    More oddly, it’s the side inside the rooms. So rather than walking into the house and being hit with modernist simplicity, it’s only when you’re inside the rooms. Except, because this door’s been moved and turned around, you would have been assaulted by a non-matching door when you walked into the house. So I attacked it, and attacked it…

    Untitled

    And as expected, underneath lurked a perfectly good door. It could do with a little filling – if we were staying then I’d get them stripped and just leave them bare with their faults. As we’re not, they’ll get a light sand and fill, and then be painted.

    I also cut and put up the missing section of picture rail.

    The hall’s looking really rather a lot better now. Tomorrow I shall start actually painting the hall, which is quite exciting. I also need to mount our A-B payphone on the wall and knock up a cover for the fuse box. Then I need to find out how to wire it up – my dad did try once, having had a quick look at the ‘circuit’, but never quite got it right (you could dial/hear, but not speak, even when you’d paid the requisite number of pennies/six pence/shillings). ISTR there’s a newsgroup / forum for vintage phone fans, they may well know the correct way to connect it…

    That will probably max out our line’s ring-capacity.

    I’ve no idea what the ‘REN’ is for phones of this age, but ISTR that when we got up to 5 phones in my parents house the phones started auto-answering, because the ring-current required was so high, that attempting to ring them made the phone system think that the phone had been answered…

    Heh.

    Anyhow. So, tomorrow I start the painting festival. I also need to drop off my ‘new’ bag to be repaired. And I’ve been ripping music for the last… age, and I’m continuing to do so. I’ve now made it well into the DJ box (holds 300 CDs or so). I need to have a bit of a think about this, I need more sleeves, I think. I took the DVDs out of the other box, and put them into a DVD-specific DJ-case, so the other small DJ case should be empty. This means I can start the strip-down of the CDs (so we can keep the artwork and recycle/offer the boxes up on freecycle, saving us from transporting them to Canada). Whee. So, onwards we go.

  • Fruitful Pi

    So, for all of my wailing and gnashing of teeth yesterday, after another unfortunate *oh, arse* moment this morning (where configurator turned my machine into toast, again), today the install process has actually gone completely smoothly. I think knowing what you’re doing, and what order to do things, makes things go much more smoothly (doh).

    Now that definitely is progress

    So, just incase it all goes splutch, and my imaged file systems won’t restore, without further ado (or adieu, as they like to say), here’s the process I used for getting my Raspberry Pi running Raspbmc and displaying track names on the GPIO-attached-LCD handy handy text display. It goes a bit manic with films, but what can you do. The backlight’s controlled by a switch on the display’s case.

    The process that worked:
    – Using a fresh (that day) python installer for Raspbmc. Using the one which had worked before reported no errors until the Pi was trying to download the Raspbmc data at which point it would simply fail-and-reboot (with an error that had previously been indicated to be related to github being down. It wasn’t. And while I don’t know what the source of the error was, using the fresh-baked that day installer fixed it).
    – Using a Class 10 SD card (much, much faster than my old Class 4 card which may have caused some of my problems – and made the Pi dog slow in XBMC).
    – Before commencing installation, whilst the card was still mounted on the Mac, editing config.txt to include the MPEG decoder licence (add other licences in Raspbmc settings in ‘programs’ on XBMC I think, but I’ve not tried yet).
    – Let the Raspbmc installer finish, then Tweak install settings (locale, etc…) and reboot.
    – Install and configure LCDProc and the relevant Raspdrivers as per the link to techfruit. Note: There is an LCDProc plugin for XBMC – I missed this, and it might work perfectly.
    – BACK UP THE SODDING CARD TO AN IMAGE!
    – Put on a bunch of plugins (like iplayer (has to be install from a zip archive here) and youtube and MTV…
    – Get it to scan your video and music libraries, ensuring that the naming convention for files is appropriate. (Video|TV).
    – Remote wise, I’m using the standard (free) xbmc remote called ‘xbmcRemote’. Previously I tried ‘XBMC’ but just could not get it to work.

    Things I tried that didn’t work:

    • The Raspbmc prebuilt image (RC5). Resized disk and then spectacularly crashed.
    • Reusing a previously downloaded Raspbmc installer
    • Using a Class 4 SD card (I bought without checking – the Class 10 seems happier).
    • Trying to use ‘configurator’ – whilst this worked the first time I installed, every time after that it just hosed start.elf. I’ve no idea why.
      – Install configurator to add the MPEG licence (and the V(I did this via SSH):

      sudo -s
      cd /usr/bin/
      wget http://www.juicypi.com/downloads/configurator
      chmod +x configurator
      configurator
      exit

      – Reboot

    • Not backing up frequently enough. I know it takes ages, but it’s worth it.
  • Trying to be fruitful

    So, the Pi managed to nuke its main partition. It was able to boot sufficiently to tell me that it couldn’t mount the main partition. I thought about FSCK and trying to fix it, but then I thought, no, just suck it up and fix it properly. Start from scratch.

    The plan always was get it running ‘just right’ an then create an image of the SD card so that when badness happens you can just dump it back to a ‘known good’ install. Simples, as they say.

    Only of course I never got there. I got as far as XBMC up and running. The remote control aspect working on my phone, and the little scroll-text display doing it’s stuff:

    This might be mistaken for progress

    However I’d still not got it to import the libraries successfully and had spent an ‘enjoyable’ morning moving and renaming files and folders, and reorganising the Doctor Who (every episode ever) folder into Doctor Who and Doctor Who (2005). And going through and switching british TV shows in which ‘Series’ is the equivalent to ‘Season’ to say ‘Season’.

    I am starting to accept that maybe, just maybe, putting XBMC on the Pi is ‘not ready for the mainstream’, or indeed, for the casually geeky. No part of it has ‘just worked’, and I’ve expended an awful lot of effort on people’s half-written instructions. Of course this is not helped by my origins as a technical writer – and so when someone provides a list of steps that are meant to end with it working, I kind of assume they’re all the steps.

    Raspbmc has almost consistently failed to install, although it worked…just once. Just enough that I got the system working last time, but today it’s failing (again) to install. Looking at the forum suggests that the error relates to github being down, but github isn’t down. So, err. Yeah. Instead we’re going for the ‘last resort’ prebuilt image.

    The LCD drivers are not automatically installed (or don’t appear to be) – so whilst the option is there to turn them on, it doesn’t appear to do anything. The site that eventually got me going was this one: tech-fruits.

    The XBMC remote control I first tried (recommended by LifeHacker) didn’t work. No matter what I did it would not work, and the FAQ for it not working said “…see if EventServer is accepting connections. If you need to explicitly open the port in your firewall, it’s 9777 UDP”. What if, and I posit this just as a hypothetical question*, your firewall isn’t blocking 9777, or indeed any ports once you’re logged on to the network, and say, EventServer does appear to be accepting connections. What, in that instance, might you suggest if the fricking thing isn’t working? Eventually just switching to another remote control app provided something that worked about 95% of the time (for the brief hour or two that I had the thing running before I made the mistake of asking it to clear out it’s database of incorrectly identified TV shows).

    Anyhow, so I’m starting again, from scratch.

    Which would be easier if Raspbmc was working today. But instead… well, instead… there’ll be another post.

    Yesterday was nice though, and the day before. We spent the day before at my mum’s – relaxing in the Cornwall air (well, inside, because it decided to hail during the day). I spent a happy chunk of time trying to solve a Dead Bug Jumping problem (which, ironically, I’ve still not managed to solve) and reading Musicophilia. Then yesterday we headed to High Cross House and (by extension) Dartington. Dartington didn’t really have anything much on, but High Cross House was delightful. Neither Kathryn nor I are huge on modernist architecture. But we can both appreciate something that’s well designed and built, and one of the most interesting things about modernism is that the spaces are (if it’s well done) just really beautiful spaces to be in. So whilst neither of us crave living in a grand Modernist building, it was certainly a really incredible space to be in. As a National Trust property it’s very different – because they’ve not attempted to return it to its original state, instead the inside is filled with displays, and art works, and only some rooms are reminiscent of how they would have been.

    It works really well, and I’d highly recommend it.

    We also spent some time in Totnes. Now I’d wanted to visit Totnes for a long time, mainly to visit The Drift Record Store.

    Finally tried out Drift! Favourite place in Totnes...

    Which was, as expected, fantastic. It was filled with lots of lovely, lovely vinyl although I actually walked away with two CDs – The Flaming Lips and Ólöf Arnaulds – mainly because I’ve got two other bits of Vinyl that I really, really, really want.

    The rest of Totnes was a bit, well… Look. It was lovely. Physically. Physically, like Bath, it was really really pretty. Some of the people in the shops seemed very nice. But some of them were miserable as sin – to the point of: I looked in the window of one of the charitybookandmusicshops and saw two books in their display that I really rather fancied. And two CDs on their CD rack that I’ve wanted for a while (common as muck, but they were cheap and cheerful). But when we walked in laughing and chatting, the woman behind the counter looked at us in a manner which suggested how very dare you interrupt my sitting behind the counter looking miserable. After a bit of a wander around we both decided there was nothing that either of us absolutely had to have, we left. Now I probably would have got the book on architecture, and quite possibly the beginners woodworking, and also two CDs. 20 quidish. But no.

    No, we left with none of the books and they got none of the monies.

    I think the problem with Totnes that we experienced, is that it feels like Bath. People think they’re better for being in Totnes than people from around. I’m sure that’s not true of everyone, and as I said, some stores were lovely. It also was an utterly miserable, bitterly cold and at times wet day, which never helps. But honestly? I much prefer Hay on Wye, and we have Rise here in Bristol, and between those two places, and the internet, we can happily spend more than enough :)

    * Which may not be hypothetical, as it may have been how I spent an hour.

  • Making Pi

    So, progress continues on my Pi Project.

    The Pi is now encased in one of the (really very nice) Adafruit Pi Boxes (although mine’s a prototype one that came from e-bay sans adafruit logo). I highly recommend it, it’s a very nice box, with one caveat. If you’re doing hideous things with vintage cables, you may well find it’s more than a smidge tight.

    Untitled

    In the end I actually wasn’t happy with my cable and ended up remaking it, spending more time getting the spacing of the cables better, and having finally given in and bought some heat-shrink.

    Revised vintage cable

    See now, isn’t that pretty.

    I also wasn’t happy with the other end of the cable:

    Untitled

    There was far too much stress on that, and actually I ended up breaking a wire before I’d even connected it. Having pondered issues I stripped that cable off, and got a 15 way D-Sub connector (well, a pair of them)

    Pi building

    Which also has the advantage that when I want to get a VFD display I can (theoretically) just switch it over. A quick test suggests that it should be working okay, although today I’ve added the backlight LED connection, so we have to pray that all is well when I connect that. It’s all a bit nerve-wracking this, I really would like to not kill it. That ignored, and the slightly grot soldering (it looked beautiful the first time around, but unsoldering it and then resoldering it hasn’t done it any favours, I’m just not that neat) it’s together, and I’m reasonably happy with it.

    Progress...

    It still needs a case, although I have ideas for that. But that has to wait until I’ve got it working!

    I’ve also modded up one of John’s special power supplies to be a 5V USB supply. I was amazed to find that the plastic of the case was thick enough that with some careful trimming you could actually mount the USB socket in the casing of the thing. It’s insulated too, for the day when the plastic gives up the ghost, but it actually, apart from the slightly uneven trimming, doesn’t look too bad. And when it’s in use, apart from the silver marker crossing out 7.5 volts and writing 5 volts on the back of it, well, it looks positively quite neat.

    Untitled

    So this is all progress.

    Installing the OS has been a bit tricksy.

    Having put Raspbian on the flash drive (correctly, the first time I screwed it up) last night I tried firing it up and rasbi-config did it’s stuff, and I said ‘expand to fill entire SD card’ and… Splutch:

    Unhealthy?

    So reinstalled Raspbian and this morning tried again. And, err, no. Splutch, again. I left it for an hour in the hopes that it would recover, but something very bad had happened to the filing system. So I remade the SD card (oh, painful). And off we went again, and this time I skipped expanding it to fill the SD card. Which was fine until I started installing OpenELEC. When I promptly ran out of space.

    So, taking my luck in my hands, I restarted raspi-config (the other option being to manually resize the partition, which I considered, but thought I’d try this one last time). And this time it resized the partition, rebooted, and all was well. So I don’t quite know what was going on there.

    It is, now, installing OpenELEC from source. Because there’s some suggestion that you need to do that to support the HD44780. Only when I went to make the edits they suggest to the config files, they are, well, unnecessary. Because HD44780 support is already in there. So I’m forced to wonder if that’s still a requirement. If not, then that will be displeasing, because it’s not exactly quick compiling stuff on the Pi. It’s only an ARM11 running at 700MHz. So, yes, it outpaces most of the computers I’ve owned in my life, but compiling is not the quickest of tasks anyhow, and if I didn’t neeeeeed to do it, I could have spent the day doing something else. Anyhow, we’ll see. Basically, I’m wanting to play with it. And I can’t, because it’s using all it’s processor cycles on compiling.

    A progress indicator would be nice… :)

    The thing is… I’d like to get it working before my days off, because I’d like to spend my days off (a) with my beloved, and (b) decorating the house.

    HD47780 references:

    In getting the HD47780 wired, I used these pages:

    HD47780 RepairFAQ
    Wikipedia HD47780 controller page
    Hobbytronics Raspberry Pi GPIO Pinout
    And last, but most certainly not least:
    XBMC OpenElec and HD44780 via Raspberry Pi GPIO

    The last page has most of the important stuff on, but my HD47780 was very cheap and the pin-outs had different labels to the ones indicated on that Raspberry Pi forum page; they appear to be a combination of the other labelling schemes.

  • Unboxing

    And so, today, my Raspberry Pi arrived. Filling me with the kind of excitement and nervousness that I used to get when kits of bits would arrive for my beloved BBC Micro. Building up the sound sampler, grabbing my dad’s wire-wrap boards and sitting with the twiddley-tool (which no doubt has a proper name) and wire-wrapping my way to freedom. Or somesuch.

    (Cut for geeking, talking about my dad and lots of images)

    (more…)

  • Project creep

    So, when I started the media ripping project the idea was simple. Using the cruddy equipment we had (Superpad III, Viewsonic box) I would produce a media system of such awesome and unequaled quality that all would flock to witness it in action. Err, okay, perhaps that’s over stating it. Basically, the aim was to get all the music (or at least, all the digitally available music) onto the media server in fresh clean rips at high quality (and in an open format) such that they could be played back in any room in the house using naught but what we already had kicking around. And all the video on there so it could be played by either laptop, iDevice or viewsonic box.

    First there was the problem of how to deal with (bloody) iTunes. If anything makes me contemplate moving away from the iPhone, it’s iTunes (y’hear that apple?). iTunes drives me to despair. It won’t play or deal with FLAC files (despite the fact there’s been a constant stream of people asking apple to introduce it). Hell, even just allow some developer to produce a pay-for plug in, I’d consider it.

    But no.

    So instead of a nice, clean, simple rip to one file format and everything being in lossless, shiny, shiny, FLAC, it has to be dual encoded, using nearly twice the space, so that iTunes can put music on the phone. The other issue with abandoning iTunes is, obviously, things like Rachel Maddow which are awesome and which are via the iTunes store. Feh.

    Anyway. So, the resolution to that was to suck it up basically. Then there came the Superpad III issue. The Superpad III sucks just too hard for me to bother with. I’ve tried upgrading the firmware on it (Tim6) but it’s still crap. Not only is it crap, but a lot of Android Apps just won’t install on it. So things like ‘being able to control it from an app running on either the laptop or the iphone’, that just doesn’t happen. Being able to use VNC to poke it? No. Also won’t work. It’s not that the hardware can’t do it, it’s that the firmware sucks arse. And this experience of Android is perhaps the thing that most puts me off using android. If it were hardware limitations that stopped me running stuff I’d not mind, but a lot of stuff only seems to be available for specific tablets for no terribly obvious reason. I suspect it’s to do with the underlying firmware, and the implementation of the underlying drivers, or somesuch. Or at least, I hope it is, but it makes me think ‘why would I buy an Android device, because the things I want may not work on it’.

    Anyhow, so, that, plus its tendancy to get bored in the middle of playlists and wander to the last track then stop. Or just stop. Or decide it’s not going to connect. Or really any number of minor irritants about it. All of them combined make me think ‘p’raps it’s time to not use it’.

    Hence the longstanding desire to lay my hands on the logitech squeezebox. But now that’s not happening. There was a brief flirtation with building a serial drivable nixie display (using something like the Burroughs B7971). Then there were thoughts of digging out my pile of my dad’s old seven segment displays (and possibly buying some new ones) and building some sort of serial drivable display using that. Then I remembered that I’ve not done anything like this for a very, very long time, and perhaps doing something a biiiit simpler for a start would be reasonable.

    But my deep love of VFDs took a while to overcome. Mainly it’s been overcome by the fact that I can always and easily replace an LCD with a VFD if I chose one with the same driver requirements. So I’ve got a 2 quid HD 47780 LCD en-route (it’s still blue) and if that works then at some point I’ll replace it with the similar VFD. The only reason it’s not a VFD now is it’s 20 quid here, and 14 quid in the states (grump). I’ve also managed to routle up stuff on how to connect them (not exactly hard, apparently). And I’m wondering if I can get away with my pretty (and vintage) ribbon cable – although people have commented on how these are quite sensitive in terms of signal timing – but then equally I’ve seen nice examples (like this one) where they’re driven using individual bits of electric string, and I reckon that the pretty old ribbon cable (made from separate, twisted wires) should be good enough. We’ll see. I’ll also need to routle out some kind of connector (I’m thinking I should have a ribbon cable connector kicking around).

    All of this makes me glad my dad was who he was, sad that I threw so much stuff away when he died, and miss him like crazy. He’d love this sort of project. Hell, if he was here, it’d be nixie tubes all the way.

    Anyhow. Much of it is ordered and I’ve got that bubbling excitement I feel when I’m doing something new. At the same time I’m still trying to work my way through the music (first) and then the video (later) reencoding. It doesn’t help that my laptop has insufficient space to fit all of it on, so I have to do chunks and copy them across to the media server (obviously, ideal would be a CD changer that could drop each disk in and then dump it when it’s done (like this) – but I don’t have one of them. I have a me, and my hands.

    This is basically is a time and space filling thing to do whilst I wait for the freshly ordered Model B to arrive. It prevents me bouncing around the house doing nothing useful. Although the digital caliper has arrived – so I can measure my pens and buy some new pen sacs for my other ink pens. I’ve also run some of them through the alledged ultrasonic cleaner (which just seems to be a vibrating cleaner, I am unimpressed). Also, I need to have another look at the clock. Since it has not restarted itself. I’m still rather unclear on why it’s not working, but might take the time today to make up a better clamp for the clock mechanism and give it another clean out…see if that helps. Although I’m really a bit at a loss. I can’t see anything grungy in there that might be stopping it.

    In other news yesterday (when I was at work) was the Dead Bug Jumping podcast release day, so go listen! (iTunes link here). Aaaand iTunes has now, finally, decided to list them in the right order (yay!).

  • Have you guessed I’m on nights yet?

    So, today I wandered down and adjusted the brakes on my bike which, yesterday, had moved from their usual barely-adequate* to their alternate state of ‘unfortunately we are unable to meet requests for speed retardation at this time. Please contact your booking agent to find out when braking might become available again’. They’re nearly worn out, so I best order another set – I still get through them painfully quickly, albeit with no-where near the frequency that they were destroyed when I first got the bike. I’m tempted to get another set of wheels and fork out for having them rebuilt with the original axles, but I like the black spokes and the originality of the wheels. Yes, yes, I could do it myself. No, I’m unlikely to at this point.

    Much joy, however, in that my bike has upped it’s gear quotient from the previous single speed to somewhere around 1.7 gears. Most of the time I can now get second, should I want it. Not all the time. She has a sense of humour about such things and will offer me second gear reliably through my ride to work on slight inclines, and will then, just as reliably decline me anything but top gear for the steepish hill at the end. However, it does seem to be improving with use. I have this faint hope that one day I’ll have all three gears. Now that would be nice.

    I also had a look at** Kathryn’s bike’s gear shifter – with the intention of fitting the new cable. The new cable is now half-fitted, but the spring on the shifter broke in the process (it was quite rusty***) so I’ve ordered a ‘compatible’ shifter for it. At this point I am beyond concluding that I should have just started with a better bike and well into ‘I will damn well make this thing work’.

    I also (fwiw) restarted the minor, today. The GT550 having sold means it’s time to clear up the garage and get the minor running again. Also I have to pay my car insurance soon (although I’ve not yet steeled myself to look in the envelope with the quote on it). She wasn’t keen, and sounded a little rough, but she did start – the battery’s back to trickle charging now… :)

    I also had another look at the clock. This would perhaps have been more productive if it hadn’t started immediately the moment I took it upstairs. Grr. I’m not sure if I’ve got some tiny bit of crap in there when I attacked the case (not unimaginable). Or whether it’s some problem that it had before I fitted it (it being a £1 clock mechanism). I shall have to investigate further, because I popped it back on the mantlepiece (assuming I’d dislodged whatever ailed it) and it ran for 30 minutes and then stopped again. Feh. It is, however, as stated, silent (or at least very, very quiet). This would be more impressive if it worked.

    * In the dry they’re fair, in the wet they’re poor, in the snow they’re laughably pointless.
    ** broke.
    *** I know, shocking. Who’d’a’thunk it.

  • A riscy business

    So, I want(ed) a Squeezebox, and logitech decided to discontinue them. So the other thought that had been rattling around my brain for a while was the ‘I could use a Raspberry Pi and a VFD display‘. The trick is to find a VFD that’s easily drivable from a Pi, and a mediacentre installation that’s happy to drive a VFD. I think the poor old Pi is going to have to be controlled via the network (although, actually, I think it could probably replace the Viewsonic box – meaning we’d just need the one box doing eeeeverything).

    My hesitation is that I’ve not done anything like this for a long time. I actually find myself somewhat nervous about it.

    Which is odd, when you stand back an look at my history. I built (granted with help) a digital to analogue display to drive a speedometer and rev counter (and a bunch of dash lights) from a game. I then patched a game by hacking to read the contents BBC’s memory whilst it was running, finding where it was storing the speed and rpm. Then wrote an assembly language patch which overwrote the joystick controller section of the game (there was no spare memory to allocate to my hack, sadly) with a lookup table which contained output values that correlated to appropriate values to drive the AtoD at to make the speedo and rev counter (the speedo of which had been hacked to contain the guts of a rev counter) display something approximating the graphics onscreen. Then I added a driver to output those numbers to the user port on a BBC micro (thus driving the nice little D to A). All without overwriting bits of a game that was notoriously difficult to fit into the Beeb’s 32K. I designed and wirewrapped that board. I did that. No one else had done that specific thing before.

    Now granted, whilst the Raspberry Pi sports the monkier ‘Model B’, harking back to the awesome BBC Micro, my ex-knowledge of 6502 assembly language is unlikely to be helpful here. But really, attaching a VFD to a Raspberry Pi is something that has been done before, and doesn’t particularly require specialist knowledge. I mean, it requires a bit of basic editing of files and understanding how to use ‘make‘ and so on. But even rusty as I am, a quick look at a Man page and I should be away with that without too much trauma.

    And having written this, I feel fairly committed to making the idea come about*. And so, I shall maketh my shoppinglist(eth).

    – Raspberry Pi
    – VFD display (HD44780 compatible, probably 20×2)
    – Powersupply (if John doesn’t mind handing me another from his selection of supplies)
    – Pi case (heh)
    I’ll also need to knock up some kind of VFD case, although I have an idea about how I’d like to go about doing that.

    Anyhow, today is devoted to adjusting the brakes on my bike (because I’m on nights, and being able to stop on my way home (or indeed, on my way to work) is convenient.

    * Although my clock project has so far failed, because the clock keeps stalling for no obvious reason, and for some reason the WAP54G caused all hell on our network and failed to extend the network to the garage, which was its entire point, but I wanted to replace that with the OpenWRT firmware anyhow, so need to retry sorting that out.

  • The oddness of the bathrooom

    So, for the past 2 years we’ve not really had a full bathroom. Yes, technically, it has met the criteria for being a bathroom. It has a bath, a toilet, and a sink. Indeed, I think that bar maybe the odd day, it’s been fully functioning.

    However, it’s not had a floor for most of the time that we’ve lived here, and nor, since the plastering was done, has it had wall coverings. Indeed, it’s generally been a bit unpleasant to be in.

    Since completing the bathroom, it’s had this odd ‘does that belong here’ sensation that it brings up in my head. When I get to the top of the stairs (and it doesn’t help that the upstairs hall is entirely filled with tools) the bathroom feels finished, and very nice, and the top of the stairs is…although it’s actually more or less finished (minus the skirting) it’s just got that ‘unfinished’ feel. It feels strange. It does, in my head at least, feel like the bathroom is an entirely separate entity from the house. Of course, it will settle down and mentally merge. I’m getting more used to it. I’m getting used to the toilet paper being on a holder on the wall. I’m happily used to getting into the shower (oh, showers, how I’ve missed thee).

    But it still feels quite odd to have a finished bathroom.

    In other news, the GT550 is sold and awaiting a trip to its new owner.