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” →

Reverse Engineer That USB Device In Style

Proprietary device drivers, dedicated applications, and their ilk are the bane of the open-source hacker. If only we could snoop on every device out there, recording the “secret” USB transactions as they go over the wire, we’d have a chance.

[Emir Mrkaljević]’s tool, usb-rea, aims to make this process a whole lot less painful. The workflow is like this: you start capturing on USB, make an annotation about what action you’re taking, press the button a few times, and then move on to the next action.

sudo modprobe usbmon
usb-rea capture start -o lamp.pcapng
usb-rea mark -m lamp.pcapng.actions.json "brightness 0%"    # then click it in the vendor app
usb-rea mark -m lamp.pcapng.actions.json "brightness 50%"   # ...repeat for 3+ values per setting
usb-rea capture stop
usb-rea report lamp.pcapng -o report.md
usb-rea scaffold lamp.pcapng -o lamp_driver.py
usb-rea dissector lamp.pcapng -o lamp.lua      # Wireshark dissector for the same protocol

Usb-rea records all the USB traffic, timestamps it relative to your actions, and gives you a report, a driver, and a Wireshark protocol dissector out the back side. There is even an MCP file so that you can hand off the grunt work to the bots, possibly enabling this to work closed-loop?

Of course, you don’t want to reinvent the wheel, so it’s fun to see that there’s also a usb-rea lookup command to see if your VID:PID is already in the dataset. Most of the devices are CPU coolers, RGB controllers, and other blinged-out computer peripherals, but we imagine that it’s a lot more broadly applicable. We looked for our mouse on the list, but it’s sadly not there.

Usb-rea is not a silver bullet to bring back abandoned peripherals from the grave, because you still need to run the proprietary driver during the recording. But if you get ahead of the game and document the protocols before the manufacturers abandon them, you stand a chance. Get recording!

Building A DIY Centrifuge For Blood Processing

If you want to do certain types of lab work with blood, you’ll need a centrifuge. It’s often possible to find serviceable units on the used market, but they may not meet your requirements if you’re doing something quite specific. For that reason, [Thomas Nguyen] decided to build his own centrifuge from scratch.

His goal was to separate T cells from blood for further lab analysis, and he needed to be able to work with blood in 15 mL conical tubes. Capable centrifuges weren’t affordable, but he figured he could build his own quite easily. To that end, he enlisted a Raspberry Pi Pico, a 3D printer, and an A2212 brushless motor with a 30 amp electronic speed controller.

Soon enough, he had a design for a fixed-angle centrifuge design that could spin up blood products to the required speed for separation. It has useful safety features, like an MPU-6050 for vibration detection to shut down in case of dangerous imbalance, and an IR sensor for monitoring and controlling rotational speed. For now, the project is still in development, with the first version built and spinning. [Thomas] aims to check that the build operates safely and can separate fluids like dyed water and glycerol successfully before running it with real blood products.

We’ve seen other successful DIY centrifuge builds before, too. Sometimes, the lab hardware you need is the lab hardware you build yourself. If it works and does the job safely, it can be all that you need to get your science goals coming to fruition.

Continue reading “Building A DIY Centrifuge For Blood Processing” →

Motorized Planer Height Adjustment Dials In

Having access to a planer opens up a lot of options for woodworking. It enables a craftsman to work with much rougher lumber and the finished results generally have tighter tolerances. But as [DendroLabsDev] found out, the height adjustment wheel on a planer needs a lot of turns to go from its lowest to highest position, and this gets tiresome when greasing parts during maintenance. So what started as a quick hack to quickly perform this single maintenance task eventually resulted in this programmable height adjustment that’s in use on the planer full-time now.

The motor attached to the height adjustment for the planer is a stepper motor, capable of around 1000 steps per inch. Since revolutions on this tool with the stock wheel adjust only a small amount per revolution, this can in theory enable very small tolerances to be dialed in consistently. Not only that, but [DendroLabsDev] has programmed it with a few different modes, the first of which allows a board to be planed to a certain thickness by making several passes, mimicking the workflow of a human-controlled machine. Then a device to zero the position was added, and then the ability to save the height adjustments to make replication across different boards was added, and then a mode to step through set amounts per pass.

What [DendroLabsDev] has essentially made is a high-dollar planer control that is actually available in the most expensive planers, but adapted for a DeWalt planer easily available and semi-affordable at many local hardware stores. It is also theoretically adaptable for any planer with an adjustment wheel, and [DendroLabsDev] has some plans to improve the control system and package it with a PCB and enclosure that would allow it to be a more accessible product for other woodworkers. Adding electronics to woodworking tools other than routers is a popular pastime, take this CNC-controlled scroll saw for example.

Building A Die Filer From Scratch

A die filer is a useful tool to have if you find yourself filing parts on the regular. It’s basically a machine that reciprocates a file up and down for you so you can focus on filing the part to your desired dimensions. They’re not commonly manufactured these days, so [Richard Huberjohn] set about building his own. 

This die filer relies on a simple mechanism to turn rotational motion from a motor into reciprocating linear motion in the vertical plane. A rotating shaft is connected to a crank, which turns a pin in a slotted carrier attached to a linear bearing. As the wheel turns, the pin slides in the carrier, driving it and the linear rod up and down in turn. Attach a file to this, and you have a working die filer. In this case, the rotating shaft is driven by a pair of DC brushed motors, with output stepped down via a gearbox and then a short belt drive. Speed is varied with the aid of an off-the-shelf controller.

If you’re regularly filing small parts, a build like this could speed your work to a great degree. We’ve featured other DIY machine tool builds before, too. If you’re cooking up your own gear for the home workshop, don’t hesitate to let us know on the tipsline!

Build Your Own Compact Temp Gun

Sometimes you need to know what temperature something is, but you don’t quite want to touch it. At times like these, you might want a temp gun on hand to get a good reading, like the one [Arnov Sharma] built.

The build is a relatively simple one, and is based around an Waveshare ESP32 C6 development module that comes with a small LCD screen out of the box. The microcontroller is set up to read an MLX90614 infrared temperature sensor. This device picks up the infrared energy that is emitted by objects relative to their temperature. The sensor has a great range—from -70 C to 380 C. The readouts from this sensor are then displayed on the screen. Battery power is from a small 600 mAh LiPo cell, which is managed by a IP5306 charge module.

It’s worth noting that these infrared temperature sensors aren’t infallible devices. The temperature they perceive is based on certain assumptions about factors like an objects emissivity. Thus, they don’t always give accurate readings on metallic or shiny objects, for example. It’s also important to understand the sensor’s field of view. Despite many commercial versions featuring a laser pointer for aiming, many of these infrared temperature sensors tend to average their reading over a small spot that gets larger the farther away they are from the object being measured.

Tools like portable temp guns are pretty cheap, but sometimes it’s just fun to build your own. Plus, you usually learn something along the way. Video after the break.

Continue reading “Build Your Own Compact Temp Gun” →

Casting Metal Tools With Kitchen Appliances

Perhaps the biggest hurdle to starting a home blacksmithing operating is the forge. There’s really no way around having a forge; somehow the metal has to get hot enough to work. Although we might be imagining huge charcoal- or gas-fired monstrosities, [Shake the Future] has figured out how to use an unmodified, standard microwave oven to get iron hot enough to melt and is using it in his latest video to cast real, working tools with it. (Also available to view on Reddit)

In the past, [Shake the Future] has made a few other things with this setup like an aluminum pencil with a graphite core. This time, though, he’s stepping up the complexity a bit with a working tool. He’s decided to build a miniature bench vice, which uses a screw to move the jaws. He didn’t cast the screw, instead using a standard size screw and nut, but did cast the two other parts of the vice. He first 3D prints the parts in order to make a mold that will withstand the high temperatures of the molten metal. With the mold made he can heat up the iron in the microwave and then pour it, and then with some finish work he has a working tool on his hands.

A microwave isn’t the only kitchen appliance [Shake the Future] has repurposed for his small metalworking shop. He also uses a standard air fryer in order to dry parts quickly. He works almost entirely from the balcony of his apartment so he needs to keep his neighbors in mind while working, and occasionally goes to a nearby parking garage when he has to do something noisy. It’s impressive to see what can be built in such a small space, though. For some of his other work be sure to check out how he makes the crucibles meant for his microwave.

Continue reading “Casting Metal Tools With Kitchen Appliances” →