Topics /

Hardware & Electronics

The most popular blog posts about hardware & electronics on Hacker News. 242 posts.

2020
213

Myths about USB NKRO and how USB HID works

A common myth about USB keyboards is that they can only support 6-key rollover, and not report more than 6 keys being pressed at a time. In fact, this is wholly untrue; the USB HID device class can support full N-key rollover (NKRO). While keyboards which purport to support USB NKRO are now common, some of them have…

214

Measuring keyboard-to-photon latency with a light sensor

For a long time when I’ve wanted to test the latency of computers and UIs I’ve used the Is It Snappy app with my iPhone’s high speed camera to count frames between when I press a key and when the screen changes. However the problem with that is it takes a while to find the exact frames you want, which is annoying when…

219

What is Electricity? (1996)

What is electricity? This question is impossible to answer because the word " Electricity " has several contradictory meanings. These different meanings are incompatible, and the contradictions confuse everyone. If you don't understand electricity, you're not alone. Even teachers, engineers, and scientists have a hard…

223

Detecting a 2.4 GHz transmission for under 1 EUR

As I was debugging a wireless mouse based on a 2.4 GHz proprietary protocol, I wanted to detect the transmitted signals. Note that I purposefully wrote “detect”: It was sufficient to see how often the transmission occurred (and if at all) and whether the link was unidirectional – i.e., only the mouse transmits and the…

225

Making Playstation 1 Modchips (2018)

When I was young I owned a PlayStation 1 (PS1). It was one of the first, if not the first, game consoles I owned and it had a profound effect on my future. I can trace the history of how I got involved in computers back to playing and modding

229

The Raspberry Pi 4 has a fan now – the Case Fan

Last year, I wrote a blog post titled The Raspberry Pi 4 needs a fan. And in a video to go along with that post, I detailed the process of drilling out a hole in the top of the official Pi 4 case and installing a 5v fan inside. But that solution wasn't great. The fan was a little loud and annoying, and would stay on…

232

Reverse engineering a Hit Clip (2013)

It’s hard to see a child outside today without some kind of iDevice pumping high fidelity 192kbps stereo lossless audio into their shiny white headphones, but BACK IN MY DAY, the iPod hadn’t been invented yet. Pickings were slim. Walkmen were outdated, CD players were pricey and would skip if bumped around despite…

235

ARM MacBook vs. Intel MacBook

Up to yesterday, my laptop was a large 15-inch MacBook Pro. It contains an Intel Kaby Lake processor (3.8 GHz). I just got a brand-new 13-inch 2020 MacBook Pro with Apple's M1 ARM chip (3.2 GHz). How do they compare? I like precise data points. Recently, I have been busy benchmarking number parsing routines where you…

240

Building DIY LED strips for fun

I work remotely and have for many years, but let's be honest: it's the case for a lot of people now. Lately I've been trying to step up how my home office looks, especially with regards to its video conferencing capabilities. I started using a DSLR as