Serial Studio: Easily Visualise And Log Serial Data

Outputting data from a microcontroller over a serial port is convenient and easy, but formatting, visualizing, and analyzing the data can be tedious and frustrating. [Alex Spataru] knows this all too well, having spent too many hours building and debugging custom dashboards. To save himself and others the same frustration in the future, he created Serial Studio, a tool for quickly building dashboards for serial data.

The only input required for Serial Studio to create a dashboard is a simple JSON structure specifying the data’s format, and how it should be grouped and displayed. Originally Serial Studio required all the JSON data to be sent over serial, which is fine for simple data but quickly becomes cumbersome for more complex applications. To solve this, [Alex] added a feature allowing the JSON document with the format information loaded from the computer, while only the data is sent over serial.

Serial Studio includes several visualization options, including raw line graphs, bar/level indicator, dial indicator, the artificial horizon for IMU data, or a map widget. It can also output the formatted data to a CSV file for further analysis in other software. A console window is also included for viewing raw data or debugging purposes. See the usage demo after the break.

We like Serial Studio’s ease of use and adaptability, and we’ll likely use it for our own projects in the future. It is compatible with Linux, Windows, and Mac thanks to the Qt framework, and the code is open-source and available on GitHub.

If you’ve ever watched one of the BPS.Space model rocket launch videos, you’ll know how critical data logging, visualization and analysis is for [Joe Barnard]’s work. Serial Studio is perfect for such applications, and [Alex] used it extensively for simulated satellite competitions at his university. Continue reading “Serial Studio: Easily Visualise And Log Serial Data”

OpenCV And Depth Camera Spots Weeds

Using vision technology to identify weeds in agriculture is an area of active development, and a team of researchers recently shared their method of using a combination of machine vision plus depth information to identify and map weeds with the help of OpenCV, the open-source computer vision library. Agriculture is how people get fed, and improving weed management is one of its most important challenges.

Many current efforts at weed detection and classification use fancy (and expensive) multispectral cameras, but PhenoCV-WeedCam relies primarily on an OAK-D stereo depth camera. The system is still being developed, but is somewhat further along than a proof of concept. The portable setups use a Raspberry Pi, stereo camera unit, power banks, an Android tablet for interfacing, and currently require an obedient human to move and point them.

It’s an interesting peek at the kind of hands-on work that goes into data gathering for development. Armed with loads of field data from many different environments, the system can use the data to identify grasses, broad leaf plants, and soil in every image. This alone is useful, but depth information also allows the system to estimate overall plant density as well as try to determine the growth center of any particular plant. Knowing that a weed is present is one thing, but to eliminate it with precision — for example with a laser or mini weed whacker on a robot arm — knowing where the weed is actually growing from is an important detail.

PhenoCV-WeedCam (GitHub repository) is not yet capable of real-time analysis, but the results are promising and that’s the next step. The system currently must be carried by people, but could ultimately be attached to a robotic platform made specifically to traverse fields.

Old Gas Meter Gets Smart With The ESP8266

Measuring the usage of domestic utilities such as water, gas or electricity usually boils down to measuring a repetitive pulse signal with respect to time. To make things easy, most modern utility meters have a pulsed LED output, which can be used to monitor the consumption by using an external optical sensor. But what do you do if your meter isn’t so cooperative?

That’s exactly what [Francesco] had to figure out while developing the non-invasive gas tracking system he calls ESPmeter. His meter might not have an LED, but it did have a magnet attached to the counter disk which activated an internal hall sensor. With some hacking, he was able to attach an external Hall-effect sensor to pick up this magnet and use the signal to monitor his daily gas consumption.


A big stumbling block in such projects is the issue of powering the device for an extended period, and remembering when it’s time to change the batteries. With the clever use of commonly available parts, he was able to reduce power consumption allowing three AA batteries to last about a year between changes. For one thing, he uses an ATtiny13 to actually read the sensor values. The chip doesn’t run continuously, its watchdog is set at 1 Hz, ensuring that the device is woken up often enough so that it has time to power up the sensor and detect the presence of the magnet. Battery voltage is also measured via a voltage divider connected to the chip’s ADC pin.

At regular intervals throughout the day, the ESP8266 polls the ATtiny13 to pull the stored sensor pulses and voltage measurement. Then at midnight, the ESP transmits all the collected data to a remote server. Overall, this whole scheme allows [Francesco] to reliably gather his gas consumption data while not having to worry about batteries until he gets the low voltage notification. Since the data visualization requirements are pretty basic, he is keeping things simple by using Plotly to display his time series data.

If you are unfortunate enough to have an even older meter which doesn’t use optical or magnetic rotation sensing, you can use a disassembled mouse to keep track of the Gas Meter.

This Hot Air Gun Is Either A Work Of Genius Or Lethal, We Can’t Decide

One of the essentials on the bench is some form of hot air gun. Whether it’s a precision tool intended for reworking PCBs or the broad-stroke item used for paint stripping, we’ve all got one somewhere. The paint-stripping variety are pretty cheap, but not as cheap as [Porcas Pregos e Parafusos]’s home made hot air gun. This slightly hair-raising device is made from a variety of junk parts and delivers hot air, though we suspect the possibility for burning the operator remains high.

At its heart is one of those mains powered water boiler elements designed to be lowered into a cup or similar, and since such devices would burn out if not cooled in some way, there is a fan from a microwave oven passing air over it. The whole thing sits inside an aluminium cone cut from a circular cake tin, and is held together on a wooden chassis to which the handle and power switch from a defunct electric drill provide the operator with something to hold on to.

As you can see from the video below the break it makes for an effective hot air gun, but one that we’re guessing you’d soon learn to avoid touching on the metal cone. Still, as a community we’re used to this with our soldering irons, as the RevSpace T-shirt puts it: “If it smells like chicken, you’re holding it wrong“.

Strangely, this isn’t the first DIY heat gun we’ve seen.

Continue reading “This Hot Air Gun Is Either A Work Of Genius Or Lethal, We Can’t Decide”

Mystery Box Gives Up Its Patented Secrets

[CuriousMarc] likes to go to surplus stores even though there are fewer of them around. On a recent trip, he found a box that had some parts he thought would work for a temperature controller project. It was marked Dial-A-Level and proudly proclaimed that it had a patent pending. The box was from the 1970s and [Marc] was wondering what the device was meant to do.

The device was a bit of a puzzle since it had three oddly-marked probe inputs. A search through the patent database revealed the device was a “capacitance probe for detecting moisture with very long cables.” The idea was to create a capacitor at the end of the cable and use the liquid as a dielectric. The sensor creates a 10 kHz sine wave it uses to excite the probe and an op amp measures the relative capacitive reactance of the probe versus a reference capacitor. The rest of the circuit is a comparator that reacts when the level is at a threshold.

We love seeing the old hand-drawn boards from that era. Component designations are in copper and there’s no solder mask visible. There was a clever application of a silicon controlled rectifiers and a relay to create a type of flip flop, that [Marc] explains.

Interestingly, the company that made the device, Expo Instruments, is still around and [Marc] contacted them. The actual patent holder replied and was amazed that [Marc] had possession of this antique. You can only wonder if anything you build today will wind up on whatever passes for YouTube three or four decades from now.

Capacitive sensing is quite versatile. Of course, there are many other ways to sense liquid level, too.

Continue reading “Mystery Box Gives Up Its Patented Secrets”

3D Printing A Full Scale Fiberglass Speedboat

It’s an age-old problem. You draw up a nice 6.5-meter long motorboat and then discover the shape won’t allow for a fiberglass mold. What do you do? If you’re [Moi], you grab a few Kuka robots and 3D print it using thermoplastic with embedded glass fibers. A UV light cures the plastic and you wind up with printed fiberglass. That’s the story behind the MAMBO, a 3D printed powerboat.

Despite the color, the fiberglass isn’t blue out of the gate — the boat is painted. Still, it looks nice with lines inspired by [Sonny Levi]’s Arcidiavolo design from 1973. MAMBO stands for Motor Additive Manufacturing BOat. It has a dry weight of about 800 kg and is fitted with a cork floor, white leather seats, and an engine. We presume none of those things were 3D printed.

Although it wasn’t fiberglass, we’ve seen a 3D printed boat before. In particular, the University of Maine’s giant 22,000 square foot printer cranked one out. We’ve also seen boats printed in standard PLA filament, which then had fiberglass cloth and resin applied after printing. True that one was only RC, but there’s no reason the concept couldn’t be scaled up if you had the patience.

Master Video Call Control Panel Is Made Of PCBs

[memestra] is a teacher whose life has become a series of videoconferences over the last year or so. With all the classes and meetings, they spend the whole day switching between either Zoom, Teams, or Meet. If anyone needs a single piece of hardware to control them all, it’s [memestra]. Well, and every other teacher out there.

The hardware — an Arduino Pro Micro and some buttons — should come as no surprise, except for maybe [memstra]’s use of a resistor network for the LEDs. Still, there’s a lot to like about this little box, starting with the enclosure. That’s not milled or laser-cut metal — each side is a PCB, and they’re all soldered together into a box.

We especially like the top panel, which fits down over the PCB that all the components are soldered to. Each of the non-volume buttons has multiple functions that are accessed by pressing, long pressing, or double pressing. But even the volume buttons do double duty: press them together to mute and un-mute. If [memestra] ever forgets which button does what and how, there’s a handy reference table silkscreened on the bottom panel.

In true teacher fashion, [memestra] has written comprehensive instructions for anyone looking to build a similar device. The heavily-commented code should make it a cinch to drop in keyboard shortcuts for Discord or anything else you might be using, though it’s worth noting that this box is optimized for the desktop apps and not the browser-based versions.

Just looking for a fun way to end video calls? Pull chains are pretty fun.