Top side of the VL670 breakout board, with two USB connectors and the VL670 chip in the center.

A Chip To Bridge The USB 2 – USB 3 Divide

On Twitter, [whitequark] has  found and highlighted an intriguing design – a breakout board for the VL670, accompanied by an extensive yet very easy to digest write-up about its usefulness and inner workings. The VL670 is a chip that addresses a surprising problem – converting USB 2.0 signals into USB 3.0.

If you have a USB 2.0 device and a host with only USB 3.0 signals available, this chip is for you. It might be puzzling – why is this even needed? It’s about the little-known dark secret of USB3, that anyone can deduce if they ever have to deal with a 9-pin USB 3.0 connector where one of the three differential pairs doesn’t quite make contact.

When you see a blue “3.0” port, it’s actually USB 2 and USB 3 — two separate interfaces joined into a single connector. USB 3 uses two single-directional differential pairs, akin to PCI-E, whereas USB 2 uses a single bidirectional one, and the two interfaces on a blue connector operate basically independently of each other. There’s many implications to this that are counterintuitive if you simply take “USB 3.0” for “faster backwards-compatible USB”, and they have painful consequences.

For instance, USB 3 hub ICs have two separate hub entities inside – one for USB 3 and one for USB 2. Even if you have a USB 3 hub plugged into a USB 3 port, multiple USB 2 devices plugged into it still cannot break through the USB 2 uplink limit of 480 MBps. If you ever thought that a faster hub with a faster uplink would fix your USB 2 device speed problems – USB-IF engineers, apparently, thought differently; and you might have to find a workaround for your “many cheap SDRs and Pi 4 in a box” setup. Continue reading “A Chip To Bridge The USB 2 – USB 3 Divide”

The teeny tiny MCU mentioned in the article, merely a blimp on a giant devboard

New Part Day: Smallest ARM MCU Uproots Competition, Needs Research

We’ve been contacted by [Cedric], telling us about the smallest ARM MCU he’s ever seen – Huada HC32L110. For those of us into miniature products, this Cortex-M0+ package packs a punch (PDF datasheet), with low-power, high capabilities and rich peripherals packed into an 1.6mm x 1.4mm piece of solderable silicon.

This is matchstick head scale computing, with way more power than we previously could access at such a scale, waiting to be wrangled. Compared to an 8-bit ATTiny20 also available in WLCSP package, this is a notable increase in specs, with a way more powerful CPU, 16 times as much RAM and 8-16 times the flash! Not to mention that it’s $1 a piece in QTY1, which is about what an ATTiny20 goes for. Being a 0.35mm pitch 16-pin BGA, your typical board house might not be quite happy with you, but once you get a board fabbed and delivered from a fab worth their salt, a bit of stenciling and reflow will get you to a devboard in no time.

Drawbacks? No English datasheet or Arduino port, and the 67-page PDF we found doesn’t have some things like register mappings. LILYGO promised that they will start selling the devboards soon, but we’re sure it wouldn’t be hard for us to develop our own. From there, we’d hope for an ESP8266-like effect – missing information pieced together, translated and made accessible, bit by bit.

When it comes to soldering such small packages, we highly recommend reflow. However, if you decide to go the magnet wire route, we wouldn’t dare object – just make sure to send us pictures. After all, seems like miniature microcontrollers like ATTiny20 are attractive enough of a proposition that people will pick the craziest route possible just to play with one. They say, the madness of the brave is the wisdom of life.

We thank [Cedric] for sharing this with us!

Winding Your Own Small Coils

Depending on what you build, you may or may not run into a lot of inductors. If you need small value coils, it is easy to make good-looking coils, and [JohnAudioTech] shows you how. Of course, doing the winding itself isn’t that hard, but you do need to know how to estimate the number of turns you need and how to validate the coil by measurement.

[John] uses a variety of techniques to estimate and measure his coils ranging from math to using an oscilloscope. He even uses an old-fashioned nomogram from a Radio Shack databook circa 1972.

Continue reading “Winding Your Own Small Coils”

On the left, four through-hole USB-C connectors laid out on a purple cutting mat. On the right, a teardown picture shows that there's neither resistors nor CC connections inside such a connector, resulting in consequences described in the article.

The USB-C Connectors You Never Knew You Wanted To Avoid

On Tech Twitter, some people are known for Their Thing – for example, [A13 (@sad_electronics)], (when they’re not busy designing electronics), searches the net to find outstanding parts to marvel at. A good portion of the parts that they find are outstanding for all the wrong reasons. Today, that’s a through-hole two-pin USB Type-C socket. Observing the cheap tech we get from China (or the UK!), you might conclude that two 5.1K pulldown resistors are very hard to add to a product – this socket makes it literally impossible.

We’ve seen two-pin THT MicroUSB sockets before, sometimes used for hobbyist kits. This one, however, goes against the main requirement of Type-C connectors – sink (Type-C-powered) devices having pulldowns on CC pins, and source devices (PSUs and host ports) having pull up resistors to VBUS. As disassembly shows, this connector has neither of these nor the capability for you to add anything, as the CC pins are physically not present. If you use this port to make a USB-C-powered device, a Type-C-compliant PSU will not give it power. If you try to make a Type-C PSU with it, a compliant device shall (rightfully!) refuse to charge from it. The only thing this port is good for is when a device using it is bundled with a USB-A to USB-C cable – actively setting back whatever progress Type-C connectors managed to make.

As much as USB Type-C basics are straightforward, manufacturers get it wrong on the regular – back in 2016, a wrong cable could kill your $1.5k MacBook. Nowadays, we might only need to mod a device with a pair of 5.1K resistors every now and then. We can only hope that the new EU laws will force devices to get it right and stop ruining the convenience for everyone, so we can finally enjoy what was promised to us. Hackers have been making more and more devices with USB-C ports, and even retrofitting iPhones here and there. If you wanted to get into mischief territory and abuse the extended capabilities of new tech, you could even make a device that enumerates in different ways if you flip the cable, or make a “BGA on an FPC” dongle that is fully hidden inside a Type-C cable end!

When Battery Rebuilds Go Wrong: Understanding BMSs, Spot Welders, And Safety

Batteries are amazing. Batteries are horrible. Batteries are a necessary evil in today’s world of portable everything. If you’re reading this sentence, even if it’s not on a mobile device, somewhere there is a battery involved. They’re that ubiquitous. There’s another thing batteries are: Expensive! And at $350 each for a specialized battery, [Linus] of Linus Tech Tips decided to take battery repair into his own hands.

Rather than do a quick how-to video about putting new cells in an old enclosure, [Linus] does a deep dive into the equipment, skills, and safety measures needed when dealing with Lithium Ion cells. And if you watch the video through, you’ll even get to see those safety measures put to good use!

The real meat of the video comes toward the end however, with its explanation of the different Battery Management Systems (BMS), and a discussion of the difficulty of doing battery repair correctly and safely. Lastly, the video covers something a bit more sinister: Batteries that are made to resist being repaired with new cells; DRM for batteries, so to speak.

Overall we found the video informative, and we hope you do too. You might also enjoy this peek into the chemistry behind your favorite battery types.

Continue reading “When Battery Rebuilds Go Wrong: Understanding BMSs, Spot Welders, And Safety”

How To Spot A Fake Op-Amp

We’re all aware that there are plenty of fake components to be found if you’re prepared to look in the right places, and that perhaps too-good-to-be-true chip offers on auction sites might turn out to have markings which rub off to reveal something completely different underneath. [IMSAI Guy] saw a batch of OP-07 laser-trimmed op-amps at a bargain price, so picked them up for an investigation. You can take a look at the video below the break.

A perfect op-amp has a zero volt output when both of its inputs are at the same voltage, but in practice no real device approaches this level of perfection. It’s referred to as the offset voltage, and for instrumentation work where a low offset voltage is important there are parts such as the OP-07 which have each been adjusted using a laser to trim their components for the lowest offset. This process is expensive, so naturally so are genuine OP-07s.

Identifying real versus fake op-amps in this case is as simple as hooking the chip up as a unity gain non-inverting amplifier and measuring the voltage on the output (we can’t help a tinge of envy at that Keithley 2015 THD multimeter!), from which measurement the fakes should be clearly visible. First up are some 741s with their > 1 mV offsets (though an outlier 741 had a 40μV offset) to show what a cheap op-amp could be expected to do, then we see the OP-07s. Immediately with an offset of > 1.2 mV  we can tell that they’re fake, which as he admits for the price is hardly a surprise. Meanwhile we’ll keep an eye out for Korean-made 741s like the outlier low-offset device.

If you’re interested by op-amp internals may we suggest a look at the first IC op-amp, meanwhile this isn’t the first fake chip we’ve seen.

Continue reading “How To Spot A Fake Op-Amp”

Planar PCB Coils As An Alternative To Winding Transformers

Those readers who have experimented with winding their own inductors will know that it’s not an easy task, and when those inductors are handling high voltages it can be especially tricky to maintain adequate insulation between layers of windings. [Open Frime TV] has a video addressing this in a novel way, by creating the windings for a switch-mode power supply transformer using stacked PCB coils instead of wire (Russian language; you’ll have to enable YouTube’s subtitle auto-translation).

The video below the break makes for a handy primer on PCB coil construction, reminding the viewer that the turns need all to lie in the same direction as well as the importance of insulation between windings. There’s a discussion of the properties of a PCB coil in relation to the switching frequency, and once the transformer has been assembled, we see it hooked up to a power supply board for a test. What happens next may be familiar to seasoned transformer-winders; nothing works, and the transformer gets hot. In making the PCB he’s left some copper on each board which amounts to a shorted turn — cutting these allows the transformer to work perfectly.

This technique might not be the solution to all transformer woes, but makes for an interesting option if your work takes you in the direction of winding transformers. If PCB coils take your interest, how about a Tesla coil using them?

Continue reading “Planar PCB Coils As An Alternative To Winding Transformers”