A Frequency Generator For Not A Lot

There are many ways to generate a square wave, and given the availability of phase-locked-loop-based clock generator chips, it’s easy enough to do so from a microcontroller. But the microcontroller can be persuaded to make a square wave on its own, and and this is what [Alun Morris] has done with his Mega Hurts frequency generator. It’s a pocket square wave signal generator, powered from a USB-C socket.

At its heart is the inexpensive CH32V203F6P6 microcontroller mounted on a small dev board in a 3D printed case. There’s an OLED display and a rotary encoder to provide a user interface. The maximum frequency achievable is 30 MHz, with variable duty cycle. The generation is achieved using the chip’s 16-bit timer operating as a PWM peripheral, and the output reaches the world through a BNC socket. We can see it could be a useful little instrument, even if it’s limited to square waves alone.

We quite like the very simple prototyping technique used here, dead-bugging SMD parts without the need for a custom PCB. IT proves that sometimes, just going ahead and making the thing with what you have is the way forward.

A 3D Printed Microscope Stage For Accurate Motion

Let’s say you’re looking at something through a microscope. You might want to move it to look at a different part of the sample, but it can be tough to move something carefully enough to keep the relevant parts in view when you’re zoomed in at high magnification. If that’s your struggle, you might find use in this microscope stage from [Ali Azadbakht].

The precision build combines 3D-printed parts with off-the-shelf bearings to create a microscope stage capable of precise movement. The stage uses a NEMA 11 stepper motor, which drives an M3 lead screw through a set of 3D-printed gears. This moves the carriage, which is preloaded against the drive with elastic cord to eliminate slop. An Arduino Uno R4 Minima is used to run the show, paired with a TMC2209 stepper driver. The setup can do 200 motor steps per revolution, and 256 microsteps per step, which, with an 0.5mm pitch on the lead screw, leads to a minimum command increment of approximately 9.77 nm. However, in practice, the measured useful incremental motion possible with the setup was more like 2.5-4 µm. Still, very good and useful for a wide range of microscopy work.

If you’re stick of slipping past what you were looking at through your microscope, it might be worth building yourself something like this. Alternatively, consider building yourself something capable of providing a 3D view. If you’re working on your own microscopy projects or similar, don’t hesitate to let us know on the tipsline.

Troubleshooting Ethernet Networks With The ESP32

While there are cheap handheld testers that can tell you if an Ethernet jack is wired improperly or if the cable itself has a broken conductor, figuring out if there’s a live TCP/IP network over it is a little more difficult. There are commercial testers that can detect those sorts of issues as well, but they’re considerably more expensive. So when trying to diagnose a flaky network connection, it’s often necessary to lug a laptop around so you can plug it in at various points to try and isolate the problem.

Mobile view of the web UI.

If this is a situation you occasionally find yourself in, the Syndetis project by [theo79] may be of interest. This firmware for the WT32-ETH01 turns the ESP32 development board into a handy network tester that can determine Ethernet link status, ping IP addresses, detect other devices using Link Layer Discovery Protocol (LLDP), and even and sniff out active services such as DHCP. Add an 128×64 OLED display, a few buttons, and a USB power bank, and you’ve got a self-contained diagnostic tool that can fit in your pocket.

Anyone who’s had to squeeze into a wiring closet will appreciate the stand-alone nature of this device. But if you’ve got the room to bring your phone along and a free hand to operate it, the firmware also offers up a web interface that can be accessed over WiFi.

This will present you with a slightly more polished UI than can be offered up by the OLED and buttons, offering up a more complete view of what’s happening on the network. It’s also possible to generate diagnostic reports that are saved as JSON files for later analysis.

If you don’t need all these fancy features and just want a quick way to tell if an Ethernet cable is good, we’ve covered a DIY tester that uses the venerable 555 timer. If you’ve got a multimeter handy, you can get away with little more than a bare PCB.

Custom Firmware For The CMU200

The Rhode & Schwarz CMU200 and CMU300 communications analyzers are useful tools for a variety of tasks in the RF space. However, [iu2frl] decided that they could be a little more feature-packed, and got to work whipping up some custom firmware for that very purpose.

You get a whole bunch of extra features from the firmware, including a tracking generator, WFM reception with RDS decoding, and a suite of ham radio test tools based on the ARRL test guidelines. Another key feature is networking and remote control — specifically, there’s an FTP server, a VNC server, and an HTTP server all accessible on the device. There’s even an NTP client which keeps time squared away nicely. Installing the firmware mostly just involves copying some files to a card and running some commands with an attached USB or PS/2 keyboard.

This is specialist hardware that you probably don’t have on hand unless you’ve got a very real use for it. In that case, you might be a little reticent to mess around with it. However, if you’re game, you can unlock a great deal of extra functionality thanks to [iu2frl]’s hard work. We see lots of custom firmware hacks around these parts.

Continue reading “Custom Firmware For The CMU200” →

DabbleCAD Takes Design Offline

These days, there are all kind of online-only and in-browser CAD packages. DabbleCAD is the opposite of all that—a simple, offline, open-source design solution.

DabbleCAD handles 3D design in a similar way to TinkerCAD. It’s shape based modelling, with all the usual tools for stretching, deforming, punching holes, and the like. It’s set up to export your geometry to STL or 3MF so you can throw it straight into a slicer for 3D printing.

However, it’s also a package that can handle design for laser cutters, too. There are simple tools for importing artwork or drawing it from scratch, and it will export the relevant G-code or directly send to a GRBL-compatible laser cutter hooked up over USB. As a nice bonus, there’s also an engraving feature. 3D models or images can be turned into height maps for relief engraving if you’ve got the tools for it.

DabbleCAD doesn’t do anything groundbreaking or new that existing software can’t handle. It’s just a convenient, portable piece of software in an era when so much of what we use is tied to logins and clouds and endless headaches around connectivity. If you’re whipping up your own tools to suit your chosen working ethos, don’t hesitate to let us know on the tipsline.

OSS Rigol

Newer Rigol Scopes Get A Custom Linux Firmware

Electronics test equipment is a topic near and dear to many Hackaday readers. The average reader of this article is most likely within 50 feet of a multimeter, and it wouldn’t be much of a surprise to find they own multiple oscilloscopes. [dekajoule] has been working on a new firmware for the DHO series of Rigol oscilloscopes, the OOS (Open Operating System).

The DHO series of Rigol oscilloscopes was released in 2022. This series followed the very popular 1000Z series, which we’ve featured before in hacks that unlock built-in capabilities from budget oscilloscopes. The OOS project that [dekajoule] has been working on is similar, but maybe even more exciting, as it gives you even greater control over the scope. OOS runs on the built-in SD card that comes with the DHO scopes, and better still it can run alongside the existing OS, allowing you to swap back to the original OS if you decide to. There are a few different ways to install OOS, ranging from opening up the scope and cloning the SD card to using ADB over the network.

This project is still relatively new and as such it’s only been tested on a couple of models, but if the community support for the 1000Z series scopes is any indication, there are likely no shortage of users who would be interested in getting a little more out of their scope. For those on the fence, check out the long list of features that OOS brings to the table that aren’t part of the stock OS.

A person in a purple shirt and jeans sits in a reclined chair with wooden wheels and an apparatus holding a pair of binoculars in front of their face. A bunch of people are milling about behind them in the grassy field.

Binocular Chair Lets You Stargaze In Comfort

Telescopes are great, but sometimes binoculars are the right tool for stargazing. Holding them in front of your face for a long night of observation can get onerous though, so [Dave Selinger] designed the Milky Way Lounge Chair.

The chair allows for viewing at a variety of angles, including the zenith, and can hold its azimuth and altitude once the binoculars are released to give your arms a break. There’s no tracking capability yet, but there’s something to be said for something simple and relatively portable.

Starting with a suitable zero gravity chair, [Selinger] mounted it to a rectangular chair board with a bearing that can rotate around an octagonal ground board. The ground board is equipped with leveling screws to stabilize it for uneven surfaces, although he suggests a folded up tarp or rubber mat to place between the base and ground as well. Plans for the base are available for free, but the binocular holding apparatus and other functions are for sale if you don’t want to figure them out on your own.

This actually isn’t the first binocular chair we’ve seen.

Continue reading “Binocular Chair Lets You Stargaze In Comfort” →