How Does A Sewing Machine Sew?

Like all Hackaday readers, we pride ourselves on having at least a passing acquaintance with how most things work. But we suspect to a lot of people, things we take for granted — computers, air conditioning, motors, and cell phones — are just black magic. That’s how we feel about sewing machines. Sure, there’s a motor. There’s a needle and some thread. But how does the machine make a stitch? We always wondered, but after watching a recent video from [Veritasium] we can at least claim we have an idea.

First, he shows the intrinsic problem: sewing by hand requires you to reverse the direction of the needle, and it isn’t clear how to make a simple machine to do that. Sure, today you could probably make a robot that sews like a human does, but sewing machines have been around for a very long time.

In addition to showing how a chain stitch and lock stitch work, the video shows the history of the machines, including 50,000-year-old needles and the progression of innovations required to get to the modern sewing machine. In addition, he shows a large model sewing machine to clearly explain the concepts.

You might think you don’t care about sewing, but machine sewing has touched nearly everyone. The video says that in 1900, a family might spend 15% of their income on clothes. In 2003, that number drops to under 4%, yet the family will have many more clothes than they did in 1900. This is possible because of machine sewing and other innovations.

You can, of course, make your own sewing machine. If you want to get an industrial one, we have some advice.

Continue reading “How Does A Sewing Machine Sew?”

Dial Up Over Discord

Some hacks are useful and some are just… well… for the fun of it, and we can appreciate that. Take, for example, [Cool Blog’s] recent experiments with dialup networking. If you think about it, the BBS systems of yesterday have been replaced with more modern tools like Discord. So why not run modems using audio chat over Discord and get the best of both worlds?

This was both easier and harder than we would have expected. The first hurdle was the lack of any actual modems. Luckily, there are software modem emulators like minimodem that makes a PC soundcard work like a modem. It supports some basic protocols, and that’s probably a good thing since the digital audio channel is probably unable to support anything too sophisticated.

Using some crude audio routing 300 baud data did flow. Increasing the baud rate all the way to 2,100 worked reliably. Combining some more sophisticated audio flows and managing sockets with systemd made the process easier. The goal was to, eventually, telnet over the link but that never worked. We would guess that it could work if you spent enough time.

But the proof is in the pudding, and the basic idea works. Why do it? We can’t think of a good reason. But if you want to give it a shot, you can find what you need on GitHub.

Hams still use modems. While we tend to have a soft spot for retrocomputing gear, we don’t miss acoustic couplers at all.

Will We Recycle FPGAs In The Future?

If you really want to look at how much something costs, you need to look at total cost of ownership, not just the sticker price. Same goes for things like pollution and carbon footprint. A vehicle, for example, might have a low carbon footprint in operation but require more carbon in the manufacturing or disposal processes. Researchers have noted that FPGA accelerators get replaced and may wind up as e-waste in as little as two years. They propose REFRESH, an architecture that recycles old FPGAs into new ones by joining multiple FPGA dice with a simple interposer to coordinate the work.

The idea is not as radical as it might first seem. Many modern chips use chiplets anyway, so this is a reasonable extension of that idea. You simply need a way to harvest the old devices.

Continue reading “Will We Recycle FPGAs In The Future?”

Beyond The Basics: Exploring Exotic Scope Trigger Modes

Will Rogers once said that veterinarians are the best doctors because their patients can’t tell them where it hurts. I’ve often thought that electronic people have a similar problem. In many cases, what’s wrong with our circuits isn’t visible. Sure, you can visually identify a backward diode, a bad solder joint, or a blown fuse. But you can’t look at a battery and see that it is dead or that a clock signal isn’t reaching some voltage. There are lots of ways to look at what’s really going on, but there is no substitute for a scope. It used to be hard for the average person to own a scope, but these days, it doesn’t require much. If you aren’t shopping for the best tech or you are willing to use it with a PC, oscilloscopes are quite affordable. If you spend even a little, you can now get scopes that are surprisingly capable with features undreamed of in years past. For example, many modern scopes have a dizzying array of triggering options. Do you need them? What do they do? Let’s find out.

I’ll be using a relatively new Rigol DHO924S, but none of the triggering modes are unique to that instrument. Sometimes, they have different names, and, of course, their setup might look different than my pictures, but you should be able to figure it out.

What is Triggering?

In simple terms, an oscilloscope plots time across the X-axis and voltage vertically on the Y-axis. So you can look at two peaks, for example, and measure the distance between them to understand how far apart they are in time. If the signal you are measuring happens repeatedly — like a square or sine wave, for example — it hardly matters which set of peaks you look at. After all, they are all the same for practical purposes.

Pretty square waves all in a row. Channel 2 is 180 degrees out of phase (inverted). But is that all there is?

The problem occurs when you want to see something relative to a particular event. Basic scopes often have level triggering. They “start” when the input voltage goes above or below a certain value. Suppose you are looking at a square wave that goes from 0 V to 5 V. You could trigger at about 2.5 V, and the scope will never start in the middle of a cycle.

Digital scopes tend to capture data before and after the trigger, so the center of the screen will be right on an edge, and you’ll be able to see the square waves on either side. The picture shows two square waves on the screen with the trigger point marked with a T in the top center of the display. You can see the level in the top bar and also marked with a T on the right side of the screen.

What happens if there are no pulses on the trigger source channel? That depends. If you are in auto mode, the scope will eventually get impatient and trigger at random. This lets you see what’s going on, but there’s no reference. If you are in normal mode, though, the scope will either show nothing or show the last thing it displayed. Either way, the green text near the top left corner will read WAIT until the trigger event occurs. Then it will say T’D.

Continue reading “Beyond The Basics: Exploring Exotic Scope Trigger Modes”

Simulate A Better Termination

If you are making certain precision measurements, you know you need to terminate the connections with the right impedance, normally 50 ohms. Proper termination minimizes reflections on the line which can disturb measurements. Some instruments already have 50 ohm terminations, at least optionally. If not, you usually use little connector shells with the right resistor inside. [Joe Smith] decided to see if he could improve on the normal terminations using circuit simulation techniques. You can see a video of the work below.

In the process of testing, he also needs a resistive splitter, and, just like with the terminators, he shows you what’s going on inside. It was easy to compare since he had a scope that could independently set channels to have a 50-ohm termination or a 1 megaohm termination.

Continue reading “Simulate A Better Termination”

Storage Media Forgotten

These days, cheap removable storage is no problem. USB sticks are virtually free at moderate capacity and not unreasonable, even at relatively large sizes. They are rugged, work across platforms, and don’t require any exotic interfaces. But this hasn’t always been the case.  In the 1990s, people wanted to store too much data for floppies, but weren’t willing to shell out for removable hard drives or tapes. Many companies identified this opportunity with, perhaps, the most successful being Iomega with the Zip drive. But there were others, including the Avatar Shark that [This Does Not Compute] remembers in a video you can see below.

Haven’t heard of the Shark? We had not either, but reviewers seemed to like it. The drive would fit in your pocket if you had a fairly large pocket. The 250 MB cartridge was smaller (but thicker) than a 3.5-inch floppy. It performed ok and connected to the parallel port which was common in those days.

Continue reading “Storage Media Forgotten”

The Hot Chocolate Effect Explained

This is the time of year when people in the Northern Hemisphere like to enjoy hot beverages like hot chocolate. [The Action Lab] uses hot chocolate to demonstrate an odd acoustic effect. Tapping a container of hot chocolate — or even just hot water — will make a sound at a certain frequency. But if you keep tapping, the frequency of the sound will gradually increase. Don’t know why? Don’t worry, neither did scientists until around 1980.

The secret is bubbles and the speed of sound through air vs a liquid. The speed of sound in the liquid and the height of the liquid in the cup set the frequency. However, the speed of sound changes based on the bubbles, which alters the frequency.

Continue reading “The Hot Chocolate Effect Explained”