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

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

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.

Related Products


Related Posts