Control Stepper Motor remotely using WiFI using ESP8266, DRV8825 and the Blynk App
Tuning the Magnetic loop antenna, by controling the capacitor remotely, using Wifi. I built a Magnetic Loop Antenna, and my idea was to control the tuning capacitor remotely.
--> YoutTube: https://www.youtube.com/channel/UCHImT8lgZAWDnsUao0wHAQQ <--
- ESP8266 Micro Controller
- DRV8255 Stepper Motor Driver
- Bipolar stepper motor
- Blynk Application
In the Blynk app, I added five virtual buttons:
- V0 - Tune Left
- V1 - Tune Right
- V2 - Fine Tune Left
- V3 - Fine Tune Right
- V4 - Scan
The DRV8825 is a smart motor driver that can be used with normal steps and even with micro-steps, and that can be controlled by the driver's pins M0, M1, M2. In my case I wanted to use the 1/32 micro-steps, and these are the speeds that you will see in the code. More details about this driver can be found here: https://www.pololu.com/product/2133
When you are using the Arduino IDE, you will probalby need to install the Blynk library, so please follow this procedure: From the Arduino IDE menu:
- Go to "Sketch" --> "Include Library" --> "Manage Libraries"
- Search for "Blynk", and install it
Download: https://www.arduino.cc/en/software
Are you allowed to use this code anywhere? Or change the code? - Yes! You are free to do that! Enjoy! Please feel free to change that to your own project use case.
Design: Tamir Rosenberg, N6JJ
YouTube Channel Name: re: Ham Radio
YouTube Channel link: https://www.youtube.com/channel/UCHImT8lgZAWDnsUao0wHAQQ