[Ben Kuper] is a developer with a history of working on art installations, and had hit upon a common problem often cited by artists. When creating installations involving light, sound, and motion, they often spend too much time on the nuts and bolts of electronics, programming, and so on. Such matters are a huge time sink with a steep learning curve and oftentimes just a plain distraction from the actual artistic intent they’re trying to focus upon. [Ben] has been working for a few years on a software tool, Chataigne which is designed as the glue between various software tools and hardware interfaces, enabling complex control of the application using simple building blocks. Continue reading “Chataigne: An Open-Source Swiss Army Knife”
Author: Dave Rowntree378 Articles
AIOC: The Ham Radio All-In-One Cable For Audio And APRS
The Ham Radio All-in-one cable (AIOC) is a small PCB attachment for a popular series of radio transceivers which adds a USB-attached audio interface and virtual TTY port for programming and the push-to-talk function. The STM32F373 microcontroller (which, sadly is still hard to find in the usual channels) is a perfect fit for this application, with all the needed hardware resources.
With USB-C connectivity, the AIOC enumerates as a sound card as well as a virtual serial device, so interfacing to practically any host computer should be plug-and-play. Connection to the radio uses 12mm separation 3.5mm and 2.5mm TRS connectors, so is compatible with at least the Baofeng UV-5R but likely many other cheap transceivers that have the same physical setup.
Instructions are provided to use the AIOC with Dire Wolf for easy access to APRS applications, which makes a nice out-of-the-box demo to get you going. APRS is not all about tracking things though since other applications can sit atop the APRS/AX.25 network, for example, HROT: the ham radio of things.
We’ve seen quite a few Baofeng (and related products) hacks, like this sketchy pile of wires allowing one to experiment with the guts of the radio for APRS. Of course, such cheap radio transceivers cut so many engineering corners that there are movements to ban their sale, so maybe a new batch of better radios from our friends in the East is on the horizon?
Thanks to [Hspil] for the tip!
Alpakka: A Creative Commons Game Controller
Input Labs’ mission is to produce open-source Creative Commons hardware and software for creating gaming controllers that can be adapted to anyone. Alpakka is their current take on a generic controller, looking similar to a modern Xbox or PlayStation controller but with quite a few differences. The 3D printed casing has a low-poly count, angular feel to it, but if you don’t like that you can tweak that in blender to just how you want it. Alpakka emulates a standard USB-attached keyboard, mouse, and Xinput gamepad in parallel so should just work out of the box for both Linux and Windows PC platforms. The firmware includes some built-in game profiles, which can be selected on the controller.
The dual D-pads, augmented with an analog stick, is not an unusual arrangement, but what is a bit special is the inventive dual-gyro sensor arrangement –which when used in conjunction with a touch-sensitive pad — emulates a mouse input. Rest your thumb on the right-hand directional pad and the mouse moves, or else it stays fixed, kind of like lifting a mouse off the pad to re-center it.
The wired-only controller is based around a Raspberry Pi Pico, which has plenty of resources for this type of application giving a fast 250 Hz update rate. But to handle no fewer than nineteen button inputs, as well as a scroll wheel, directional switch, and that analog stick, the Pico doesn’t have enough I/O, needing a pair of NXP PCAL6416A I2C IO expanders to deal with it.
The PCB design is done with KiCAD, using a simple 3D printed stand to hold the PCB flat and the through-hole components in place while soldering. Other than a few QFN packages which might be a problem for some people, there is nothing tricky about hand-soldering this design.
We’ve been seeing custom game controllers as long as we’ve been hacking, here’s an interesting take on the mouse-integration theme. If you’re comfortable rolling the hardware side of things, but the firmware is a sticking point, then perhaps look no further than this neat RP2040 firmware project.
Continue reading “Alpakka: A Creative Commons Game Controller”
This Is The Future Of Waste Management
Many of us have been asking for some time now “where are our robot servants?” We were promised this dream life of leisure and luxury, but we’re still waiting. Modern life is a very wasteful one, with items delivered to our doors with the click of a mouse, but the disposal of the packaging is still a manual affair. Wouldn’t it be great to be able to summon a robot to take the rubbish to the recycling, ideally have it fetch a beer at the same time? [James Bruton] shares this dream, and with his extensive robotics skillset, came up with the perfect solution; behold the Binbot 9000. (Video, embedded below the break)
Is That A Typewriter In Your Pocket Or Are You Just Pleased To See Me?
[Attoparsec] wondered what if you could carry a typewriter in your pocket, then followed through with that and built one. (Video, embedded below.) Kind of. The plan was to use an existing set of striker bars, but not wanting to destroy a perfectly good typewriter, they realised that you can easily source just the bar set on eBay.
The first problem was that the striker bars are shaped to allow the typewriter mechanism to operate, but that would not make for a compact arrangement. After a spot of straightening in a big vice, and drilling in a custom jig, they were in a suitable state to be arranged inside the case. The casing is milled from a chunk of aluminium, complete with a nice recess to hold an ink-impregnated felt pad. To prevent this pad from drying out when stowed, and to keep the whole thing clear of pocket lint, a U-shaped metal cover was bent from some sheet. This slides into a set of slots that are milled near the edges, in a very satisfying manner. This last bit was causing them a little trouble, so a custom slotting tool was created especially for the job. And a good job was indeed done. The final results look as you might expect from a manual ‘typewriter’ quirky, a bit wonky, but fabulous all the same.
If you have an old typewriter that needs some attention, here’s a quick guide for giving it a once-over. Some of you of a certain age may remember electronic typewriters with some fondness. They died a rapid death, but if you’ve still got one lurking, you could convert it into a Linux terminal for some clackity nostalgic fun.
Continue reading “Is That A Typewriter In Your Pocket Or Are You Just Pleased To See Me?”
TEGA: Typescript Embedded Game Boy (Macro) Assembler
[Francis Stokes] has a real love for the original Game Boy, suggesting that owning this machine pushed him along a certain path that many of us would recognize. Developing Game Boy games isn’t particularly difficult from a hardware point of view, as you can easily buy special cartridges that have an SD card slot, allowing custom code. [Francis] had the idea of easy software development by producing a typescript hardware abstraction library, TEGA (or TypeScript Embedded Game Boy Macro Assembler). This provides a safe environment in which to play with the code, which can then be run inside an emulator such as BGB, before being deployed onto actual hardware.
The video embedded below — which we warn you now is a long one — goes into extensive justification and technical explanation of how [Francis] leverages typescript to create lots of nice features to produce safe code, whilst handling many of the Game Boy’s architectural restrictions, as well as the weirdness of the Sharp SM83 processor that powers it. We particularly liked the built-in support for on-the-fly asset compression, since every byte matters in the meager 32 Kb system, it’s nice not to have to think about it all the time! After discussing TEGA, the Game Boy hardware, the ins and outs of a demo game Block Jump, and then how to debug with BGB, we’re pretty confident many of you will be in a strong position to bust out a Game Boy application in the future!
As an aside, we did also stumble upon a new hardware guide provided by Finnish programmer and Game Boy superfan [Joonas Javanainen] which will help frame some of the topics [Francis] was talking about.
You may recall a little while back, the same author targeted the RISC-V using code written in typescript. After all, when you’re comfortable with a tool, you can shape it to do practically anything.
Continue reading “TEGA: Typescript Embedded Game Boy (Macro) Assembler”
The Game Boy Color Accessory You’ve Been Waiting For
Sometimes silly projects catch our eye, and we just can’t resist covering them. Over on Hackaday.io, [solderking] realized that there was a glaring omission in the multi-game management hardware for the Game Boy Color. Obviously, it’s too mundane to carry the handheld around with a bunch of games in one’s pocket, and a hardware multi-changer would definitely improve the usability. This convenient, pocket-friendly solution allows you to dock up four cartridges at a time, and with only a little mild inconvenience, spin the whole assembly, lock in a game and load it up. What could be easier?
Constructed from a ridiculous three-tier PCB stack, with a rotating center joint, the assembly is completely passive, with the connections from the selected game cartridge passed down a series of connectors before finally entering the Game Boy via the usual edge connector. The mere fact that this works at all just shows how tolerant (and we guess, slow) older gaming platforms used to be, and just what you can get away with! Still, it’s a fun build, and it does work, which just goes to show that just because you can, then you should.
We’re no strangers to Game Boy hacks. Here’s a useful cartridge to help with developing your first program. If the old platform is just a bit too limited for you, then we’ve got you covered with a hack that wedges an iCE40 FPGA and a Pi Zero inside the case, to give a bit more oomph.
Continue reading “The Game Boy Color Accessory You’ve Been Waiting For”