120 Node Rasperry Pi Cluster For Website Testing

[alexandros] works for resin.io, a website which plans to allow users to update firmware on embedded devices with a simple git push command. The first target devices will be Raspberry Pis running node.js applications. How does one perform alpha testing while standing up such a service? Apparently by building a monster tower of 120 Raspberry Pi computers with Adafruit 2.8″ PiTFT displays. We’ve seen some big Raspberry Pi clusters before, but this one may take the cake.

raspicluster2

The tower is made up of 5 hinged sections of plywood. Each section contains 24 Pis, two Ethernet switches and two USB hubs. The 5 sections can be run on separate networks, or as a single 120 node monster cluster. When the sections are closed in, they form a pentagon-shaped tower that reminds us of the classic Cray-1 supercomputer.

Rasberry Pi machines are low power, at least when compared to a desktop PC. A standard Raspi consumes less than 2 watts, though we’re sure the Adafruit screen adds to the consumption. Even with the screens, a single 750 watt ATX supply powers the entire system.

[alexandros] and the resin.io team still have a lot of testing to do, but they’re looking for ideas on what to do with their cluster once they’re done pushing firmware to it. Interested? Check out their Reddit thread!

PrintBot prints talcum powder on your floor

PrintBot Prints On The Ground, Uses Talcum Powder

Yes, this is a printing ‘bot but it’s not a 3D Printer. Even though it’s called Printbot, don’t get it confused with other products that may begin with ‘Print’ and end in ‘bot’. Printbot is half Roomba, half old inkjet print carriage drive and the remaining half is a small PC running Windows CE.

The whole point of this ‘bot is to draw/write/print things on the floor. No, not in ink, in talcum powder! The Roomba drives in one axis as the powder is systematically dropped in the ‘bots wake. It works one line at a time, similar to how a progressive scan TV displays an image on the screen. The PC on board the Printbot reads 8-bit gray scale images from a USB drive, re-samples the image and outputs the image one line at a time to an external microcontroller. The microcontroller is responsible for driving the Roomba forward as well as moving the hopper’s position and dispensing the powder in the correct place. Check out the small photo below. That black and white strip is not there for good looks. It is part of the encoder positioning system that is responsible for communicating the location of the hopper back to the microcontroller.

Continue reading “PrintBot Prints On The Ground, Uses Talcum Powder”

Retrotechtacular: The Future’s So Bright, We’re Gonna Need Photochromic Windowpanes

This is a day in the life of the Shaw family in the summer of 1999 as the Philco-Ford Corporation imagined it from the space-age optimism of 1967. It begins with Karen Shaw and her son, James. They’re at the beach, building a sand castle model of their modular, hexagonal house and discussing life. Ominous music plays as they return in flowing caftans to their car, a Ford Seatte-ite XXI with its doors carelessly left open. You might recognize Karen as Marj Dusay, who would later beam aboard the USS Enterprise and remove Spock’s brain.

The father, Mike Shaw, is an astrophysicist working to colonize Mars and to breed giant, hardy peaches in his spare time. He’s played by iconic American game show host Wink Martindale. Oddly enough, Wink’s first gig was hosting a Memphis-based children’s show called Mars Patrol. He went on to fame with classics such as Tic Tac Dough, Card Sharks, Password Plus, and Trivial Pursuit.

Mike calls up some pictures of the parent trees he’s using on a screen that’s connected to the family computer. While many of today’s families have such a device, this beast is almost sentient. We learn throughout the film that it micromanages the family within an inch of their lives by keeping tabs on their physiology, activities, financial matters, and in James’ case, education.

Continue reading “Retrotechtacular: The Future’s So Bright, We’re Gonna Need Photochromic Windowpanes”

Hackaday 10th Anniversary: Non-Binary Computing

When [Thundersqueak] was looking for a project for The Hackaday Prize, she knew it needed to be a special project. IoT devices and microcontrollers are one thing, but it’s not really something that will set you of from the pack. No, her project needed to be exceptional, and she turned to logic and balanced ternary computing.

[Thundersqueak] was inspired to design her ternary computer from a few very interesting and nearly unknown historical computing devices. The first was the [Thomas Fowler] machine, designed all the way back in 1838. It could count to several thousand using a balanced ternary mechanical mechanism. The [Fowler] machine was used to calculate logs, and the usual boring mathematical tasks of the time.

A bit more research turned up the Setun, an electronic computer constructed out of vacuum tubes in 1958. This computer could count up to 387,000,000 with eighteen ternary digits. On the binary machine you’re using right now, representing that would take twenty-nine binary digits. It’s about a 2.5 times more efficient way of constructing a computer, and when you’re looking for the right vacuum tubes in 1950s USSR, that’s a great idea.

[Thundersqueak] isn’t dealing with vacuum tubes – she has a world of semiconductors at her fingertips. After constructing a few truth tables for ternary logic, she began designing circuits to satisfy the requirements of what this computer should do. The design uses split rails – a negative voltage, a positive voltage, and ground, with the first prototype power supply made from a 741 Op-amp. From there, it was just breadboarding stuff and checking her gates, transistors, and truth tables to begin creating her ternary computer.

With the basic building blocks of a ternary computer done, [Thundersqueak] then started to design a basic ALU. Starting with a half adder, the design then expanded to a full adder with ripple carry. We’re sure there are plans for multiplying, rotating, and everything else that would turn this project into a CPU.

Internet-Connected TI-84

Just before the days where every high school student had a cell phone, everyone in class had a TI graphing calculator. In some ways this was better than a cell phone: If you wanted to play BlockDude instead of doing trig identities, this was much more discrete. The only downside is that the TI calculators can’t easily communicate to each other like cell phones can. [Christopher] has solved this problem with his latest project which provides Wi-Fi functionality to a TI graphing calculator, and has much greater aspirations than helping teenagers waste time in pre-calculus classes.

The boards are based around a Spark Core Wi-Fi development board which is (appropriately) built around a TI CC3000 chip and a STM32F103 microcontroller. The goal of the project is to connect the calculators directly to the Global CALCnet network without needing a separate computer as a go-between. These boards made it easy to get the original Arduino-based code modified and running on the new hardware.

After a TI-BASIC program is loaded on the graphing calculator, it is able to input the credentials for the LAN and access the internet where all kinds of great calculator resources are available through the Global CALCnet. This is a great project to make the math workhorse of the classroom even more useful to students. Or, if you’re bored with trig identities again, you can also run a port of DOOM.

CNC Router Converted to 3D Printer

CNC Router Converted To 3D Printer

3D Printers have come down significantly in price over the past few years. Nowadays it is even possible to get a 3D printer kit for between $200-300. It’s arguable how well these inexpensive printers perform. [Jon] wanted a printer capable of quality prints without breaking the bank. After researching the different RepRap types that are available he concluded he really wasn’t up for a full machine build. He had previously built a CNC Router and decided it was best to add a hot end and extruder to the already built 3 axis frame.

The CNC Router frame is made from aluminum, is very rigid and has a 2′ by 2′ cutting area. All axes glide smoothly on THK linear bearings and are powered by NEMA 23 motors driven by Gecko 540 stepper drivers. The router was removed from the machine but the mounting bracket was left on. The bracket was then modified to hold the extruder and hot end. With 3D Printers there is typically a control board specifically designed for the task with dedicated outputs to control the temperature of the hot end. Since [Jon] already had the electronics set up for the router, he didn’t need a specialized 3D Printer control board. What he does need is a way to control the temperature of the hot end and he did that by using a stand-alone PID. The PID is set manually and provides no feedback to the computer or control board.

Huge Whistle[Jon] used liked Mach3 for controlling his CNC Router so he stuck with it for printing. He’s tried a few slicers but it seems Slic3r works the best for his setup. Once the g-code is generated it is run though Mach3 to control the machine. [Jon] admits that he has a way to go with tweaking the settings and that the print speed is slower than most print-only machines due to the mass of the frame’s gantry and carriage. Even so, his huge whistle print looks pretty darn good. Check it out in the video after the break…

Continue reading “CNC Router Converted To 3D Printer”

Dusty Junk-bin Downconverter Receives FM On An AM Radio

This amateur radio hack is not for the faint of heart! With only three transistors (and a drawer-full of passive parts), [Peter Parker, vk3ye] is able to use a broken-looking AM car radio to receive FM radio signals (YouTube link) on 2 meters, an entirely different band.

There are two things going on here. First, a home-made frequency downconverter shifts the 147 MHz signal down to the 1 MHz neighborhood where the AM radio can deal with it. Then, the AM radio is tuned just slightly off the right frequency and the FM signal is slope detected.

The downconverter consists of a local tuned oscillator and a mixer. The local oscillator generates an approximate 146 MHz signal from an 18 MHz crystal, accounting for two of the three transistors. Then this 146 MHz signal and the approximately 147 MHz signal that he wants to listen to are multiplied together (mixed) using the third transistor.

If you’re not up on your radio theory, a frequency mixer takes in two signals at different frequencies and produces an output signal that has various sums and differences of the two input signals in it. It’s this 147 MHz – 146 MHz = 1 MHz FM signal, right in the middle of the AM radio band’s frequency range, that’s passed on to the AM radio.

Next, the AM radio slope detects the frequency-modulated (FM) signal as if it were amplitude modulated (AM). This works as follows: FM radio encodes audio as changes in frequency, while AM radios encode the audio signal in the amplitude, or volume, of the radio signal. Instead of tracking the changing frequency as an FM radio would, slope detectors stick on a single frequency that’s tuned just slightly off from the FM carrier frequency. As the FM signal gets closer to or farther away from this fixed frequency, the received signal gets louder or quieter, and FM is detected as AM.

At 5:23, [vk3ye] steps through the circuit diagram. As he mentions, these are old tricks from circa 50 years ago, but it’s very nice to see a junk-box hack working so well with so few parts and receiving (very) high frequency FM on an old AM car radio. A circuit like this could make a versatile front end for an SDR setup. It makes us want to warm up the soldering iron.

Continue reading “Dusty Junk-bin Downconverter Receives FM On An AM Radio”