FPGA Powers DIY USB Scope And Signal Generator

Oscilloscopes and to lesser extent signals generators are useful tools for analyzing, testing and diagnosing circuits but we often take for granted how they work. Luckily, [FromConceptToCircuit] is here to show us how they’re made.

[FromConceptToCircuit] starts by selecting the hardware to use: an Artix-7-based FPGA and an FT2232 USB-serial converter. RS245 in synchronous FIFO mode is selected for its high bandwidth of about 400 Mbps. Then, they show how to wire it all up to your FPGA of choice. Now it’s time for the implementation; they go over how the FT2232 interfaces with the FPGA, going through the Verilog code step-by-step to show how the FPGA makes use of the link, building up from the basic transmission logic all the way up to a simple framed protocol with CRC8-based error detection. With all that, the FPGA can now send captured samples to the PC over USB.

Now it’s PC-side time! [FromConceptToCircuit] first explains the physical pipeline through which the samples reach the PC: FPGA captures, transmits over RS245, FT2232 interfaces that with USB and finally, the software talks with the FT2232 over USB to get the data back out. The software starts by configuring the FT2232 into RS245 mode, sets buffer sizes, the whole deal. With everything set up, [FromConceptToCircuit] explains how to use the FT2232 driver’s API for non-blocking communication.

As a bonus, [FromConceptToCircuit] adds a signal generator feature to the oscilloscope using an I2C DAC chip. They start by explaining what exactly the DAC does and follow up with how it’ll be integrated into the existing system. Then it’s time to explain how to implement the I2C protocol bit-for-bit. Finally combine everything together for one final demo that shows a sine wave on the DAC’s output.

Desktop Digitizer Makes Note Capture A Breeze

While it might seem quaint these days, we’ve met many makers and hackers who reach for a pen and a pad when learning something new or working their way through some technical problem. But even if you’re the type of person who thinks best when writing something out on paper, there’s still a good chance that you’ll eventually want to bring those notes and sketches into the digital realm. That’s where things can get a little tricky.

[Spencer Adams-Rand] recently wrote in with his clever solution for capturing written notes and pushing them into Notion, but the hardware design and digitization workflow is flexible enough that it could be adapted to your specific needs — especially since he was good enough to release all the files required to build your own version.

Whether they are hand-written notes, old photographs, or legal documents, digitization boils down to taking a high resolution digital photo of the object and running it through the appropriate software. But getting good and consistent photos is the key, especially when you’re working your way through a lot of pages. [Spencer] started out just snapping pictures with his phone, but quickly found the process was less than ideal.

His custom scanning station addresses that first part of the problem: getting consistent shots. The images are captured using a Raspberry Pi 5 with attached Camera Module 3, while the 3D printed structure of the device makes sure that the camera and integrated lighting system are always in the same position. All he needs to do is place his notepad inside the cavity, hit the button, and it produces a perfect shot of the page.

Using a dedicated digitizing station like this would already provide better results than trying to freehand it with your phone or camera, but [Spencer] took things quite a bit farther. The software side of the project puts a handy user interface on the 5 inch touch screen built into the top of the scanner, while also providing niceties like a REST API and integration with the OpenAI Vision API for optical character recognition (OCR).

Those with an aversion to AI could certainly swap this out for something open source like Tesseract, but [Spencer] notes that not only is OpenAI’s OCR better at reading his handwriting, it spits out structured markdown-like data that’s easier to parse. From there it goes into the Notion API, but again, this could be replaced with whatever you use to collect your digital thoughts.

A device like this would go a long way towards answering a question we posed to the community back in January about the best way to digitize your documents.

[Kerry Wong] Finds SMD Test Clips

One of the many problems you run into when you work with SMD parts is trying to probe the little tiny pins. While we usually watch [Kerry Wong’s] videos for the oscilloscopes, it makes sense that he’d also be looking for probes. The video below shows some cheap probes from China that can clamp onto tiny QFP pins.

The probes look a little like tiny needles, but the needle part isn’t conductive. When you push them, very tiny and rigid clamps come out. On the other end is a pin that will take a female header or, of course, you could connect another test lead to that pin.

Continue reading “[Kerry Wong] Finds SMD Test Clips”

A booted foot is seen descending on a foot pedal attached to a lever underneath a three-legged stand. Three levers extend from the legs, each with a wheel on it, and attach to the central foot plate.

Building A Vise Stand With Pen-Like Retracting Wheels

Old shop tools have a reputation for resilience and sturdiness, and though some of this is due to survivorship bias, some of it certainly comes down to an abundance of cast iron. The vise which [Marius Hornberger] recently restored is no exception, which made a good stand indispensable; it needed to be mobile for use throughout the shop, yet stay firmly in place under significant force. To do this, he built a stand with a pen-like locking mechanism to deploy and retract some caster wheels.

Most of the video goes over the construction of the rest of the stand, which is interesting in itself; the stand has an adjustable height, which required [Marius] to construct two interlocking center columns with a threaded adjustment mechanism. The three legs of the stand were welded out of square tubing, and the wheels are mounted on levers attached to the inside of the legs. One of the levers is longer and has a foot pedal that can be pressed down to extend all the casters and lock them in place. A second press on the pedal unlocks the levers, which are pulled up by springs. The locking mechanism is based on a cam that blocks or allows motion depending on its rotation; each press down rotates it a bit. This mechanism, like most parts of the stand, was laser-cut and laser-welded (if you want to skip ahead to its construction, it begins at about 29:00).

Continue reading “Building A Vise Stand With Pen-Like Retracting Wheels”

Turning A Bluetooth Caliper Into A FreeCAD Input Device

It’s a common ritual: whipping out those calipers or similar measuring devices to measure part of a physical object that we’re trying to transfer into a digital model in an application like FreeCAD. Wouldn’t it be nice if said measurements were to be transferred instantaneously into the model’s sketch, including appropriate units of measurement? That’s essentially what [stv0g] has done by merging a Sylvac Bluetooth-enabled caliper and FreeCAD using a plugin.

Key to the whole operation is a Bluetooth-enabled caliper like the Sylvac S_Cal EVO that [stv0g] managed to score on EBay for a mere €90 when it normally goes for multiple times that amount. This has BLE built in, using BLE’s standard GATT profiles for device communications specifications. Along with the provided Sylvac developer tools, this made it relatively easy to develop the InstrumentInput addon for FreeCAD.

Continue reading “Turning A Bluetooth Caliper Into A FreeCAD Input Device”

Making A Vintage Allen Scythe Electric

The Allen Scythe is one of those fantastic pieces of vintage agricultural machinery which would never be allowed to be manufactured today for health and safety reasons. It’s a two-wheel walk-behind device with a frightening reciprocating cutter bar which makes short work of almost anything. It’s the perfect tool for the roughest of brush clearance, but it demands respect. [Way Out West Workshop Stuff] has one, and is replacing the vintage Villiers two-stroke engine with an electric motor.

The conversion is straightforward enough, the Villiers crankshaft being replaced with a straight-through axle that can be driven by the motor. We particularly like the use of a cable tie as a splash lubricator. The shaft is turned to accept the Villiers’ bearings, the gear to drive the Allen, and a chain sprocket where the cord start would go on the engine. A mounting plate puts the motor above, a chain is fitted, and it’s ready to go once a hefty battery pack has been installed.

There are two videos below the break, showing construction, and finally the machine in action. The electric Allen is every bit as useful as the original, without the noise and vibration. Villiers motors can be temperamental, so we’d view it as an upgrade worth having.

Continue reading “Making A Vintage Allen Scythe Electric”

An Oscilloscope The Way They Used To Be

It’s likely that Hackaday has a readership with the highest percentage of oscilloscope ownership among any in the world, and we’re guessing that most of you who fit in that bracket have a modern digital instrument on your bench. It’s a computer with a very fancy analogue front end, and the traces are displayed in software. Before those were a thing though, a ‘scope was an all-analogue affair, with a vacuum-tube CRT showing the waveform in real time. [Joshua Coleman] has made one of these CRT ‘scopes from scratch, and we rather like it.

Using a vintage two inch round tube, it includes all the relevant power supplies and input amplifiers for the deflection plates. It doesn’t include the triggers and timebase circuitry you’d expect from a desktop instrument though, so unless you add a sawtooth on its X input it’s only good for some Lissajous figures. But that’s not the point of a project like this one, because it’s likely even the cheapest of modern ‘scopes way exceeds any capabilities it would have even if it were fully formed. It’s a talking point and an attractive demonstration of a bit of early-20th-century physics, which probably many of us would appreciate if it were ours.

A video of the device is below the break, meanwhile we’ve taken a look in the past at the prehistory of the oscilloscope.

Continue reading “An Oscilloscope The Way They Used To Be”