Billy Whiskers: animatronic puppet

Animatronic Puppet Takes Cues From Animation Software

Lip syncing for computer animated characters has long been simplified. You draw a set of lip shapes for vowels and other sounds your character makes and let the computer interpolate how to go from one shape to the next. But with physical, real world puppets, all those movements have to be done manually, frame-by-frame. Or do they?

Billy Whiskers: animatronic puppet
Billy Whiskers: animatronic puppet

Stop motion animator and maker/hacker [James Wilkinson] is working on a project involving a real-world furry cat character called Billy Whiskers and decided that Billy’s lips would be moved one frame at a time using servo motors under computer control while [James] moves the rest of the body manually.

He toyed around with a number of approaches for making the lip mechanism before coming up with one that worked the way he wanted. The lips are shaped using guitar wire soldered to other wires going to servos further back in the head. Altogether there are four servos for the lips and one more for the jaw. There isn’t much sideways movement but it does enough and lets the brain fill in the rest.

On the software side, he borrows heavily from the tools used for lip syncing computer-drawn characters. He created virtual versions of the five servo motors in Adobe Animate and manipulates them to define the different lip shapes. Animate then does the interpolation between the different shapes, producing the servo positions needed for each frame. He uses an AS3 script to send those positions off to an Arduino. An Arduino sketch then uses the Firmata library to receive the positions and move the servos. The result is entirely convincing as you can see in the trailer below. We’ve also included a video which summarizes the iterations he went through to get to the finished Billy Whiskers or just check out his detailed website.

[Jame’s] work shows that there many ways to do stop motion animation, perhaps a part of what makes it so much fun. One of those ways is to 3D print a separate object for each character shape. Another is to make paper cutouts and move them around, which is what [Terry Gilliam] did for the Monty Python movies. And then there’s what many of us did when we first got our hands on a camera, move random objects around on our parent’s kitchen table and shoot them one frame at a time.

Continue reading “Animatronic Puppet Takes Cues From Animation Software”

The Hot And Cold Of Balanced Audio

A few summers of my misspent youth found me working at an outdoor concert venue on the local crew. The local crew helps the show’s technicians — don’t call them roadies; they hate that — put up the show. You unpack the trucks, put up the lights, fly the sound system, help run the show, and put it all back in the trucks at the end. It was grueling work, but a lot of fun, and I got to meet people with names like “Mister Dog Vomit.”

One of the things I most remember about the load-in process was running the snakes. The snakes are fat bundles of cables, one for audio and one for lighting, that run from the stage to the consoles out in the house. The bigger the snakes, the bigger the show. It always impressed me that the audio snake, something like 50 yards long, was able to carry all those low-level signals without picking up interference from the AC thrumming through the lighting snake running right alongside it, while my stereo at home would pick up hum from the three-foot long RCA cable between the turntable and the preamp.

I asked one of the audio techs about that during one show, and he held up the end of the snake where all the cables break out into separate connectors. The chunky silver plugs clinked together as he gave his two-word answer before going back to patching in the console: “Balanced audio.”

Continue reading “The Hot And Cold Of Balanced Audio”

Share Bike Surrenders Its Secrets To A Teardown

If you are fortunate enough to live in a tiny settlement of no significance then perhaps you will be a stranger to bike sharing services. In many cities, these businesses have peppered the streets with bicycles secured by electronic locks for which the “open sesame” command comes through a Bluetooth connection and an app, and it’s fair to say they have become something of a menace. Where this is being written there are several competing brands of dubious market viability, to take a trip across town is to dodge hundreds of them abandoned across pavements, and every one of our waterways seems to sport one as jetsam courtesy of our ever-creative late-night drunks.

However annoying they might be, these bikes are electronic devices, and it’s thus interesting to read a teardown of one courtesy of [Electric Dreams]. The bike in question is in Australia and comes from Ofo, and it is very much worth pointing out that it is their property and prying it open is almost certainly a crime.

The bike itself is a fairly unexciting and rugged, with the electronics sitting in a module incorporating a back wheel lock sitting somewhere above where the rear brake might be. Inside is a custom board with GPS, GSM, and Bluetooth, and unexpectedly for an Aussie bike, a Netherlands SIM. Underneath the board is a motor and gearbox to activate the lock, but none of these parts are unexpected. The interesting angle of us comes from the power source, which is a D-sized lithium thionyl chloride cell, a primary cell rather than the expected rechargeable. These cells have a huge energy capacity, but at the expense of a truly nasty electrolyte and a high internal resistance which means they are limited to delivering tiny currents lest they explode.  To power the radios and motor in the Ofo, the designer has added a supercapacitor which presumably charges slowly and can then dump the required power when needed.

So bike share bikes have no great surprises in their electronics but a minor one in their power source. Curiosity sated, no need for anyone else to break the law for another look. It’s interesting to see a large lithium thionyl chloride cell in the wild, and it would be even more interesting to know whether Ofo get good life from them. Maybe our commenters will know. Or perhaps someone should ask the Feds.

Thanks [xtra] for the tip.

ESP8266 Internet Controlled LED Dimmer

There’s no shortage of debate about the “Internet of Things”, largely centered on security and questions about how much anyone really needs to be able to turn on their porch light from the other side of the planet. But while many of us are still wrestling with the realistic application of IoT gadgets, there’s undoubtedly those among us who have found ways to put this technology to work for them.

One such IoT devotee is [Sasa Karanovic], who writes in to tell us about his very impressive custom IoT LED dimmer based on the ESP8266. Rather than rely on a commercial lighting controller, he’s designed his own hardware and software to meet his specific needs. With the LED strips now controllable by any device on his network, he’s started working on Python scripts which can detect what he’s doing on his computer and react accordingly. For example, if he’s watching a movie the lights will automatically dim, and come back up when he’s done.

[Sasa] has provided all the files necessary to follow in his footsteps, from the Gerber files for his PCB to the Arduino code he’s running on the ESP. The source code is especially worth checking out, as he’s worked in a lot of niceties that we don’t always see with DIY projects. From making sure the ESP8266 gets a resolvable DNS hostname on the network to using websockets which update all connected clients with status info in real-time, he’s really put a lot of work into making the experience as complete as possible.

He’s explains in his blog post what needs to be edited to put this code to work in your own environment, and there’s even some descriptive comments in the code and a helpful debug mode so you can see how everything works. It’s always a good idea to consider that somebody else down the road might be using your code; taking a few minutes to make things clear can save them hours of stumbling around in the dark.

If you need more inspiration for your ESP8266 lighting project, check out this ambient lighting controller for a kid’s room, or this professional under-cabinet lighting controller.

Couch Potato Refined: Self-Rotating TV Uses Plywood Gears

When we first saw [Mikeasaurus’] project to rotate his TV 90 degrees in case he wanted to lay down and channel surf we were ready to be unimpressed. But it grew on us as we read about how he fabricated his own gearing system to make a car seat motor rotate the TV.

The gearing system is made from plywood and the design was from geargenerator.com, a freebie design tool we’ve covered before. You’d think you’d need a laser cutter, but in this case, the gear forms were printed out, glued on the plywood and then cut out manually. Each gear is made of several laminated together.

Continue reading “Couch Potato Refined: Self-Rotating TV Uses Plywood Gears”

Shining A Light On Hearing Loss

When auditory cells are modified to receive light, do you see sound, or hear light? To some trained gerbils at University Medical Center Göttingen, Germany under the care of [Tobias Moser], the question is moot. The gerbils were instructed to move to a different part of their cage when administrators played a sound, and when cochlear lights were activated on their modified cells, the gerbils obeyed their conditioning and went where they were supposed to go.

In the linked article, there is software which allows you to simulate what it is like to hear through a cochlear implant, or you can check out the video below the break which is not related to the article. Either way, improvements to the technology are welcome, and according to [Tobias]: “Optical stimulation may be the breakthrough to increase frequency resolution, and continue improving the cochlear implant”. The first cochlear implant was installed in 1964 so it has long history and a solid future.

This is not the only method for improving cochlear implants, and some don’t require any modified cells, but [Tobias] explained his reasoning. “I essentially took the harder route with optogenetics because it has a mechanism I understand,” and if that does not sound like so many hackers who reach for the tools they are familiar with, we don’t know what does. Revel in your Arduinos, 555 timers, transistors, or optogenetically modified cells, and know that your choice of tool is as powerful as the wielder.

Optogenetics could become a hot ticket at bio maker spaces. We have talked about optogenetics in lab rodents before, but it also finds purchase in zebrafish and roundworm.

Continue reading “Shining A Light On Hearing Loss”

Dual-Port Memory And Raspberry Pi Team Up For Retro Console Multicart

There’s something powerful about reliving the experience of using a game console from our personal good old days, especially the tactile memories stored up from hundreds of hours handling a chintzy joystick or the sound and feel of inserting a game cartridge. Emulators have their place, but they fall far short of period-correct hardware in the nostalgia department.

That’s not to say that the retro gear can’t use a little help in terms of usability, which is why [Scott M. Baker] built this Raspberry Pi multi-cartridge for his Atari 5200. The idea is to maintain the experience of the cartridge interface without having to keep stacks of cartridges around for all the games he wants to play. [Scott] leveraged the approach he used when he built a virtual floppy drive for a homebrew PC/XT: dual-port memory. The IDT7007 is a 32k chip that lives between the Atari 5200 and a Raspberry Pi Zero and can be addressed by both systems; the Pi to write ROM images to the memory, and the console to read them. He had to deal with some fussy details like chip select logic and dealing with the cartridge interlock signals, not to mention the difference in voltage between the memory chip’s logic levels and that of the Pi. Retro game-play occupies the first part of the video below; skip to 6:45 for build details.

The one quibble we have is trying to jam everything into an old cartridge. It’s critical to replicating the tactile experience, and while we don’t think we’d have gone so far as to injection mold a custom cartridge to house everything without any protrusions, we might have 3D-printed a custom cartridge instead. In the end it doesn’t detract much from the finished project, though, and we appreciate the mix of old and new tech.

Continue reading “Dual-Port Memory And Raspberry Pi Team Up For Retro Console Multicart”