A Close Eye On Power Exposes Private Keys

Hardware wallets are devices used exclusively to store the highly sensitive cryptographic information that authenticates cryptocurrency transactions. They are useful if one is worried about the compromise of a general purpose computer leading to the loss of such secrets (and thus loss of the funds the secrets identify). The idea is to move the critical data away from a more vulnerable network-connected machine and onto a device without a network connection that is unable to run other software. When designing a security focused hardware devices like hardware wallets it’s important to consider what threats need to be protected against. More sophisticated threats warrant more sophisticated defenses and at the extreme end these precautions can become highly involved. In 2015 when [Jochen] took a look around his TREZOR hardware wallet he discovered that maybe all the precautions hadn’t been considered.

Continue reading “A Close Eye On Power Exposes Private Keys”

Marvel At Soviet-era Smart Display’s Tiny Size

The Soviet-era 490IP1 LED. The digit is a mere 2.5 mm in height. Pictured with the Texas Instruments TIL306. [image: industrialalchemy.org]
It’s easy to assume that older components will be less integrated and bulkier than we might otherwise expect. Then something seems ahead of its time, like the teeny-tiny 490IP1 LED which was produced in the former Soviet Union. [AnubisTTP] obtained and shared images of this tiny integrated single digit LED display in which the number measures a scant 2.5 mm tall; in production it was made easier to read with an external bubble lens magnifier clipped to the outside. The red brick the 490IP1 is pictured with is the Texas Instruments TIL306, a relatively normal sized DIP component with similar functionality.

The 490IP1 is called an intelligent LED display because the package contains a decade counter and driver circuitry for the integrated seven-segment LED digit, complete with a carry signal that meant multiple displays could be chained together. It is notable not just due to its size, but because the glass cover makes it easy to see the die inside, as well as the wire-bonded pads.

It’s always fascinating to see glimpses of the development path that display technologies took. It’s easy to take a lot of it for granted today, but back before technology was where it is now, all sorts of things were tried. Examples we’ve seen in the past include the fantastic (and enormous) Eidophor projector which worked by drawing images onto a rotating disk of oil with an electron gun. On the smaller end of things, the Sphericular display used optics and image masks to wring a compact 0-9 numerical display out of only a few lamps at the back of a box.

Magnetic Spheres Line Up For Rotary Encoder Duty

When it comes to rotary encoders, there are plenty of options. Most of them involve putting a credit card number into an online vendor’s website, though, and that’s sometimes just not in the cards. In that case building your own, like this encoder using magnetic spheres, is a pretty cool way to go too.

If he’d had less time to spare, we imagine [Antonio Ospite] would have gone for a commercial solution rather than building an encoder from scratch. Then again, he says his application had noise considerations, so maybe this was the best solution overall. He had some latching Hall effect sensors lying around, but lacked the ring magnet that is usually used with such sensors in magnetic encoders. But luckily, he had a mess of magnetic spheres, each 5 mm in diameter. Lined up in a circle around a knob made from a CD spindle, the spheres oriented themselves with alternating poles, which is just what the Hall sensors want to see. The sensors were arranged so the pulses are 90° apart, and can resolve 4.29° steps. Check out the video below to watch it work.

Small, cheap and effective are always good things. But magnets aren’t the only thing behind homebrew rotary encoders. A couple of microswitches might do in a pinch, or maybe even scrapped hard drives would suffice.

Continue reading “Magnetic Spheres Line Up For Rotary Encoder Duty”

Sonoff Postmortem Finds Bugs, Literally

While nobody is exactly sure on the exact etymology of the term, Thomas Edison mentioned some of his inventions being riddled with “bugs” in a letter he wrote all the way back to 1878. In the context of computers, any loyal Hackaday reader should know Grace Hopper’s infamous account of a moth being caught in an early electromechanical computer’s relays. To this pantheon of troublesome insects, we would humbly summit the story of a Sonoff TH16 switch being destroyed by a lowly ant.

According to [CNX Software], the Sonoff TH16 had been working perfectly for a year and a half before the first signs of trouble. One day the switch wouldn’t respond to commands, and a power cycle didn’t seem to clear the issue. Upon opening up the device to see what had gone amiss, it was clearly apparent something had burned up. But upon closer inspection, it wasn’t a fault with the design or even a shoddy component. It was the product of an overly curious ant who got a lot more than he bargained for.

Consulting the wiring diagram of the Sonoff, it appears this poor ant had the terrible misfortune of touching the pins of a through hole capacitor on the opposite side of the board. Bridging this connection not only gave him a lethal jolt, but apparently caused enough current to surge through a nearby resistor that it went up in smoke.

Now, some might wonder (reasonably so) about the conditions in which this switch was operating. If bugs could climb into it, it’s not unreasonable to assume it wasn’t well protected from the elements. Perhaps damp conditions were to blame for the failure, and the image of the ant “riding the lighting” is nothing more than a coincidence. Maybe. But sometimes you just gotta believe.

Incidentally, if you’d like to learn more about the woman who helped secure “bugs” in the IT lexicon, here’s a good place to start.

Ed Note: If you think you’re having deja vu all over again, we did point to this story in the Sunday Links roundup, but the graphics are just so good we couldn’t resist running it in full.

Silicon Nanowires Create Flexible Photodetectors

Modern display and solar cell technologies are built with a material called Indium Tin Oxide (ITO). ITO has excellent optical transparency and electrical conductivity, and the material properties needed for integration in large-scale manufacturing. However, we’re not content with just merely “good enough” nowadays, and need better materials to build ever better devices. Graphene and carbon nanotubes have been considered as suitable replacements, but new research has identified a different possibility: nanowires.

Researchers from the Indian Association for the Cultivation of Science (IACS) and the Centre for Research on Adaptive Nanostructures and Nanodevices (CRANN) in Ireland have demonstrated a seamless silicon nanowire junction that can be used for photodetector and display technology.

Before you get lost in the jargon, let’s take a step back. A nanowire is just a very narrow length of wire, on the order of 1 nanometer across. When silicon is used at this scale, electrical charges can become stuck (called “charge trapping”), which means that the holes and electrons are separated, allowing for transistors and photovoltaics. By controlling where these holes form in the nanowire, you can create a “seamless” junction without using any dopant materials to create impurities, as is done in modern CMOS transistors

These material properties allow the functionality of a junction, but it still needs to be easily and repeatably manufactured. To solve this problem, the team put the nanowire transistors on a flexible polymer, which should enable flexible nanowire applications, such as a roll-up screen.

The first step towards a display is a simple photodetector, just consisting of a basic P-N junction, but they hope this technology will eventually be useful in “smart windows” due to the junctions’ applicability to photodetectors and cameras. Moving to emitting light for displays or creating a solar cell using this technology will probably take some time.

Do you have any experience with different materials for creating junctions? What would you do with a small, transparent photodetector? We’ve featured homebrew solar cells before, as well as creating DIY semiconductors. We’ve also seen silver nanowires for wearable circuits.

[Via IEEE Spectrum]

An Electromagnet Brings Harmony To This Waving Cat

We’ve noticed waving cats in restaurants and stores for years, but even the happy bobbing of their arm didn’t really catch our attention. Maybe [Josh] had seen a couple more than we have when it occurred to him to take one apart to see how they work. They are designed to run indoors from unreliable light sources and seem to bob along forever. How do the ubiquitous maneki-neko get endless mechanical motion from one tiny solar cell?

Perhaps unsurprisingly given the prevalence and cost of these devices, the answer is quite simple. The key interaction is between a permanent magnet mounted to the end of the waving arm/pendulum and a many-turn wire coil attached to the body. As the magnet swings over the coil, its movement induces a voltage. A small blob of analog circuitry reacts by running current through the coil. The end effect is that it “senses” the magnet passing by and gives it a little push to keep things moving. As long as there is light the circuit can keep pushing and the pendulum swings forever. If it happens to stop a jolt from the coil starts the pendulum swinging and the rest of the circuit takes over again. [Josh] points to a similar circuit with a very nice write up in an issue of Nuts and Volts for more detail.

We’ve covered [Josh]’s toy teardowns before and always find this category of device particularly interesting. Toys and gadgets like the maneki-neko are often governed by razor-thin profit margins and as such must satisfy an extremely challenging intersection of product constraints, combining simple design and fabrication with just enough reliability to not be a complete disappointment.

For more, watch [Josh] describe his method in person after the break, or try flashing his code to an Arduino and make a waving cat of your own.

Continue reading “An Electromagnet Brings Harmony To This Waving Cat”

Tiny FPGA Board Fits In Your Laptop

There are a bunch of FPGA development boards to choose from, but how many will fit inside your laptop? The PicoEVB is a tiny board that connects to a M.2 slot and provides an evaluation platform for the Xilinx Artix-7 FPGA family.The PicoEVB Block Diagram

This minimalist board sports a few LEDs, a PCIe interface, an integrated debugger, on-board EEPROM, and some external connectors for hooking up other bits and pieces. The M.2 connector provides the board with power, USB for debugging, and PCIe for user applications.

A major selling point of this board is the PCIe interface. Most FPGA boards with PCIe will cost over a grand, and will only fit in a large desktop computer. The lower priced options use older FPGAs. The PicoEVB is tiny and retails for $219. Not a bad deal when the FPGA on-board costs nearly $100.

The PicoEVB is also open source. Design files and sample projects can be found on Github.

[Thanks to Adam Hunt for the tip!]