A Radio Transceiver From A Cable Modem Chipset

It’s a staple of our community’s work, to make electronic devices do things their manufacturers never intended for them. Analogue synthesisers using CMOS logic chips for example, or microcontrollers that bitbang Ethernet packets without MAC hardware. One of the most fascinating corners of this field comes in the form of software defined radios (SDRs), with few of us not owning an RTL2832-based digital TV receiver repurposed as an SDR receiver.

The RTL SDR is not the only such example though, for there is an entire class of cable modem chipsets that contain the essential SDR building blocks. The Hermes-Lite is an HF amateur radio transceiver project that uses an AD9866 cable modem chip as the signal end for its 12-bit SDR transceiver hardware with an FPGA between it and an Ethernet interface. It covers frequencies from 0 to 38.4 MHz, has 384 kHz of bandwidth, and can muster up 5W of output power.

It’s a project that’s been on our radar for the past few years, though somewhat surprisingly this is the first mention of it here on Hackaday. Creator [Steve Haynal] has reminded us that version 2 is now a mature project on its 9th iteration, and says that over 100 “Hermes-Lite 2.0” units have been assembled to date. If you’d like a Hermes-Lite of your own it’s entirely open-source, and they organise group buys of the required components.

Of course, SDRs made from unexpected components don’t have to be exotic.

Spot Adulterated Olive Oil With This Spectrophotometer

Olive oil at its finest quality is a product that brings alive the Mediterranean cuisine of which it is a staple. Unfortunately for many of us not fortunate enough to possess our own olive grove, commercial olive oils are frequently adulterated, diluted with cheaper oils such as canola. As consumers we have no way of knowing this, other than the taste being a bit less pronounced. Food standards agencies use spectrophotometers to check the purity of oils, and [Daniel James Evans] has created such a device using a Raspberry Pi.

A spectrophotometer shines white light through a sample to be tested, splits the light up into a spectrum with a prism or diffraction grating, and measures the light level at each point in the spectrum to gain a spectral profile of the sample. Different samples can then be compared by overlaying their profiles and looking at any differences. This build shines the light from an LED through a sample of oil, splits the result with a diffraction grating, and captures the spectrum with a Raspberry Pi camera. Commercial instruments are usually calibrated by co-incidentally sampling a pure sample of the same solvent the test subject is dissolved in, in this case the calibration is done against a sample of pure olive oil. The software requires the user to identify the spectrum in the resulting photograph, before generating a curve.

From a basis of having worked with and maintained spectrophotometers in the distant past we would have expected to see an incandescent bulb rather than an LED for a flatter response, but since this is an oil identifier rather than a finely calibrated laboratory instrument this is probably less of an issue.

Over the years we’ve had quite a few spectrophotometer projects here, this Hackaday Prize entry from 2016 is just one of many.

Odd-Sized Military Headphone Connectors, Tamed!

Military headphones, at least the older ones, are like few other sound reproducers. They are an expression of function over form, with an emphasis on robustness over operator comfort. Electrically they most often have high-impedance drivers and annoyingly proprietary connectors for whichever obscure radio system they were a part of.

[John Floren] has a HS-16A headset, the type used by the US military during the Vietnam war. It’s an antiquated design with a dual spring steel headband and on-the-ear ‘phones with no muff for comfort, and a quick bit of research finds that they can be had brand new in their 1960s packaging for somewhere around $20. Their connector is a pair of odd metal pins, and rather than doing what most of us would do and snipping the wire to fit something more useful, he hunted high and low for a TE Connectivity receptacle that would fit them. A short extension and a jack plug allowed him to use these slightly unusual cans.

This isn’t a special hack, but it’s still an interesting read because it sheds a bit of light upon these old-style headphones and reveals that they’re still available for anyone who wants their radio operating to have a retro feel. If you buy a set, you’ll probably still have them decades after more modern pairs have bitten the dust.

Everything You Want To Know About The Cheapest Processors Available

Those of us who use microprocessors in our work will be familiar with their cost, whether we are buying one or two for a project or ten million on reels for a production run. We’re used to paying tens of cents or maybe even a dollar for a little microcontroller in single quantities, and these are probably the cheapest that we might expect to find.

There is a stratum of cheaper devices though, usually from Chinese manufacturers with scant data in English and difficult to source in Europe or the Americas. These chips cost under ten cents each, a figure which seems barely credible. To shed some light upon this world, [cpldcpu] has produced a run-down of some of the available families that even if you will never work with such an inexpensive option still makes for a fascinating read.

These processors are not the type of component you would use for high intensity tasks so it’s probable that you will not be mining cryptocurrency on a brace of them. Thus their architecture is hardly cutting-edge, with the venerable PIC12 being their inspiration and in some cases their direct copy. These are all write-once devices and some of their toolchains are variable in accessibility, but perhaps they aren’t as terrible as some would have you believe. If you are looking for inspiration, we’ve featured one of them before.

TL;DR: the Padauk PFS173, at just under $0.09, has an open-source toolchain and a decent set of peripherals.

Thanks [WilkoL] for the tip.

Image: A real PIC12 die shot. ZeptoBars [CC BY 3.0]

The Danish Internet Of Hot Tubs

Every hacker camp has its own flavor, and BornHack 2019 in the Danish countryside gave us the opportunity to sample some hacker relaxation, Scandinavian style. Among the attractions was a wood-fired hot tub of gargantuan proportions, in which the tired attendee could rejuvenate themselves at 40 Celcius in the middle of the forest. A wood-fired hot tub is not the easiest of appliances to control, so to tame it [richard42graham] and a group of Danish hackerspace friends took it upon themselves to give it an internet-connected temperature sensor.

The starting point was a TMP112 temperature sensor and an ESP8266 module, which initially exposed the temperature reading via a web interface, but then collapsed under too much load. The solution was to make the raw data available via MQTT, and from that create a web interface for the event bar, Twitter and IRC bots. There was even an interface to display hot tub temperature on the ubiquitous OHMlights dotted around the camp.

It’s more normal to control a hot tub via an electric heater, but since the wood fire on this one has to be tended by a camp volunteer it made sense to use the IRC system as an alert. It will be back at BornHack 2020, so we’ll have to do our job here at Hackaday and spend a long time lounging in the hot tub in the name of journalistic research to see how well it works.

An Entire PDP-11 On Your Bench

A PDP-11 at The National Museum Of Computing, Bletchley, UK.
A PDP-11 at The National Museum Of Computing, Bletchley, UK.

The DEC PDP series of minicomputers occupy a special place in computing history for us, because as the workhorses of commercial computing from the 1960s through to some time in the 1990s they provided the bedrock upon which so many of the computing technologies we take for granted today were built. If we think of any PDP, the chances are we’ll be imagining fridge-sized units with panels of blinkenlights that have become iconic in their own right. But that wasn’t the sum of PDP hardware, for at the end of the series of machines there were produced PDP-11s containing what had previously needed those fridge-sized units on a single chip-sized module. [Peter Schranz] had one of these modules, a DCJ11 that he’d salvaged in the 1990s, and he set to with it in making a modern desktop version of a PDP-11.

The PDP-11/hack is a PDP-11 as a set of daughter cards on a lightly modified Q-bus backplane. The DCJ11 and its memory sit on one, an emulated disc controller on another, and finally a multifunction board brings together clock and serial functions. Where the original would have had acres of 74 logic the PDP-11/hack uses more modern CPLDs and microcontrollers to provide glue logic and to emulate now-obsolete components. Given a serial terminal it will boot and run PDP operating systems and software, though it lacks a set of blinkenlights to display its status.

This isn’t the first PDP-11 using this chip we’ve shown you.

Perfect Cheese Every Time With This Temperature Controller

Anyone who is from a background in which cheesemaking is a feature will tell you that it is an exact science in which small differences in parameters can make a huge difference in the resulting cheese, to the extent that entire batches can be rendered inedible. In particular the temperature at which the milk is held can be crucial to the production of individual styles of cheese. A friend of [William Dudley]’s had this problem, as a dairy farmer and artisinal cheesemaker they had to carefully control their vat with a set of profiles depending upon the recipe in use. This was achieved using an Arduino Mega 2650 and a thermocouple to control the heat source for the hot water in the outer wall of the vat.

A cheap K-type thermocouple amplifier proved unsatisfactory, so a Sparkfun item was substituted. A relay, Ethernet adaptor, and LCD display provided power control, access to a web interface, and user feedback respectively. Four buttons to select programs were added, and the whole was neatly boxed up to survive the dairy and put to work. In tests with a saucepan it was configured as a PID controller, but the real vat proved to have a much greater thermal inertia so a simpler bang-bang home thermostat style approach was used. Temperatures are logged in an eeprom for later retrieval via the web interface.

We don’t see the cheeses produced, but we’re sure they must be worth the effort. Blessed may be the cheesemakers, but doubly blessed are they who have a little help from an Arduino.