3D Printed Workshop Lamp Uses A Few Neat Tricks

As far as light fittings go, store bought is fine, but it’s hard to beat something you’ve built yourself from the ground up. [Heliox] demonstrates this well, with a 3D-printed workshop lamp that looks the business and is functional, too.

The lamp has plenty of neat design touches that speak to [Heliox]’s experience in the 3D printed arts. The articulating arms are modular, and feature integrated cable guides. The lamp base features nuts inserted mid-print for easy assembly, and the swivel is actually a two-piece mechanism printed as a single assembly. The table clamp uses a large screw, and the benefit of 3D printing means its easy to customise to suit any individual table. Using black and orange filaments gives the lamp a proper industrial look, and the bright LED strips are perfect for illuminating a bench for fine detailed work.

It’s a great addition to [Heliox]’s workspace, and the tall articulated design means it can cast light without getting in the way of what you’re doing. We’ve featured her work before, too – like this glorious infinity cube. Video after the break.

Continue reading “3D Printed Workshop Lamp Uses A Few Neat Tricks”

Quantum Inspired Algorithm Going Back To The Source

Recently, [Jabrils] set out to accomplish a difficult task: porting a quantum-inspired algorithm to run on a (simulated) quantum computer. Algorithms are often inspired by all sorts of natural phenomena. For example, a solution to the traveling salesman problem models ants and their pheromone trails. Another famous example is neural nets, which are inspired by the neurons in your brain. However, attempting to run a machine learning algorithm on your neurons, even with the assistance of pen and paper would be a nearly impossible exercise.

The quantum-inspired algorithm in question is known as the wavefunction collapse function. In a nutshell, you have a cube of voxels, a graph of nodes, or simply a grid of tiles as well as a list of detailed rules to determine the state of a node or tile. At the start of the algorithm, each node or point is considered in a state of superposition, which means it is considered to be in every possible state. Looking at the list of rules, the algorithm then begins to collapse the states. Unlike a quantum computer, states of superposition is not an intrinsic part of a classic computer, so this solving must be done iteratively. In order to reduce possible conflicts and contradictions later down the line, the nodes with the least entropy (the smallest number of possible states) are solved first. At first, random states are assigned, with the changes propagating through the system. This process is continued until the waveform is ultimately collapsed to a stable state or a contradiction is reached.

What’s interesting is that the ruleset doesn’t need to be coded, it can be inferred from an example. A classic use case of this algorithm is 2D pixel-art level design. By providing a small sample level, the algorithm churns and produces similar but wholly unique output. This makes it easy to provide thousands of unique and beautiful levels from an easy source image, however it comes at a price. Even a small level can take hours to fully collapse. In theory, a quantum computer should be able to do this much faster, since after all, it was the inspiration for this algorithm in the first place.

[Jabrils] spent weeks trying to get things running but ultimately didn’t succeed. However, his efforts give us a peek into the world of quantum computing and this amazing algorithm. We look forward to hearing more about this project from [Jabrils] who is continuing to work on it in his spare time. Maybe give it a shot yourself by learning the basics of quantum computing for yourself.

Continue reading “Quantum Inspired Algorithm Going Back To The Source”

Iconic Yugoslavian Galaksija Computer Reborn, With A Documentary Too

One of the humbling things about writing for Hackaday is the breadth of experience among our colleagues, despite one’s own skills or achievements there is probably for all of us a level of impostor syndrome when we look at their work. This week provided a reminder of this, while taking a closer look at the crowdfunder for a documentary about the Galaksija, the Yugoslavian 8-bit computer from the 1980s designed by our colleague [Voja Antonić]. Not only will the documentary be produced, but also they are recreating the Galaksija as a kit, so you can experiment with this historic computer for yourself. The campaign has reached passed its goal a couple times over but still has a few days left, so jump in if you are interested.

Freshly made original Galaksija (top), and new double-sided Galaksija (bottom).
Freshly made original Galaksija (top), and new double-sided Galaksija (bottom).

With the advantage of being able to reach out to [Voja] as a colleague, it was time to secure the straight dope on the project. Though he’s not spearheading it, aside from appearing in the documentary he’s also produced the new Galaksija PCB to take advantage of double-sided manufacture and remove the wire links that were a feature of the original.

In that sense this isn’t so much a clone of the original as an updated version from the same designer, with only a few other updates such as key switches and connectors where the exact original component could no longer be sourced. A particularly fascinating side-tale comes from a reprint of the first Galaksija magazine. Photo-reproductions of the original printed pictures did not yield good results, so [Voja] built from scratch an entirely original Galaksija, carefully recreating the framing of each step shown in those original photos.

This project has faced its fair share of obstacles before launching on Crowd Supply, so it’s very good indeed to see it receive its funding with time to spare. We look forward to seeing the results, meanwhile you can see a promo video in Serbian with Youtube’s English subtitling below the break. You can read [Voja]’s writing on the machine in Hackaday articles past, but don’t miss the opportunity to meet him at a live event — he’s the mastermind behind a number of hardware badges at Hackaday events.

Continue reading “Iconic Yugoslavian Galaksija Computer Reborn, With A Documentary Too”

Throwing Down The FPGA Gauntlet

Gauntlet is a well-known arcade game from 1985 with many sequels and ports to more modern architectures such as Xbox and GameCube. Thanks to its popularity and relative age, the original arcade cabinet is well documented with the schematics available online. It was regarded as the most complex and ambitious hardware Atari had ever developed at the time it was released. In what can only be described as an absolute labor of love, [Alex] has recreated the arcade hardware on the Pipistrello FPGA board.

The project can actually play Gauntlet, Gauntlet II, and Vindicators II as they all ran on the same hardware. Four joysticks are supported so up to four players can play, though the EEPROM is emulated in RAM so high scores are reset when the device is powered down. The FPGA is almost out of space and can’t quite squeeze in the SRAM needed. So an SRAM expansion daughterboard is required; nothing a quick board run from our favorite purple PCB manufacturer can’t solve.

In the repo is an incredible write-up detailing the system, how it works, and the process of debugging it. This project also includes a complete simulation of the TMS5220 Voice Synthesis Processor, as Gauntlet was the first coin-operated arcade machine with a voice synthesizer. Getting the video correct was particularly tricky and it took several tries to get the color palette and motion looking right. Since [Alex] didn’t have access to an original Gauntlet arcade cabinet, they had to make do with MAME. After writing a test to make sure the FPGA was working correctly, there were differences between the MAME emulation and the FPGA output. To help out, [Colin Davies] came to the rescue. After [Colin] hooked up an original Gauntlet Arcade PCB with the motion test loaded up, the test showed that the FPGA had the correct behavior.

During development [Alex] actually simulated several frames of the game in ISIM (at a whopping 90 seconds per frame or 90 minutes per in-game second). Using ISIM allowed them to compare system state to MAME and validate the design much faster as they could better inspect the interworkings of the different modules. Using a clever trick of grabbing state from MAME after a few seconds, they primed the FPGA state and saved themselves a few hours of simulation.

If you’re looking to get into old hardware style arcade game development, give the browser-based 8bitworkshop IDE a spin. Or start with something a little smaller in scope and size with this adorable mini CRT arcade cabinet.

Continue reading “Throwing Down The FPGA Gauntlet”

Hackaday Links Column Banner

Hackaday Links: September 27, 2020

Hardly a week goes by without a headline screaming about some asteroid or another making a close approach to Earth; it’s only by reading the fine print that we remember what an astronomer’s definition of “close” means. Still, 2020 being what it is, it pays to stay on top of these things, and when you do the story can get really interesting. Take asteroid 2020 SO, a tiny near-Earth asteroid that was discovered just last week. In a couple of weeks, 2020 SO will be temporarily captured into Earth orbit and come with 50,000 km near the beginning of December. That’s cool and all, but what’s really interesting about this asteroid is that it may not be a rock at all. NASA scientists have reverse-engineered the complex orbit of the object and found that it was in the vicinity of Earth in late 1966. They think it may be a Centaur booster from the Surveyor 2 moon mission, launched in September 1966 in the runup to Apollo. The object will be close enough for spectral analysis of its. surface; if it’s the booster, the titanium dioxide in the white paint should show up loud and clear.

Lasers are sort of forbidden fruit for geeks — you know you can put an eye out with them, and still, when you get your hands on even a low-power laser pointer, it’s hard to resist the urge to shine it where you shouldn’t. That includes into the night sky, which as cool as it looks could be bad news for pilots, and then for you. Luckily, friend of Hackaday Seb Lee-Delisle has figured out a way for you to blast lasers into the night sky to your heart’s content. The project is called Laser Light City and takes place in Seb’s home base of Brighton int he UK on October 1. The interactive installation will have three tall buildings with three powerful lasers mounted on each; a smartphone app will let participants control the direction, shape, and color of each beam. It sounds like a load of fun, so check it out if you’re in the area.

We got an interesting story from a JR Nelis about a quick hack he came up with to help his wife stay connected. The whole post is worth a read, but the short version of the story is that his wife has dementia and is in assisted living. Her landline phone is her social lifeline, but she can’t be trusted with it, lest she makes inappropriate calls. His solution was to modify her favorite cordless phone by modifying the keypad, turning it into a receive-only phone. It’s a sad but touching story, and it may prove useful to others with loved ones in similar situations.

We pay a lot of attention to the history of the early computer scene, but we tend to concentrate on computers that were popular in North America and the UK. But the Anglo-American computers were far from the only game in town, and there’s a new effort afoot to celebrate one of the less well-known but still important pioneer computers: the Galaksija. Aside from having a cool name, the Yugoslavian Z80 computer has a great story that will be told in documentary form, as part of the crowdsourced Galaksija project. The documentary stars our own Voja Antonic, who was key to the computer’s development. In addition to the film, the project seeks to produce a replica of the Galaksija in kit form. Check out the Crowd Supply page and see if it’s something you’re willing to back.

There’s an interesting new podcast out there: the Pick, Place, Podcast. Hosted by Chris Denney and Melissa Hough, it comes out every other week and is dedicated to the electronic assembly industry. They’ve currently got eight episodes in the can ranging from pick and place assembly to parts purchasing to solder paste printing. If you want to learn a little more about PCB assembly, this could be a real asset. Of course don’t forget to make time for our own Hackaday Podcast, where editors Mike and Elliot get together to discuss the week in hardware hacking.

A Digital Guestbook Is A Perfect Hacker Wedding Gift

With his brother’s wedding coming up, [Sebastian] needed a wedding gift. Rather than purchasing something, he elected to build a digital guestbook so guests could share their well-wishes with the happy couple. 

The guestbook has a simple web-based interface, which was accessible over a domain name [Sebastian] registered with the couple’s names ahead of the event. There, users could enter text and draw a friendly message for the digital guestbook. The guestbook itself consists of an ESP32 running a e-ink display, packaged in a tidy 3D printed enclosure featuring the couple’s initials. It regularly queries the web server, and displays the messages it finds on the screen.

It’s a great use of an e-ink display, as it made reading the messages in bright daylight easy where other technologies may have faltered. [Sebastian] was also clever to install some LEDs for the night portion of the reception. We’ve featured a few wedding gifts on these pages before, including this particularly amusing sugar cube. Video after the break.

Continue reading “A Digital Guestbook Is A Perfect Hacker Wedding Gift”

Hackaday Podcast 085: Cable Robots Two-Ways, Cubic Raspberry Pi, Plastic Wrap Kayak, And Digging Inductors

Hackaday editors Mike Szczys and Elliot Williams take a look at all the hacks from the week that was. We think we’ve found the perfect tentacle robot, and its matching controller is also a tentacle. An unrelated project uses the same Bowden cable trick as the tentacle controller to measure deflection. If you’re more of a material-science geek, refining black sand to make your own inductors is a fascinating hack. And we wrap up the episode talking SSH keys and buses that go off road, but not in the way you might think.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Direct download (60 MB or so.)

Continue reading “Hackaday Podcast 085: Cable Robots Two-Ways, Cubic Raspberry Pi, Plastic Wrap Kayak, And Digging Inductors”