New Contest: Data Loggin’

What are we gonna’ do with all this data? Let’s make it something fun! That’s the point of the just-launched Data Loggin’ contest. Do something clever to automatically log a data set and display it in an interesting way. Three winners will each receive a $100 Tindie gift certificate for showing off an awesome project.

One year of baby sleep patterns encoded by @Lagomorpho in a knitted blanket.

Data logging is often an afterthought when working on a project, but the way you collect and store data can have a big effect on the end project. Just ask Tesla who are looking at a multi-thousand-dollar repair process for failing eMMC from too much logging. Oops. Should you log to an SD card? Internet? Stone tablets? (Yes please, we actually really want to see that for this contest.) Make sure to share those details so your project can be a template for others to learn from in the future.

Next, consider Schrodinger’s dataset: if the data is never used does it actually exist? Grab some attention with how you use this data. That automatic donut slicer you built can be used to slice up a tasty pie-chart of the minutes you spent on the elliptical this week. Your energy consumption can be plotted if you connect that OpenCV meter reader up to your favorite cloud service to visualize the data or a NodeRED dashboard if you’d rather keep things local. You could also make some of that data permanent, like this blanket that encoded baby’s sleep patterns in the colors.

You probably already have something harvesting data. Here’s the excuse you need to do something silly (or serious) with that data. Tells us about it by publishing a project page on Hackaday.io and don’t forget to use that “Submit Project To” menu to add it to the Data Loggin’ contest.

Fixing The Only Thing That’s Slow About Grand Theft Auto V

The driving, crime, and general mayhem game Grand Theft Auto V is something of a phenomenon that has lasted for the last seven or more years. Whether following the in-game missions, driving around like a hooligan for fun or performing crazy stunts, the depth of detail in its landscapes and the continual improvements to gameplay that have arrived over the years have assured it a massive following across multiple platforms. The game is not without its problems though, one of which is an unreasonably long loading time for its online version. This annoyed [T0st] to the extent that it was worth the effort of looking under the hood to find out where the problem lay.

It was evident that for PC users the effect varied depending on the hardware present. Furthermore AMD processors seemed worse-hit than Intel ones, and indeed they found an entire core maxed out by a couple of processes during the wait. Some diagnostics and disassembly led the trail to some string processing code which was identified as a JSON parser. This was not simply parsing the JSON but also performing a check for token uniqueness in an extremely inefficient manner, causing the whole process to be extremely slow. Sone nifty patching in a DLL containing a much more efficient function with a cache for unique values saved the day, and delivered an impressive 70% speed-up. It’s to be hoped that the game’s developers will take note, and a future GTA V update will deliver a fix.

Driving a car from a third-person viewpoint in a game like GTA V is a hoot. In real life though, not so much.

Thanks [Thanatos Erberus] for the tip.

An Homage To Daft Punk In Fan-Made Helmets Through The Years.

It’s with sadness that we note the end to an end. The French dance music duo Daft Punk have split up, announced in a video that’s has already clocked 22 million views.The band have inspired hardware geeks across the world not just with their music but the way they present themselves. A perennial project has been to replicate in some way their iconic robot helmets.

Ben Heck's 2009 take on the helmet
Harrison Krix’s 2009 take on Guy-Manuel de Homem-Christo’s helmet.

The artists themselves have been reticent about the exact technology that powers their headgear, but while this is a source of endless mystery and speculation to the music press it’s safe to assume from our perspective that their designers have the same parts at their disposal as we have. Microcontrollers, EL wire, and LEDs are universal, so the challenge lies in artistic expression with the helmet design rather than in making the effects themselves. We’ve reached into the archives for a bit of Daft Punk helmet nostalgia, so stick on Harder Better Faster and lets take a look at them, er, one more time.

Continue reading “An Homage To Daft Punk In Fan-Made Helmets Through The Years.”

Don’t Tase Me, Keeb!

Okay, so this doesn’t really use a taser — that’s just click bait and we apologize. An actual taser would be a terrible way to train yourself to be a better typist, because depending on where you choose to deliver the shock, you could damage your typing nerves pretty quickly with a few milliamps at 50,000 volts.

Instead of a taser, [nobody6502] got a pack of prank gum off of Amazon that delivers a much more doable shock that is painful enough to get the user to type more carefully. [nobody6502] set up a simple no-pain, no-train website that presents random English words one at a time and checks for typos against an open-source list of nearly half a million entries. Misspell a word, and a get a relay-driven shock from the gum circuit.

The main brain of this pain trainer is a Particle Argon board which has I/O pins that can be controlled from the web. When the website detects a typo, it sends a signal to the Argon, which turns on a relay that activates the shock mechanism. What’s most impressive is that [nobody6502] doesn’t have a full-blown computer and programmed everything on an iPad. Check out the build video after the break.

Are you a hunt and peck typist? There’s a negative reinforcement keyboard for that.

Continue reading “Don’t Tase Me, Keeb!”

A FLIR One Pro Sees Again, Thanks To Some Nifty Soldering

The Flir One Pro is a thermal camera that attaches to a mobile phone with a USB-C plug. [Gigawatts] has one, and unfortunately managed to drop it, breaking the USB-C plug and rendering the device useless. The plug is separate from the main PCB, an assembly of its own with a flexible cable, but FLIR are not interested in supplying spares. What was the answer? Wire data lines into the device’s charging port, of course!

The One Pro has its own battery, and to avoid draining the phone it is charged through another USB connection, this time a socket. The data lines aren’t connected, which necessitated some very careful soldering of wire-wrap wire to an SMD package to fix. When completed and secured with glue the resulting camera works with a USB-C cable, and there are plans to mount a tripod thread receptacle in the space left by the USB-C plug.

It’s disappointing that Flir choose not to supply replacements for the USB-C plug assembly, seemingly they see the device as a throwaway piece of consumer electronics rather than the expensive instrument that it is. This modification should at lease allow some unfortunate One Pro owners to revive their dead cameras.

If you’re curious about the Flir One series of cameras, perhaps you’d like to read our review.

Lowering The Electricity Bill By Mining Cryptocurrency

Wherever you are in the world, the chances are that a large portion of your utility bill is for heating. This was certainly the case for [Christian Haschek], who realized he can use a cryptocurrency mining rig to offset some of his heating costs.

[Christian]’s central ventilation and water heating is handled by a heat pump, which uses a lot of electricity, especially in the Austrian winter. When it draws in cool air, it first needs to heat it to the thermostat temperature before venting it to the house. Cryptocurrency mining rigs are also heavy electricity users, but they also produce a lot of heat, which can be used to preheat the air going to the heat pump. [Christian] had four older AMD R9 390 GPUs (equivalent to the Nvidia GeForce GTX 970) lying around, so he mounted them in a server case and piped the heat pump’s air intake through the case.

At the time he did the tests, earnings from mining were enough to cover half of his heating bill, even after paying for the mining rig’s electricity. That is not taking into account the electricity savings from the preheated air. He only shows the results of one evening, where it dropped his electricity usage from around 500Wh to below 250Wh. We would like to see the long-term results, and it would be an interesting challenge to build a model to calculate the true costs or savings, taking into account all the factors. For instance, it could be possible to save costs even if the mining rig itself is running at a slight loss.

Of course, this is not a new idea. A quick internet search yields several similar projects and even some commercial crypto mining space heaters. We do like the fact that [Christian] reused some hardware he already had and integrated it into his central heating rather than using it as a mobile unit.

When [Christian] isn’t building crypto heaters, he can be found flooding phishing scams with fake data, or tracking down corporate spies.

Open Source CAM Software In The Browser

3D printers, desktop CNC mills/routers, and laser cutters have made a massive difference in the level of projects the average hacker can tackle. Of course, these machines would never have seen this level of adoption if you had to manually write G-code, so CAM software had a big part to play. Recently we found out about an open-source browser-based CAM pack created by [Stewert Allen] named Kiri:Moto, which can generate G-code for all your desktop CNC platforms.

To get it out of the way, Kiri:Moto does not run in the cloud. Everything happens client-side, in your browser. There are performance trade-offs with this approach, but it does have the inherent advantages of being cross-platform and not requiring any installation. You can click the link above and start generating tool paths within seconds, which is great for trying it out. In the machine setup section you can choose CNC mill, laser cutter, FDM printer, or SLA printer. The features for CNC should be perfect for 90% of your desktop CNC needs. The interface is intuitive, even if you don’t have any previous CAM experience. See the video after the break for a complete breakdown of the features, complete with timestamp for the different sections.

All the required features for laser cutting are present, and it supports a drag knife. If you want to build an assembly from layers of laser-cut parts, Kiri:Moto can automatically slice the 3D model and nest the 2D parts on the platform. The slicer for 3D printing is functional, but probably won’t be replacing our regular slicer soon. It places heavy emphasis on manually adding supports, and belt printers like the Ender CR30 are already supported.

Kiri:Moto is being actively improved, and it looks as though [Stewart] is very responsive to community inputs. The complete source code is available on GitHub, and you can run an instance on your local machine if you prefer to do so. Continue reading “Open Source CAM Software In The Browser”