With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Hi geehang, the communication is done in the handleText() function, it takes the incoming text string and passes it to the nano via the Serial.print(server.arg(0)); statement. This uses the TX Uart pin on the esp8266 to connect to the nano RX pin.The data is passed as a 'URL variable' to the server.args function and the arg(0) is located in the right place as the data I add in the amazon cloud call. This was new to me when I wrote the code, I never new you could pass data back to the server via the URL call.The IR codes are generated in the nano code. Thanks for your interest.
I bought a dot 3 weeks ago, tried fauxmo esp8266 which is great but can only do on/off . Ive spent evening since on this. Its not perfect but hopefully is a framework to voice control of many things. passing the word right through the system . riding on the sholders of giants. My wife said why havent other companies done this, I said, yes, for £100, mine costs £10.
Alexa voice control TV remo...View Instructable »
Just got this working with Arduino IDE 1.6.11 but had to set the PC side speed to 57600 and the ESP side at 115200, the Due does the buffering.Tried it with 115200 both ways and it looked like it uploads but never runs. Had some problems synchronizing the upload and held the due in reset until the UPLOADING starts when re-programming the Due. Took a few goes to program the ESP but it works repeatably now.
Thanks for the article.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.