Your shopping cart is empty!
Google Assistant Controlled Stepper Motor Using IFTTT and Adafruit IO on ESP32
- Idris Zainal Abidin
- 22 Jan 2020
- 1372
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.
- Control Stepper Motor 28BYJ-48 Using TTGO T-Display ESP32
- 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.
- TTGO T-Display ESP32 1.14 Display Module
- 12V 28BYJ-48 Stepper Motor + ULN2003 Driver Board
- LiPo Rechargeable Battery 11.1V 1100mAh 25C
- 40 Ways Female to Female Jumper Wire
- Custom PCB (files and components)
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.