Google Assistant Controlled Stepper Motor Using IFTTT and Adafruit IO on ESP32

Hey Google, open the gate!

Introduction

I did a tutorial related to Google Assistant before using Raspberry Pi. The operation is quite simple, just control the signal on GPIO pin to be HIGH and LOW. This time I would like to try to control a stepper motor using IFTTT and Adafruit IO on ESP32 board. In this case, the stepper motor will control my mini gate mechanism to open and close.

Before proceed to the video tutorial, please go through following tutorial first.

  1. Control Stepper Motor 28BYJ-48 Using TTGO T-Display ESP32
  2. Send Sensor Data to Adafruit IO Using ESP32

Video

This video will show you how to a control stepper motor using ESP32 through Google Assistant.

Hardware Preparation

This is the list of items used in the video.

For 3D printed part, you can download it here 👉 28byj-48 Motor Halter 👈

Sample Program

This is the Arduino sample program that uses MQTT protocol to subscribe topic on Adafruit IO, thus controlling the stepper motor. Before compile, please install following library on Library Manager.

  • Adafruit MQTT Library by Adafruit Version 1.0.3
  • TFT_eSPI by Bodmer Version 1.4.20

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

2 thoughts on “Google Assistant Controlled Stepper Motor Using IFTTT and Adafruit IO on ESP32”

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Playing Flappy Astronaut Game on Raspberry Pi Sense HAT
Scroll to Top