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.

Ask Hackaday: Who Wants To Build A Function Generator?

[tari] sent in a tip about a MAX5214 DAC evaluation board AVNET is giving away this summer.  The MAX5214 / MAX5216 is a neat little chip providing a 14 or 16 bit DAC with a serial interface in a tiny 8-pin package. [tari] thinks this eval board could be hacked into a function generator, and we’ve got to agree. Now, who wants to build one?

It’s entirely possible to take the MAX5214 chip and put it in a circuit with a small ARM uC, a display, and a few knobs, but that seems like a waste of time given function generators of this caliber are already available for about $60. It seems the most efficient hack of this dev board will be simply adding an amplifier to this board’s output and possibly programming a better interface than the current LabView software available.

If you want to tinker around with some free hardware and make something useful in the process, have a go at making a function generator out of this dev board. Be sure to send it in when you’re done.

Two Interesting Boards Coming Down The Pipe

Hey, it’s a hardware twofer! Here’s two platforms coming down the pipe:

First up is the Mimo Dreamplug, the latest in a continued expansion of choices for very tiny, single-board Linux computers. The Dreamplug should be extremely capable of just about any task you can throw at it. With a 1.2GHz Marvell Sheeva CPU, eSATA, fiber optic/TOSLINK, WiFi, Bluetooth, two Gigabit Ethernet connections, and 512 MB of RAM, we’re thinking this could be used for just about anything. It’s a little pricy at $250, but that’s  what you pay for all those features. No idea when it will be available, though. Never mind, you can get the same thing for $150 here. Thanks, [Scott].

Next up is the Kinetis KL25Z Freedom Board, an Arduino-compatable, Cortex-M0+ based dev board being made available for pre-order. The specs on this machine seem pretty good – with a 48MHz ARM chip, on-board accelerometer, a capacitive touch ‘slider’ built into the PCB, and OpenSDA for a USB debug interface, you should be able to make a few cool projects with this board. As a neat bonus, it costs $13, and Freescale is giving away a version of their Codewarrior development environment (limited to 128kB, but that’s all the Flash the Kinetis has). Hopefully, it’ll be a much more open development platform than what our own [Mike Szczys] has been able to wrangle from the STM32 board that has been floating around. The Kinetis should be available this fall.

Thanks [Impulse405] and [Hussam] for sending these tips in.

Gooseberry Is The Latest ARM Linux Board

It looks like we’re finally seeing the proliferation of single board computers take off. The latest is called the Gooseberry. While it will cost about £40/$62 USD at release, it greatly outperforms the current crop of tiny Linux boards.

As the latest in what will be a long line of these ARM-ified single board computers, the Gooseberry hugely outperforms the VIA APC and Raspberry Pi with a Allwinner A10 CPU running at 1.2 GHz, 512 MB of RAM, and built-in WiFi. Basically, the Gooseberry has all the features you would expect from an Android tablet; the reason for this is because the Gooseberry actually is the board found in a few Chinese tablets.

There’s a few very nice features like an LVDS output to add LCD displays without hogging the HDMI output, and the form factor is incredibly thin making it perfect for building a small portable device.

After the break you can check out a walkthrough of the Gooseberry board along with evidence of it running Ubuntu.

Continue reading “Gooseberry Is The Latest ARM Linux Board”

Communicating From Inside Your Dreams

Over the last few years, [Michael] has been working on the Lucid Scribe project, an online sleep research database to document lucid dreams. This project uses a combination of hardware and software to record rapid eye movements while sleeping. Not only is [Michael] able to get his computer to play music when he starts dreaming (thus allowing him to recognize he’s in a dream), he can also communicate from within a dream by blinking his eyes in Morse code.

According to the Lucid Scribe blog, [Michael] and other researchers in the Lucid Scribe project have developed motion-sensing hardware capable of detecting heartbeats. This equipment is also sensitive enough to detect the Rapid Eye Movements associated with dreaming. This hardware feeds data into the Lucid Scribe app and detects when [Michael] is dreaming. Apparently, [Michael] has been practicing his lucid dreaming; he’s actually been able to move his eyes while dreaming to blink our Morse code. The first message from the dreamworld was, of course, “first post”. [Michael] used ‘first post’ to debug his system, but he has managed to blink ‘S’ from a dream. That should improve after he works on his Morse and lucid dreaming skills.

You may now begin referencing Inception in the comments.

A LEGO Turing Machine For [Alan]’s Centennial

2012 is the 100-year anniversary of [Alan Turing]’s birth, and to celebrate the centennial, [Jeroen] and [Davy] over at Centrum Wiskunde & Informatica in The Netherlands built a Turing machine out of LEGO.

A Turing machine is an extremely simple device, but is still able to compute everything your desktop can. The machine is generally described as an infinite paper tape with a read/write head. On this paper tape, the numbers ‘1’ and ‘0’ are written. By precisely defining what the Turing machine should do when it comes across a ‘1’ or ‘0’, its able to do the same calculations as a laptop, albeit at a much slower rate.

The LEGO Turing machine has a series of pins signifying each bit. These pins are moved underneath a read/write head containing a light sensor and robotic arm. When a pin is down, the camera sees a dark spot signifying one state. When the pin is up, light reflects off a white LEGO piece signifying another state.

[Jeroen] and [Davy] built an IDE for their Turing machine, so if you’ve got a few LEGO NTX bricks lying around you can grab the Git and build your own. Check out the mini documentary after the break.

Continue reading “A LEGO Turing Machine For [Alan]’s Centennial”