Introduction: Arduino : How to Control Stepper Motor Via Bluetooth (with Smartphone)

Picture of Arduino : How to Control Stepper Motor Via Bluetooth (with Smartphone)

This instructable is the written version of my "Arduino : How To Control Stepper Motor via Bluetooth (with Smartphone)"

In this project we will control a Stepper motor with a smartphone via bluetooth.

My YouTube Channel

First, you should see the following Instructable:

How to Control a Stepper Motor With L293D Motor Driver

Step 1: Tutorial

The Stepper motor used here is a rusty old EPOCH (5 wires) stepper motor, which is a unipolar stepper.

Step 2: Parts Required :

Picture of Parts Required :

Parts Required :

- Bluetooth Module ( for example : HC05 or HC06 )

- Jumper Cables

Step 3: Circuit & Connections

Picture of Circuit & Connections

Bluetooth Modul VCC to Arduino 5V

(at the same time if you want, you can use 3V3)

Bluetooth Modul GND to Arduino GND

Bluetooth Modul RX to Arduino TX

Bluetooth Modul TX to Arduino RX

Step 4: Programming

Picture of Programming

Get the Code and Application

*** When uploading code remove the Bluetooth VCC cable

Step 5: Create Application

Picture of Create Application

I use "App Inventor" for create application

MIT App Inventor

Step 6: If I Was Helpful

Picture of If I Was Helpful

First of all, I would like to thank you for reading this guide ! I hope it helps you.

If you want to support me, you can subscribe my channel and watch my videos.

My YouTube Channel

Comments

R Jordan Kreindler (author)2016-10-20

Thank you so much for posting this.

Jacks how2s (author)2016-10-18

can you use iPhone?

lonel (author)2016-10-16

Mert kardeş tebrik ederim, güzel bir çalışma olmuş. Burada bizlerden birilerinin çalışma yaptığını görmek güzel.

MertArduino (author)lonel2016-10-17

Yorumun için teşekkür ederim.

yeagerxp made it! (author)2016-10-16

if you are using a 5 volt based arduino you need the following. if using a 3.3 volt based arduino you need the following

MertArduino (author)yeagerxp2016-10-16

Thank you for the information. However, some manufacturers of Bluetooth module sets the voltage range. As I like my use. My advice is to use all of 3.3V.

robertbu (author)MertArduino2016-10-16

If you are running something like a pro-mini running on 3.3v, there is no issue, but most Arduino boards are 5.0v. I looked at a several HC-0x boards I have here, and they all say, "Level 3.3v. Power:3.6 - 6v." So using 5v to power them, is not an issue. In addition sending 3.3v as a high signal from the HC-0x to the Arduino is also not a problem. The problem is the sending the 5v signal from the Arduino to the HC-0x. Early on I had a problem with *some* boards. The problem was solved by adding a voltage divider...which is just two resistors correctly placed.

robertbu (author)2016-10-16

Note, I've had problems with some HC-5 and HC-6 modules wired in the configuration you specify. The issue is a 5v Arduino txd signal being received by the HC-x 3.3v rxd pin. A couple of resistors used as a voltage divider to bring the voltage down to 3.3v fixed the problem for me.

MertArduino (author)robertbu2016-10-16

I agree with your opinion.

ArashS6 (author)2016-10-16

This looks great! I'll try to do it tomorrow.

About This Instructable

38,973views

299favorites

License:

Bio: For more project and tutorial visit my YouTube channel Mert Arduino and Raspberry Pi
More by MertArduino:Arduino - Balance - Balancing Robot | How to Make?Arduino - MPU6050 GY521 - 6 Axis Accelerometer + Gyro (3D Simulation With Processing)NodeMCU ESP8266 - WiFi Robot Car Controlled by Application (Wifi Bot / Android / IoT)
Add instructable to: