Can An 8 Node Raspberry Pi Cluster Web Server Survive Hackaday?

Plenty of folks have used their Raspberry Pi as a web server. [Steve] however is the first 8 node load balanced pi cluster server we’ve run into.  While we have seen pi clusters before, they’ve never been pressed into service as a public facing web server. [Steve] has created a really nice informative website about the Raspberry Pi, and Linux in general. As his page views have increased, he’s had to add nodes to the server. Currently [Steve] sees about 45,000 page views per month.

At first glance it would seem that the load balance system would be the weak link in the chain. However, [Steve] did realize that he needed more than an Pi to handle this task. He built the load balancer using an old PC with 512MB of RAM and a 2.7GHz x86 CPU. The most important thing about the balancer is dual network interfaces, one side facing the internet, the other facing the Pi cluster. The balancer isn’t a router though. Only HTTP requests are forwarded. The Pi nodes themselves live on their own sub net. Steve has run some basic testing with siege, however nothing beats a real world test. We figured a couple of links in from Hackaday would be enough to acid test the system.

ASAP 3 – The Almost Simple As Possible Computer

ASAP-3 12 - LED Display

[Pong] has joined an elite club of people who have designed and built their own computer – including a CPU created from discrete 7400 series logic. His computer is the  Almost Simple As Possible Computer 3 (ASAP-3). ASAP-3 is not a completely new design. The architecture is based upon the SAP series of computers from Albert Malvino’s book, Digital Computer Electronics. [Pong] looked at quite a few of the “modern retro” computers such as Magic-1Big Mess o’ Wires 1, and the Duo. These computers were beyond his skill levels back then, so he began to build his own system. His primary design goal was to be able to run a 4 function calculator program.

One thing that can’t be stressed enough is the fact that [Pong] made his design work much easier by using lots of simulation. His tool of choice was Proteus Design Suite. While simulation can’t solve every problem, it can often help in verifying that a given design is sound. The ASAP-3’s instruction set is microcode, based upon the 8085 series instruction set. The microcode itself is stored on Flash ROMS. Using microcode makes ASAP-3 very flexible. Don’t have a machine instruction you need? No problem – just write one up. When all was said and done, [Pong] had over 100 instructions spread over 3 Flash ROM chips.

The hardware was only half the battle – [Pong] found writing the software just as challenging. He wrote all the software by hand in his own machine code. This is where the simulation mentioned above really saved him some time. Even with simulation he still ran into some problems. The ASAP-1 is limited to a clock speed of around 500kHz. Above that, glitches from the ROM chips start triggering the asynchronous inputs in some of the registers. [Pong] doesn’t have a logic analyzer on hand, so he wasn’t able to track this one down further. He also found a (update simulation only) issue with the carry bit on the 74LS181 bit slice ALU. In certain circumstances the carry bit would not propagate correctly. [Pong] corrected this by using a ROM as a look up table replacement for certain ‘181 functions. Even with these limitations, this is still a great hack!

Continue reading “ASAP 3 – The Almost Simple As Possible Computer”

“Professor Kill A. Volt” Shocks Pumpkins With His Tesla Coil

jj

[JJ Dasher] is back again this year, shocking some pumpkins! (Volume warning). We featured [JJ] two years ago for his Halloween candy shocking Tesla coil. He apparently has been busy in his mad scientist laboratory doing some upgrades. This year his coil is producing 5 foot long streaming arcs!

[JJ’s] Tesla coil is a uses two microwave oven transformers as a power supply. He also uses an Asynchronous Rotary Spark Gap (ASRG). As the name implies, a rotary spark gap uses a motor to turn a rotor. At certain points in the rotation, the rotor creates a small enough gap that a high voltage spark can jump across, energizing the primary coil. This idea is similar to an automotive ignition system distributor. [Pete] gives a great example of an ASRG in this video. Most ASRG based Tesla coils use the small motor to spin up the spark gap. Varying the speed of the motor creates the characteristic “motor revving” noise heard in the final arcs of the Tesla Coil.

[JJ] made things a bit more interesting by installing a couple of fluorescent bulbs inside a pumpkin near the coil. The coil lights them easily, and they glow even brighter when the pumpkin is struck. Still not satisfied, he also donned his grounded chainmail gloves and drew the arc to himself. We always love seeing people safely taking hits from massive Tesla coils, but this definitely falls under the “don’t try this at home” banner.

Continue reading ““Professor Kill A. Volt” Shocks Pumpkins With His Tesla Coil”

A Nightmare On CNC Street

[James Dressman] emailed us about his two-year journey of getting a large CNC machine running in his home. He doesn’t currently have a webpage, however his story was so incredible that we just had to feature it.   [James] started by doing plenty of research online, and ordering a new CNC. The real fun started when he opened up a wall to fit the 2300 pound monster into his home. [James] found so much insect and water damage that he ended up rebuilding the entire rear half of his home.

Once the CNC was safely set up, the fun still wasn’t over. Not all family members are keen on having an industrial machine tool in the house. In [James’] case it was the smell of way oil that drove his wife nuts. This was all before spindle problems with the tool itself began to rear their ugly head. Illness and family tragedy put everything on hold for several months, however once [James] strength returned, he attacked the problems with renewed vigor. It was a long and winding road, but he now has a fully functional CNC.

But don’t just take our word for it. Continue after the break to see his photo album and to hear James tell the story in his own words.

Continue reading “A Nightmare On CNC Street”

Heathkit Clock Updated With A PIC32 And GPS

heathkit-clock

One of [Bob’s] most treasured possessions is a Heathkit alarm clock he put together as a kid. Over the years he’s noticed a few problems with his clock. There isn’t a battery backup, so it resets when the power goes out. Setting the time and alarm is also a forward only affair – so stepping the clock back an hour for daylight savings time means holding down the buttons while the clock scrolls through 23 hours. [Bob] decided to modify his clock with a few modern parts. While the easiest method may have been to gut the clock, that wouldn’t preserve all those classic Heathkit parts. What [Bob] did in essence is to add a PIC32 co-processor to the system.

Like many clocks in the 70’s and 80’s, the Heathkit alarm clock was based upon the National Semiconductor MM5316 Digital Alarm Clock chip. The MM5316 operates at 8 – 22 volts, so it couldn’t directly interface with the 3.3V (5V tolerant)  PIC32 I/O pins. On PIC’s the input side, [Bob] used a couple of analog multiplexer chips. The PIC can scan the individual elements of the clock’s display. On the PIC’s output side, he used a couple of analog switches to control the ‘Fast’, ‘Slow’, and ‘Display Alarm/Time’ buttons.

Continue reading “Heathkit Clock Updated With A PIC32 And GPS”

Copper Electroplating The Cheap And Safe Way

[A_Steingrube] has posted a guide to his favorite method of copper electroplating. Plating copper onto other metals is popular with the steampunk crowd, but it does have other uses. Copper plate is often used as a prep step for plating other metals, such as nickel and silver. It also (usually) increases the conductivity of the metal to be plated. [A_Steingrube] is using the copper acetate method of plating. What is somewhat novel about his method is that he chose to make his own electrolyte solution from household chemicals. The copper acetate is created by mixing distilled vinegar and household hydrogen peroxide in a 50/50 ratio. The mixture is heated and then a piece of copper scouring pad is placed in. The scouring pad is partially dissolved, providing copper ions, and turning the solution blue.

The next step is to clean the material to be plated. [A_Steingrube] uses Cameo Aluminum and Stainless cleaner for this, though we think any good degreaser will work. The actual electroplating process consists of connecting a piece of copper to the positive terminal of a 6 volt battery. Copper scouring pad is again used for its high surface area. The material to be plated is connected to the negative side of the battery. He warns to keep the solution and the material being plated in constant motion to avoid heavy “burn spots”, which can flake off after the plating process. The results speak for themselves. As with any bare copper material, the electroplated layer will quickly oxidize if not protected.

GimBall Bounces Off Trees And Comes Back For More

gimball

We’ve seen a lot of flying robots over the years, and for many of them, intimate contact with a stationary object would be a very, very bad thing. [The Laboratory of Intelligent Systems], at EPFL in Switzerland designed GimBall to not only take impacts in stride, but to actually use them as navigational aids. This is similar to an insect bouncing off an obstacle in nature.

GimBall’s design is a bit of a departure from the norm as well. Contra-rotating airplane propellers provide thrust while countering torque. It appears that the propellers are driven by two separate brushless outrunner motors, which would allow for yaw control via mismatched torque. Directional control is provided by a 4 articulated vanes on the bottom of the craft. Standard RC servos move the vanes. While not as common as quadcopters today, this “tail sitting” design has been around for decades. The Convair XFY “Pogo” is a good example of an early tail sitter design.

What makes GimBall so novel is its exoskeleton. A carbon fiber gimbal encircles the entire craft. Around the gimbal is a geodesic sphere made up of carbon fiber rods and plastic joints. The sphere acts like a shock absorber, allowing GimBall to harmlessly bounce off objects. The gimbal ensures that impacts won’t upset the craft’s attitude. Check out the video after the break to see how these two systems form an impressive shell which completely separates GimBall’s chassis from the outside world. GimBall can actually use its shell to “rotate” around obstacles.

Continue reading “GimBall Bounces Off Trees And Comes Back For More”