New Part Day: A $6 Linux Computer You Might Be Able To Write Code For

The latest news from the world of cheap electronics is a single board computer running Linux. It costs six dollars, and you can buy it right now. You might even be able to compile code for it, too.

The C-Sky Linux development board is listed on Taobao as an ‘OrangePi NanoPi Raspberry Pi Linux Development Board” and despite some flagrant misappropriation of trademarks, this is indeed a computer running Linux, available for seven American dollars.

This board is based on a NationalChip GX6605S SoC, a unique chip with an ISA that isn’t ARM, x86, RISC-V, MIPS, or anything else that would be considered normal. The chip itself was designed for set-top boxes, but there are a surprising number of build tools that include buildroot, GCC and support for qemu. The company behind this chip is maintaining a kernel, and support for this chip has been added to the mainline kernel. Yes, unlike many other single board computers out there, you might actually be able to compile something for this chip.

The features for this board include 64 MB of DDR2 RAM, HDMI out (with a 1280 x 720 framebuffer, upscaled to 1080p, most likely), and a CPU running at just about 600 MHz. There are a few buttons connected to the GPIO pins, two USB host ports, a USB-TTL port for a serial console, and a few more pins for additional GPIOs. There does not appear to be any networking, and we have no idea what the onboard storage is.

If you want a challenge to get something compiled, this is the chip for you.

How To Evolve A Radio

Evolutionary algorithms are an interesting topic of study. Rather then relying on human ingenuity and investigation to create new designs, instead, an algorithm is given a target to achieve, and creates “offspring”, iterating in an evolutionary manner to create offspring that get closer to the target with each generation.

This method can be applied to the design of electronic circuits, and is sometimes referred to as “hardware evolution”. A team from Duke University attempted exactly this, aiming to produce an oscillator using evolutionary techniques.

The team used a platform called the “evolvable motherboard”, or EM. The EM is a platform controlled by an attached computer, consisting of reconfigurable solid state switches that allow attached circuit components to be interconnected in every combination possible. These components may be virtually any electronic component; in this experiment, 10 bipolar transistors were used.

The evolutionary algorithm was given a fitness function that rewarded output amplitude and frequency, aiming to create an oscillator operating at 25KHz. However, the team noticed some interesting emergent behavior. The algorithm tended to reward amplification behavior from the circuit, leading to many configurations that oscillated poorly, but amplified ambient noise. In the end, the algorithm developed circuit configurations that acted as a radio, picking up and amplifying signals from the surrounding environment, rather than oscillating on their own. The evolutionary algorithm took advantage of the interaction between not only the circuit elements, but effects such as the parasitic capacitance introduced by the switching matrix and appeared to use the PCB circuit traces as an antenna.

The team conclude that evolutionary algorithms used in circuit design ignore human preconceptions about how circuits work, and will take advantage of sometimes unpredictable and unexpected effects to achieve their targets. This is a blessing and a curse, bringing unconventional designs to the fore, but also creating circuits that may not work well in a generalized environment. If your “oscillator” relies on a nearby noise source to operate, it may operate unpredictably in the field, for example.

We’ve seen evolutionary algorithms used before, such as being applied to robotic design.

A Daylight-Readable Bar Graph Display In The 70s Wasn’t Cheap

The driver board with display attached; the row of lamps is visible on the right hand side.

LEDs weren’t always an easy solution to displays and indicators. The fine folks at [Industrial Alchemy] shared pictures of a device that shows what kind of effort and cost went into making a high brightness bar graph display in the 70s, back when LEDs were both expensive and not particularly bright. There are no strange materials or methods involved in making the display daylight-readable, but it’s a peek at how solving problems we take for granted today sometimes took a lot of expense and effort.

The display is a row of 28 small incandescent bulbs, mounted in a PCB and housed in a machined aluminum frame. Holes through which to view the bulbs are on both the top and front of the metal housing, which allows the unit to be mounted in different orientations. It was made as a swappable module, its 56 machined gold pins mate to sockets on the driver board. The driver board itself consists of 14 LM119 dual comparators, each of which controls two bulbs on the display.

An example of a Wamco minitron bar graph display. Each window contains an incandescent filament. [Source: industrialalchemy.org]
[Industrial Alchemy] believes that the display unit itself may have been a bit of a hack in its own way. Based on the pin spacing and dimensions of the driver board, they feel that it was probably designed to host a row of modular units known as the Wamco minitron bar graph display. An example is pictured here; they resembled DIP chips and could be stacked side-by-side to make a display of any length. Each window contained an incandescent filament in a reflective well, and each light could be individually controlled.

These minitron bar graph units could only be viewed from the top, and were apparently high in cost and low in availability. Getting around these limitations may have been worth creating this compatible unit despite the work involved.

Display technology has taken many different turns over the years, and you can see examples of many of them in one place in the Circus Clock, which tells the time with a different technology for each digit: a nixie, a numitron, a 7-segment thyratron tube, a VFD, an LED dot display, and a rear projection display.

The Naughty AIs That Gamed The System

Artificial intelligence (AI) is undergoing somewhat of a renaissance in the last few years. There’s been plenty of research into neural networks and other technologies, often based around teaching an AI system to achieve certain goals or targets. However, this method of training is fraught with danger, because just like in the movies – the computer doesn’t always play fair.

It’s often very much a case of the AI doing exactly what it’s told, rather than exactly what you intended. Like a devious child who will gladly go to bed in the literal sense, but will not actually sleep, this can cause unexpected, and often quite hilarious results. [Victoria] has created a master list of scholarly references regarding exactly this.

The list spans a wide range of cases. There’s the amusing evolutionary algorithm designed to create creatures capable of high-speed movement, which merely spawned very tall creatures that generated these speeds by falling over. More worryingly, there’s the AI trained to identify toxic and edible mushrooms, which simply picked up on the fact that it was presented with the two types in alternating order. This ended up being an unreliable model in the real world. Similarly, the model designed to assess malignancy of skin cancers determined that lesions photographed with rulers for scale were more likely to be cancerous.

[Victoria] refers to this as “specification gaming”. One can draw parallels to classic sci-fi stories around the “Laws of Robotics”, where robots take such laws to their literal extremes, often causing great harm in the process. It’s an interesting discussion of the difficulty in training artificially intelligent systems to achieve their set goals without undesirable side effects.

We’ve seen plenty of work in this area before – like this use of evolutionary algorithms in circuit design.

Hackaday Links Column Banner

Hackaday Links: The Eleventh Day Of The Eleventh Month, 2018

For the better part of the last five years, the Great War Channel on YouTube has been covering the events of the Great War, week by week, exactly 100 years later. It’s hundreds of episodes designed for history buffs, and quite literally one of the most educational channels on YouTube. It’s the eleventh day of the eleventh month of the eighteenth year, which means the folks behind the Great War Channel are probably taking a well-deserved vacation. If you haven’t heard of this channel, it might be a good time to check it out.

Ikea is now selling NFC locks. [Mike] wrote in to tell us he found the new ROTHULT drawer deadbolts for $18 at Ikea. No, these aren’t meant for your front door, they’re meant for file cabinets. That’s a different threat model, and no lock is ever completely secure. However, there are some interesting electronics. You get a lock powered by three AAA batteries and two NFC cards for $18. Can’t wait for the teardown.

The biggest news from the United States this week is big. People gathered in the streets. Millions made sure their voices were heard. Journalists were cut down for asking questions. This is a week that will go down in history. The McRib is back for a limited time. It’s just a reconstituted pork patty, pickles, onions, and sauce on a hoagie roll, but there’s more to the McRib than you would think. McDonalds only releases the McRib when the price of pork is low, and in late October, pork belly futures hit their lowest price since the last time the McRib came to town. This has led some to claim the McRib is just a second lever for McDonalds in an arbitrage play on the price of pork. McDonalds is always buying pork futures, the theory goes, and when it looks like they’re going to lose money, McDonalds simply turns on the McRib production line, pushing pork consumption up, and netting McDonalds a tidy profit. With the volume you’re looking at, McDonalds will never lose money by betting on pork.

You can turn anything into a quadcopter. A dead cat? Yes, it’s been done. How about a quartet of box fans? That’s what the folks at Flite Test did, and while the completed article was wobbly and didn’t survive its first crash, it was a quadcopter made out of box fans.

Belt Up With A Redundant Car Part

The toothed belt that turns the camshaft in synchronization with the crankshaft on many motor vehicle engines is something of an under-appreciated component. Unless you are unlucky enough to ave had one fail and destroy your engine, it’s probably something you’ve never given a second thought to outside of periodic service intervals.

For something to perform such a task over so many thousands of miles of motoring it must be made of pretty strong stuff. Even when a belt is life-expired it is still in good physical shape, and [Crispyjones] saw the potential in a used Subaru belt to make a different type of belt. After keeping his engine in sync for so long it would serve no less vital a purpose, and keep his pants from falling down.

You can of course buy the hardware for a belt from a decent crafting store, but he chose to recycle a buckle from a worn-out leather belt. Cleaning the timing belt and cutting it carefully so that the Subaru logo would be on show to the outside world in the finished article, he secured it round the buckle with some epoxy glue and a bit of stitching. The original leather retaining loop is not really appropriate, so one is fashioned from wire. Finally we see the process for measuring where the holes should be placed, followed by their creation with a hole punch.

Hackaday isn’t a crafting site, so we don’t often feature projects like this one. But the humble timing belt is a component that we’ve probably all replaced and thrown away more than once without really thinking what the properties of the thing we’re throwing away are. So we like this relatively simple project for its re-use of something few of us would otherwise keep, as well as for its delivering rather a cool belt. We’ve featured plenty of cambelts here doing their traditional job, but this is the first time we’ve had one as an item of clothing. We’ll leave you with a glimpse of a future without cambelts at all.

3D-Printer Extrudes Paper Pulp Instead Of Plastic

We’ve seen all sorts of 3D-printers on these pages before. From the small to the large, Cartesians and deltas, and printers that can squeeze out plastic, metal, and even concrete. But this appears to be the first time we’ve ever featured a paper-pulp extruding 3D-printer.

It’s fair to ask why the world would need such a thing, and its creator, [Beer Holthuis], has an obvious answer: the world has a lot of waste paper. Like 80 kg per person per year. Thankfully at least some of that is recycled, but that still leaves a lot of raw material that [Beer] wanted to put to work. Build details on the printer are sparse, but from the photos and the video below it seems clear how it all went together. A simple X-Y-Z gantry moves a nozzle over the build platform. The nozzle, an order of magnitude or two larger than the nozzles most of us are used to, is connected to an extruder by a plastic hose. The extruder appears to be tube with a stepper-driven screw that lowers a ram down onto the pulp, squeezing it into the hose. [Beer] notes that the pulp is mixed with a bit of “natural binder” to allow the extruded pulp to keep its shape. We found the extrusion process to be just a wee bit repulsive to watch, but fascinating nonetheless, and the items he’s creating are certainly striking in appearance.

This may be the first pulp printer to grace our pages, but it’s not the first pulp hack we’ve featured. Pulp turns out to be a great material to keep your neighbors happy and even makes a dandy fuel.

Continue reading “3D-Printer Extrudes Paper Pulp Instead Of Plastic”