This project is a demonstration of using the Unihiker Device along with the Gravity Offline Voice Recognition Module. I've ported the python code over to the device and tested it.
I'll include the steps below to get started but it's rather straightforward.
The code can be found here: https://github.com/Timo614/DFRobot_DF2301Q/tree/timo614-unihiker/python/unihiker
First you'll want to attach the device using one of the included 4-pin wires that came with the Unihiker as they use the same connector.
The associated library from the repo above can be used as desired but if you want to follow my demo please follow the steps below.
STEP 1
Download the associated code for the voice module use with Unihiker
STEP 2
Connect via SSH and select the root user folder (where we'll be running the demo)
STEP 3
Create a folder named "lib" under the root folder and move the associated library files into it (DFRobot_DF2301Q.py and DFRobot_DF2301Q_Commands.py)
STEP 4
Back in the root folder take the example from the repo, rename it as desired, and place it for running the program
STEP 5
On the Unihiker select the option to run programs, select root, and run the program
License ![licensBg](/images/license_bg.png)
All Rights
Reserved
![licensBg](/images/license_bg.png)
0
Affiliate
Related Products
UNIHIKER - IoT Python Single Board Computer with Touchscreen x1
Gravity: Offline Language Learning Voice Recognition Sensor for micro:bit / Arduino / ESP32 - I2C & UART x1
![background](/images/affiliateBg.png)
More from this category