Door Mutes Microphone To Prevent Remote Learning Humiliation

In a kind of reverse twist on the doorbell, [TheStaticTurtle] whipped up a system to mute his computer’s microphone whenever someone opens the door to his room. He lives in France, where the government announced a strict lockdown last Friday. Like many university students around the world these days, he is now forced to take online classes. Even though he has his own room, occasionally someone will barge in and announce something, often to [TheStaticTurtle]’s embarrassment.  When his classmates suddenly heard “Do you want some pie?” the other day, it was the last straw.

His first decision was to sense the door opening with a magnet and sensor, which he stuck to the door and frame with hot glue. He then ran a long cable to his desk, where it connected to an ATTiny 85 with a DigiSpark boot-loader. He wrote firmware to simulate special key combinations, which were then registered with his audio routing software Voicemeeter Potato. We presume he isn’t using an external mic, in which case muting might have been easier to accomplish with a hardware switch. All in all, this is a pretty clever and timely hack. Should you be in a similar predicament and want to try this out, he’s published the source code on GitHub.

Continue reading “Door Mutes Microphone To Prevent Remote Learning Humiliation”

How To Improve A Smart Motor? Make It Bigger!

Brushless motors can offer impressive torque-to-size ratios, and when combined with complex drive control and sensor feedback, exciting things become possible that expand the usual ideas of what motors can accomplish. For example, to use a DC motor in a robot leg, one might expect to need a gearbox, a motor driver, plus an encoder for position sensing. If smooth, organic motion is desired, some sort of compliant mechanical design would be involved as well. But motors like the IQ Vertiq 6806 offered by [IQ Motion Control] challenge those assumptions. By combining a high-torque brushless DC motor, advanced controller, and position sensing into an integrated device, things like improved drone performance and direct-drive robotic legs like those of the Mini Cheetah become possible.

IQ Vertiq 6806 brushless DC motor with integrated controller, driver, and position sensing.

First, the bad news: these are not cheap motors. The IQ Vertiq 6806 costs $399 USD each through the Crowd Supply pre-order ($1499 for four), but they aren’t overpriced for what they are. The cost compares favorably with other motors and controllers of the same class. A little further than halfway down the Crowd Supply page, [IQ Motion Control] makes a pretty good case for itself by comparing features with other solutions. Still, these are not likely to be anyone’s weekend impulse purchase.

So how do these smart motors work? They have two basic operating modes: Speed and Position, each of which requires different firmware, and which one to use depends on the intended application.

The “Speed” firmware is designed with driving propeller loads in mind, and works a lot like any other brushless DC motor with an ESC (electronic speed control) on something like a drone or other UAV. But while the unit can be given throttle or speed control signals like any other motor, it can also do things like accept commands in terms of thrust. In other words, an aircraft’s flight controller can communicate to motors directly in thrust units, instead of a speed control signal whose actual effect is subject to variances like motor voltage level.

The “Position” mode has the motor function like a servo with adjustable torque, which is perfect for direct drive applications like robotic legs. The position sensing also allows for a few neat tricks, like the ability to use the motors as inputs. Embedded below are two short videos showcasing both of these features, so check them out.

Continue reading “How To Improve A Smart Motor? Make It Bigger!”

Bespoke Storage Technologies: The Alphabet Soup Found In Modern Hard Drives And Beyond

It seems like just yesterday (maybe for some of you it was) we were installing Windows 3.1 off floppy drives onto a 256 MB hard drive, but hard drives have since gotten a lot bigger and a lot more complicated, and there are a lot more options than spinning platters.

The explosion of storage options is the result of addressing a variety of niches of use. The typical torrenter downloads a file, which is written once but read many times. For some people a drive is used as a backup that’s stored elsewhere and left unpowered. For others it is a server frequently reading and writing data like logs or swap files. In all cases it’s physics that sets the limits of what storage media can do; if you choose wisely for your use case you’ll get the bet performance.

The jargon in this realm is daunting: superparamagnetic limit, LMR, PMR, CMR, SMR, HAMR, MAMR, EAMR, XAMR, and QLC to name the most common. Let’s take a look at how we got here, and how the past and present of persistent storage have expanded what the word hard drive actually means and what is found under the hood.

Continue reading “Bespoke Storage Technologies: The Alphabet Soup Found In Modern Hard Drives And Beyond”

A Plethora Of Power Delivery Potential

Here at the Hackaday we’ve been enjoying a peculiar side effect of the single-port USB-C world; the increasing availability of programmable DC power supplies in the form of ubiquitous laptop charging bricks. Once the sole domain of barrel jacks or strange rectangular plugs (we’re looking at you Lenovo) it’s become quite common to provide charging via the lingua franca of USB-C Power Delivery. But harnessing those delectable 100W power supplies is all to often the domain of the custom PCBA and firmware hack. What of the power-hungry hacker who wants to integrate Power Delivery in her project? For that we turn to an excellent video by [Brian Lough] describing four common controller ICs and why you might choose one for your next project.

A superb illustration from the TS100 Flex-C-Friend documentation

[Brian] starts off with a sorely-needed explainer of what the heck Power Delivery is; a topic with an unfortunate amount of depth. But the main goal of the video is to dive into the inscrutable hoard of “USB C trigger boards.” Typically these take USB on one side and provide a terminal block on the other, possibly with a button or LED as user interface to select voltage and current. We’ve seen these before as laptop barrel jack replacements and TS100 power supplies but it’s hard to tell which of the seemingly-identical selection is most suitable for a project.

The main body of the video is [Brian’s] detailed walkthrough of four types of trigger boards, based on the IP2721, FUSB302, STUSB4500, and Cypress EZ-PD BCR. For each he describes the behaviors of it’s particular IC and how to configure it. His focus is on building a board to power a TS100 (which parallels his TS100 Flex-C-Friend) but the content is generally applicable. Of course we also appreciate his overview of the products on Tindie for each described module.

For another angle on Power Delivery, check out this series of posts by [jason cerudolo], a perennial favorite. And don’t miss his classic project, the USB Easy Bake Oven.

Ethernet At 40: From A Napkin Sketch To Multi-Gigabit Links

September 30th, 1980 is the day when Ethernet was first commercially introduced, making it exactly forty years ago this year. It was first defined in a patent filed by Xerox as a 10 Mb/s networking protocol in 1975, introduced to the market in 1980 and subsequently standardized in 1983 by the IEEE as IEEE 802.3. Over the next thirty-seven years, this standard would see numerous updates and revisions.

Included in the present Ethernet standard are not just the different speed grades from the original 10 Mbit/s to today’s maximum 400 Gb/s speeds, but also the countless changes to the core protocol to enable these ever higher data rates, not to mention new applications of Ethernet such as power delivery and backplane routing. The reliability and cost-effectiveness of Ethernet would result in the 1990 10BASE-T Ethernet standard (802.3i-1990) that gradually found itself implemented on desktop PCs.

With Ethernet these days being as present as the presumed luminiferous aether that it was named after, this seems like a good point to look at what made Ethernet so different from other solutions, and what changes it had to undergo to keep up with the demands of an ever-more interconnected world. Continue reading “Ethernet At 40: From A Napkin Sketch To Multi-Gigabit Links”

SMD Breadboard Adaptors Skip Schematic, Goes Straight To PCB

If you need to add one or two SMT chips to your breadboarded prototype, [Travis Hein] has you covered. He designed a set of small SMD adaptor boards for various SOIC, SOT23, and DPAC patterns using KiCad.  He has released them as open source, so you can feel free to use them or modify them as needed.

Normally we don’t see people bypassing the schematics when designing a PCB. But we can agree that [Travis] has found a situation where going direct to PCB makes more sense. He just plops down the package in Pcbnew, adds some pin headers and wires everything up directly on the PCB. (But don’t worry, some of you may remember [Travis] from his earlier SSR mains switching project, which demonstrates that he can indeed draw proper schematics.) We know there are more people out there who prefer to go straight to PCB layout… [mikeselectricstuff] comes to mind. If you could yourself among this tribe, let use know your reasoning in the comments below.

We wrote about a similar universal breakout boards for SMD parts back in 2016, which is a single breakout board for two- and three-pin jelly-bean components. If you paired some of those boards with [Travis]’s breakout boards, it would make a great combination to keep in your prototyping gadgets bin. Consider this project the next time your favorite PCB shop has a sale.

USB Adaptor Isolates Multiple Serial Interfaces

You need a Swiss Army knife of serial communications? Ollie is a compact isolated USB adaptor that provides USB, CAN bus, and two UARTs at logic, RS-232, and RS-485 signaling levels, as well as an isolated power supply.  [Slimelec] has managed to squeeze all this into a package the size of a harmonica.  We like the technique of making the enclosure from PCB material, complete with clearly labeled switch, LED and connector pinout names.

So far, only the compiled firmware is available for this project, but hardware files, and presumably the source code and documentation, are coming soon.

The central themes here are  isolation and flexibility. We can’t find the isolation voltage in the project specifications, but the CANable project on which this adaptor is based provides 2.5 kV galvanic isolation.  A single isolated USB interface is also provided over a standard Type A connector. The four-wire logic-level UART signals are available on a 2 x 7 box header, and are voltage selectable.  The RS-232, RS-485, and CAN signals are on an 8-pin pluggable screw terminal block, or you can use a DB9 connector with a pluggable adaptor board.

Whether you need a troubleshooting aid for field testing, are using CAN bus on your projects, or just want to isolate your expensive computer from sketchy prototype hardware, have a look at this project.