Tech

@tech

Hardware, software, DIY, modding...

Tech @tech 18 Sept 2026, at 20:07 Tech @tech

Tech @tech 18 Sept 2026, at 02:17

I’ve been backing up youtube videos from a select few channels for reasons for quite a while now, though I never got around making them actually easy to watch. It feels very silly to have the files available locally and still stream them from an unreliable service. So I’m gonna give Tube Archivist a try.

Read More

I of course don’t want to redownload everything, but in my infinite wisdom, I decided to remove the youtube video IDs from the file names, which is like the one thing you need for importing existing files. But at least I have the original URL saved in the file metadata so, if you’re in the same situation, you could do something similar to this using ffmpeg:

#!/bin/bash
mkdir -p out
# mp4 files are located in channel subdirectories
for file in ./*/*.mp4; do 
    if [[ -f "$file" ]]; then
        #Extract file name
        dirname="${file%/*}/"
        basename="${file:${#dirname}}"
        # Extract file metadata with ffmpeg
        ffmpeg -i "$file" -f ffmetadata meta.txt
        # grep video id, trim the newline and select the last 11 characters (IDs are always this length)
        vidid=$(grep -oP 'watch\?v\\=([A-Za-z0-9_-]{11})' meta.txt | tr -d '\n' | tail -c 11)
        rm meta.txt
        # Rename into out directory, as ta expects everything flat
        mv "$file" "out/${basename%.*}[$vidid].mp4"
    fi
done

Do note that this works, but it’s not well written. The video id extraction thing is especially … off. I just don’t get along with regex things outside, well, I don’t get along with anything pattern matching anywhere tbh.


Tech @tech 18 Sept 2026, at 20:07

Oh I could of course just have done

vidid=$(grep 'comment=' meta.txt | tr -d '\n' | tail -c 11)

instead… Which would also avoid getting a false video ID from a link in the description. Ask me how I know.

Tech @tech 16 Sept 2026, at 23:59

Found a bunch of smaller harddisks in the trash a while back. A recent (enjoyably accessible) L1Techs video on hdd diagnostics and recovery reminded me I should probably see if I could find some place to get them back into service.

https://forum.level1techs.com/t/mechanical-drive-bad-sectors-the-drive-is-not-always-dead-a-primer/255113

An older harddisk haphazardly mounted on a modded 1L computer.

My usually disk ripping machine is taking the duty of hdd tester. I have motherboards with enough sata sockets to process everything at once, but I just want it running as a background activity that requires minimal thinking or memory on my end.

Tech @tech 11 Sept 2026, at 22:01 Tech @tech

Tech @tech 10 Sept 2026, at 22:04

Working on little patch panels for my work desks

A d-series 4 port patch panel balancing under a window sill.
Sketching out a case in freeCAD. The lines are as straight as me.
Panel case 3D model front.
Panel case 3D model back.

The idea is to minimize any cable clutter on the desks while making it easier to set up a device or tool. So if I need to use a scanner, I can pull it from its drawer where it’s packed with a power and usb cable, and just plug it in.


Tech @tech 11 Sept 2026, at 22:01
The assembled patch panel box.
The patch panel used to connect a scanner and drawing pad.

Yea something like that. Need a clamp to keep it in place though.

Tech @tech 5 Sept 2026, at 23:04

A cable tester showing a bad cable.

Some future confusion avoided…
Got a USB cable tester just out of curiosity. I found:

  • Three actually bad cables. Two mini and one micro USB. One had clear rust marks. One had limited insertion depth. One showed no signs at all.
  • A bunch of mini USB and some micro USB cables don’t have the shield connected. Perhaps optional in the spec?
  • Mac USB-C cables have strange behavior of apparently tying the CC pins to ground/shield at one end? Either that or perhaps they have some internal electronics going on.
Tech @tech 26 Aug 2026, at 23:00

Got absolutely sniped today

I was asked so how does this thing work?

The Tin Can Radio by Papanek and Seeger

From papanek.org via smjny.com

This is the ‘Tin Can Radio’ by Victor Papanek and George Seeger. There appears to exist exactly three images of this thing online. It’s a radio reciever from 1962 intended for ’third world’ countries. From texts referencing it, it’s generally explained that the radio is not selective (it can not be tuned), that it is somehow powered by burning candle wax or cow dung in the tin can, it features a transitor (?), a 9 cent bill of materials and is possible to assemble by hand.

Okay, but how does it work? I don’t know the first thing about RF circuitry but in short:
It’s a selector-less crystal radio utilizing a tunnel diode and a loop antenna, powered by a thermopile.

Read More

The few online resources describing it are not particularly clear on how it actually works. A 2021 paper by Marotta et al. references a 1971 book by Victor Papanek himself, which luckily is available on the internet archive. Page 162 begins a more comprehensive story:

Page 162 and 163 of Papanek 1971
Page 164 and 165 of Papanek 1971

(Click to maximize.)

From this, we get a bit more of an idea:

The transistor element in the radio is a tunnel diode. This makes sense, as diodes are an essential element to crystal radios. Why exactly a tunnel diode, I’m not entirely sure, I’m not familiar with tech like this. From the wikipedia page, I can imagine the tunnelling itself, its low capacitance and what appears to be a low forward voltage may all be part of it…

Heat from the tin-can is converted to electricity using a thermocouple. This explainns the peculiar wire wreath at the top of the can: For the thermocouple to work, it needs a hot and a cold end. Whether the thermocouples are wired in series or parallel, I’m not entirely sure. Pure guesswork, but if we assume the thermocouples to be a type J (iron/constantan) with a sensitivity of 50 μV/°C, and a generous temperature differential of 1000 °C, we might get an output voltage of 50mV. Returning to the tunnel diode wikipedia page, this curve trace the ’negative resistance’ area of such diodes appears to begin at around 50mV… How about that. So maybe we’re looking at a series parallel setup?

Continuing - the big coil of wire in the picture may give the impression of a tuning coil, but as the text explains, this design has no tuning. More likely, this seems to just be the antenna. The 1971 text describes it as a radial (?) antenna. Whether this is an old term or a wrong term, I’m pretty sure it’s just a loop antenna. Since there’s no tuning of the device, it makes sense the antenna itself has a length matched to the broadcast frequency (Though loop antennas appear to behave differently than mono/dipoles, so I’m not sure how much the cable length matters vs coil radius). As the text mentions, these radios were expected to be used in areas with only a single active radio transmission, so they could be pre-tuned, and interference would be a limited issue.

Following the wikipedia article for crystal radios, ones without a tuned circuit do indeed exist. Also, they need to be grounded, which the 1971 text explains is what the iron nail is for. Per the wikipedia article, this radio would be recieving an AM signal.

Also, in my search it appears a modernized version of the radio was built in 1985:

A modern-looking tin-can radio, which has clearly not been used by its pristine soot-less tin-can.

From BIO 26

In which we can see the earpiece, the diode, a modern thermocouple above the can and a loop antenna..? What is going on with the extra taps on that coil? As I said, I don’t know the first thing about RF.

Tech @tech 22 Aug 2026, at 19:27 Tech @tech

Tech @tech 17 Aug 2026, at 23:22

Ikea Frekvens LED matrix modding

I found a couple of ikea frekvens LED matrix cubes from that teenage engineering collab in a thrift store in Vienna. They were cheap and I’d heard about people modding them. Plugged in, they provide possibly the most dissapointing lightshow I’ve seen:

Whatever electronics they’ve got in there, it’s doing a very simple job: Show a static frame of a pre-baked five frame looping animation. Monitor a microphone and progress the animation each time a loud sound occurs. Check two buttons on the back to turn the LEDs on or off, and switch between a few different animation sets.
That’s it. Nothing dynamic, nothing exciting. Why not make it just a bit more exciting?

Read More

A few existing projects:

  • funkyhome.de replace the inner controller board with an ESP-8266 to build modular desktop clocks.
  • SpritesMods install an ESP-CAM module by drilling through the LED matrix board to do tracking-based animations, building an IRL xeyes.
  • @frumperino on github began building a library for the cubes some years ago using the adafruit gfx library.

I think my general goals for modding are something like:

  • Maintain feature parity with the original cubes. As in, I don’t want to loose or add new aspects to the cubes. So no camera or wifi, but keep the microphone and buttons in use.
  • Be non-hacky and robust. I want to produce a result that can survive a drop or change in environment the same as the original cubes. So no levering solder joints or flying jumper cables, no need for setup.
  • Be economic. As in, be plausibly mass-producible in theory. Even if I’ll probably never come across any more of these things. (My suspicion is that they didn’t sell that well… I wonder why)

So basically, I think I’m trying to prove what kind of product the cubes could be if the TE software engineers had done a proper job…


Tech @tech 18 Aug 2026, at 23:49

Scans and sketch of the original circuit:

Controller PCB Front
Controller PCB Back
LED Matrix PCB Front
LED Matrix PCB Back
Sketch of the original frekvens circuitry part 1.
Sketch of the original frekvens circuitry part 2.

Cleaner sketch to follow…


Tech @tech 19 Aug 2026, at 18:01
The MCU on the controller board, reading 89F112 000

The MCU on the controllerboard has the markings 89F112 000, which appears to be the CMS89F112 from Cmsemicon. It’s listed on jlc, for an estimated unit price of 0.3 USD. Hard to beat. The datasheet is in chineese, but looks to have

  • A 2K x 14 bit flash memory (I’m unfamiliar with the practicality of 14 bit memory?).
  • 144 bytes of RAM.
  • Inbuilt ADC, comparators, timers, PWM outputs, buzzer driver and a sleep mode.
  • A voltage range of 1.8-5.5V (at 4MHz, or from 2.5V at 8MHz).

A very capable little device. 144 bytes of RAM is not a lot, a bitfield for the LED matrix would take up 32 bytes, almost a quarter of memory. Still, that is absolutely enough for more complex or interesting effects on the matrix, like iterative or dynamic animations. My claim still stands: TE’s embedded developers dropped the ball on this one.


Tech @tech 22 Aug 2026, at 19:03
Full reverse engineered schematic of the Frekvens boards

Complete RE of the original Frekvens controller and LED matrix board.


Tech @tech 22 Aug 2026, at 19:27
Frekvens controller substitute schematic.
Circuit boards manufactured.
Assembled board.
The modded board displaying a pixel heart.

So anyways I started blasting redesigning.