PicoStepSeq Is Small But Perfectly Formed

The Raspberry Pi Pico is what you might call the board of the moment, thanks to its combination of affordability, features, and continued availability during the component shortage. We have seen plenty of great projects using it, and the latest to float past is [todbot]’s PicoStepSeq, an extremely compact MIDI sequencer.

All the components are mounted on a PCB, with the sequencer’s eight steps selected by a row of buttons with integrated LEDs. The interface is via an SSD1306 OLED, and there is also a rotary encoder. Software comes courtesy of CircuitPython, and the output is delivered via a 3.5 mm TRS jack. Finally the whole is wrapped in a 3D printed enclosure.

The result is a sequencer that could almost be a product in its own right, and we think anyone whose interests lie in electronic music should find straightforward enough to build. All the files and information required to build your own can be found in the linked repository, and he’s placed a Tweet with a video online which we’ve embedded below the break.

Continue reading “PicoStepSeq Is Small But Perfectly Formed”

Badges Of 2022: BornHack

While the rest of the world’s hacker camps shut their doors through the pandemic there was one which managed through a combination of careful planning and strict observation of social distancing to keep going. The Danish hacker community gather every August for BornHack, a small and laid-back event in a forest on the isle of Fyn that has us coming back for more every year. They always have an interesting badge thanks to the designs of [Thomas Flummer], and this year looks to be no exception as they’ve dropped some details of the upcoming badge.

In short, it’s a beautifully designed hand-held games console with a colour screen, powered by the ubiquitous-in-the-chip-shortage RP2040 microcontroller. On board are the usual interfaces and a prototyping area plus CircuitPython for easy coding, and we expect it to sprout some addictive and playable gaming action. It’s the sort of PCB that we could imagine coming as a product from the likes of Pimoroni, but for now the only way to get your hands on one is to go to the event. We’ll being you a review when we have one. Meanwhile you can take a look at a previous year’s badge.

A GPS Frequency Standard For When The Timing Has To Be Right

A metrology geek will go to extreme lengths to ensure that their measurements are the best, their instruments the most accurate, and their calibration spot-on. There was a time when for time-and-frequency geeks this would have been a difficult job, but with the advent of GPS satellites overhead carrying super-accurate atomic clocks it’s surprisingly easy to be right on-frequency. [Land-boards] have a GPS 10 MHz clock that’s based around a set of modules.

Since many GPS modules have a 10 MHz output one might expect that this one to simply hook a socket to the module and have done, but instead it uses another of their projects, a fast edge pulse generator with the GPS output as its oscillator, as a buffer and signal conditioner. Add to that an QT Py microcontroller board to set up the GPS, and there you have a standalone 10 MHz source to rival any standard. Full details can be found on the project’s wiki, and the firmware can be found on GitHub.

Careful with your exploration of standard frequencies, for that can lead down a rabbit hole.

Odd Inputs And Peculiar Peripherals: A MacroPad With A Handy Layout Screen

The idea of a macro keypad is a great one, a set of keys programmable with frequent but complex tasks. But once programmed, how can the user keep track of which key does what? To save the world from grubby, hand-written sticky labels, here’s [Andreas Känner] with the Badger 2040 keypad — a macro pad with a display to show keymap info that’s fully programmable using CircuitPython.

At its heart is a Pimoroni Badger 2040 e-ink screen and RP2040 board which sits in a 3D-printed enclosure which in turn magnetically attaches to a 3D-printed keyboard enclosure. Inside is an I/O expander board, which is hand-wired to the switches. The firmware allows for easy configuration and even extension of the keypad itself, and presents itself to the host computer through USB. It’s even possible to have multiple different layouts on the same device.

Full details can be found in a comprehensive write-up on his website, and all the files are in a GitHub repository. If this doesn’t satisfy your need for customisable input goodness, then it’s not the first macro keypad we’ve shown you.

The new PewPew with an LCD showing some patterns, being held in someone's hand.

Hackaday Prize 2022: PewPew LCD Plays With Python

[deshipu] aka [Radomir Dopieralski] has been building educational handhelds for a good part of a decade now, and knows how to design hardware that makes for effective teaching. Today, we are graced with the PewPew LCD project, latest in the PewPew student-friendly handheld series, powered by CircuitPython.

The PewPew LCD from the other side, showing the simple PCB-built-in CR2032 battery holderThe goal for all of these devices has been consistent — making game programming accessible and fun. This time, as an entry in the Reuse, Recycle, Revamp round of Hackaday Prize, the new PewPew receives an upgrade – from an 8×8 LED matrix to an LCD display. This might not sound like much, but the change of display technology itself isn’t the main point. [deshipu] is working on ways to bring down the price and assembly complexity of PewPew handhelds, and he’s found there’s plenty of old stock RH-112 displays, previously used on cellphones like Nokia 1202, which these days go for as little as $1.30 a piece.

It’s exceptionally simple to get into writing games for the PewPew – one of the reasons why it’s a strong platform for workshops and individual learning. There’s already a slew of games and tutorials, and we can’t wait to see all the cool games people can build when given all the extra pixels! And, of course, we appreciate setting an example for giving new life to old displays – displays that’d otherwise inevitably end up in a trash container behind a warehouse in China.

The Reuse, Recycle, Revamp Hackaday Prize 2022 round is going on for two more weeks. If you’re making good use of something that would otherwise be discarded, please do share it with us, so that we can all learn and draw inspiration from your projects!

Quick-Swap Socket For Stemma QT Experiments

[kmatch98] shares a quick hack with us over at Hackaday.io – a 3D-printed socket for Adafruit Stemma QT-based I2C modules. Since Adafruit has standardized the dimensions for their Stemma QT boards, it’s possible to make a socket that would fit many different sensors at once, where the board just slides in.

This reminds us of sci-fi datadisks, or, thinking of something more grounded in reality, game console cartridges – except that here, the fun you’re having is from exploring all the different devices you can get to speak I2C. To make such a socket, you only need to 3D-print two plastic parts, put a JST-SH plug between them, and screw them together – if you want to modify these to your liking, .f3d sources are available. Now you no longer have to use fingernails or tin snips to take the JST-SH plug out of your modules!

[kmatch98] is no stranger to sharing his projects on Hackaday.io with us, and we’ve covered some of his larger projects before, like this CircuitPython-powered cyber-duck cyberdeck, or the 3D-printable Maypole braider machine!

A small circuit board glowing purple inset with computer code

Power Cycling Museum Computers On The Cheap

Flicking a circuit breaker to power cycle hundreds of desktop computers inside interactive museum exhibits is hardly ideal. Computers tend to get cranky when improperly shutdown, and there’s an non-zero risk of data loss. However, financial concerns ruled out commercial computer management solutions, and manually shutting down each exhibit at the end of the day is not practical. Tasked with finding a solution, [Jeff Glass] mixed off-the-shelf UPS (uninterruptible power supply) hardware, a Featherwing and some Python to give the museum’s computer-run exhibits a fighting chance.

Without drastically changing the one-touch end-of-day procedure, the only way to properly shutdown the hundreds of computers embedded in the museum exhibits involved using several UPS units, keeping the PCs briefly powered on after the mains power was cut. This in itself solves nothing – while the UPS can trigger a safe shutdown via USB, this signal could only be received by a single PC. These are off-the-shelf consumer grade units, and were never intended to safely shut down more than one computer at a time. However, each 300 watt UPS unit is very capable of powering multiple computers, the only limitation is the shutdown signal and the single USB connection.

To get around this, the Windows task scheduling service was setup to be triggered by the UPS shutdown signal, which itself then triggered a custom Python script. This script then relays the shutdown signal from the UPS to every other computer in the museum, before shutting itself down for the evening.

While many computers can be enabled to boot on power loss, the UPS and safe shutdown scripts meant that this wasn’t an option. To get around this, an ESP32 Featherwing and a little bit if CircuitPython code sends out WOL (wake-on-LAN) signals over Ethernet automatically on power up. This unit is powered by a non-UPS backed power outlet, meaning that it only sends the WOL signal in the morning when mains power is restored via the circuit breaker.

There are undoubtedly a variety of alternative solutions that appear ‘better’ on paper, but these may gloss over the potential costs and disruption to a multi-acre museum. Working within the constraints of reality means that the less obvious fix often ends up being the right one. How would you have tackled this problem? Sound off in the comments below. And while you’re here, make sure to check out our coverage of other UPS solutions, like this supercap UPS.