Something To Look Forward To: MCH2021 Call For Participation

As we stare dejectedly at our screens and consider what might have been during the 2020 summer that didn’t quite happen, here’s a little something to look forward to in a future where the COVID-19 pandemic will with any luck be much less of a threat. We have have had precious little in the way of events in 2020, but the call for participation has been announced for one of the largest planned for 2021. MCH2021 will be big European summer camp of next year, and is scheduled for the 6th to the 10th of August at Scoutinglandgoed Zeewolde in the Netherlands province of Flevoland. It will be the latest in a long line of such events going back to 1989, and with such a track record we know it’s going to be a good one.

We know that among our community are many people who’ll be interested in going to MCH, and that each and every one of you will have some fascinating insights that others would love to hear about. The challenge of the MCH orga is to bestow upon you the courage to stand up in front of your peers and talk about it, and from our experience here at Hackaday we’d say that an event such as this one makes for a very good place to give speaking a try. As always they’re interested in all the cool stuff that comes from our diverse community, but to help you along they’ve suggested a theme. Recent events have it’s fair to say presented a challenge to the world, and in that light they state that “we are especially looking for content that is about our ability to recover from extreme events of whatever nature”. We look forward to seeing you there.

Hands-On: BornHack 2020 Badge Has 9×32 Of Bling Fed By CircuitPython

Despite widespread pandemic cancellations, BornHack still happened this year and they even managed to once again bring an electronic badge to all attendees. If you missed it, I’ve already published an overview of the hacker camp itself. Today let’s dig into the 2020 BornHack badge!

Designed by Thomas Flummer and manufactured in Denmark, it takes the form of a PCB in the shape of a roughly 60 degree circular arc with most of its top side taken up by a 9 by 32 array of SMD LEDs. There is the usual 4-way button array and space for an SAO connector on the rest of the front face, while on the rear are a set of GPIO pads and a pair of AA battery holders for power. Connectivity is via USB-C and infra-red, and usefully there is also a power on/off switch.

At the heart of its hardware is a SAMD21G18A ARM Cortex M0+ microcontroller which is perhaps not the most exciting of chips, but the hardware becomes more interesting with the LED drivers. A pair of the IS31FL3731 chips (you may recognise from Brian Benchoff’s Mr. Robot badge) each drive half of the Charliplexed LED array. These versatile chips take the bother of scanning the LED matrix away from the microcontroller with their own internal frame registers fed from an I2C interface. This choice both makes the best use of the relatively meagre microcontroller in this application, and opens the way for the software choice. This badge runs Adafruit’s CircuitPython, and can thus be programmed over the USB connection in the same way as any other CircuitPython board. To test this I put aside my GNU/Linux laptop, and picked up something considerably less versatile to test its ease of use: a Chromebook.


# configure I2C
i2c = busio.I2C(board.SCL, board.SDA)

# turn on LED drivers
sdb = DigitalInOut(board.SDB)
sdb.direction = Direction.OUTPUT
sdb.value = True

# set up the two LED drivers
display = adafruit_is31fl3731.Matrix(i2c, address=0x74)
display2 = adafruit_is31fl3731.Matrix(i2c, address=0x77)

text_to_show = "BornHack 2020 - make clean"

CircuitPython devices mount as a disk drive in which can be found a Python file that can be edited with the code of your choice. The BornHack badge ships with code to display a BornHack banner text, which serves as a quick introduction to the capabilities of its display. It’s noticeable that the text scrolling performance leaves something to be desired, but this microcontroller is hardly one of the more powerful supported by the CircuitPython platform. The Chromebook was happily able to edit the code, though viewing the Python serial console necessitated diving into its Linux virtual machine.

The BornHack badge then, an attractive design that fulfils the aim of being capable and easy to program through its use of the popular CircuitPython platform, and through its decent sized LED matrix and available GPIOs with the chance of seeing a use beyond the camp as a general purpose display/experimentation platform. It may not be the most powerful of badges, but it does its job well. In particular it has achieved the feat missed by so many others, of arriving at the camp fully assembled and with working hardware and software. You can see more about it in Thomas’ badge presentation at the camp (cut from a stream, talk begins at 5:27) which we’ve placed below the break.

We look forward to seeing its influence upon other similar badges. Meanwhile if you are interested, you can compare it with the 2019 BornHack badge which we reviewed last year.

Continue reading “Hands-On: BornHack 2020 Badge Has 9×32 Of Bling Fed By CircuitPython”

Running A Successful Hacker Camp In A Pandemic: BornHack 2020

You could say 2020 is The Year That Didn’t Happen, or perhaps even The Year That Everything Happened Online. All the international cons and camps have been cancelled, and we’ve spent our time instead seeing our friends in Jitsi, or Zoom.

But there was one camp that wasn’t cancelled. The yearly Danish hacker camp BornHack has gone ahead this year with significantly reduced numbers and amid social distancing, turning it from what is normally one of the smaller and more intimate events into the only real-world event of 2020.

I bought my ticket early in the year and long before COVID-19 became a global pandemic, so on a sunny day in August I found myself in my car with my friend Dani from FizzPop hackerspace in Birmingham taking the ferry for the long drive through the Netherlands and Germany to Denmark.

Continue reading “Running A Successful Hacker Camp In A Pandemic: BornHack 2020”

The Mostly Forgotten Story Of Atmospheric Railway

It doesn’t matter whether you know it as a railway, a railroad, a chemin de fer, or a 铁路, it’s a fair certainty that the trains near where you live are most likely to be powered either by diesel or electric locomotives. Over the years from the first horse-drawn tramways to the present day there haven’t been many other ways to power a train, and since steam locomotives are largely the preserve of museums in the 21st century, those two remain as the only two games in town.

But step back to the dawn of the railway age, and it was an entirely different matter. Think of those early-19th-century railway engineer-barons as the Elon Musks and Jeff Bezos’ of their day, and instead of space and hyperloop startups their playground was rail transport. Just as some wild and crazy ideas are spoken about in the world of tech startups today, so it was with the early railways. One of the best-known of these even made it to some real railways, I’m speaking of course about the atmospheric railway.

These trains were propelled not by a locomotive, but by air pressure pushing against a piston in a partially evacuated tube between the tracks.

Continue reading “The Mostly Forgotten Story Of Atmospheric Railway”

Four Steppers Make A Four-Voice MIDI Instrument

Any owner of a budget 3D printer will tell you that they can be pretty noisy devices, due to their combinations of stepper motors and drives chosen for cost rather than quiet. But what if the noise were an asset, could the annoying stepper sound be used as a musical instrument? It’s a question [David Scholten] has answered with the Stepper Synth, a device that takes an Arduino Uno and four stepper motors to create a four-voice MIDI synthesiser.

Hardware-wise it’s as simple as you’d expect, a box with four stepper motors each with a red 3D-printed flag on its shaft to show rotation. Underneath there is the Arduino, plus a robot control shield and a set of stepper driver boards. On the software side it uses MIDI-over-serial, so as a Windows user his instructions for the host are for that operating system only. The Arduino makes use of the Arduino MIDI library, and he shares tips on disabling the unused motors to stop overheating.

You can hear it in action in the video below the break, and we’re surprised to say it doesn’t sound too bad. There’s something almost reminiscent of a church organ in there somewhere, it would be interesting to refine it with an acoustic enclosure of some kind.

This isn’t the first such instrument we’ve brought you, for a particularly impressive example take a look at the Floppotron.

Continue reading “Four Steppers Make A Four-Voice MIDI Instrument”

Automatic Cat Weighing Machine Knows Which Pet It Is Feeding

Have you ever tried to weigh a cat? For that matter, have you ever tried to get a cat to do anything they don’t want to do? The wilful independence of our feline companions is a large part of what endears them to us, and must have done ever since the ancient Egyptians first had a hybrid wildcat that became domesticated

No wonder it’s so hard to care for multiple cats with different dietary needs. But the mere act of weighing the cats just might be the key to automating their diets while giving them the choice of when they want to eat. It’s a task that [Psy0rz] has cracked with the Meowton, a weighing machine/feeder combo designed to regulate the diets of his various moggies.

Cat scale uses a load sensor under each corner of the platform

The multi-faceted system involving a scale to weight the cat, a food hopper with dispenser, and a scale for the food bowl. The cat has to stand on the scale to eat, and the dispenser doles out some food when it detects this. It identifies each cat by weight, and controls the quantity dispensed accordingly to spread that cat’s allotted diet over the course of the day.

Behind it all is an ESP32, which delivers the stats to a web interface and makes them available for import to a database. He’s identified a flaw in the system, that two cats of the same weight could cause misidentification. To that end he has an RFID reader under way, but it’s still a work in progress. There is even a live stream of the unit in action.

We’re suckers for cats here, and while the various Hackaday Cats provide plenty of companionship and entertainment we’re always up for more. Over the years we’ve featured plenty of cat feeders, but only one cat elevator.

Our Trucks Won’t Need No Batteries! Electric Trucks Look To Overhead Wires For Power

As the world grapples with the spectre of the so-called “hockey stick” graph of climate change, there have been a variety of solutions proposed to the problem of carbon emissions from sectors such as transport which have become inseparable from the maintenance of 21st century life. Sometimes these are blue-sky ideas that may just be a little bit barmy, while other times they make you stop and think: “That could just work!”.

Such an idea is that of replacing the diesel engines in trucks with electric motors powered not by batteries but from overhead cables. An electric tractor unit would carry a relatively small battery for last-mile transit, but derive its highway power by extending a pantograph from its roof to a high-voltage cable above the road. It’s extremely seductive to the extent that there have even been trials of the system in more than one country, but does it stack up to a bit of analysis?

Time’s Up For Those Big Rigs

Siemens and Scania are justifiably proud of their electrified stretch of autobahn and electric trucks in Germany.
Siemens and Scania are justifiably proud of their electrified stretch of autobahn and electric trucks in Germany.

One thing that should be obvious to all is that moving our long-distance freight around by means of an individual fossil-fuel-powered  diesel engine for every 38 tonne or so freight container may be convenient, but it is hardly either fuel-efficient or environmentally friendly The most efficient diesel engines on the road are said to have a 43% efficiency, and when hauling an single load they take none of the economies of scale afforded to the diesel engines that haul for example a freight train. Similarly they spread any pollution they emit across  the entirety of their route, and yet again fail to benefit from the economies of scale present in for example a power station exhaust scrubber. However much I have a weakness for the sight of a big rig at full stretch, even I have to admit that its day has passed.

The battery technology being pursued for passenger cars is a tempting alternative, as we’ve seen with Tesla Semi. But for all its technology that vehicle still walks the knife-edge between the gain in cost-effectiveness versus the cost of hauling around enough batteries to transport that quantity of freight. Against that the overhead wire truck seems to offer the best of both worlds, the lightness and easy refueling of a diesel versus the lack of emissions from an electric. In the idealised world of a brochure it runs on renewable wind, sun, and water power, so all our problems are solved, right? But does it really stack up?

Continue reading “Our Trucks Won’t Need No Batteries! Electric Trucks Look To Overhead Wires For Power”