Cash Register Hotkey Board Is On The Money

When presented with a pile of free electronics, sometimes you grab things for their ‘someday’ potential. Other times, you know exactly what you’re after. [Bryce] got a big old cash register for free from school because they’ve moved on to using Square or something. He scored two VFDs and a solenoid as a side effect, but he was really after that sturdy keypad and its paper-label keycaps, ripe for customization.

Two hours of reverse engineering later, he knew where the button presses were going well enough to reach for a knockoff Arduino Pro Micro and a couple of shift registers. [Bryce] wanted his hotkey-board to handle keyboard presses as well as media key input, so he went with the HID-Project library over the standard-issue Arduino version. Of course, the whole point of making your own hotkey-board is customization. For [Bryce], that means Word shortcuts and quick access to Greek letters for all those engineering reports he must write. Dig that Half-Life lambda!

What? You don’t have access to free electronics? You could make a hotkey-board out of arcade buttons. Those things can really take a beating.

The Not Quite USB-C Of Nintendo Switch Accessories

Historically gaming consoles are sold at little-to-no profit in order to entice customers with a low up-front price. The real profits roll in afterwards from sales of games and accessories. Seeking a slice of the latter, aftermarket accessory makers jump in with reverse-engineered compatible products at varying levels of “compatible”.

When the Nintendo Switch was released with a standard USB-C port for accessories, we had hoped those days of hit-or-miss reverse engineering were over, but reality fell short. Redditor [VECTORDRIVER] summarized a few parts of this story where Nintendo deviated from spec, and accessory makers still got things wrong.

Officially, Nintendo declared the Switch USB-C compliant. But as we’ve recently covered, USB-C is a big and complicated beast. Determined to find the root of their issues, confused consumers banded together on the internet to gather anecdotal evidence and speculate. One theory is that Nintendo’s official dock deviated from official USB-C dimensions in pursuit of a specific tactile feel; namely reducing tolerance on proper USB-C pin alignment and compensating with an internal mechanism. With Nintendo playing fast and loose with the specs, it makes developing properly functioning aftermarket accessories all the more difficult.

But that’s not the only way a company can slip up with their aftermarket dock. A teardown revealed Nyko didn’t use a dedicated chip to manage USB power delivery, choosing instead to implement it in software running on ATmega8. We can speculate on why (parts cost? time to market?) but more importantly we can read the actual voltage on its output pins which are too high. Every use becomes a risky game of “will this Switch tolerate above-spec voltage today?” We expect that as USB-C becomes more common, it would soon be cheapest and easiest to use a dedicated chip, eliminating the work of an independent implementation and risk of doing it wrong.

These are fairly typical early teething problems for a new complex technology on their road to ubiquity. Early USB keyboard and mice didn’t always work, and certain combination of early PCI-Express cards and motherboards caused damage. Hopefully USB-C problems — and memories of them — will fade in time as well.

[via Ars Technica]

[Main image source: iFixit Nintendo Switch Teardown]

Jazzberry Bakes The Pi Into A Mechanical Keyboard

If you hang around Hackaday long enough, pretty soon you’ll start to see some patterns emerging. As the nexus of all things awesome in the hacking world, our front page offers a unique vantage point by which you can see what’s getting folks excited this particular month, year, or decade. Right now we can tell you hackers love the Raspberry Pi, 3D printing, and perhaps above all, they can’t get enough mechanical keyboards.

So that makes the Jazzberry by [Mattis Folkestad] something of a perfect storm in the hacker world. The project uses a 3D printed enclosure to combine a Raspberry Pi 3B+ and an Ajazz AK33 mechanical keyboard into a single unit like the home computers of old. Honestly, we’re just glad he didn’t sneak an ESP8266 in there; as the resulting combination might have been enough to crash the site.

That being said, we can’t help but notice there’sĀ a lot of open space inside the 3D printed enclosure. Right now there’s nothing inside but the Raspberry Pi, which only takes up a fraction of the internal volume. Adding a battery and hard drive would be the logical next steps, but it could also be outfitted with a suite of radios and various other hacking and security research accoutrements. We’ve seen an influx of such builds over the last few months, and the Jazzberry seems like it could make a very slick entry into this burgeoning category of mobile pentesting devices.

The STL files are designed specifically for the combination of hardware that [Mattis] used, but it shouldn’t be too difficult to modify them for your own purposes. Even if you stick with the same AK33 keyboard, an upgrade to the impressively powerful Raspberry Pi 4 would be more than worth the time fiddling with the STLs in your CAD tool of choice. If you really want to go all in, add a display and you’re well on the way to that cyberdeck you’ve always wanted.

A Power Bank For Soldering On The Go

If you have a portable gadget, the chances are you’ve probably used power banks before. What few could have predicted when these portable battery packs first started cropping up is that they would one day be used to power soldering irons. Dissatisfied with the options currently available on the market, [Franci] writes in with his own power bank specifically designed for use with his TS80 portable soldering iron.

The electronics side of this build is simple and easy to replicate, with 4 18650 Li-ion cells standard to most high-capacity power banks and an off-the-shelf Fast Charge module serving as the brains of the operation. The beauty of this project however lies in the design of the actual case, completely custom-made from scratch to be 3d printed.

Unlike most power banks, where the outputs stick out to the side and leave the connectors prone to being bumped and damaged, [Franci] engineered his case so the ports are stacked on top and facing inwards. That way, USB plugs are contained within the footprint of the power bank’s body, and therefore protected from bending or snapping off in the socket. He also gracefully provides all instructions needed to make your own, including a wiring guide and a reminder about safety when dealing with battery packs.

If you’re unfamiliar with the TS80 soldering iron, we’ve featured the younger sibling of the TS100 in a previous post. And if you think this power bank is too simple for you, don’t worry, we’ve got you covered.

A 3D Printed Micro:Bit Nunchuk

As [Paul Bardini] explains on the Thingiverse page for his “Micro:Bit Hand Controller”, the Bluetooth radio baked into the BBC’s educational microcontroller makes it an ideal choice for remotely controlling things. You just need to give it a nice enclosure, a joystick, a couple of buttons, and away you go. You can even use the integrated accelerometer as another axis of control. This is starting to sound a bit familiar, especially to gamers.

While it might not come with the Official Nintendo Seal of Quality, the 3D printable enclosure [Paul] has come up with for the Micro:Bit certainly takes more than a little inspiration from the iconic Wii “Nunchuck” controller. He’s jostled around the positions of the joystick and momentary buttons a bit, but it still has that iconic one-handed ergonomic styling.

In a particularly nice touch, [Paul] has built his controller around a Micro:Bit breakout board from SparkFun that allows you to plug the microcontroller in via its edge connector. This means you can pull the board out and still use it in other projects. The only other connection to the controller leads to the battery, which uses a two pin JST-PH plug that can easily be removed.

Thanks to this breakout board, the internal wiring is exceptionally simple. The joystick (the type used in a PS2 controller) and the buttons are simply soldered directly to pins on the breakout board. No passives required, just a few short lengths of flexible wiring to snake through the printed enclosure.

The Thingiverse page only has the STLs for the two halves of the controller, and no source code for the Micro:Bit itself. But it shouldn’t be terribly hard to piece together the basic functionality with example code that’s floating around out there. Especially since you can run Python on them now. Of course, you could also add Bluetooth to the original Wii version if you’re not looking to reinvent the wheel nunchuck.

Booting The Game Boy Advance Into Bluetooth

While it might not be quite as revered as its predecessor, the Game Boy Advance is arguably the peak of “classic” handheld gaming, before things got all 3D and dual screen on us. One of its best features is the so-called multiboot mode, which allows the GBA to download a program from its link port. Officially this feature was introduced so you could play multiplayer with your friends even if they didn’t have the game cartridge, but naturally it didn’t take long for hackers to realize you can use it to run arbitrary code on an unmodified system.

[Shyri Villar] has put this capability to excellent use with a plug-in board that allows a stock GBA to be used as a general purpose Bluetooth HID controller. Now you can emulate GBA games on your computer while using the real thing as your input device. Or if that’s a bit too redundant for you, then any 2D game you think could benefit from the classic Game Boy control layout.

An ATmega328P on the board initiates the multiboot sequence when the system powers up, and feeds it the GBA program that’s stored on a W25Q32 chip. Once the code is running on the GBA, it communicates with a common HC-05 Bluetooth module through the same link port. To perform this handoff, [Shyri] uses a HCF4066 switch IC to literally change the pin assignments in the connector from the SPI used to upload the ROM to the UART lines of the Bluetooth module.

With everything powered from the 3.3 V provided by the GBA’s link port, and some software niceties like the ability to store Bluetooth pairing information for subsequent device connections, this is actually a very practical gadget. The fact that you can do this on a completely stock GBA is very compelling, especially considering some of the previous Bluetooth Game Boy modifications we’ve seen. Granted the market might be somewhat limited, but with a custom PCB and a 3D printed enclosure, we could see this potentially being a popular accessory for the classic handheld. It’s not like it can be any more niche than using the GBA as a remote display for your multimeter.

Wireless Mouse Power-Up: Logitech MX Master Gets USB-C And Big Battery

When the internal rechargeable battery in his wireless mouse died, [cmot17] decided it was the perfect excuse for making a couple of modifications. The Logitech MX Master isn’t exactly a budget mouse to begin with, but that doesn’t mean there’s no room for improvement. With the addition of a larger battery and USB-C charging port, a very nice mouse just got even better.

As it turns out, there’s plenty of empty space inside the Logitech MX Master, which made it easy to add a larger battery. The original 500 mAh pack was replaced with a new 950 mAh one, which is often sold under the model number 603443. Realistically, if you wanted to go even bigger it looks like any three wire 3.7 V Li-Po pack would probably work in this application, but nearly doubling the capacity is already a pretty serious bump.

Adding the USB-C connector ended up being quite a bit trickier. [cmot17] ordered a breakout board from Adafruit that was just a little too large to fit inside the mouse. In the end, not only did some of the case need to get cut away internally, but the breakout PCB itself got a considerable trimming. Once it was shoehorned in there, a healthy dose of hot glue was used to make sure nothing shifts around.

Since [cmot17] didn’t change the mouse’s original electronics, the newly upgraded Logitech MX Master won’t actually benefit from the faster charging offered by USB-C. If anything, it’s actually going to chargeĀ slower thanks to the beefier battery. But considering how infrequently it will need to be charged with the upgraded capacity (Logitech advertised 40 days with the original 500 mAh battery), we don’t think it will be a problem.

Over the years, we’ve seen plenty of stuff crammed into the lowly mouse. Everything from a full computer, to malicious firmware code has been grafted onto that most ubiquitous of computer peripherals. So in the grand scheme of things, this is perhaps one of the most practical mouse modifications to ever grace these pages.