Tiny Ethernet Cable Arms Race Spawns From Reddit Discussion

If you’ve had any dealings with Cat 5 and Cat 6 cable, and let’s be honest, who hasn’t, you’ve probably wrestled with lengths anywhere from 1 meter to 25 meters if you’re hooking up a long haul. Network admins will be familiar with the 0.1 m variety for neat hookups in server cabinets. However, a Reddit community has recently taken things further.

It all started on r/ubiquiti, where user [aayo-gorkhali] posted a custom-built cable just over 2 inches long. The intention was to allow a Ubiquiti U6-IW access point to be placed on a wall. The tiny cable was used to hook up to the keystone jack that formerly lived in that position, as an alternative to re-terminating the wall jack into a regular RJ45 connector.

Naturally this led to an arms race, with [darkw1sh] posting a shorter example with two RJ-45 connectors mounted back to back with the bare minimum of cable crimped into the housings. [Josh_Your_IT_Guy] went out the belt sander to one-up that effort, measuring just over an inch in length.

[rickyh7] took things further, posting a “cable” just a half-inch long (~13 mm). In reality, it consists of just the pinned section of two RJ-45 connectors mounted back to back, wired together in the normal way. While electrically it should work, and it passes a cable tester check, it would be virtually impossible to actually plug it into two devices at once due to its tiny length.

We want to see this go to the logical end point, though. This would naturally involve hacking away the plastic casings off a pair of laptops and soldering their motherboards together at the traces leading to the Ethernet jack. Then your “cable” is merely the width of the solder joint itself.

Alternatively, you could spend your afternoon learning about other nifty hacks with Ethernet cables that have more real-world applications!

Linux Fu: Fusing Hackaday

Unix and, by extension, Linux, has a mantra to make everything possible look like a file. Files, of course, look like files. But also devices, network sockets, and even system information show up as things that appear to be files. There are plenty of advantages to doing that since you can use all the nice tools like grep and find to work with files. However, making your own programs expose a filesystem can be hard. Filesystem code traditionally works at the kernel module level, where mistakes can wipe out lots of things and debugging is difficult. However, there is FUSE — the file system in user space library — that allows you to write more or less ordinary code and expose anything you want as a file system. You’ve probably seen FUSE used to mount, say, remote drives via ssh or Dropbox. We’ve even looked at FUSE before, even for Windows.

What’s missing, naturally, is the Hackaday RSS feed, mountable as a normal file. And that’s what we’re building today.

Writing a FUSE filesystem isn’t that hard, but there are a lot of tedious jobs. You essentially have to provide callbacks that FUSE uses to do things when the operating system asks for them. Open a file, read a file, list a directory, etc. The problem is that for some simple projects, you don’t care about half of these things, but you still have to provide them.

Luckily, there are libraries that can make it a lot easier. I’m going to show you a simple C++ program that can mount your favorite RSS feed (assuming your favorite one is Hackaday, of course) as a file system. Granted, that’s not amazing, but it is kind of neat to be able to grep through the front page stories from the command line or view the last few articles using Dolphin. Continue reading “Linux Fu: Fusing Hackaday”

When Battery Rebuilds Go Wrong: Understanding BMSs, Spot Welders, And Safety

Batteries are amazing. Batteries are horrible. Batteries are a necessary evil in today’s world of portable everything. If you’re reading this sentence, even if it’s not on a mobile device, somewhere there is a battery involved. They’re that ubiquitous. There’s another thing batteries are: Expensive! And at $350 each for a specialized battery, [Linus] of Linus Tech Tips decided to take battery repair into his own hands.

Rather than do a quick how-to video about putting new cells in an old enclosure, [Linus] does a deep dive into the equipment, skills, and safety measures needed when dealing with Lithium Ion cells. And if you watch the video through, you’ll even get to see those safety measures put to good use!

The real meat of the video comes toward the end however, with its explanation of the different Battery Management Systems (BMS), and a discussion of the difficulty of doing battery repair correctly and safely. Lastly, the video covers something a bit more sinister: Batteries that are made to resist being repaired with new cells; DRM for batteries, so to speak.

Overall we found the video informative, and we hope you do too. You might also enjoy this peek into the chemistry behind your favorite battery types.

Continue reading “When Battery Rebuilds Go Wrong: Understanding BMSs, Spot Welders, And Safety”

Teardown: Alcatel Telic 1 Minitel Terminal

For British teenagers in the 1980s, the delights of 8-bit computers such as the Sinclair Spectrum, Commodore 64, or BBC Micro were firmly restricted to the offline arena. We would read about the BBS scene on the other side of the Atlantic, but without cheap local calls and with a modem costing a small fortune, the chances of us ever experiencing one was zero. When we took the British school rite of passage of a trip to France though, we were astounded to see that every French person was not merely online, but that they were doing so with a neat little all-in-one terminal. We’d just been introduced to the French Minitel system, and in that minute shared a glimpse of the future.

Un Réseau Trés Français

The Minitel terminal is a small CRT monitor with a fold-down alphanumeric keyboard.
My Alcatel Minitel terminal

In the 1970s and 1980s, so-called videotext systems, terminal-based phoneline access to information services on central computers, were seen as an obvious next step for telephone network operators with an interest in profitable new products. In most countries this resulted in services such as the UK’s Prestel, a subscription service relying on costly hardware, but France Télécom instead pursued the bold path of making the terminals free to subscribers with free access to phone listings and yellow pages, but a business model based on pay-to-use premium services.

Thus, through the 1980s all French households had a Minitel terminal beside the phone, and the service became a runaway success. Ever since seeing Minitel terminals as a tourist I’d been fascinated by the service, so here in the 2020s when a friend was visiting their family in France I asked whether he could pick up an old Minitel terminal for me. Thus I found myself parting with around $25 and being rewarded with a slightly battered Minitel cardboard box containing one of the familiar brown Alcatel terminals. I certainly wasn’t expecting one in its original packaging. Continue reading “Teardown: Alcatel Telic 1 Minitel Terminal”

Classic IPods Are Super Upgradeable In 2022

The classic iPod was the MP3 player to beat back in the day, loaded with storage and with its characteristic click-wheel interface. [Ellie] had an iPod Video laying around, one of the more capable models that came out near the end of the product’s run, and set out upgrading it for duty in the pandemic-wracked badlands of 2022. 

The iPod in question was a 5.5th generation model, prized for being the last to feature the Wolfson DAC with its good audio quality. [Ellie] used the ever-helpful iFixit guide to learn how to disassemble the device safely. Careful hands and a spudger are key to avoid marring the pressed-together metal case.

Once opened, an iFlash Quad board was installed inside that lets the iPod use up to four micro SD cards for storage instead of the original hard disk drive. With two 512 GB cards installed, [Ellie] won’t be short of storage. A new battery was then subbed in, along with a fancy clear front casing for the aesthetic charm of it all.

After the hardware modifications were complete, the iPod needed to be restored with iTunes to start working again. She then installed the open source Rockbox firmware, which opens up the capabilities of the hardware immensely. Perhaps best of all, it can play DOOM! Alternatively, you can use the clickwheel to control the volume on your MacBook if you so desire.

[Ellie’s] project goes to show that modifying an iPod these days can be a fun weekend build thanks to the great software and hardware now available. It’s wonderful to see that the platform still has such great support years after it has been discontinued. If you really want to look back though, take a gander at the early prototype of Apple’s breakout MP3 player.

AR Display Shows CNC Lathe Operations In Real Time

[Kent VanderVelden] has come up with an interesting AR system to assist operators who are monitoring CNC lathes. (video, embedded, below) The idea is to first produce a ‘frozen’ video stream of the workpiece. This was achieved by placing a high-speed camera above the lathe, and triggering an image capture, synchronized to the rotational position of the workpiece. A high-speed rotary encoder, attached to the tailstock via a belt drive, feeds the current position into an Altera Terasic DE-Nano FPGA eval board. This is then compared to the position from another encoder, doing duty as an angular set point control. The resulting signal is used as the camera trigger to generate a video stream of just the frames where the angle is as selected by the operator, thus giving the impression of a frozen position. The video stream is sent over to a client device based on a Raspberry Pi 4 with a UPS hat, allowing it to be portable.

High speed rotary encoder driven via a belt

This video stream is overlaid with details of the current machine position, as well as the LinuxCNC G-code being executed and a graphical representation of the operation being performed by the machine. This combined video is then fed to a Vufine VUF-110 wearable, which is minimally invasive, allowing the operator to clearly see the machine of interest. As [Kent] suggests, there are many possible usage scenarios for such a setup, including remote monitoring of multiple operating machines by a single operator.

We’ve seen a few neat machine hacks over the years, here’s a nice project adding a programmable power feed to an old lathe, and since wood lathes are often missing out some DRO love, here’s a nice way to tell them that you care.

Continue reading “AR Display Shows CNC Lathe Operations In Real Time”

You Can Send MIDI Over I2C If You Really Need To

The Musical Instrument Digital Interface has a great acronym that is both nice to say and cleanly descriptive. The standard for talking to musical instruments relies on a serial signal at 31250 bps, which makes it easy to transmit using any old microcontroller UART with a settable baud rate. However, [Kevin] has dived into explore the utility of sending MIDI signals over I2C instead.

With a bit of hacking at the Arduino MIDI library, [Kevin] was able to get the microcontroller outputting MIDI data over the I2C interface, and developed a useful generic I2C MIDI transport for the platform. His first tests involved using this technique in concert with Gravity dual UART modules. After he successfully got one running, [Kevin] realised that four could be hooked up to a single Arduino, giving it 8 serial UARTS, or, in another way of thinking, 8 MIDI outputs.

At its greatest level of development, [Kevin] shows off his I2C MIDI chops by getting a single Raspberry Pi Pico delivering MIDI signals to 8 Arduinos, all over I2C. All the Arduinos are daisy-chained with their 5V and I2C lines wired together, and the system basically swaps out traditional MIDI channels for I2C addresses instead.

There’s not a whole lot of obvious killer applications for this, but if you want to send MIDI data to a bunch of microcontrollers, you might find it easier daisy-chaining I2C rather than hopping around with a serial line in the classic MIDI-IN/MIDI-THRU fashion.

We’ve seen [Kevin]’s work before too, like the wonderful Lo-Fi Orchestra. Video after the break.

Continue reading “You Can Send MIDI Over I2C If You Really Need To”