How to connect Echo’s Alexa to an Arduino

Introduction

As mentioned in my last post, I have connected my Echo to interface with my Arduino controlled RV lights. And thanks to the Particle.io Photon, this was quite easy. Perhaps the toughest part about this process has been getting past all the unfamiliar language used by Amazon, such as “Lambda functions”, “Skills”, and so forth. The actual implementation was fairly quick and easy, as I’ll explain in this post and the accompanying GitHub project.

Who is Alexa, and what is an Echo?

In a nutshell, the Amazon Echo is a small electronic device that you can interact with using spoken natural language. It has directional listening capability that allows it to hear you talk even in a noisy environment; for example when you’re playing the TV or stereo. It responds to you after you speak the work “Alexa”.

Requirements for connecting Alexa to your Arduino

You don’t have to own an Amazon Echo to get started. You can design and build a voice controlled interface, and test it using the Alexa Skills Kit (ASK) Service Simulator. The simulator allows you to type in what you would speak, and responds exactly as the Echo device would.

You’ll need to join the Amazon developer program, and setup an Amazon account to handle the backend. Both of these things can be done for free.

I’ve posted all the details on Github. I’ll warn you though; the instructions appear quite long. But don’t be deterred. None of the steps are particularly difficult, and the results are amazing!

I’ve been sharing tips and ideas with my buddy Don. He’s setup his Echo to control his pipe organ clocks. You can check out his work on facebook or at donholmberg.com. There’s also a blog article on Mutual Mobile’s website talking about some of our Arduino projects before connecting them to the Amazon Echo.

I’m having a blast working with all this new technology, and its fun to be able to use it to enhance my RV lifestyle!

2 Replies to “How to connect Echo’s Alexa to an Arduino”

  1. Hi Ron

    I have just read your article, and wounder why your not using ESP8266 instead of the expensive Proton wifi device ? Or a board called Wemos D1R2 ?

    Is the Proton better or easier to work with ?

    Br Tvixen

    1. I evaluated the ESP8266 quite awhile back, and concluded that while cheaper, it was more difficult to work with. In particular, the Photon came with a super easy-to-use over-the-air programming solution. Since I’m mounting these things inside my walls and ceiling, that was a very attractive option. At first I was put off by the $19 price tag, since I plan on using a lot of these. But then I did the math, and I expect to use about 20 of these over the next few years. This totals $380. So I concluded that an easier to use part with great support is well worth that. Thanks for asking.

Leave a Reply to tvixen Cancel reply

Your email address will not be published. Required fields are marked *