Author Archives: Bryan Cockfield

Building Transistors with Transistors

via hardware – Hackaday

Since the 1940s when the first transistor was created, transistors have evolved from ornery blocks of germanium wrangled into basic amplifiers into thousands and thousands of different devices made of all kinds of material that make any number of electrical applications possible, cheap, and reliable. MOSFETs can come in at least four types: P- or N-channel, and enhancement or depletion mode. They also bear different power ratings. And some varieties are more loved than others; for instance, depletion-mode, N-channel power MOSFETs are comparatively scarce. [DeepSOIC] was trying to find one before he decided to make his own by hacking a more readily available enhancement-mode transistor.

For those not intimately familiar with semiconductor physics, the difference between these two modes is essentially the difference between a relay that is normally closed and one that’s normally open. Enhancement-mode transistors are “normally off” and are easy to obtain and (for most of us) useful for almost all applications. On the other hand, if you need a “normally on” transistor, you will need to source a depletion mode transistor. [DeepSOIC] was able to create a depletion mode transistor by “torturing” the transistor to effectively retrain the semiconductor junctions in the device.

If you’re interested in semiconductors and how transistors work on an atomic level, [DeepSOIC]’s project will keep you on the edge of your seat. On the other hand, if you’re new to the field and looking to get a more basic understanding, look no further than these DIY diodes.

Filed under: hardware

Taking a U2F Hardware Key from Design to Production

via hardware – Hackaday

Building a circuit from prototyping to printed circuit board assembly is within the reach of pretty much anyone with the will to get the job done. If that turns out to be something that everyone else wants, though, the job gets suddenly much more complex. This is what happened to [Conor], who started with an idea to create two-factor authentication tokens and ended up manufacturing an selling them on Amazon. He documented his trials and tribulations along the way, it’s both an interesting and perhaps cautionary tale.

[Conor]’s tokens themselves are interesting in their simplicity: they use an Atmel ATECC508A specifically designed for P-256 signatures and keys, a the cheapest USB-enabled microcontroller he could find: a Silicon Labs EFM8UB1. His original idea was to solder all of the tokens over the course of one night, which is of course overly optimistic. Instead, he had the tokens fabricated and assembled before being shipped to him for programming.

Normally the programming step would be straightforward, but using identical pieces of software for every token would compromise their security. He wrote a script based on the Atmel chip and creates a unique attestation certificate for each one. He was able to cut a significant amount of time off of the programming step by using the computed values with a programming jig he built to flash three units concurrently. This follows the same testing and programming path that [Bob Baddeley] advocated for in his Tools of the Trade series.

From there [Conor] just needed to get set up with Amazon. This was a process worthy of its own novel, with Amazon requiring an interesting amount of paperwork from [Conor] before he was able to proceed. Then there was an issue of an import tariff, but all-in-all everything seems to have gone pretty smoothly.

Creating a product from scratch like this can be an involved process. In this case it sounds like [Conor] extracted value from having gone through the entire process himself. But he also talks about a best-case-scenario margin of about 43%. That’s a tough bottom line but a good lesson anyone looking at building low-cost electronics.

Filed under: hardware