Low-Cost Computer Gesture Control With An I2C Sensor

Controlling your computer with a wave of the hand seems like something from science fiction, and for good reason. From Minority Report to Iron Man, we’ve seen plenty of famous actors controlling their high-tech computer systems by wildly gesticulating in the air. Meanwhile, we’re all stuck using keyboards and mice like a bunch of chumps.

But it doesn’t have to be that way. As [Norbert Zare] demonstrates in his latest project, you can actually achieve some fairly impressive gesture control on your computer using a $10 USD PAJ7620U2 sensor. Well not just the sensor, of course. You need some way to convert the output from the I2C-enabled sensor into something your computer will understand, which is where the microcontroller comes in.

Looking through the provided source code, you can see just how easy it is to talk to the PAJ7620U2. With nothing more exotic than a switch case statement, [Norbert] is able to pick up on the gesture flags coming from the sensor. From there, it’s just a matter of using the Arduino Keyboard library to fire off the appropriate keycodes. If you’re looking to recreate this we’d go with a microcontroller that supports native USB, but technically this could be done on pretty much any Arduino. In fact, in this case he’s actually using the ATtiny85-based Digispark.

This actually isn’t the first time we’ve seen somebody use a similar sensor to pull off low-cost gesture control, but so far, none of these projects have really taken off. It seems like it works well enough in the video after the break, but looks can be deceiving. Have any Hackaday readers actually tried to use one of these modules for their day-to-day futuristic computing?

Continue reading “Low-Cost Computer Gesture Control With An I2C Sensor”

M5Paper Gets Open Source Weather Display Firmware

We know you like soldering irons, we’re quite fond of them ourselves. But the reality is, modular components and highly capable development boards allow the modern hardware hacker to get things done with far less solder smoke then ever before. In fact, sometimes all you need to finish your project is the right code.

Case in point, check out the slick electronic paper weather display that [Danko Bertović] shows off in the latest Volos Projects video. While it certainly fits the description of a DIY project, he didn’t have to put any of the hardware together himself. The M5Paper is an ESP32 development kit designed around a crisp 4.7″, 960 x 540 e-paper panel that includes everything from environmental sensors to an internal 1150 mAh battery. To make your handheld e-paper dreams come true, the only thing you need to provide is the software.

The weather display code provided by [Danko] should certainly get you going in the right direction. Now don’t get us wrong, there’s certainly no shame in just flashing his code to the device and plunking it on your desk. It’s a gorgeous looking interface, and we all know that a sprinkling of open source code is often all it takes to make a standard consumer device extraordinary. But by using the code he’s provided as a launching point, you can take this turn-key device and really make it your own.

Continue reading “M5Paper Gets Open Source Weather Display Firmware”

Rolling Your Own Long-Range IoT Sensor Network

Homebrew wireless sensors are nothing new around these parts: grab an ESP8266, hang a BME280 from the I2C pins, and you’re just a few lines of code away from joining the Internet of Things on your own terms. Builds like this are so cheap and easy that they make an excellent first project for folks looking to get into the electronics game, but what if you’re looking for something a bit more bespoke?

In that case, you could follow in the footsteps of [Discreet Mayor] and put together a custom modular architecture for long-range wireless sensors. The core of the system is a breakout board for the Texas Instruments SimpleLink CC1312 wireless MCU which features a simple 2×11 header connector. This allows the module to either be plugged into a larger board or have a small sensor PCB attached directly to it.

Rather than using WiFi or requiring some existing radio infrastructure, the boards automatically create a private network using the IEEE 802.15.4 standard at a range of up to 600 meters. A dedicated receiver isn’t necessary, to pull data off the network, one of the CC1312 boards simply gets connected to a computer through a simple FT232 adapter.

[Discreet Mayor] has already created a number of projects that use these custom radios for communication, from a pool monitoring system to a temperature sensor for the BBQ. That portable battery operated devices are able to use this common communications backbone just as well as mains powered static devices is a testament to the work that went into the firmware to make it as robust and efficient as possible.

Like the idea of long-range private networks, but less enthusiastic about having to come up with your own hardware? Not to worry. Over the summer, Espressif announced that they’re working on an ESP32 variant that includes support for IEEE 802.15.4. Just as soon as this chip shortage is over, we might even get to see the thing.

Teardown: Analog Radionic Analyzer

Have you ever looked up a recipe online, and before you got to the ingredients, you had to scroll through somebody’s meandering life story? You just want to know how many cans of tomato paste to buy, but instead you’re reading about cozy winter nights at grandma’s house? Well, that’s where you are right now, friend. Except instead of wanting to know what goes in a lasagna, you just want to see the inside of some weirdo alternative medicine gadget. I get it, and wouldn’t blame you for skipping ahead, but I would be remiss to start this month’s teardown without a bit of explanation as to how it came into my possession.

So if you’ll indulge me for a moment, I’ll tell you a story about an exceptionally generous patron, and the incredible wealth of sham medical hokum that they have bestowed upon the Hackaday community…

Continue reading “Teardown: Analog Radionic Analyzer”

Building A Heavy-Duty Log Splitter, One Piece At A Time

With temperatures dropping in the Northern Hemisphere, this is the time of year when many people start processing firewood for the coming winter months. For the city folks, that means chopping a tree into logs, and then splitting those logs into something small enough to fit in your wood stove. You can do it all with hand tools, but if you’ve got big enough logs, a powered splitter is a worthy investment.

Unless of course you’re like [Workshop From Scratch], in which case you can craft a powerful splitter from random bits of steel you’ve got laying around your impeccably outfitted shop. Given the incredible forces some parts of the splitter will be exposed to, he really takes his time on this build to make sure everything is bulked up. Add in his legendary attention to detail, and you’ll be watching this one for awhile. Not that we’re complaining.

Fitting the adjustable blade.

Early on it seemed like [Workshop From Scratch] was putting together a fairly simple log splitter, which in the most basic form is nothing more complex than a hydraulic cylinder pushing a log against a triangular piece of metal. But then he starts layering on the special features, such as the small hydraulic cylinder that can raise and lower the splitter’s fearsome looking blade.

There’s also the ladder-like feeder mechanism, which prevents the user from having to lift the log onto the machine manually; just stop the log between the rungs, and let the hydraulics raise the ramp and send the log rolling towards the machine’s hungry maw.

In short, this splitter may be a DIY project, but it’s just as strong and well built as anything on the commercial market. In fact, it’s probably an improvement over what you’d be able to find a the big box retailer. Which shouldn’t come as surprise if you’ve seen some of his previous work.

Continue reading “Building A Heavy-Duty Log Splitter, One Piece At A Time”

Here Are The Ten Finalists For The Hackaday Prize Wildcard Challenge

Each phase of the 2021 Hackaday Prize challenged designers to reimagine traditional solutions within various fields, from robotics to assistive devices. But for the Reactivate Wildcard, the fifth and final Challenge of this year’s Prize, this theme of Rethink, Refresh, Rebuild could be applied on anything the entrant wanted. Today we’re pleased to announce the ten Wildcard projects that have been selected to win $500 and move onto the finals. Who will win the top spot this year? We’ll find out during Hackaday Remoticon in just a few weeks!

The MetaSense project is a perfect example of how new technology can be used to rethink what we generally consider to be a solved problem. This project leverages multi-material 3D printing to produce conductive cells which vary their capacitance in response to physical deformation. With some clever geometry, these cells can be chained together to produce single-part devices which can stand in for traditional toggle switches, joysticks, pressure sensors, and even accelerometers.

Speaking of 3D printing, the Direct Granules Extruder project imagines a future were desktop printers are no longer limited to using rolls of manufactured filament. The key is a robust extruder design that can grind up plastic pellets fast enough to feed them directly into the hotend of a conventional 3D printer. This not only means a considerable operational savings, as raw plastic pellets are much cheaper than filament by weight, but would potentially allow for printing with more exotic plastic blends and even recycled materials.

Some of the projects even made us rethink what’s possible for the individual hacker. The WiFiWart utilizes a miniature single-board Linux computer that was designed and built from the ground up by a single person, using only free and open source software. Whether it’s that this penetration testing gadget has packed a full Linux computer and two WiFi adapters into a box the size of a phone charger, or the fact that it’s been done by a dedicated hacker with free tools, you can’t help but come away impressed with this one.

Wild For Wildcard

With nearly 100 projects submitted for the Reactivate Wildcard challenge, this was clearly a theme that resonated with the Hackaday community. As always, it was extremely difficult to narrow this down to the ten finalists below:

Whether or not they made the Finals this year, the complete list of Reactivate Wildcard entries contains an incredible array of fascinating concepts that are well worth browsing through. If any of them particularly catch your eye, why not strike up a conversation with the creator in the comments and see if you can’t help out? There’s always next year.

Liberating The ESP8266 From Its Development Board

While the ESP32 is clearly a superior piece of hardware, we think you’ll agree that the ESP8266 is just too useful not to have a dozen or so kicking around the parts bin at any given time. Cheap, easy to use, and just enough capabilities to bring your projects into the wonderful world of IoT. But if you really want to get the most out of it, you’ll eventually have to skip the development board and start working with the bare module itself.

It can be a scary transition, but luckily, [Ray] has collected some notes that should prove helpful for anyone looking use modules like the ESP-12F in their own custom PCBs. From different tips on making sure the power-hungry modules get enough juice, to cost cutting measures that help reduce the ancillary parts needed in your circuit design, it’s a worthwhile read for new and experienced ESP8266 wranglers alike.

An auto-reset circuit with the CH340C

For example, [Ray] talks a bit about using the infamous GPIO10 pin. This pin is on the rear of the ESP8266 module, and on many development boards, it isn’t even connected. That’s because its internally hooked up to the ESP8266’s SPI flash chip, and using it can cause problems if you’re not careful. But as explained in the blog post, as long as you make sure the flash mode is set to “dual IO” (DIO), then GPIO10 can be used just like any other free pin.

We also really liked the tip [Ray] shares at the end for making your boards more easily programmable. Sure you can leave an unpopulated header on the board, or fiddle with some pogo pin setup, but his edge connector approach is quite clever. Just slip the programmer on for the initial burn, and then after that you can update over the air.

There’s no denying how easy it is to throw something together with an ESP8266 development board, but we’ve covered so many incredible projects that have made use of the bare module’s diminutive dimensions that you’ll ultimately be missing out if you don’t cut out the middle-man.