Hackaday Links Column Banner

Hackaday Links: November 17, 2019

Friday, November 15, 2019 – PASADENA. The 2019 Hackaday Superconference is getting into high gear as I write this. Sitting in the Supplyframe HQ outside the registration desk is endlessly entertaining, as attendees pour in and get their swag bags and badges. It’s like watching a parade of luminaries from the hardware hacking world, and everyone looks like they came ready to work. The workshops are starting, the SMD soldering challenge is underway, and every nook and cranny seems to have someone hunched over the amazing Hackaday Superconference badge, trying to turn it into something even more amazing. The talks start on Saturday, and if you’re not one of the lucky hundreds here this weekend, make sure you tune into the livestream so you don’t miss any of the action.

The day when the average person is able to shoot something out of the sky with a laser is apparently here. Pablo, who lives in Argentina, has beeing keeping tabs on the mass protests going on in neighboring Chile. Huge crowds have been gathering regularly over the last few weeks to protest inequality. The crowd gathered in the capital city of Santiago on Wednesday night took issue with the sudden appearance of a police UAV overhead. In an impressive feat of cooperation, they trained 40 to 50 green laser pointers on the offending drone. The videos showing the green beams lancing through the air are quite amazing, and even more amazing is the fact that the drone was apparently downed by the lasers. Whether it was blinding the operator through the FPV camera or if the accumulated heat of dozens of lasers caused some kind of damage to the drone is hard to say, and we’d guess that the drone was not treated too kindly by the protestors when it landed in the midsts, so there’s likely not much left of the craft to do a forensic analysis, which is a pity. We will note that the protestors also trained their lasers on a police helicopter, an act that’s extremely dangerous to the human pilots which we can’t condone.

In news that should shock literally nobody, Chris Petrich reports that there’s a pretty good chance the DS18B20 temperature sensor chips you have in your parts bin are counterfeits. Almost all of the 500 sensors he purchased from two dozen vendors on eBay tested as fakes. His Github readme has an extensive list that lumps the counterfeits into four categories of fake-ness, with issues ranging from inaccurate temperature offsets to sensors without EEPROM that don’t work with parasitic power. What’s worse, a lot of the fakes test almost-sorta like authentic chips, meaning that they may work in your design, but that you’re clearly not getting what you paid for. The short story to telling real chips from the fakes is that Maxim chips have laser-etched markings, while the imposters sport printed numbers. If you need the real deal, Chris suggests sticking with reputable suppliers with validated supply chains. Caveat emptor.

A few weeks back we posted a link to the NXP Homebrew RF Design Challenge, which tasked participants to build something cool with NXP’s new LDMOS RF power transistors. The three winners of the challenge were just announced, and we’re proud to see that Razvan’s wonderfully engineered broadband RF power amp, which we recently featured, won second place. First place went to Jim Veatch for another broadband amp that can be built for $80 using an off-the-shelf CPU heatsink for thermal management. Third prize was awarded to a team lead by Weston Braun, which came up with a switch-mode RF amp for the plasma cavity for micro-thrusters for CubeSats, adorably named the Pocket Rocket. We’ve featured similar thrusters recently, and we’ll be doing a Hack Chat on the topic in December. Congratulations to the winners for their excellent designs.

Well-Engineered RF Amplifier Powers Ham Radio Contacts

Typically, amateur radio operators use the minimum power needed to accomplish a contact. That’s just part of being a good spectrum citizen, and well-earned bragging rights go to those who make transcontinental contacts on the power coming from a coin cell. But sometimes quantity has a quality all its own, and getting more power into the ether is what the contact requires. That’s where builds such as this well-engineered 600W broadband RF amplifier come into play.

We’re really impressed with the work that [Razvan] put into this power amp. One of the great joys of being a ham is being able to build your own gear, and to incorporate the latest technology long before the Big Three manufacturers start using it. While LDMOS transistors aren’t exactly new – laterally-diffused MOSFETs have been appearing in RF power applications for decades – the particular parts used for the amp, NXP’s MRF300 power transistors, are pretty new to the market. A pair of the LDMOS devices form the heart of the push-pull amp, as do an array of custom-wound toroids and transformers including a transmission line transformer wound with 17-ohm coax cable. [Razvan] paid a lot of attention to thermal engineering, too, with the LDMOS transistors living in cutouts in the custom PCB so they can mate with a hefty heatsink. Even the heatsink compound is special; rather than the typical silicone grease, he chose a liquid metal alloy called Gallinstan. The video below gives a tour of the amp and shows some tests with impressive results.

Continue reading “Well-Engineered RF Amplifier Powers Ham Radio Contacts”

It’s A TV-Scope-Guitar Amplifier!

Guitar amplifiers are a frequent project, and despite being little more than a simple audio amplifier on paper, they conceal a surprising quantity of variables in search of a particular sound. We’ve seen a lot of them, but never one quite like [Nate Croson]’s CRT TV guitar amplifier. The LM386 doesn’t just drive the speaker, he’s also using it to turn the TV into a crude oscilloscope to form a visualisation of the sound.

The video showing this feat is below the break, and it puts us in a quandary due to being short on technical information. He’s driving the horizontal coils with the TV’s 50 Hz sawtooth field timebase, and the vertical ones with the audio from the LM386. We aren’t sure whether he’s rotated the yoke or whether the connections have been swapped, but the result is certainly impressive.

So given that there’s not quite as much technical detail as we’d like, why has this project captured our interest? Because it serves as a reminder that a CRT TV is a bit more than a useless anachronism, it’s a complex analogue device with significant and unique hacking potential. The older ones in particular provide endless possibilities for modification and circuit bending, and make for a fascinating analogue playground at a very agreeable price. It’s worth pointing out however that some of the voltages involved can make them a hazardous prospect for the unwary hacker. If you’re interested though, take a look at our dive into an older model.

Continue reading “It’s A TV-Scope-Guitar Amplifier!”

ESP8266 Unlocks Hidden Features In Sound Bar

It’s no secret that the hardware devices we buy are often more capable than their manufacturer leads on. Features hidden behind firmware locks are a common trick, as it allows companies to sell the same piece of gear as a different model by turning off certain capabilities. Luckily for us, these types of arbitrary limitations are often easy to circumvent.

As a perfect example, [Acuario] recently discovered that the LG SJ2 sound bar has quite a few features that aren’t advertised on the box. Whether it’s due to greed or just laziness, it turns out LG isn’t using many of the capabilities offered by the ESMT AD83586B IC inside the amplifier. The chip gets its configuration via I2C, so thanks to the addition of an ESP8266, the expanded capabilities can now be easily enabled through a web interface.

[Acuario] has already found out how to turn on things like simulated surround sound, or per-channel volume controls; all functions which aren’t even exposed through the normal controls on the sound bar. But it goes deeper than that. The LG SJ2 is a 2.1 channel system, with a wireless speaker providing the right and left channels. But the AD83586B inside the subwoofer is actually capable of driving two locally connected speakers, though you obviously need to do a little rewiring.

There are still even more capabilities to unlock, though [Acuario] is currently struggling with some incomplete documentation. The datasheet says there’s support for user-defined equalizer settings, but no examples are given for how to actually do it. If anyone’s got a particular affinity for these sort of amplifier chips, now could be your time to shine.

For hackers, there’s perhaps no better example of feature-locked products than Rigol’s line of oscilloscopes. From the 2000 series of scopes in 2013 up to their higher-end MSO5000 just last year, there’s a long history of unlocking hidden features on these popular tools.

Professional Audio On An ESP32

Audiophiles have worked diligently to alert the rest of the world to products with superior sound quality, and to warn us away from expensive gimmicks that have middling features at best. Unfortunately, the downside of most high quality audio equipment is the sticker price. But with some soldering skills and a bit of hardware, you can build your own professional-level audio equipment around an ESP32 and impress almost any dedicated audiophile.

The list of features the tiny picoAUDIO board packs is impressive, starting with a 3.7 watt stereo amplifier and a second dedicated headphone amplifier. It also has all of the I/O you would expect something based on an ESP32 to have, such as I2S stereo DAC, an I2S microphone input, I2C GPIO extenders and, of course, a built-in MicroSD card reader. The audio quality is impressive too, and the project page has some MP3 files of audio recorded using this device that are worth listening to.

Whether you want the highest sound quality for your headphones while you listen to music, or you need a pocket-sized audio recording device, this might be the way to go. The project files are all available so you can build this from the ground up as well. Once you have that knocked out, you can move on to building your own speakers.

Continue reading “Professional Audio On An ESP32”

New Circuits With Old Technology

Before the invention of transistors, vacuum tubes ruled the world. The only way to get amplification or switching (or any electrical control of current) back then was to use tubes. But some tube design limitations were obvious even then. For one, they produce an incredible amount of heat during normal operation, which leads to reliability issues. Tubes were difficult to miniaturize. Thankfully transistors solved all of these issues making vacuum tubes obsolete, but if you want to investigate the past a little bit there are still a few tubes on the market.

[kodera2t] was able to get his hands on a few of these, and they seem to be relatively new. This isn’t too surprising; there are some niche applications where tubes are still used. These have some improvements over their ancestors too, operating at only 30V compared to hundreds of volts for some older equipment. [kodera2t] takes us through a few circuits built with these tubes, from a simple subminiature vacuum tube radio to a more complex reflex radio.

Taking a walk through this history is an interesting exercise, and it’s worth seeing the ways that transistor-based circuits differ from tube-based circuits. If you’re interested enough to move on beyond simple radio circuits, though, you can also start building your own audio equipment with vacuum tubes.

Continue reading “New Circuits With Old Technology”

Fun With Negative Resistance: Jellybean Transistors

The concept of negative resistance has always fascinated me. Of course, a true negative resistance is not possible, and what is meant is a negative differential resistance (NDR). But of course knowing the correct term doesn’t do anything to demystify the topic. Negative resistance sounds like an unusual effect, but it turns out to be relatively common, showing up in places like neon lamps and a number of semiconductor structures. Now’s as good a time as any to dig in and learn more about this common principle.

NDR means a portion of a device’s I/V curve where the current falls with increasing applied voltage. The best-known semiconductor device exhibiting negative resistance is the tunnel diode, also known as the Esaki diode after one of the Nobel-Prize-winning discoverers of the quantum tunneling effect responsible for its operation. These diodes can perform at tremendous speeds; the fastest oscilloscope designs relied on them for many years. As the transistor and other technologies improved, however, these diodes were sidelined for many applications, and new-production models aren’t widely available — a sad state for would-be NDR hackers. But, all hope is not lost.

Rummaging through some old notebooks, I rediscovered an NDR design I came up with in 2002 using two common NPN transistors and a handful of resistors; many readers will already have the components necessary to experiment with similar circuits. In this article, we’ll have a look at what you can do with junkbox-class parts, and in a future article we’ll explore the topic with some real tunnel diodes.

So, let’s see what you can do with a couple of jellybean transistors!

Continue reading “Fun With Negative Resistance: Jellybean Transistors”