Wireless Earbuds Charge Themselves

As more and more ports are removed from our smart devices, it seems that we have one of two options available for using peripherals: either buy a dongle to continue to use wired devices, or switch to Bluetooth and deal with perpetually maintaining batteries. If neither of these options suits you, though, there’s a third option available as [befinitiv] shows us in this build where he integrates a tiny solar panel to his earbud case to allow them to automatically charge themselves.

To start, he begins by taking apart the earbud case. For those who still haven’t tried out a set of these, they typically charge only when placed inside of their carrying case, which in his case also contains a small battery itself. Soldering wires directly to the battery allow for the battery to charge without as much electrical loss as he would have had if he had connected to the USB pins on the circuit board. Even then, the cell only generates a single volt so he needs a 5V boost converter to properly charge the battery. That came with its own problem, though, as it wouldn’t fit into the case properly. To solve that issue, he desoldered all of the components and deadbugged them together in order to fit the converter into a much smaller space without having to modify the case in any other way.

With all of that done and the small solar cell attached to the case, [befinitiv] has a smart solution to keep his wireless earbuds topped up without having to carry cables or dongles around every day. We’ve seen plenty of interesting solutions to the problem of various electronics manufacturers removing the ubiquitous 3.5 mm headphone jack too, and not all of them have dealt with this problem without certain other quirks arising as a result.

Continue reading “Wireless Earbuds Charge Themselves”

Hands-On Review: TCam-Mini WiFi Thermal Imager

A thermal camera is a tool I have been wanting to add to my workbench for quite a while, so when I learned about the tCam-Mini, a wireless thermal camera by Dan Julio, I placed an order. A thermal imager is a camera whose images represent temperatures, making it easy to see things like hot and cold spots, or read the temperature of any point within the camera’s view. The main (and most expensive) component of the tCam-Mini is the Lepton 3.5 sensor, which sits in a socket in the middle of the board. The sensor is sold separately, but the campaign made it available as an add-on.

Want to see how evenly a 3D printer’s heat bed is warming up, or check whether a hot plate is actually reflowing PCBs at the optimal temperature? How about just seeing how weird your pets would look if you had heat vision instead of normal eyes? A thermal imager like the tCam-mini is the tool for that, but it’s important to understand exactly how the tCam-mini works. While it may look like a webcam, it does not work like one.

Continue reading “Hands-On Review: TCam-Mini WiFi Thermal Imager”

Analog Camera Goes Digital

The digital camera revolution swept through the world in the early 2000s, and aside from some unique situations and a handful of artists still using film, almost everyone has switched over to digital since then. Unfortunately that means that there’s a lot of high quality film cameras in the world that are gathering dust, but with a few pieces of equipment it’s possible to convert them to digital and get some more use out of them.

[befinitiv]’s latest project handles this conversion by swapping in a Raspberry Pi Zero where the film cartridge would otherwise be inserted into the camera. The Pi is attached to a 3D-printed case which mimics the shape of the film, and also houses a Pi camera right in front of the location where the film would be exposed. By removing the Pi camera’s lens, this new setup is able to take advantage of the analog camera’s optics instead and is able to capture images of relatively decent quality.

There are some perks of using this setup as well, namely that video can be broadcast to this phone over a wireless connection to a computer via the Raspberry Pi. It’s a pretty interesting build with excellent results for a remarkably low price tag, and it would be pretty straightforward to interface the camera’s shutter and other control dials into the Raspberry Pi to further replicate the action of an old film camera. And, if you enjoy [befinitiv]’s projects of bringing old tech into the modern world, be sure to check out his 80s-era DOS laptop which is able to run a modern Linux installation.

Continue reading “Analog Camera Goes Digital”

Teaching A Machine To Be Worse At A Video Game Than You Are

Is it really cheating if the aimbot you’ve built plays the game worse than you do?

We vote no, and while we take a dim view on cheating in general, there are still some interesting hacks in this AI-powered bot for Valorant. This is a first-person shooter, team-based game that has a lot of action and a Counter-Strike vibe. As [River] points out, most cheat-bots have direct access to the memory of the computer which is playing the game, which gives it an unfair advantage over human players, who have to visually process the game field and make their moves in meatspace. To make the Valorant-bot more of a challenge, he decided to feed video of the game from one computer to another over an HDMI-to-USB capture device.

The second machine has a YOLOv5 model which was trained against two hours of gameplay, enough to identify friend from foe — most of the time. Navigation around the map was done by analyzing the game’s on-screen minimap with OpenCV and doing some rudimentary path-finding. Actually controlling the player on the game machine was particularly hacky; rather than rely on an API to send keyboard sequences, [River] used a wireless mouse dongle on the game machine and a USB transmitter on the second machine.

The results are — iffy, to say the least. The system tends to get the player stuck in corners, and doesn’t recognize enemies that pop up at close range. The former is a function of the low-res minimap, while the latter has to do with the training data set — most human players engage enemies at distance, so there’s a dearth of “bad breath range” encounters to train to. Still, we’re impressed that it’s possible to train a machine to play a complex FPS game at all, let alone this well.

A Wireless Speaker Pair From Dead Earbuds

Building a Bluetooth speaker is easy with the availability of cheap Bluetooth receivers, but surprisingly there isn’t a simple way to build a pair of truly wireless stereo speakers. [Matt] from DIY Perks realized that modern Bluetooth earbuds contain all the electronics to do just that.

Due to the popularity of these earbuds, a broken pair can be picked up very cheaply on eBay. Usually, it’s only the battery or speaker unit that give out, neither of which are required for this build. [Matt] goes through the process of taking a pair of earbuds apart, and then soldering on battery and speaker wires. The speaker wires are connected to an audio amp, which drives a mid-range and treble speaker driver, and a subwoofer. The outputs to the amp are also filtered to match the speakers. Power is provided by a set of four 18650 cells.

[Matt] housed the driver and electronics in some attractive CNC machined wood enclosures. In the video, he places a lot of emphasis on properly sealing all the gaps to get the best possible audio quality. As with all of his projects, the end result looks and performs like a high-end commercial product. We’re almost surprised that he didn’t add any brass to the speakers, as he did on his USB-C monitor or PS5 enclosure build. Continue reading “A Wireless Speaker Pair From Dead Earbuds”

DIY Wireless Serial Adapter Speaks (True) RS-232

There is a gotcha lurking in wait for hackers who look at a piece of equipment, see a port labeled “Serial / RS-232”, and start to get ideas. The issue is the fact that the older the equipment, the more likely it is to be a bit old-fashioned about how it expects to speak RS-232. Vintage electronics may expect the serial data to be at bipolar voltage levels that are higher than what the typical microcontroller is used to slinging, and that was the situation [g3gg0] faced with some vintage benchtop equipment. Rather than deal with cables and wired adapters, [g3gg0] decided to design a wireless adapter with WiFi and Bluetooth on one end, and true RS-232 on the other.

The adapter features an ESP32 and is attached to a DB-9 plug, so it’s nice and small. It uses the ST3232 chip to communicate at 3 V logic levels on the microcontroller side, supports bipolar logic up to +/-13 V on the vintage hardware side, and a rudimentary web interface allows setting hardware parameters like baud rate. The nice thing about the ST3232 transceiver is that it is not only small, but can work from a 3 V supply with only four 0.1 uF capacitors needed for the internal charge pumps.

As for actually using the adapter, [g3gg0] says that the adapter’s serial port is exposed over TCP on port 23 (Telnet) which is supported by some programs and hardware. Alternately, one can connect an ESP32 to one’s computer over USB, and run firmware that bridges any serial data directly to the adapter on the other end.

Design files including schematic, bill of materials, and PCB design are shared online, and you can see a brief tour of the adapter in the video, embedded below.

Continue reading “DIY Wireless Serial Adapter Speaks (True) RS-232”

Wireless Quad Voltmeter Brings It All Together

If you’re reading Hackaday, you almost certainly have a voltmeter. Matter of fact, we wouldn’t be surprised to hear you had two of them. But what if you needed to monitor four voltage levels at once? Even if you had four meters, getting them all connected and in a convenient enough place where you can see them all at once is no small feat. In that case, it sounds like the multi-channel wireless voltmeter put together by [Alun Morris] is for you.

Built as an exercise in minimalism, this project uses an array of components that most of us already have kicking around the parts bin. For each transmitter you’ll need an ATtiny microcontroller, a nRF24L01+ radio, a small rechargeable battery, and a handful of passive components. On the receiver side, there’s an OLED screen, another nRF radio module, and an Arduino Nano. You could put everything together on scraps of perfboard like [Alun] has, but if you need something a bit more robust for long-term use, this would be a great excuse to create some custom PCBs.

While the hardware itself is pretty simple, [Alun] clearly put a lot of work into the software side. The receiver’s 128 x 32 display is able to show the voltages from four transmitters at once, complete with individual indicators for battery and signal level. When you drill down to a single transmitter, the screen will also display the minimum and maximum values. With the added resolution of the full screen display, you even get a very slick faux LCD font to ogle.

Of course, there are some pretty hard limitations on such a simple system. Each transmitter can only handle positive DC voltages between 0 and 20, and depending on the quality of the components you use and environmental considerations like temperature, the accuracy may drift over time and require recalibration. Still, if you need a way to monitor multiple voltages and potentially even bring that data onto the Internet of Things, this is definitely a project to take a look at.

Continue reading “Wireless Quad Voltmeter Brings It All Together”