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.
- Control Stepper Motor 28BYJ-48 Using TTGO T-Display ESP32
- Send Sensor Data to Adafruit IO Using ESP32
This video will show you how to a control stepper motor using ESP32 through Google Assistant.
This is the list of items used in the video.
For 3D printed part, you can download it here 👉 28byj-48 Motor Halter 👈
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
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.