Smart Home Automation Forum
voice module arduino code firmware for google home and alexa speaker - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: DIY Project (https://www.kincony.com/forum/forumdisplay.php?fid=3)
+--- Thread: voice module arduino code firmware for google home and alexa speaker (/showthread.php?tid=34)



voice module arduino code firmware for google home and alexa speaker - admin - 11-12-2020

Here is two arduino code for voice module. You can download different file for Google home speaker or Amazon alexa speaker by USB cable. we will upload video to our YouTube channel later.

.zip   KC868-Smart-Relay-Controller-voice-control-google-home.zip (Size: 5.8 KB / Downloads: 502)
.zip   KC868-Smart-Relay-Controller-voice-control-alexa.zip (Size: 5.8 KB / Downloads: 497)


RE: voice module arduino code firmware for google home and alexa speaker - SpoX - 01-05-2021

Hello.
How to upload firmware to the voice module?


RE: voice module arduino code firmware for google home and alexa speaker - admin - 01-06-2021

https://youtu.be/DXwJR7XtIE0
here is video how to do.


RE: voice module arduino code firmware for google home and alexa speaker - SpoX - 01-07-2021

Thanks for the description.
The compilation of the alex version was successful. However, there are errors when compiling the google version. I attach a file with errors.

.zip   google version error.zip (Size: 49.3 KB / Downloads: 368)


RE: voice module arduino code firmware for google home and alexa speaker - admin - 01-07-2021

Do you have install the "WebSockets" library?
   


RE: voice module arduino code firmware for google home and alexa speaker - SpoX - 01-07-2021

Yes. I have installed version 2.1.4

I solved the problem. The problem is with the encoding system of the file. The google version file is UTF-8-BOM encoded. For this reason, extra characters are inserted in the first line that the compiler does not recognize:
#include <EEPROM.h>


RE: voice module arduino code firmware for google home and alexa speaker - admin - 01-09-2021

ok,it's great.