Composite video from a single-board computer? Big deal — every generation of Raspberry Pi has had some way of getting composite signals out and onto the retro monitor of your choice. But composite video from an ESP32? That’s a thing now too.
There are some limitations, of course, not least of which is finding a monitor that can accept a composite input, but since [bitluni]’s hack uses zero additional components, we can overlook those. It really is as simple as hooking the monitor up to pin 25 and ground because, like his recent ESP32 AM radio station, the magic is entirely in software. For video, [bitluni] again uses his I²S tweaks to push a lot of data into the DAC really fast, reproducing the sync and image signals in the 0-1 volt range of the PAL composite standard. His code also supports the NTSC standard, but alas because of frequency limitations in the hardware it’s monochrome only for both standards, at least for now. He’s also got a neat trick to improve performance by running the video signal generation and the 3D-rendering on separate cores in the ESP32. Check out the results in the video below.
It looks like the ESP32 is getting to be one of those “Is there anything it can’t do?” systems. Aside from radio and video, we’ve seen audio playback, vector graphics, and even a Basic interpreter easter egg.
Continue reading “Software Defined Television on an ESP32”
On the face of it, keeping fluids contained seems like a simple job. Your fridge alone probably has a dozen or more trivial examples of liquids being successfully kept where they belong, whether it’s the plastic lid on last night’s leftovers or the top on the jug of milk. But deeper down in the bowels of the fridge, like inside the compressor or where the water line for the icemaker is attached, are more complex and interesting mechanisms for keeping fluids contained. That’s the job of seals, the next topic in our series on mechanisms.
Continue reading “Mechanisms: Mechanical Seals”
The Golden Age of Radio Shack was probably sometime in the mid-1970s, a time when you could just pop into the local store and pay 49 cents for the resistors you needed to complete a project. Radio Shack was the place to go for everything from hi-fi systems to CB radios, and for many of us, being inside one was very much a kid in a candy store scenario.
That’s not to say that Radio Shack was perfect, but one thing it did very well was the education and grooming of the next generation of electronics hobbyists, primarily through their “Science Fair” brand. Some of us will recall the P-Box kits from that line, complete projects with all the parts and instructions in a plastic box with a perfboard top. These kits were endlessly entertaining and educational, and now [NetZener] has recreated the classic neon “Goofy Light” P-Box project.
As it was back in the day, the Goofy Light is almost entirely useless except for learning about DC-DC converters, multivibrators, RC timing circuits, and the weird world of negative resistance. But by using the original Science Fair instructions, compiling a BOM that can be filled from Mouser or Digikey, and making up a reasonable facsimile of the original P-Box chassis, [NetZener] has done a service to anyone looking for a little dose of nostalgia.
It would be interesting if someone brought back the P-Box experience as a commercial venture, offering a range of kits with circuits like the originals. If that happens, maybe some of the offerings will be based on that other classic from Radio Shack’s heyday.
Continue reading “Relive Radio Shack’s Glory Days by Getting Goofy”
There was a time when USB to serial hardware meant one company: FTDI. But today there are quite a few to choose from and one of the most common ones is the WCH CH341. There’s been support for these chips in Linux for a while, but only for use as a communication port. The device actually has RS232, I2C, SPI, and 8 general purpose I/O (GPIO) pins. [ZooBaB] took an out-of-tree driver that exposes the GPIO, and got it working with some frightening-looking CH341 boards.
He had to make a slight mod to the driver to get six GPIOs in /sys/class/gpio. Once there though, it is easy to manipulate the pins using a shell script or anything that can write to the virtual files corresponding to the GPIO pins.
Continue reading “Linux Adds CH341 GPIO”
The lathe is known as the King of Machine Tools for a reason. There are very few things that you can’t make with one. In fact, people love to utter the old saw that the lathe is the only machine tool that can make itself. While catchy, I think that’s a bit disingenuous. It’s more accurate to say that there are parts in all machine tools that (arguably) only a lathe can make. In that sense, the lathe is the most “fundamental” machine tool. Before you harbor dreams of self-replication, however, know that most of an early lathe would be made by hand scraping the required flat surfaces. So no, a lathe can’t make itself really, but a lathe and a skilled craftsperson with a hand-scraper sure can. In fact, if you’ve read the The Metal Lathe by David J. Gingery, you know that a lathe is instrumental in building itself while you’re still working on it.
We’re taking trip through the machining world with this series of articles. In the previous article we went over the history of machine tools. Let’s cut to the modern chase now and help some interested folks get into the world of hobby machining, shall we? As we saw last time, the first machine tools were lathes, and that’s also where you should start.
Continue reading “The King of Machine Tools”
Maybe you are familiar with the op-amp as an extremely versatile component, and you know how to quickly construct a huge variety of circuits with one. Maybe you even have a favorite op-amp or two for different applications, covering many possible niches. Standard circuits such as an inverting amplifier are your bread and butter, and the formula gain=-Rf/Ri is tattooed on your forearm.
But you can know how to use op-amps without really knowing how they work. Have you ever peered under the hood of an op-amp to find out what’s going on in there? Would you like to? Let’s take a simple device and examine it, piece by piece.
Continue reading “Deconstructing A Simple Op-Amp”
It turns out that curling involves some complex physics. [Destin] of Smarter Every Day has jumped in to find out why scientists on opposite sides of the Atlantic disagree about why curling stones curl.
If you’ve been watching the Olympics, you’ve probably seen some curling, the Scottish sport of competitively pushing stones on ice. As the name implies, curling stones don’t go straight. The thrower pushes them with a bit of rotation, and the stones curve in the direction they are rotating. This is exactly the opposite of what one would expect — try it yourself with an inverted drinking glass on a smooth table. The glass will curl opposite the direction of rotation. Clockwise spin will result in a curl to the left, counterclockwise in a curl to the right.
The cup makes sense when you think about the asymmetrical friction involved. The cup is slowing down, which means more pressure on the leading edge. The rotating leading edge pushes harder against the table and causes the cup to curl opposite the direction of rotation.
Continue reading “The Strange Physics of Curling”