Topics /

Hardware & Electronics

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

2022
250

When Your Smart ID Card Reader Comes With Malware

Millions of U.S. government employees and contractors have been issued a secure smart ID card that enables physical access to buildings and controlled spaces, and provides access to government computer networks and systems at the cardholder’s appropriate security level. But many government employees aren’t issued an…

252

Debugging bare-metal STM32 from the seventh level of hell

Here’s a not-so-brief story about troubleshooting a problem that was at times vexing, impossible, incredibly challenging, frustrating, and all around just a terrible time with the bare-metal STM32G4 firmware for the moteus brushless motor controller. Background First, some things for context: moteus has a variety of…

258

DIY out-of-band management: remote power button

I was pleasantly surprised by how easy it was to make it possible to push a PC’s power button remotely via MQTT by wiring up an ESP32 microcontroller, a MOSFET, a resistor, and a few jumper wires. While a commercial solution like IPMI offers many more features like remote serial, or remote image mounting, this DIY…

260

Galois field instructions on 2021 CPUs

CPUs like to operate on data types such as uint8_t , uint16_t , uint32_t , and uint64_t . These data types can be viewed as integers modulo 2 8 , 2 16 , 2 32 , and 2 64 respectively. Addition and multiplication can be defined on these integers modulo 2 N in a way which is familiar to most people; for example, in…

261

Verilog Is Weird

Verilog is the most commonly used language for hardware design in America (VHDL is more common in Europe). Too bad it's so baroque. If you ever browse the Verilog questions on Stack Overflow , you'll find a large number of questions, usually downvoted, asking “why doesn't my code work?”, with code that's not just a…

262

Semiconductors are more than just processors and GPUs

If you ask a software developer the question 'What are some example uses of semiconductors?', they'll probably mention 'silicon chips', like the ones found in processors or graphics cards. Indeed, this is probably the answer that I would have given just a couple years ago, but I have since become enlightened as to the…

267

It's dire: Raspberry Pi availability tracker

Yesterday André Costa emailed me about his new website, rpilocator. It's a website to track Raspberry Pi 4 model B, Compute Module 4, Pi Zero 2 W, and Pico availability across multiple retailers in different countries. In his own words: This database was created out of frustration trying to locate a Raspberry Pi…

269

Rolling-PWN vulnerability affects all Honda vehicles

Modern vehicles are often equipped with a remote keyless entry system. These RKE systems allow unlocking or starting the vehicle remotely. The goal of our research was to evaluate the resistance of a modern-day RKE system. Our research disclosed a Rolling-PWN attack vulnerability affecting all Honda vehicles currently…