Voice Controlled Stereo Balance With ESP8266

A stereo setup assumes that the listener is physically located between the speakers, that’s how it can deliver sound equally from both sides. It’s also why the receiver has a “Balance” adjustment, so the listener can virtually move the center point of the audio by changing the relative volume of the speakers. You should set your speaker balance so that your normal sitting location is centered, but of course you might not always be in that same position every time you listen to music or watch something.

[Vije Miller] writes in with his unique solution to the problem of the roving listener. He’s come up with a system that can adjust the volume of his speakers without having to touch the receiver’s setup, in fact, he doesn’t have to touch anything. By leveraging configurable voice control software running on his computer, his little ESP8266-based devices do all the work.

Each speaker has its own device which consists of a NodeMCU ESP8266 and X9C104 digital potentiometer inside of a 3D printed case. The audio terminal block on the gadget allows him to connect it inline between the speaker and the receiver, giving [Vije] the ability to adjust the volume through software. The source code, which he’s posted on the Hackaday.io project page, uses a very simple REST-style API to change speaker volume based on HTTP requests which hit the ESP8266’s IP address.

The second part of the project is a computer running VoiceAttack, which lets [Vije] assign different actions based on what the software hears. When he says the appropriate command, the software goes through and fires off HTTP requests to the nodes in the system. Everything is currently setup for two speakers, but it shouldn’t be too difficult to expand to more speakers (or even rooms) with some adjustment to the software.

It’s not the first voice controlled speaker we’ve ever seen, but it does solve a very specific problem in a unique way. We’d be interested in seeing the next logical step, which would see this technology integrated into the speaker itself.

Continue reading “Voice Controlled Stereo Balance With ESP8266”

‘SHE BON’ Is An Artful, Wearable, Sensual, Sensing Platform

SHE BON (that’s the French bon, or “good”) is an ambitious project by [Sarah Petkus] that consists of a series of wearable electronic and mechanical elements which all come together as a system for a single purpose: to sense and indicate female arousal. As a proponent of increased discussion and openness around the topic of sexuality, [Sarah]’s goal is to take something hidden and turn it into something obvious and overt, while giving it a certain artful flair in the process.

The core of the system is a wearable backpack in the shape of a heart, from which all other sensors and feedback elements are connected. A lot of thought has gone into the design of the system, ensuring that the different modules have an artistic angle to their feedback while also being comfortable to actually wear, and [Sarah] seems to have a knack for slick design. Some of the elements are complete and some are still in progress, but the system is well documented with a clear vision for the whole. It’s an unusual and fascinating project, and was one of the finalists selected in the Human Computer Interface portion of the 2018 Hackaday Prize. Speaking of which, the Musical Instrument Challenge is underway, so be sure check it out!

Industrial 3D Printing Uses Layers Like We’ve Never Seen Before

We’ve seen FDM printers lay down layers by extruding plastic in a line. We’ve seen printers use sintering and lithography to melt or cure one layer at a time before more print medium moves into place for the next layer. What we’ve never seen before is a printer like this that builds parts from distinct layers of substrate.

At the International Manufacturing Technology Show last week I spoke with Eric of Impossible Objects. The company is using a “sheet lamination process” that first prints each layer on carbon fiber or fiberglass, then uses a hydraulic press and an oven to bake the part into existence before bead-blasting the excess substrate away. Check out my interview with Eric and join me below for more pictures and details.

Continue reading “Industrial 3D Printing Uses Layers Like We’ve Never Seen Before”

Join Hackaday For A Night Of Pre-Maker Faire Hacks

This weekend is the World Maker Faire in New York, and Hackaday will be there looking at the latest and greatest projects from makers around the globe. We’ll also be buying bottles of water for five dollars, but that’s another story entirely.

As always, this year’s World Maker Faire will be held at the wonderful New York Hall of Science, and the lineup is spectacular. There will be cosplay, and Adam Savage will be there with a half dozen Junior Mythbusters. There will be a twenty-six foot tall hydraulic hand trucked in from Burning Man. You’re looking at the greatest event in STEAM education since the Bay Area Maker Faire last May.

Hackaday has a fantastic New York community and we’re holding a meetup this Thursday to sync up with Maker Faire. Guess what?  You’re invited!

We’re teaming up with our friends at Kickstarter to bring you an awesome night of hardware builds, music hacks, snacks, and more. While this is an informal event, we do have a few people who will be bringing their latest hacks to show off. Nick Chelyapov, a designer turned gear head who designed an Arduino-based synthesizer and drum machine. This isn’t a toy, but it’s also not a complicated mess of patch cables and eurorack modules. The Bitty is a real instrument that’s easy enough for anyone to pick up and make bleep bloops.

Also confirmed for this meetup is Nick Yulman, an artist who works with sound and interactive media in a variety of contexts. He’s gearing up to install his robotic musical instruments in the Areté Gallery in Greenpoint, Brooklyn. But this week he’ll be showing us how musical robots helped him stop worrying and love digital music.

This isn’t an event to be missed. You can RSVP for the event over on Eventbrite, and be sure to bring whatever project you’re working on. It’s going to be an entire night of drinks and hacks, just the thing before Maker Faire really gets rolling. Once the weekend hits, find us at the Faire; several of us from the Hackaday crew will be wandering the grounds looking for awesome hardware projects. Stephen Tranovich is even giving a talk about the Hackaday Prize on Sunday at 11. See you at the Faire!

Braille On A Tablet Computer

Signing up for college classes can be intimidating, from tuition, textbook requirements, to finding an engaging professor. Imagine signing up online, but you cannot use your monitor. We wager that roughly ninety-nine percent of the hackers reading this article have it displayed on a tablet, phone, or computer monitor. Conversely, “Only one percent of published books is available in Braille,” according to [Kristina Tsvetanova] who has created a hybrid tablet computer with a Braille display next to a touch-screen tablet running Android. The tablet accepts voice commands for launching apps, a feature baked right into Android. The idea came to her after helping a blind classmate sign up for classes.

Details on the mechanism are not clear, but they are calling it smart liquid, so it may be safe to assume hydraulic valves control the raised dots, which they call “tixels”. A rendering of the tablet can be seen below the break. The ability to create a full page of braille cells suggest they have made the technology pretty compact. We have seen Braille written on PCBs, a refreshable display based on vibrator motors, and a nicely sized Braille keyboard that can fit on the back of a mobile phone.

Continue reading “Braille On A Tablet Computer”

Learn To Loop The Python Way: Iterators And Generators Explained

If you’ve ever written any Python at all, the chances are you’ve used iterators without even realising it. Writing your own and using them in your programs can provide significant performance improvements, particularly when handling large datasets or running in an environment with limited resources. They can also make your code more elegant and give you “Pythonic” bragging rights.

Here we’ll walk through the details and show you how to roll your own, illustrating along the way just why they’re useful.

Continue reading “Learn To Loop The Python Way: Iterators And Generators Explained”

Final Fantasy Exploit Teaches 32-bit Integer Math

One of the fun things about old video games, besides their obvious nostalgia, is that some of the more popular games have been pried apart and tinkered with for years, leading to a lot of new “development” within the games. This often uncovers some hidden gems that gamers might not have had any knowledge of during the game’s heyday, like this coding oddity found in Final Fantasy 7 that illustrates a lot about how 32-bit processors do math.

The original PlayStation used a 32-bit RISC processor, but the most significant bit could be used for integer signing. This means that if you have an integer that has a value of 2,147,483,647 (01111111111111111111111111111111 in binary) and you add one, the value is suddenly negative 2147483648 because the most significant digit is also an indicator of the integer’s sign. In this situation, the integer is said to “overflow”. In Final Fantasy 7, if you can somehow get a character to deal 262,144 damage in one hit (much less than two billion, due to the way the game does damage calculations), the game has a little bit of a meltdown.

[4-8Productions] had to do a lot of work to show how this glitch can be exploited in the game as well. Usually damage in this game is limited to 9,999 but under certain configurations (admittedly obtained by using other exploits and tools available for FF7 like a savegame editor) two of the characters can deal more damage than this critical value, exposing the 32-bit processor’s weak spot.

Even though integer signing is a pretty basic concept for most of us, the video is definitely worth a watch especially if you’re fans of the classic game. Of course, Final Fantasy 7 isn’t the only classic that has been exploited and reverse-engineered to the extreme. You can use a Super Mario World level to implement a calculator now, too.

Continue reading “Final Fantasy Exploit Teaches 32-bit Integer Math”