Posts

Showing posts from September, 2023

The Magic Of A Diode Sampler To Increase Oscilloscope Bandwidth

Image
Making an oscilloscope is relatively easy, while making a very fast oscilloscope is hard. There’s a trick that converts a mundane instrument into a very fast one, it’s been around since the 1950s, and [CuriousMarc] has a video explaining it with an instrument from the 1960s . The diode sampler is the electronic equivalent of a stroboscope, capturing parts of multiple cycle of a waveform to give a much-slowed-down representation of it on the screen. How it works is both extremely simple, and also exceptionally clever as some genius-level high-speed tricks are used to push it to the limit. We’ve put the video below the break. [Marc] has a Keysight 100 MHz ‘scope and the sampler allows him to use it to show 4 GHz. Inside the instrument is a pair of sample-and-hold circuits using fast diodes as RF switches, triggered by very low-rise-time short pulses. Clever tricks abound, such as using the diode pair to cancel out pulse leakage finding its way back to the source. To complete this black

Micro Robot Disregards Gears, Embraces Explosions

Image
Researchers at Cornell University have developed a tiny, proof of concept robot that moves its four limbs by rapidly igniting a combination of methane and oxygen inside flexible joints . The device can’t do much more than blow each limb outward with a varying amount of force, but that’s enough to be able to steer and move the little unit. It has enough power to make some very impressive jumps. The ability to navigate even with such limited actuators is reminiscent of hopped-up bristebots . Electronic control of combustions in the joints allows for up to 100 explosions per second, which is enough force to do useful work. The prototype is only 29 millimeters long and weighs only 1.6 grams, but it can jump up to 56 centimeters and move at almost 17 centimeters per second. The prototype is tethered, so those numbers don’t include having to carry its own power or fuel supply, but as a proof of concept it’s pretty interesting. Reportedly a downside is that the process is rather noisy, wh

CNC Soldering Bot Handles Your Headers

Image
Soldering pin headers by hand is a tedious task, especially when your project has a huge number of them. [iforce2d] has a large number of boards with a lot of headers, and has created a rather special CNC machine to to do the job. It’s a soldering robot , controlled by LinuxCNC and you can see it below the break. Superficially it resembles a 3D printer made in aluminium, with an X-Y movable table and a Z-direction represented by a soldering iron and solder feeder on an arm. The solder feeder uses a Bowden tube, with a 3D-printer extruder motor pushing the solder wire down a PTFE tube and finally into a fine aluminium tube from which it’s fed to the iron tip. Though he’s done a beautiful job of it, creating the machine is not all that’s required, because the tool path requires more attention than simply moving the iron to each pin and supplying some solder. There’s a need to consider the effect of that heat, how much each pad needs, and how much neighbouring pads contribute. We’ve h

A 1970s Mask ROM Microcontroller Spills Its Secrets

Image
If you buy any kind of electronic gadget today, chances are it’s powered by a microcontroller with a program stored in its internal flash ROM. That program’s code is often jealously guarded by the manufacturer, who will try their best to make sure you can’t just read back the chip’s contents by using lock bits or some sort of encryption. Things were more laid back in the 1970s and ’80s, when code was stored unencrypted in standard EPROM chips, or, for high-volume applications, in mask ROMs integrated in microcontrollers. Reading back the code of such micros was still very difficult because chips simply didn’t have a way of dumping their contents. [Andrew Menadue] ran into this issue when trying to repair an old HP calculator printer, and had to apply a clever hack to dump the contents of its Mostek MK3870 chip . The main trick [Andrew] used was one discovered by [Sean Riddle] and explained on his website . It makes use of the fact that the MK3870 has a TEST pin that can be used to d

Horrendous Mess of Wires

Image
When do you post your projects? When they’re done? When they’re to the basic prototype stage? Or all along the way, from their very conception? All of these have their merits, and their champions. In the post-all-along-the-way corner, we have Hackaday’s own [Arya Voronova], who outlines the many ways that you can start documenting your project before it’s even a fully fledged project . She calls these tidbits “breadcrumbs”, and it strikes me as being a lot like keeping a logbook, but doing it in public. The advantages? Instead of just you, everyone on the Internet can see what you’re up to. This means they can offer help, give you parts recommendations, and find that incorrect pinout that one pair of eyes would have missed. It takes a lot of courage to post your unfinished business for all to see, but ironically, that’s the stage of the project where you stand to gain the most from the exposure. On the opposite end of the spectrum are the folks who document their projects at the ve

CPU Built From Discrete Transistors

Image
We all know, at least intellectually, that our computers are all built with lots of tiny transistors. But beyond that it’s a little hard to describe. They’re printed on a silicon wafer somehow, and since any sufficiently advanced technology is indistinguishable from magic, they miraculously create a large part of modern society. Even most computers from 40 or 50 years ago were built around various inscrutable integrated circuits. On the other hand, this computer goes all the way back to first principles and implements a complete processor out of individual transistors instead. The transistor computer uses over 2000 individual transistors to implement everything comprising the 11-bit CPU. The creator, Reddit user [ Weekly_Salamander_78] also has an online interactive book that walks through each of the steps that is required to get to the point of having a working computer like this. Starting with a guide on building logic gates from transistors it will eventually cover the arithmet

Cyanodore 6 Is A Rad Commodore 64 Synthesizer

Image
The Commodore 64 is celebrated to this day for its capable SID sound chip, which provided the soundtrack for some of the best video games of its era. Even today, it’s still in demand as a chiptune synth. [gavinlyons] decided to take a breadbox-style C64 and mod it to be a more dedicated synth platform, creating what he calls the Cyanodore 6. The build starts by equipping the C64 with MIDI via a C-LAB interface cartridge. Software is loaded on to the C64 via a readily-available SD2ISEC converter, which lets the retro computer run off SD cards. The original SID was removed and replaced with an ARMSID emulator instead, giving the rig stereo output with some custom wiring. Four potentiometers were also added to control various synth parameters by wiring them into the C64’s two joystick ports. There are a variety of synth programs that can run on the C64, with [gavinlyons] noting CynthCart, STATION64, and MicroRhythm as popular choices. Other nifty mods include the keyboard illumination,

FedEx Robot Solves Complex Packing Problems

Image
Despite the fact that it constantly seems like we’re in the midst of a robotics- and artificial intelligence-driven revolution, there are a number of tasks that continue to elude even the best machine learning algorithms and robots. The clothing industry is an excellent example, where the flimsy materials can easily trip up robotic manipulators. But one task like this that seems like it might soon be solve is packing cargo into trucks, as FedEx is trying to do with one of their new robots . Part of the reason this task is so difficult is that packing problems, similar to “traveling salesman” problems, are surprisingly complex. The packages are not presented to the robot in any particular order, and need to be efficiently placed according to weight and size. This robot, called DexR, uses artificial intelligence paired with an array of sensors to get an idea of each package’s dimensions, which allows it to then plan stacking and ordering configurations and ensure secure fits between al

Hackaday Prize 2023: Automated Shuttle Launcher Enables Solo Badminton Practice

Image
If you want to get better at your favorite sport, there’s really no substitute to putting in more training hours. For solo activities like running or cycling that’s simple enough: the only limit to your training time is your own endurance. But if you’re into games that require a partner, their availability is another limiting factor. So what’s a badminton enthusiast like [Peter Sinclair] to do, when they don’t have a club nearby? Build a badminton training robot, of course. Automatic shuttlecock launchers are available commercially, but [Peter] found them very expensive and difficult to use. So he set himself a target to design a 3D-printable, low-cost, safe machine that would still be of real use in badminton training. After studying an apparently defunct open-source shuttle launcher called Baddy , he came up with the basic design: a vertical shuttle magazine, a loading mechanism to extract one shuttle at a time and position it for launch, and two wheels spinning at high speed to la

Building a Human-Sized Pop-Pop Boat

Image
Pop-pop boats are a neat little science teaching tool that many children end up playing with at some point or other. They’re normally sized to float around a sink or bathtub. [Steve Mould] recently got the opportunity to board a much larger example,  sized for an actual human passenger. The boat belongs to the The AHHAA Science Center in Estonia, along with a smaller model about half the size. Both are fired by propane gas burners to give them some real heat output into the water tank, far beyond what you’d get from little tea light candles. In the case of the larger boat, it uses a series of valves to allow the tank to be filled with water while the rear thrust pipes are closed. At the larger scale, it’s more easy to visualize the flow out of the boat’s rear outlets. It’s by no means a fast way to get around on the water, with a top speed somewhat less than walking pace. It’s also very loud. Regardless, it’s amusing to see the pop-pop engine work even when scaled up to full size.

Power Supplies Without Transformers

Image
For one-off projects or prototyping, it’s not too hard to find a wall wart or power supply to send a few joules of energy from the wall outlet to your circuit. Most of these power supplies use a transformer to step down the voltage to a more usable level and also to provide some galvanic isolation to the low voltage circuit. But for circuits where weight, volume, or cost are a major concern, a transformer may be omitted in the circuit design in favor of some sort of transformerless power supply . While power supplies with this design do have many advantages, some care needs to be taken with regard to safety. The guide outlines four designs of increasing complexity which first puts out a basic transformerless power supply, using a series capacitor to limit current. To bring the voltage to an acceptable level, a recognizable bridge rectifier is paired with a capacitor as well as a zener diode. The second circuit presented adds voltage stabilization using a transistor and 78XX regulator

Building a Weather Display in Rust

Image
We’ve seen a lot of weather displays over the years, and plenty of the more modern ones have been using some form of electronic paper. So what makes this particular build from [Harry Stern] different? The fact that the firmware running on the ESP32 microcontroller at its heart was developed in Rust . The weather station itself is capable of operating for several months on its rechargeable NiMH battery bank. The Rust section of the project is in two parts, the first of which runs on a server which downloads the weather data and aggregates it into an image. The second part runs on the ESP32 using esp-idf which configures peripherals, turns on and connects to Wi-Fi, retrieves the image from the server, displays the image and then puts the display to sleep. By doing the heavy lifting on the server, the display should be able to run for longer than it would if everything was happening on the ESP32. The project code is available from this GitHub page which should allow even Rust beginner

Fixing a C64 With a Cheap $20 Oscilloscope

Image
Modern computers are so fast and complex that we would seldom try and fix them on a component level with simple DIY tools. Working on an early 1980s computer is much easier by comparison, with the fastest signals often in the single-MHz range. [Sayaka] demonstrates this by using a cheap $20 oscilloscope to troubleshoot and repair a Commodore 64. After powering it up for the first time, the C64 displays a BASIC prompt, but none of the keys seem to work. [Sayaka] did what good hackers do, and immediately disassembled it to try and figure out the problem, suspecting the CIA chip as a likely culprit. [Sayaka] elected to purchase a cheap DS0138 oscilloscope kit to help troubleshoot the C64. It’s not the most capable thing, with a bandwidth of just 200 KHz, but it’s enough to do some work on an old retro machine. After probing around to check a number of signals, she noted that the CIA’s pins seemed to be very oxidized and suffering poor conductivity. All it took from there was a resolder

Autonomous Racing Drones Are Starting To Beat Human Pilots

Image
Even with all the technological advancements in recent years, autonomous systems have never been able to keep up with top-level human racing drone pilots. However, it looks like that gap has been closed with Swift – an autonomous system developed by the University of Zurich’s Robotics and Perception Group. Previous research projects have come close, but they relied on optical motion capture settings in a tightly controlled environment. In contrast, Swift is completely independent of remote inputs and utilizes only an onboard computer, IMU , and camera for real-time for navigation and control. It does however require a pretrained machine learning model for the specific track, which maps the drone’s estimated position/velocity/orientation directly to control inputs. The details of how the system works is well explained in the video after the break. The paper linked above contains a few more interesting details. Swift was able to win 60% of the time, and it’s lap times were signifi

Simple STM32 Frequency Meter Handles Up To 30MHz With Ease

Image
[mircemk] had previously built a frequency counter using an Arduino, with a useful range up to 6 MHz. Now, they’ve implemented a new design on a far more powerful STM32 chip that boosts the measurement range up to a full 30 MHz. That makes it a perfect tool for working with radios in the HF range. The project is relatively simple to construct, with an STM32F103C6 or C8 development board used as the brains of the operation. It’s paired with old-school LED 7-segment displays for showing the measured frequency. Just one capacitor is used as input circuitry for the microcontroller, which can accept signals from 0.5 to 3V in amplitude. [mircemk] notes that the circuit would be more versatile with a more advanced input circuit to allow it to work with a wider range of signals. It’s probably not the most accurate frequency counter out there, and you’d probably want to calibrate it using a known-good frequency source once you’ve built it. Regardless, it’s a cheap way to get one on your des

Building a Woodworking Lathe From Scratch

Image
Today, cheap dodgy machine tools are more readily available than ever. Sometimes though, there’s great value in putting a simple and rugged version of your own, as demonstrated by [bartworker]’s woodworking lathe build.  The core of the build is a hefty wooden base, something that is a core component of any good machine tool. It was built from a large beam sourced from a ship supply house, and originally used to hold a sturdy vice. It eventually gained a motor from a cement mixer when [bartworker] decided it should be converted into a lathe. From there, it was further equipped with a sliding support for larger workpieces, allowing [bartworker] to lathe some seriously big stock. The lathe is very much an ever-evolving thing, and [bartworker] has used it to share the joys of woodworking with his family and friends. As a demonstration of its abilities, the lathe was able to produce a handsome handle for [bartworker]’s axe. As this story shows, the only thing better than a tool you bui

Hackaday Prize 2023: This Differential Scope Probe Is Smarter Than It Looks

Image
A differential probe, a device for measuring the voltage between two points in a circuit rather than the voltage between a point and ground, it an extremely useful addition to any electronics bench. Inside such a probe you’ll usually find a fancy op-amp working as a differential amplifier, and for correct operation they require careful adjustment to null out DC bias and achieve the maximum common mode rejection. We particularly like [Craig D]’s probe , because these adjustments are taken care of automatically by a microcontroller. The analogue path provides a lesson for anyone interested in instrumentation signal path design, with the signal conditioning and compensation circuits feeding an AD8130 differential amplifier. Another amplifier samples the output voltage and feeds it to the ADC in the microcontroller. Common mode adjustment is taken care of by a digital potentiometer chip, and DC offset by the microcontroller’s DAC. Controlling all this is an ATSAMD10 chip, and the power i

A Raspberry Pi 5 is Better Than Two Pi 4s

Image
What’s as fast as two Raspberry Pi 4s? The brand-new Raspberry Pi 5 , that’s what. And for only a $5 upcharge (with an asterisk), it’s going to the new go-to board from the British House of Fruity Single-Board Computers. But aside from the brute speed, it also has a number of cool features that will make using the board easier for a number of projects, and it’s going to be on sale in October. Raspberry Pi sent us one for review, and if you were just about to pick up a Pi 4 for a project that needs the speed, we’d say that you might wait a couple weeks until the Raspberry Pi 5 goes on sale. Twice as Nice On essentially every benchmark, the Raspberry Pi 5 comes in two to three times faster than the Pi 4. This is thanks to the new Broadcom BCM2712 system-on-chip (SOC) that runs four ARM A76s at 2.4 GHz instead of the Pi 4’s ARM A72s at 1.8 GHz. This gives the CPUs a roughly 2x – 3x advantage over the Pi 4. (Although the Pi 4 was eminently overclockable in the CM4 package.) The DRAM r

The Robot That Lends the Deaf-Blind Community a Hand

Image
The loss of one’s sense of hearing or vision is likely to be devastating in the way that it impacts daily life. Fortunately many workarounds exist using one’s remaining senses — such as sign language — but what if not only your sense of hearing is gone, but you are also blind? Fortunately here, too, a workaround exists in the form of tactile signing, which is akin to visual sign language, except that it uses one’s sense of touch. This generally requires someone who knows tactile sign language to translate from spoken or written forms to tactile signaling. Yet what if you’re deaf-blind and without human assistance? This is where a new robotic system could conceivably fill in. The Tatum T1 in use, with a more human-like skin covering the robot. (Credit: Tatum Robotics) Developed by Tatum Robotics, the Tatum T1 is a a robotic hand and associated software that’s intended to provide this translation function, by taking in natural language information, whether spoken, written or in so