Skip to content

About

Visualization of visemes generated by the mycroft ai open source voice assistent.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

Led matrix visual assistent

Visualization of visemes generated by the mycroft ai open source voice assistent. The mycroft visem information and timings are transmitted via MQTT-protocol to the adafruit matrix portal, a microcontroller that manages an adafruit 64x64 led matrix.

This repository currrently only contains the visualization loop, running on the matrix portal, developed in CircuitPython.

Setup

Create a file secrets.py and add your information

secrets = {
    'ssid' : 'XXXXXXX',
    'password' : 'XXXXXXXX',
    'timezone' : "Europe/Berlin"
    }
minimum required: 

adafruit_matrixportal - this library is the main library used with the MatrixPortal.
adafruit_portalbase - This is the base library that adafruit_matrixportal is built on top of.
adafruit_esp32spi - this is the library that gives you internet access via the ESP32 using (you guessed it!) SPI transport. You need this for anything Internet
neopixel - for controlling the onboard neopixel
adafruit_bus_device - low level support for I2C/SPI
adafruit_requests - this library allows us to perform HTTP requests and get responses back from servers. GET/POST/PUT/PATCH - they're all in here!
adafruit_fakerequests.mpy  - This library allows you to create fake HTTP requests by using local files.
adafruit_io - this library helps connect the PyPortal to our free data logging and viewing service
adafruit_bitmap_font - we have fancy font support, and it's easy to make new fonts. This library reads and parses font files.
adafruit_display_text - not surprisingly, it displays text on the screen
adafruit_lis3dh - this library is used for the onboard accelerometer to detect the orientation of the MatrixPortal

additionally required for this project:
adafruit_datetime
adafruit_display_shapes
adafruit_display_text
adafruit_minimqtt
adafruit_ntp

Example for required MQTT message format.

mosquitto_pub -m "{\"text\":\"Hello World\", \"mood\":\"normal\", \"startTime\": 1638973552, \"visemes\": [{\"code\":1,\"duration\":5}]}" -t webtec/lab/mycroft/viseme

Helpful resources

matrix portal

circuit python

display io

adafruit library sources

Troubleshooting

Error: Expected 01 but got 00

Error: time out of range, ppen issue date_time

About

Visualization of visemes generated by the mycroft ai open source voice assistent.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages