Back to vinyl

Got my dusty old record deck down from the loft. Along with a bunch of dusty old records. One of the few nice things about being old is that when stuff comes around again you can just go and get your originals.

I’ve got around four other decks up there. I suppose all the rubber parts have failed - I had to get a new belt for this deck - but I’m tempted to get them down and just see if they still work.

When VHS comes back, I’m ready for that too.

3D printing lots of colours

Following my success making a version of the MIDI CheeseBox on a surface mount PCB I now have to make a case with coloured buttons. I’m going to need red, blue, green and yellow. Some of which I don’t have. The good news is that there are folks who will sell you a pack of short lengths (10 metres) of a range of colours at a reasonable price. I think these are intended for use in 3D printing pens, but they should work OK in Edna the Ender 3.

Using the Lomo Instax Square Camera Viewfinder

I love my Lomography Instax Square camera. But it does have its foibles. One of them is that the viewfinder is really hard to use. I totally understand why. The way that the picture has to come up through the top of the camera makes it impossible to put the viewfinder in the traditional place. But it does mean that when you’re taking close-ups it’s hard to work out what will be in the picture. However, it turns out that Lomo have done something to try and make it easier. But they don’t really tell you about it anywhere.

Above you can see the view through the viewfinder. You can see that there is a brighter part at the bottom right of the window. I think this is the region you should use when photographing things using the close up focus. Below is the result that I got taking a close-up picture with the viewfinder showing the view that you can see in the viewfinder above and I think the truncation just about lines up.

CheeseBox with added OLED

I thought it might be fun to add an OLED screen to the CheeseBox when we made the printed circuit board. I’ve just soldered one into place and written a little driver for it. I rather like the look. Now I have to design a box and some buttons.

The wire is there to bypass a component that it turns out we don’t need. I’d added a level converter to take the 3.3 volt led signal up to 5 volts, because sometimes the Neopixels that we are using prefer this level. However, they seem to work just fine without it.

If you’re wondering what the back of the board looks like, and just how badly it is possible to solder a PICO to some pads on a PCB, then you can see the answer above…..

Immortality Game

Immortality from Half Mermaid games is a game like nothing I’ve ever seen before. You’re curating clips of movies about a missing film star from the past. The clips include out-takes, interviews and chunks of three different movies. You can pick the clips from a menu, or you can click on items in them to transition to a linked artefact in a different clip. The content is pretty grown up and the atmosphere of movie production is very well created, as are the kinds of dodgy movies that got made before everyone could get all the dodgy stuff they wanted via the internet.

So far, so murder mystery. Then things take a serious left turn that I don’t want to tell you about because you really should play the game for yourself. It must have taken a huge amount of effort to get the look and the performances that make the whole thing work. It’s both a tour-de-force and a really engrossing experience. The game is out on Xbox game pass. You really should take a look at it, but it is not one for the kids.

Working Surface Mount PCB

Thanks to some sterling rework by number one son I now have a fully working PICO MIDI CheeseBox on a PCB. It isn’t as tidy as it could be, but it works. I wasn’t expecting this for my first attempt. Kudos to Brian for a fine design.

We tested the board by soldering wires onto connections and using an external PICO device to drive it. If I was re-designing the board (and I will) I’d add some test points so that we can inject signals to test the board without having to solder the PICO on the back.

On Tour Board Game

We’ve just had another in-person board game night. The novelty of being in the same room as everyone is starting to wear off a bit, but it is still much more fun than online. We played a game called “On Tour” which is all about planning routes over the USA or Europe. You take it in turns to throw dice to get numbers you have to place on a map to form a route of continuously ascending values.

I was spectacularly bad at it. I think this was because I made some bad decisions early on which destroyed any prospect of making progress. The game itself is beautifully produced and the artwork is very well done. Don’t expect to finish the game in 20 minutes like the rules say though. It took us a couple of hours to get complete all the routes. Perhaps we’ll be a bit faster next time. And maybe I won’t put adjacent values at opposite sides of a continent.

Baking with Surface Mount

This was the kit. The tweezers were very useful.

Today we got around to actually using my little oven. I’d bought a syringe with solder paste, some tweezers, a bunch of switches and a bunch of leds to solder in place. First step was to solder put solder paste on all the connection pads. This involved squirting the paste out of the syringe onto the board, and then using the tweezers to place a component on each pad. Pro-tip, hold the syringe like you were going to stab someone with it, and then use your thumb to force out the solder. There’s a delay between you pressing the plunger and the solder coming out, so give a quick pulse of a squeeze and then wait for something to arrive at the end of the needle. If you squeeze continuously you get a stream of solder, and you don’t want that.

I was a bit stingy with my solder paste, which meant that I never got the magical “surface tension” moment where the components swing into place. Instead mine drifted around a bit.

I also got a temperature gun to check the temperature of the oven plate, but this didn’t work well because the cover is shiny. In the end we just set the temperature to 170 degrees and popped the board on for 20 seconds. Stuff melted, but there was a pleasing lack of smoke and funny smells.

This is what it looked like when it was finished…

The image above might not be correct. Actually it looked pretty tidy and all the components were stuck on the board. Next step is to solder the PICO on the reverse of the board and then test everything.

Circus Fun

I didn’t think we still had such things as circuses. But we do. We went to see one today. Circus Zyair are doing a very good job of keeping the circus traditions alive. There was a mix of acrobatics, clowning and at the end some death defying motorbiking which came as a bit of a surprise to us, especially as we happened to be sat a few feet from the ramp from which the bikes few into the tent. Well worth a trip. Especially impressive if you are five and a half years old apparently.

Lucy May Walker and Nerina Pallot at Cottingham Folk Festival

Had a great night out at Cottingham Folk Festival. We saw Lucy May Walker and Nerina Pallot perform in the parish church. They were both awesome. Lucy (or is it Lucy May) was up first. Just her and a guitar in front of an audience who hadn’t paid to see her and were probably wondering who she was. Such is the life of a support act. Anyhoo, she gave a fantastically assured performance. Her audience banter was right on-point and she ripped through her set with aplomb. Catchy songs sung from the heart.

Then it was time for the main attraction. I first heard Nerina Pallot via number one daughter who had some of her music back in the day. Her voice was in amazing form. Some new stuff and some of the older stuff, which sounded as clear and tuneful as the songs I’d listened to as I refreshed my memory in advance of the night.

It’s amazing that we get such good people allong to our little village like this. Thanks to everyone for making it happen. It really was a great night out. It was so good I forgot to take any pictures….

Tricky Mine Finder

We’ve played a bit of “Mine Finder” now, and it turns out to be a bit too easy. Once you know the colours you can narrow down the mine position quite easily. So, today I present “tricky mine finder”. When the game starts you don’t know which colour represents which distance. In the screenshot above the squares one space from the mine are light blue. It took me 14 tries to get it. If you want to have a go yourself you can find the game here.

Welcome to Mine Finder

This is my first version of the “Mine Finder” application that I’m using as an example of programmatically made HTML elements. You click on a cell and it tells you how far the cell is from the mine. The idea is to either find the mine or take it in turns to try and avoid it. The game is quite fun to play.

Each of the cells in the grid is an HTML button which is created by a nested for loop in the program. I’m quite pleased with the code that makes the grid:

let container = document.getElementById("buttonPar");

  for (let y = 0; y < height; y++) {
    for (let x = 0; x < width; x++) {
      let newButton = document.createElement("button");
      newButton.className = "upButton";
      newButton.setAttribute("x", x);
      newButton.setAttribute("y", y);
      newButton.textContent = "X";
      newButton.setAttribute("onClick", "doButtonClicked(this);");
      container.appendChild(newButton);
    }
    let lineBreak = document.createElement("br");
    container.appendChild(lineBreak);
  }

All the buttons are assigned to the same event handler and each button is given attributes that give the position of the button in the grid. I like this because we can make the grid any size that we want and the program still works. It’s probably not the best way to make a game like this, you should really use a canvas I guess, but it was quite fun to write.

Had an idea

I remember ages ago listening to a radio interview with two members of Abba. They were asked how they did their song writing. They said it was a bit like being someone hunting a bear. You just had to hang around outside the cave and wait for the bear to come out. A melody might appear at any time, you just had to be ready for it. For them I think this meant sitting in the studio fiddling with this and that, waiting for the tune to turn up.

I think that writing is a bit like that too. I’ve just had quite a nice idea for an example program for the book I’m writing at the moment (gosh - that sounds pretentious - but it’s true). I’ve no clue where it came from, just I’ve spent the whole day putting down bits and bobs and this idea just popped up, mostly fully formed.

The weird, backwards nature of blog reading, where you’re reading episodes successively further into the past, means that you’ll probably see the idea before you discover where it came from, but I’m OK with that. Just remember not to stress if you can’t come up with an idea for something. Just fiddle with things around the issue for a while and, with a bit of luck, something will pop into your head...