RGB LED Shutter Shades

[splat238] is back at it again with another cool RGB LED display project. We were contemplating whether or not our readers have had enough of these over the last few weeks, but we’ve learned over the years that you can never have too many LED projects.

Instead of making a cool mask like we’ve covered before, [splat238] decided to trick-out some shutter shades. What’s really cool is he used the PCB itself as the frame, similar to another hack we’ve seen, which we’re sure also made his design process that much more convenient.

[splat238] got his boards pre-assembled since it would be really difficult to solder all those LEDs by hand. There are 76 of them in this design. It’s pretty helpful that he walks the reader through how to get the boards assembled, providing information on reliable fabrication and assembly houses that he’s had good experiences with. Pretty solid information if you don’t already have a go-to one-stop-house or have never designed for assembly before.

The glasses use an ESP8266-based microcontroller since it has plenty of space for storing LED patterns and has the potential benefit of including WiFi control in later revisions. However, we think you’ll be pretty happy with simply toggling through the patterns with a simple pushbutton.

The LEDs use a whopping 2.5 A at maximum and rely on an external power bank, so you’ll probably want to be really careful wearing this over an extended period of time. Maybe consider doing a bit of PWM to help reduce power consumption.

Another cool project [splat238]! Keep them coming. Continue reading “RGB LED Shutter Shades”

Perfect Your Beer Pong Game With The PongMate CyberCannon Mark III

[Grant] was inspired to help his party guests improve their beer pong game. What he created is a fairly impressive contraption, sure to make him unstoppable in his next bout.

The device uses a gyroscope and a time-of-flight sensor to calculate the optimum trajectory for the ping pong ball. The user is guided to the correct launching position using two bubble levels and a series of indicator LEDs that turn green when the optimal position is reached.

The launching mechanism uses a servo motor to push the ball into the circular wheel machine which then propels the ping pong ball to its target. The circular wheel machine is powered by two DC motors whose speeds are determined by the distance from the target. [Grant] calibrated the DC motor speed to the distance from the target and found a pretty reproducible relationship favoring a cube root function. You can see his calibration data on his Instructable page as well as a cool demo video showing how the device automatically adjusts motor speed to distance from the target.

We should combine the PongMate with the Auto-Bartender we wrote about a few weeks ago. What are your favorite beverage hacks? Please share in the comments below.

Continue reading “Perfect Your Beer Pong Game With The PongMate CyberCannon Mark III”

Electrochemistry At Home

A few years ago, I needed a teeny, tiny potentiostat for my biosensor research. I found a ton of cool example projects on Hackaday and on HardwareX, but they didn’t quite fulfill exactly what I needed. As any of you would do in this type of situation, I decided to build my own device.

Now, we’ve talked about potentiostats before. These are the same devices used in commercial glucometers, so they are widely applicable to a number of biosensing applications. In my internet perusing, I stumbled upon a cool chip from Texas Instruments called the LMP91000 that initially appeared to do all the hard work for me. Unfortunately, there were a few features of the LMP91000 that were a bit limiting and didn’t quite give me the range of flexibility I required for my research. You see, electrochemistry works by biasing a set of electrodes at a given potential and subsequently driving a chemical reaction. The electron transfer is measured by the sensing electrode and converted to a voltage using a transimpedance amplifier (TIA). Commercial potentiostats can have voltage bias generators with microVolt resolution, but I only needed about ~1 mV or so. The problem was, the LMP91000 has a resolution of ~66 mV on a 3.3 V supply, mandating that I augment the LMP991000 with an external digital-to-analog converter (DAC) as others had done.

However, changing the internal reference of the LMP91000 with the DAC confounded the voltage measurements from the TIA, since the TIA is also referenced to the same internal zero as the voltage bias generator. This seemed like a problem other DIY solutions I came across should have mentioned, but I didn’t quite find any other papers describing this problem. After punching myself a little, I thought that maybe it was a bit more obvious to everyone else except me. It can be like that sometimes. Oh well, it was a somewhat easy fix that ended up making my little potentiostat even more capable than I had originally imagined.

I could have made a complete custom potentiostat circuit like a few other examples I stumbled upon, but the integrated aspect of the LMP91000 was a bit too much to pass up. My design needed to be as small as possible since I would eventually like to integrate the device into a wearable. I was using a SAMD21 microcontroller with a built-in DAC, therefore remedying the problem was a bit more convenient than I originally thought since I didn’t need an additional chip in my design.

I am definitely pretty happy with the results. My potentiostat, called KickStat, is about the size of a US quarter dollar with a ton of empty space that could be easily trimmed on my next board revision. I imagine this could be used as a subsystem in any number of larger designs like a glucometer, cellphone, or maybe even a smartwatch.

Check out all the open-source files on my research lab’s GitHub page. I hope my experience will be of assistance to the hacker community. Definitely a fun build and I hope you all get as much kick out of it as I did.

Denim Sunglasses Frames Use A Wicked Set Of Jigs

An obligatory “Future’s so bright I gotta wear… denim” joke is the only way to kick off this article. Sorry!

Now that that’s out of the way, how would you turn your own blue jeans into sunglasses? Well you wouldn’t, unless you’ve built an intricate jig for assembling sunglasses frames like [Mosevic] has done. Boiled down, this is like making parts out of carbon fiber, except you swap in denim for the carbon fiber. Several layers of blue jean material are layered in a mold and impregnated with resin. Once hardened, parts can be milled or laser cut from this stock and then assembled into the frames all of the hipsters are after.

For us its the assembly jig that’s so interesting to see. [Mosevic] shared it in an unlisted video of an update to the Kickstarter campaign which ran at the end of 2019. The jig is used to align machined parts into stack ups that include brass reinforcement and pins to align layers, as well as the joining for the three parts of the frame via the metal hinges. Most of the jig is made from machined plywood. The plates that hold the three parts of the frame, the “frame front” and the two “temples” in eyeglass parlance, are interchangeable so that the same jig can be used to assemble several variants of the frame design. The most notable non-plywood part of the jig are two metal clamps that hold the hinge into the frame front as the glue dries, holding a couple of tiny chunks of denim/resin block in place.

Here you can see the jig with all clamps fully closed. There is not an insignificant amount of time just getting the parts into this jig. But parts still need quite a bit of cleanup after this process to sand, shape, and polish all edges and surfaces of the frames. And of course you have to figure in the time it took to make the parts that went into the jig in the first place. The finished frames are gorgeous, but we have a lot more respect having seen what it takes to pull it off.

Now if you like your glasses like George Washington liked his false teeth, here’s how you can pull a set of shades out of your woodshop.

Continue reading “Denim Sunglasses Frames Use A Wicked Set Of Jigs”

Busting GPS Exercise Data Out Of Its Garmin-controlled IoT Prison

If you take to the outdoors for your exercise, rather than walking the Sisyphusian stair machine, it’s nice to grab some GPS-packed electronics to quantify your workout. [Bunnie Huang] enjoys paddling the outrigger canoe through the Singapore Strait and recently figured out how to unpack and visualize GPS data from his own Garmin watch.

By now you’ve likely heard that Garmin’s systems were down due to a ransomware attack last Thursday, July 23rd. On the one hand, it’s a minor inconvenience to not be able to see your workout visualized because of the system outage. On the other hand, the services have a lot of your personal data: dates, locations, and biometrics like heart rate. [Bunnie] looked around to see if he could unpack the data stored on his Garmin watch without pledging his privacy to computers in the sky.

Obviously this isn’t [Bunnie’s] first rodeo, but in the end you don’t need to be a 1337 haxor to pull this one off. An Open Source program called GPSBabel lets you convert proprietary data formats from a hundred or so different GPS receivers into .GPX files that are then easy to work with. From there he whipped up less than 200 lines of Python to plot the GPS data on a map and display it as a webpage. The key libraries at work here are Folium which provides the pretty browsable map data, and Matplotlib to plot the data.

These IoT devices are by all accounts amazing, listening for satellite pings to show us how far and how fast we’ve gone on web-based interfaces that are sharable, searchable, and any number of other good things ending in “able”. But the flip side is that you may not be the only person seeing the data. Two years ago Strava exposed military locations because of an opt-out policy for public data sharing of exercise trackers. Now Garmin says they don’t have any indications that data was stolen in the ransomware attack, but it’s not a stretch to think there was a potential there for such a data breach. It’s nice to see there are Open Source options for those who want access to exercise analytics and visualizations without being required to first hand over the data.

A Face Mask That’s Functional And Hacker-Certified

[splat238] needed a mask for going out in public, but wanted something that fit his personal style a bit better than the cloth masks everyone else was wearing. So, he upcycled his old airsoft mesh mask using an impressive 104 NeoPixels to create his NeoPixel LED Face Mask.

The NeoPixels are based on the popular WS2812b LEDs. These are individually addressable RGB LEDs with a pretty impressive glow. [splat238] purchased a 144 NeoPixel strip to avoid having to solder each of those 104 NeoPixels one-by-one. He cut the 144-LED strip into smaller segments to help fit the LEDs around the mask. He then soldered the power and data lines together so that he could still control the LEDs as if they were one strip and not the several segments he cut them into. He needed a pretty bulky battery pack to power the whole thing. You can imagine how much power 104 RGB LEDs would need to run. We recommend adding a battery protection circuit next time as these LEDs probably draw a hefty amount of current.

He designed his own controller board featuring an ESP8266 microcontroller. Given its sizable internal memory, the ESP8266 makes it easy to store a variety of LED patterns without worrying about running out of programming space. He’s also hoping to add some WiFi features in later revisions of his mask, so the ESP8266 is a no-brainer. Additionally, his controller board features three pushbuttons that allow him to toggle through different LED patterns on the fly.

Cool project [splat238]! Looking forward to the WiFi version.

Continue reading “A Face Mask That’s Functional And Hacker-Certified”

DIY Stress Meter

Stress monitoring has always been a tricky business. As it turns out, there is a somewhat reliable way of monitoring stress by measuring how much cortisol, the so-called “stress hormone,” the human body produces. With that in mind, bioengineering researchers at the University of Texas at Dallas decided to make CortiWatch, a wearable device for continuously monitoring cortisol excreted in sweat, as a sort of DIY stress meter.

They made their own potentiostat, a device for measure small amounts of current produced by electrochemical reactions, similar to the glucometer. We’ve talked about these types of measurements before. Simply put, the potentiostat contains a voltage reference generator which biases the sensing electrodes at a preset potential. The voltage bias causes local electrochemical reactions at the sensing electrodes (WE in the image above), stimulating electron flow which is then measured by a transimpedance amplifier or “current-to-voltage” converter. The signal is then analyzed by an onboard analog-to-digital converter. Simply put, the more cortisol in the system, the higher the transimpedance amplifier voltage.

To validate their system a bit more thoroughly than simple benchtop studies, the researchers did some “real-life” testing. A volunteer wore the CortiWatch for 9 hours. The researchers found a consistent decrease in cortisol levels throughout the day and were able to verify these measurements with another independent test. Seems reasonable, however, it’s not quite clear to us what cortisol levels they were expecting to measure during the testing period. We do admit that it takes quite a bit of calibration to get these systems working in real-life settings, so maybe this is a start. We’ll see where they go from here.

Maybe the CortiWatch can finally give us a proper lie detectorWe’ll let you be the judge.