Raspberry Relay Control via Dialogflow

SadeBros
1 min readMar 5, 2019

Thanks to recent developments in speech recognition it is easier to use the user’s voice as an input to any program. DialogFlow whose motto is “use machine learning to understand what users are saying” makes this task easier than you think. The video below shows what we did with it.

Here is the blog for understanding basics of Dialogflow written by Moses Sam Paul.

Instead of writing all the steps of our project, we’ve prepared two separate videos which shows everything clearly. The first video is about configuring Dialogflow, Firebase and Google Assistant and the second one for Raspberry Pi.

Here is the connection scheme of Raspberry Pi 3 and 2 channel relay module.

Raspberry Pi 3 and 2 channel relay module wire connections

You can find the whole code in below repository.

--

--