Build Your Own Supercomputer with ESP32s

If the computer you have isn’t particularly fast, there’s a well-documented way to get more out of it. You just need more of the same computer, and you can run your tasks on them all at the same time. Building computer clusters is an effective way of decreasing the time it takes for computers to solve certain problems, even if the computers themselves aren’t top-of-the-line hardware. Of course, with cheap enough hardware, people will build clusters out of just about anything, including the ESP32.

For this project, [Wei Lin] admits that this isn’t really a serious attempt at building speedy hardware, but rather an interesting exercise in creating a cluster as a sort of learning experience. ESP32 boards can be found for around $10 so building an experimental cluster with these is even more feasible than using the Raspberry Pi. [Wei Lin] goes into a great amount of detail on his GitHub page about all of his goals with the project, most of which involve exploring the functionality of the new cluster and its underpinnings.

While this might seem like little more than a thought experiment, it does have the advantage of being a great solution for problems that involve gathering data from points that are physically very far from one another. If you’ve ever been interested in parallel computing or computing clusters, this is a great project to check out. If you have more Raspberry Pis on hand than ESP32s and still want to build a cluster, check out this project that used a mere 750 of them for one.

 

Making A Covox Speech Thing Work On A Modern PC

Long ago, when mainframes ruled the earth, computers were mute. In this era before MP3s and MMUs, most home computers could only manage a simple beep or two. Unless you had an add-on device like the Covox Speech Thing, that is. This 1986 device plugged into your parallel port and allowed you to play sound. Glorious 8-bit, mono sound. [Yeo Kheng Meng] had heard of this device, and wondered what it would take to get it running again on a modern Linux computer. So he found out in the best possible way: by doing it.

Continue reading “Making A Covox Speech Thing Work On A Modern PC”

Gravity Simulations With An FPGA

Gravity can be a difficult thing to simulate effectively on a traditional CPU. The amount of calculation required increases exponentially with the number of particles in the simulation. This is an application perfect for parallel processing.

For their final project in ECE5760 at Cornell, [Mark Eiding] and [Brian Curless] decided to use an FPGA to rapidly process gravitational calculations. This allows them to simulate a thousand particles at up to 10 frames per second. With every particle having an attraction to every other, this works out to an astonishing 1 million inverse-square calculations per frame!

The team used an Altera DE2-115 development board to build the project. General operation is run by a Nios II processor, which handles the VGA display, loads initial conditions and controls memory. The FPGA is used as an accelerator for the gravity calculations, and lends the additional benefit of requiring less memory access operations as it runs all operations in parallel.

This project is a great example of how FPGAs can be used to create serious processing muscle for massively parallel tasks. Check out this great article on sorting with FPGAs that delves deeper into the subject. Video after the break.

Continue reading “Gravity Simulations With An FPGA”

Troll physics: 3 LEDs powered by hand

[Henryk] just sent us his latest episode of simple LED circuit puzzles. In front of the camera he solders one pin of each of the 3 LEDs to a different switch. He then puts the three assemblies in his hand and flips each switch to make the corresponding LED come on. We look forward to your explanations in the comments.

You may remember two other videos that [Henryk] made (also embedded after the break). The first video was a simple circuit with a resistor, three switches, and three LEDs in series. When a battery was connected, the LEDs were somehow switched on one at a time.The second video featured the same resistor/switches/LEDs, this time in a parallel circuit. Turning on the first switch made the first LED light up, and the second switch made the second LED light up.

Here are the few other troll physics projects we featured: the original LED circuits post, the super deluxe edition and the amazing solution to the trickery.

Continue reading “Troll physics: 3 LEDs powered by hand”

Tearing through floppy drives to build a small-format dot matrix printer

The accuracy which [Mario] achieved in his pen plotter dot matrix printer is very remarkable. He tore through a pile of floppy drives to get the parts he wanted, and chose to go with a fine-point Sharpie marker as a print head. In the video after the break he flatters us with a printout of the Hackaday logo, but you also get a look at one problem with the build. The ink doesn’t always flow from the felt tip and he has to coax it (almost like priming a pump) with a piece of scrap paper.

He was inspired by the pen printer we featured back in June. This rendition features a printing area of 1.5×1.5 inches that can accommodate 120×120 black and white pixels. He’s not a microcontroller type of guy and is driving the printer from the parallel port of his computer.

The best printing technique puts the pen down and moves it around just a bit (helps prevent the ink flow problem we mentioned earlier) and produces images like one in the lower right. We love the 8-bit nature of the result and would use this all the time to make our own greeting cards.

Continue reading “Tearing through floppy drives to build a small-format dot matrix printer”

Ask Hackaday: Troll Physics Super Deluxe Edition

Here’s a brain bender for you: YouTube user [Fredzislaw100] put up a video of six LEDs and six switches wired up in series. After soldering a resistor and 9V battery connector, the first switch turns on the first LED, the second switch turns on the second LED, and so on for the rest of the circuit.

We’ve seen this trick before from [Fredzislaw100], only this time he’s moved up from 3 LEDs to 6. In the reveal of the previous trick, [Fredzislaw] built two AC power supplies inside a nine volt battery connector; one high frequency and one low frequency. The low frequency AC line powers the first two LEDs with the help of diodes in the switches and LEDs. The high frequency AC line turns on the third LED with the help of an inductor inside an LED. Apparently [Fredzislaw] still has some soldering skills to show off; the circuit powering this trick is most likely the work of a soldering god.

From a close viewing, it looks like LEDs are wired up in pairs, i.e. LED 1 works the same as LED 2, LED 3 works the same as LED 4, etc. We’ll let Hackaday readers argue it out in the comments as to how this trick is possible.

Tip ‘o the hat to [Th0m4S] for sending this one in.

Doubling up on the USB supercap flashlight

[Antoine] wrote in to let us know that he soldiers on with his flashlight project. He’s doubled up on the supercaps and tripled the LEDs (translated).

The core concept has stayed the same since the original version. He wanted a flashlight that was small and used no batteries. This iteration came about as he looked at increasing the light output of the device. He’s switched to some warm-white LEDs which are easier on the eyes, but was unhappy with the charge life now that he’s using current at a faster rate. The solution, of course, is more potential from the capacitor. He’s now using two 10 Farad caps in parallel. We are a little skeptical about his capacitor theory and ended up using this lecture to defog the issue of parallel and series capacitance.

The upgraded hardware is right at home in that plastic egg like you’d find in a coin-op trinket vending machine. You’ll see there’s still a colored LED to warn when the charge is getting too low.