Step 1. Let's Get Started

A project log for GUILLENGAP Cobot

Collaborative Robot Arm with Artificial Intelligence, and Used as Assistant in: 1) Voice Command System & 2) Sorting Objects System

guillermo-perez-guillenGuillermo Perez Guillen 06/28/2021 at 01:370 Comments

Hardware Prerequisites

Before getting started, you can check with more details what hardware I used:

Software Prerequisites

You can check what required software on my personal computer I used:

Setting Up the Hardware

Once everything is well installed on your Raspberry Pi board, You can check the versions of: npm, node and nodejs.

In my case, I had two serious problems with the configuration of my hardware and these are the solutions:

FIRST SOLUTION: to activate the pcm.speaker, I had to add a rate of 16000 in the assound.conf file.

pcm.speaker {
type plug
slave {
pcm "hw:0,0"
rate 16000

SECOND SOLUTION: My Raspberry Pi board has better audio with the "portaudio" board, so I had to activate it in the snips.toml file

# frame = 256
# bind = "default@mqtt"
mike = "MATRIXIO-SOUND: - (hw:2,0)"
# disable_playback = false
# disable_capture = false