feature article
Subscribe Now

Mechatronics Meets No-Code Voice AI

I’m currently running around in ever-decreasing circles shouting, “Don’t Panic!” because I’m trying to spin too many plates and juggle too many balls and I was never trained to spin and can’t juggle. Hmmm, now that I come to think about it, that’s not strictly true because I once read a book on the art of juggling and — as a result — I can juggle nine fine china plates, but only for a very short period of time.

The term mechatronics refers to an interdisciplinary branch of engineering that focuses on systems that combine electronic, electrical, and mechanical elements. I just saw some amazing videos of something that really got my mechatronic juices flowing (I’ll mop things up and wipe them down later). Seeing these videos — which I shall present shortly — made me realize that there’s more to life than flashing tricolor LEDs (and I never expected to hear myself say that out loud).

As fate would have it, my degree is in Control Engineering, which — back in the day — was like mechatronics on steroids. However, although the curriculum featured a core of mathematics accompanied by electronics, mechanics, and hydraulics and fluidics, I’ve predominantly focused on electronics and computers career-wise, and — as discussed in Recreating Retro-Futuristic 21-Segment Victorian Displays, for example — flashing tricolor LEDs as a hobby.

I have, of course, played with solenoids and relays and motors and servos — who amongst our number hasn’t dabbled, or been tempted to dabble, if the truth be told? — but I’ve never really plunged into the mechatronic waters with gusto and abandon.

I also have friends who do all sorts of interesting things of a mechatronic bent, such as my chum Paul Parry of Bad Dog Designs, who created a fantastic Nixie tube-based timepiece called Symphony because — as seen in this video — it features and flaunts a form of Tubular Bells comprised of 32 pipes.

 

Just looking at this video reminded me that I really want to build something like this myself one day, although I was thinking of simplifying things somewhat. For example, Paul used solenoids in which the actuator core protruded from only one end. This caused him to have to create a rather sophisticated striker mechanism to translate the linear motion of the solenoid into rotary motion as illustrated below:

My interpretation of Paul’s early Symphony striker mechanism
(Image source: Max Maxfield)

Paul has the advantage that he has ready access to a complete complement of mills and drills, lasers and lathes, and all sorts of CNC goodies that make me drool with desire. I also just remembered that, after first seeing the Symphony, I purchased a simple solenoid for prototyping purposes. Recalling this purchase caused me to have a root in the myriad boxes of “useful things” jammed under my desk and crammed into any available nooks and crannies around my office. As we see in this video, amongst a wide variety of weird and wonderful things, I found a couple of rotary mechanisms from old telephones, an Intel 4004 4-bit microprocessor from 1971 in its white ceramic package, and the aforementioned solenoid, which could well find itself featured in a mechatronic project in the not-so-distant future.

 

In turn, this reminded me of the Pipe Dream video from Animusic. As an aside, the way the folks at Animusic work their magic is really rather clever. First, they create 3D models of all of the out-of-this-world instruments, including realistically modelling any physical characteristics, like mass, inertia, elasticity, pliability, and gravity. They also describe the “sound” associated with each instrument — that is, the tone, pitch, timbre, etc. of each note. Next, they capture a MIDI soundtrack of the music they wish to play. Now, this is the clever bit, because their system looks at the MIDI soundtrack and uses this to control the animation to make sure that the virtual machines do the right things at the right times to cause the right notes to sound when they should.

 

I have both of the Animusic DVDs. As soon as I saw the Pipe Dream track, I started to dream of creating a real-world incarnation. I know, I know, “What sort of fool would set out to do something like this?” I hear you cry. Well, how about the fools at Intel who created an Atom-powered version that was demonstrated at an Embedded Systems Conference (ESC) several years ago as I pen these words.

 

Every time I see this video, it reminds me that I one day intend to create a desktop implementation (admittedly on a large desktop). Flashing tricolor LEDs will, of course, play no small part in this production.

And so, finally, we arrive at the artifact that instigated my mechatronic musings. This was the reality-bending Morph LED Ball, which — as described in this Hackaday article — features 486 stepper motors and 86,000 LEDs. You really do need to watch the videos embedded in this column, which also notes:

The result is an artistic assault on reality, as the highly coordinated combinations of light, sound, and motion make this feel alive, otherwordly, or simply a glitch in the matrix. Watching the renders of what animations will look like, then seeing it on the real thing drives home the point that practical effects can still snap us out of our 21st-century computer-generated graphics trance.

The reality-bending Morph LED Ball (Image source: Hackaday.com)

O-M-G! When I saw this in action I was flabbergasted. In fact, I feel it’s fair to say that rarely has my flabber been gasted to this extent. I really, Really, REALLY want one of these bodacious beauties!

But (and I know this is going to surprise you) none of what we’ve discussed so far is what I actually set out to talk about.

As fate would have it, I was just talking to my chum Ali (you can call him Alireza Kenarsari-Anhari for short). Ali is the CEO of Picovoice.ai, whose mission it is to enable embedded systems designers to add speech recognition and voice control to everything (well, everything that makes sense). Picovoice’s context-aware voice AI for real-world applications provides breakthrough efficiency that enables Voice AI on the edge and that scales from microcontrollers to web browsers.

A key feature of Picovoice is that it works entirely on-device without sending audio data to the cloud, thereby maintaining privacy; also, it continues to function if the connection to the internet is lost.

Picovoice running on an STM32F469 discovery board from STMicroelectronics (Image source: Picovoice.ai)

Ali made a very good point that we’ve all become accustomed to using tactile interfaces like touch screens, which is unfortunate in these days of COVID-19 when we find ourselves increasingly reluctant to touch anything.

Quite apart from anything else, using touch screens can sometimes be a pain in the nether regions. I recently had to take my car in for a service. The service center has a very pleasant customer waiting room with comfy seats and a state-of-the-art coffee making machine whose touch screen user interface brought me to my knees. If ever I needed a coffee, it was after trying to unsuccessfully persuade that machine to give me one!

It would have been so much easier had I been able to simply stroll up to the machine and say, “Please give me an Americano with cream, hold the sugar,” or simply “Coffee,” in which case the machine could respond, “Do you want cream or sugar with that?” 

As part of our chat, Ali gave me a live demonstration of their Picovoice Console and Picovoice Shepherd tools, which they describe as “The first no-code platform for building voice interfaces on microcontrollers.” Of course, there is code, but you don’t create it yourself. Instead, as shown in this video, you use their interface to capture what you are trying to do, and it then generates the code for you.

 

One thing I really like is that, in addition to defining the main speech interaction, you can also specify your own custom wake word. At home, my wife (Gina the Gorgeous) has an Echo Dot on her bedside table. More recently, I took delivery of a Sandman Doppler smart clock, which resides on my side of the bed. Unfortunately, they both respond to the “Alexa” wake word (even if you w-h-i-s-p-e-r), after which confusion invariably ensues. I would love to be able to change my clock’s wake word to “Sandman,” but this is currently not to be.

However, we digress, because I’m now thinking of all of my flashing tricolor LED hobby projects that would be enhanced by the addition of speech recognition and voice control. How about you? Do you have an embedded system that would benefit from speech recognition and voice control capabilities? If so, you really should take a look at Picovoice.ai to see what they have to offer. As always, I welcome your comments, questions, and suggestions.

6 thoughts on “Mechatronics Meets No-Code Voice AI”

    1. I LOVE these — I wish I had one to play — I really do want to start creating mechatronic artifacts — but it will have to wait until I get some free time.

    1. You and me on stage? (Actually, my dear old dad used to be a dancer on the variety hall stage with his two brothers prior to WWII — so it’s in my blood 🙂

Leave a Reply

featured blogs
Apr 25, 2024
Structures in Allegro X layout editors let you create reusable building blocks for your PCBs, saving you time and ensuring consistency. What are Structures? Structures are pre-defined groups of design objects, such as vias, connecting lines (clines), and shapes. You can combi...
Apr 24, 2024
Learn about maskless electron beam lithography and see how Multibeam's industry-first e-beam semiconductor lithography system leverages Synopsys software.The post Synopsys and Multibeam Accelerate Innovation with First Production-Ready E-Beam Lithography System appeared fir...
Apr 18, 2024
Are you ready for a revolution in robotic technology (as opposed to a robotic revolution, of course)?...

featured video

MaxLinear Integrates Analog & Digital Design in One Chip with Cadence 3D Solvers

Sponsored by Cadence Design Systems

MaxLinear has the unique capability of integrating analog and digital design on the same chip. Because of this, the team developed some interesting technology in the communication space. In the optical infrastructure domain, they created the first fully integrated 5nm CMOS PAM4 DSP. All their products solve critical communication and high-frequency analysis challenges.

Learn more about how MaxLinear is using Cadence’s Clarity 3D Solver and EMX Planar 3D Solver in their design process.

featured paper

Designing Robust 5G Power Amplifiers for the Real World

Sponsored by Keysight

Simulating 5G power amplifier (PA) designs at the component and system levels with authentic modulation and high-fidelity behavioral models increases predictability, lowers risk, and shrinks schedules. Simulation software enables multi-technology layout and multi-domain analysis, evaluating the impacts of 5G PA design choices while delivering accurate results in a single virtual workspace. This application note delves into how authentic modulation enhances predictability and performance in 5G millimeter-wave systems.

Download now to revolutionize your design process.

featured chalk talk

Neutrik powerCON®: Twist and Latch Locking AC Power Connectors
Sponsored by Mouser Electronics and Neutrik
If your next design demands frequent connector mating and unmating and use in countries throughout the world, a twist and latch locking AC power connector would be a great addition to your system design. In this episode of Chalk Talk, Amelia Dalton and Fred Morgenstern from Neutrik explore the benefits of Neutrik's powerCON® AC power connectors, the electrical and environmental specifications included in this connector family, and why these connectors are a great fit for a variety of AV and industrial applications. 
Nov 27, 2023
19,928 views