DIY Haptic-Enabled VR Gun Hits All The Targets

This VR Haptic Gun by [Robert Enriquez] is the result of hacking together different off-the-shelf products and tying it all together with an ESP32 development board. The result? A gun frame that integrates a VR controller (meaning it can be tracked and used in VR) and provides mild force feedback thanks to a motor that moves with each shot.

But that’s not all! Using the WiFi capabilities of the ESP32 board, the gun also responds to signals sent by a piece of software intended to drive commercial haptics hardware. That software hooks into the VR game and sends signals over the network telling the gun what’s happening, and [Robert]’s firmware acts on those signals. In short, every time [Robert] fires the gun in VR, the one in his hand recoils in synchronization with the game events. The effect is mild, but when it comes to tactile feedback, a little can go a long way.

The fact that this kind of experimentation is easily and affordably within the reach of hobbyists is wonderful, and VR certainly has plenty of room for amateurs to break new ground, as we’ve seen with projects like low-cost haptic VR gloves.

[Robert] walks through every phase of his gun’s design, explaining how he made various square pegs fit into round holes, and provides links to parts and resources in the project’s GitHub repository. There’s a video tour embedded below the page break, but if you want to jump straight to a demonstration in Valve’s Half-Life: Alyx, here’s a link to test firing at 10:19 in.

There are a number of improvements waiting to be done, but [Robert] definitely understands the value of getting something working, even if it’s a bit rough. After all, nothing fills out a to-do list or surfaces hidden problems like a prototype. Watch everything in detail in the video tour, embedded below.

Continue reading “DIY Haptic-Enabled VR Gun Hits All The Targets”

Engraving A Puzzle Box? Here’s A Collection Of Single-Line Cryptex Fonts

Here’s a neat resource from [MSRaynsford] that is worth bookmarking for anyone who gets creative with laser engravers, CNC routers, or drawing robots: SVGFonts are single-line symbol fonts that [MSRaynsford] created for his laser-cut and engraved cryptex puzzle boxes. They provide an easy way to engrave text as symbols.

Single-line fonts for engraving that include a runic-looking alphabet, a Greek-inspired set, and two symbol sets based on Flag Semaphore.

CNC engraving of letters and symbols is one of those things that seems simple, but is actually more complex than it may appear. It is often desirable to use a tool to engrave symbols with a single line, in much the same way a person would write them if using a pen. But fonts and art for letters and numbers aren’t normally a single line. Thankfully there is a solution in the form of Hershey text, an extension for which is included in Inkscape. It turns out that Hershey Fonts have their origin back in the 1960s, when the changing landscape of electronics and industry opened new opportunities and demanded new solutions.

That’s why, when [MSRaynsford] needed fonts in different styles and symbols for creating his puzzle boxes, he had to design them himself and they had to be single-line vector art, just like Hershey Text. The small collection includes English letters designed to resemble a runic alphabet, a Greek-inspired series, and two coded alphabets based on flag semaphore.

Grab ’em on GitHub, because you never know when you’ll need to make a quick cryptex.

Front and back of a handheld 6502 computer with bubble LED displays

The Pocket265 Is A Pocket-Sized 6502 Single-Board Computer

Single-board computers have been around ever since microprocessors became affordable in the 1970s and never went away. Today we have Raspberry Pis and LattePandas, while back in the ’70s and ’80s there were the Ferguson Big Board, the KIM-1 and a whole array of Intel SDK boards. Although functionally similar to their modern counterparts with a CPU, RAM, ROM and some basic peripherals, the old boards were huge compared to today’s tiny platforms and typically required a rather beefy power supply to operate.

It doesn’t have to be that way though, as [Aleksander] shows with the Pocket265: a handheld 6502 single-board computer somewhat reminiscent of the famous KIM-1. Like that classic machine, it’s got a hexadecimal keypad to enter programs using machine code and a row of LED displays to show the programs’ output. Unlike the KIM, the Pocket265 is small enough to hold in one hand and uses bubble LED displays, which make it look more like a programmable calculator from the 1970s. It comes with a lithium battery that makes it truly portable, as well as a sleek 3D printed case to make it more comfortable to hold than a bare circuit board.

The single ROM chip contains a monitor program that runs the basic user interface. It also makes programming a bit less tedious by implementing a number of system calls to handle things like user input and display output. A serial EEPROM enables local data storage, while a UART with a USB interface enables data transfer to other computers. If you’re interested in building and programming such a machine yourself, [Aleksander] helpfully provides code examples as well as full hardware documentation on his GitHub page.

The 6502 remains a firm favorite among hardware hackers: some projects we recently featured with this CPU include one beautifully made machine, this easy-to-build single-board computer and this huge breadboard-based contraption. Looking for something smaller? Try this tidy little board or this 6502 coupled to an FPGA.

Hackaday Prize 2022: DIY Landslide Warning System

Landslides can be highly dangerous to both people and property. As with most natural disasters, early warning can make all the difference. [Airpocket] has built a cheap, affordable system that hopes to offer just that.

The system relies on a network of sensors built with Sony Spresense controllers, built into solar garden light enclosures which provide a watertight enclosure and a sustainable power supply. The controllers are paired with accelerometers to detect movement, and communicate over a WiSUN connection back to a Raspberry Pi 4B base station. When a deployed sensor station detects movement, it sends a message back to the base station, which sounds the alarm that a landslide may be imminent.

Early testing shows the concept works in theory. In practice, some improvements to reduce power draw and increase communication reliability are required. However, it’s a solid proof of concept for a simple landslide warning system.

Early warning is always key when it comes to things like landslides, tsunamis, and earthquakes. In fact, the US Geological Survey has done its own work on predicting earthquakes and providing early warning, too. Video after the break.

Continue reading “Hackaday Prize 2022: DIY Landslide Warning System”

Coffee With Kernighan

There was an interesting tidbit buried in a Computerphile video released last week (below the break), featuring professors [David Brailsford] and [Brian Kernighan] having a chat over coffee. Among other topics, they discuss the history and current state of various text processing tools. We learn that [Kernighan] has taken on a summer project of updating the AWK text processing language to handle UTF-8 text, an omission he admits is embarrassing in this day and age. He is also working on a second edition of The AWK Programming Language book, which hasn’t been updated since being first released in 1988.

[Brian Kernighan] is a legend in the world of Unix and computing, working at Bell Labs during the 70s where Unix and C were developed. Among the many accomplishments in his career, he is well-known as the co-author with [Dennis Ritchie] of The C Programming Language, first published in 1972 and still being used decades later, AWK mentioned above, and major updates to troff. More recently, he co-authored The Go Programming Language book in 2015.

If an updated UTF-8-capable AWK interests you, keep an eye on the AWK GitHub repository where [Kernighan] anticipates an update, once he wraps his head around git a little better. We’re happy to see [Brian] so active at 80 years old. If you want to learn more about those early days at Bell Labs, we reviewed [kernighan]’s very interesting UNIX: A History and a Memoir a couple of years ago. 

Continue reading “Coffee With Kernighan”

Optimizing The Mining Of Uranium From Coal Ash And Seawater

Of all the elements that make up the Earth’s crust, uranium is reasonably abundant, coming in at 49th place, ahead of elements such as tin, tungsten and silver. Ever since humankind began to exploit uranium for its fissile properties in energy production, this abundance has also translated into widespread availability for mining. As of 2019, Kazakhstan, Canada and Australia formed the world’s main producers, accounting for about 68% of output.

Considering the enormous energy density of uranium when used as fuel in a nuclear fission reactor, the demand for uranium is relatively low, especially combined with the long (two years on average) refueling cycles of commercial reactors. The effect is that even with the very inefficient once-through fuel cycle – which only uses a fraction of the uranium fuel’s potential energy – uranium market prices have remained relatively low and stable even amidst geopolitical crises.

Despite this, the gradual rise in uranium market prices ($10/lb in 2003, $49/lb in 2022), as well as the rapid construction of new reactors is driving new exploration. Here recent innovations may make uranium fuel even more accessible to all nations, by unlocking the billions of tons of uranium found in plain seawater as well as the many tons of fly ash produced by coal plants every single day.

Continue reading “Optimizing The Mining Of Uranium From Coal Ash And Seawater”

PicoStepSeq Is Small But Perfectly Formed

The Raspberry Pi Pico is what you might call the board of the moment, thanks to its combination of affordability, features, and continued availability during the component shortage. We have seen plenty of great projects using it, and the latest to float past is [todbot]’s PicoStepSeq, an extremely compact MIDI sequencer.

All the components are mounted on a PCB, with the sequencer’s eight steps selected by a row of buttons with integrated LEDs. The interface is via an SSD1306 OLED, and there is also a rotary encoder. Software comes courtesy of CircuitPython, and the output is delivered via a 3.5 mm TRS jack. Finally the whole is wrapped in a 3D printed enclosure.

The result is a sequencer that could almost be a product in its own right, and we think anyone whose interests lie in electronic music should find straightforward enough to build. All the files and information required to build your own can be found in the linked repository, and he’s placed a Tweet with a video online which we’ve embedded below the break.

Continue reading “PicoStepSeq Is Small But Perfectly Formed”