JavaScript For The ESP8266

The ESP8266 is a popular WiFi chip that provides a relatively transparent connection between the TX and RX pins of a microcontroller and a WiFi network. It was released a little more than a year ago, and since then developers and hardware hackers have turned the ESP into much more than a serial to WiFi bridge. It’s a microcontroller platform unto itself, with a real development environment and support for the scripting language Lua.

Lua is okay, but a real win would be a JavaScript interpreter for this tiny WiFi platform. It’s taken months of work, but finally there’s an open source version of JavaScript available for the ESP8266.

This build is based on the Espruino firmware, a JavaScript interpreter for microcontrollers. This interpreter runs on dozens of different microcontrollers, but being the latest, greatest, and most popular new microcontroller platform means a new solution for the ESP is very, very exciting.

Right now the JS interpreter for the ESP is in testing, with expectations high that everything will be brought over into the main branch of the Espruino firmware. There are samples of JavaScript running on the ESP available, and binaries that can be flashed onto an ESP are available here.

Thanks [Richard] for sending this one in. He’s set up an Espruino board on the ESP8266 community forum, that should eventually be filled with new examples of JavaScript running on an ESP.

School Of Friends Use Thought Control On A Shark

[Chip Audette] owns (at least) two gadgets: one of those remote control helium-filled flying shark (an Air Swimmer), and an OpenBCI EEG system that can read brain waves and feed the data to a PC. Given that information, it can hardly surprise you that [Chip] decided to control his flying fish with his brain.

Before you get too excited, you have to (like [Chip]) alter your expectations. While an EEG has a lot of information, your direct thoughts are (probably) not readable. However, certain actions create easily identifiable patterns in the EEG data. In particular, closing your eyes creates a strong 10Hz signal across the back of the head.

Continue reading “School Of Friends Use Thought Control On A Shark”

If You Could Build A Clock In World Of Goo…

[Orson Scott Card] once wrote “…time flows through all lives equally.” You have to wonder what he would think if he saw Rhei, a fluid clock that is part prototype, part dynamic installation, and part moving sculpture. The developers [Damjan Stanković], and [Marko Pavlović] say that time flows, and thanks to the fluid-based numerals on the clock face, that seems to be an appropriate tag line (if you can’t visualize it, check out the video below).

Continue reading “If You Could Build A Clock In World Of Goo…”

Spinning A Pyrite Record For Art

Anyone with a record player is familiar with the concept of translating irregularities on a surface into sound. And, anyone who has ever cracked open a CD player or DVD player has seen how a laser can be used to reproduce sound digitally. Combining the two would be an interesting project in its own right, but [Dimitry Morozov] took this a couple of steps further with his pyrite disc sound object project.

DSC016533_1340_cPyrite discs, also known as pyrite suns or pyrite dollars, are a form of pyrite in which the crystallization structure forms a disc with radial striations. Pyrite discs are unique to the area around Sparta, Illinois, and are generally found in coal mines there. They have no real practical use, but are a favorite of mineral collectors because of their interesting aesthetics.

[Dmitry] received his pyrite disc from one such mineral collector in Boulder, CO, with the request that he use it for an interesting project. [Dmitry] himself specializes in art installations and unique instruments, and combined those passions in his pyrite disc sound object called Ra.

The concept itself is straightforward: spin the pyrite disc and use a laser to convert the surface striations into audio. But, as you can see in the photos and video, the execution was far from straightforward. From what we can gather, [Dimitry] used an Arduino Nano and a DIY laser pickup on a servo arm to scan the pyrite disc as it’s being spun by a stepper motor. That data is then sent to a Raspberry Pi where it’s synthesized (with various modulation and effects controls), to produce sound that is output through the single speaker attached to the object. Generating sound from unusual sources is certainly nothing new to regular readers, but the beauty of this part project is definitely something to be applauded.

Continue reading “Spinning A Pyrite Record For Art”

World Maker Faire 2015: Automatic Photo Collage

We’re on the ground here at the 6th Annual World Maker Faire in Queens, New York. This year the Faire is even bigger, extending out from the New York Hall of Science towards Flushing Meadows Corona Park.

Just itommynside the gates, we ran into [Tommy Mintz] who was showing off his improved portable automated digital photo collage (IP-ADC). Tommy has connected a Raspberry Pi and its camera on a long extension cable. The camera resides high up on a monopod, giving it a bird’s eye view of the area. The Pi first captures a background image, then grabs shots of things that change within the scene. The resulting collages range from hilarious to the surreal. The entire system is mounted on a cart and powered by batteries.

[Tommy] hooked us up with the WiFi password, so we were able to download photos directly from the IP-ADC. Less technologically inclined folks would be able to grab physical prints from the on-board Epson photo printer.

We’ll be reporting what we see here at the faire, so drop us a tweet @hackaday if you want us to stop by!

Hackaday’s Omaha Mini Maker Faire Roundup

The 2nd annual Omaha Mini Maker Faire wasn’t our first rodeo, but it was nonetheless a bit surprising . Before we even made it inside to pay our admission to the Omaha Children’s Museum, I took the opportunity to pet a Transylvanian Naked Neck chicken at one of the outdoor booths. The amiable fowl lives at City Sprouts, an Omaha community farming collective in its 20th year of operation. There seemed to be a theme of bootstrappy sustainability among the makers this year, and that’s great to see.

Just a few feet away sat a mustard-colored 1975 Chevy pickup with a food garden growing in its bed. This is Omaha’s truck farm, an initiative that seeks to educate the city’s kids in the ways of eating locally and growing food at home.  On a carnivorous note, [Chad] from Cure Cooking showed my companion and me the correct way to dry-cure meats using time-honored methods.

Continue reading “Hackaday’s Omaha Mini Maker Faire Roundup”

Foam And Antistatic Bag Bring Vintage Compaq Keyboard Back To Life

After winning an online auction for an 1980s vintage Compaq Portable PC, [leadacid44] discovered why it only cost him $5USD – the keyboard was shot. Not willing to accept having forked out $45USD to ship a brick, he tore into the ancient machine and came up with a found-material solution to the wonky keyboard.

[leadacid44]’s very detailed writeup of the fix for his Compaq includes a thorough examination of the guts of the machine. He got it to boot to MS-DOS 5.0 off of a 20MB ISA hard drive card and began probing the keyboard problem. It turns out the Compaq keyboard has much in common with a modern touchscreen, in that it’s a capacitive keyboard. Unfortunately the foam disks used as springs under each key cap had degraded over the last 30 years, so [leadacid44] began a quest to replace them. After much experimentation and a few false starts, he created a sandwich of transparency film, closed-cell polyethylene foam, and a Mylar antistatic bag. Many discs were punched out with a leather punch and tediously placed in the body of each key switch, and the quick brown fox was soon jumping flawlessly over the lazy dog.

We’ve seen some fixes to these lovable luggables before, like this dumpster queen that became a Hackaday Retro submission. At least [leadacid44]s machine didn’t release the Magic Blue Smoke like that one did.