A Hardware Random Number Generator For Your FPGA

[Zach] sent in a project he’s been working on that brings hardware random number generators to common hardware you might have lying around. It’s called Whirlyfly and it turns an FPGA dev board into a hardware random number capable of outputting random bits over a USB connection at 3 Mbps.

Previously, the whirlygig ran on a custom CPLD that interfaced to a *nix box and provided high quality random numbers via /dev/hw_random. [Zach]’s efforts takes the core of the whirlygig and ports it to the very popular and inexpensive Papilio One FPGA dev board.

As for what [Zach] can do with his random number generator, it’s extremely easy to write a Monte Carlo experiment to approximate the value of π with a better accuracy than [Ptolemy] was able to muster 1900 years ago. There’s also the aspect of encryption, and – why you would do this we have no idea – making an uncompressable file is also possible.

Cracking Open An Ancient Avionics Gyroscope

This artificial horizon might as well have come from an alien ship. [Mike] somehow manages to get his hands on most interesting equipment, this time its a very old piece of avionics equipment. The mechanical gyroscope functioned as the artificial horizon, and he’s going to take us inside for a look. He doesn’t spend quite as much time on it as he did that thermal imaging camera, but this electro-mechanical odyssey is just as interesting.

To get the accuracy needed to help keep a plane in the air (well to keep the pilot well-informed anyway) the device needed to be very well manufactured. [Mike] comments several times along the way on how the different rotating parts are so well-balanced and machined that they seem nearly frictionless. It appears that a lot of the positional feedback depends on wirewound resistor rings which connect to a rotating piece via a series of very fine spring wires. As the parts rotate the resistance changes and that’s what gives the feedback. There are also mercury switches to help along the way.

He does his best to explain, but to us the inner workings are still a big mystery. See if you can get a clearer picture from the video after the break.

Continue reading “Cracking Open An Ancient Avionics Gyroscope”

Rocket Telemetry From UAV Hardware

When we posted our call for rocketry hacks and builds, we expected to see a few altitude sensors and maybe a GPS module or two. Apparently, we forgot similar hardware is very popular in the remote-controlled aircraft world, and can be successfully added to a rocket as [Kevin] and his ArduPilot equipped J motor rocket showed us

The ArduPilot is a small Arduino comparable board designed for UAVs, quadcopters, and other whirligigs not powered by rocket motors. To get real-time telemetry from his rocket, [Kevin] attached a GPS receiver and an XBee transmitter. When launched on an H165 motor, [Kevin] was able to keep a radio lock on his rocket, allowing him to pull down data in real-time.

There are a few drawbacks to using the ArduPilot to collect flight data; the ArduPilot only reports ground speed, a somewhat useless feature if the vehicle is going straight up. Also, there is no way for [Kevin] to record data to an SD card; the ground team must be able to receive the XBee, lest bits of data go missing. For most rockets the radio issue shouldn’t be a problem. [Kevin] launched the same hardware on a J motor and was able to receive data from 3600 AGL.

Ouya, A $100 Game Console For Indie Developers

With the explosion of mobile gaming (due in no small part to the egg-bombing Angry Birds), the Ouya was bound to happen. It’s a $100 game console powered by Android that puts indie games right into your living room.

The specs for the Ouya means this cube of games isn’t a slouch: the console comes loaded with an NVIDIA Terga3 quad-core processor, 1 GB of RAM, 8 Gigs of flash storage, HDMI, WiFi, Bluetooth, and Android 4.0. A requirement for publishing games on the Ouya is making at least some of the game free to play, a la TF2 or LoL. In addition to being a video game console, Ouya will also pull down Twitch.TV streams allowing you to watch Starcraft championships and other e-sports on your big-screen TV.

Not only does the Ouya play games, its designers made the device easily hackable. There aren’t enough details to know exactly what this means, but we’re sure we’ll see a full-blown Linux distro running on the Ouya within a week of release.

As of this writing, the Ouya Kickstarter has already met their funding goal of $950,000 by taking in two million a freaking ton of money with 29 days left. This might become the most successful Kickstarter to date, and we can’t wait to see all the neat stuff and hacks for the Ouya in the near future.

Cheap As Chips Arduino Ethernet Shield

It’s no secret that Ethernet shields for the Arduino are a little expensive. With the official Ethernet shield selling for about $50 and other options not much cheaper, there’s a lot of room for improvement for Arduinofied Ethernet. [Boris] over at Open Electronics has a solution to this problem: his Ethercard powered by a $3 Ethernet controller.

The Ethercard uses the Microchip ENC28J60, a through-hole Ethernet controller. There isn’t much else on the board apart from an RJ45 jack, caps, resistors, and a cheap buffer chip. This board was designed to be easily produced, and we’re thinking it might be possible to etch this board at home.

There are a few drawbacks to this ENC28J60 Ethernet shield – the official Arduino Ethernet shield has a 10/100 Mbps connection where the Microchip-powered shield is limited to 10 Mbps. Given the reduced cost, ease of assembly, and the fact that it’s pretty hard to saturate a 100Mbps connection with an Arduino this flaw can be easily ignored.

Pretty neat, especially considering how much you can do with an Ethernet connection on your Arduino. Files and code available in the git.

On Not Designing Circuits With Evolutionary Algorithms

[Henrik] has been working on a program to design electronic circuits using evolutionary algorithms. It’s still very much a work in progress, but he’s gotten to the point of generating a decent BJT inverter after 78 generations (9 minutes of compute time), as shown in the .gif above.

To evolve these circuits, [Henrik] told a SPICE simulation to generate an inverter with a 5V power supply, 2N3904 and 2N3906 transistors, and whatever resistors were needed. The first dozen or so generations didn’t actually do anything, but after 2000 generations the algorithm produced a circuit nearly identical to the description of a CMOS inverter you’d find in a circuit textbook.

Using evolution to guide electronic design is nothing new; an evolutionary algorithm and a a few bits of Verilog can turn an FPGA into a chip that can tell the difference between a 1kHz and 10kHz tone with extremely minimal hardware requirements. There’s also some very, very strange stuff that happened in this experiment; the evolutionary algorithm utilized things that are impossible for a human to program and relies on magnetic flux and quantum weirdness inside the FPGA.

[Henrik] says his algorithm didn’t test for how much current goes through the transistors, so implementing this circuit outside of a simulation will destroy the transistors and emit a puff of blue smoke. If you’d like design your own circuits using evolution, [Henrik] put all the code in a git for your perusal. It’s damn cool as it stands now, and once [Henrik] includes checking current and voltage in each component his project may actually be useful.

Make Your Own Integrated Circuits At Home

The Nyan Cat you see above is only 600 micrometers from head to tail. To put that into perspective, that’s about 10 times the diameter of a human hair. Also, that Nyan is etched into 200 nanometer thick copper foil and is the work of the HomeCMOS team, who is developing a hobbyist-friendly process to make integrated circuits and MEMS devices at home.

The project is far from complete; HomeCMOS has yet to produce a working IC but a few experiments – getting wet etching down pat and even building an almost working quantum qbit – are remarkable given the small amount of equipment and tools involved.

The HomeCMOS team has yet to actually make an integrated circuit or MEMS device, [Jeri Ellsworth] has shown this is possible by making transistors and integrated circuits at home. While there won’t be chips with millions of transistors coming out of the HomeCMOS lab anytime soon, it’s more than possible to see a few small-scale integration-level tech such as a few logic gates or a regulator.