loading

Hello world!

Yesterday i made a stepper motor control app that could only turn one way (on and off) and i said i was going to make one to control your curtains, So here it is! Can be used for multiple things of course. Check out the next step for the Code, Schematic, Parts list & APP.

The source code of the app is available just ask me.

Step 1: Schematic, Code, Parts List & APP

Wire everything up like the schematic and it should work!

Make sure you disconnect the HC-06 bluetooth module when uploading the code! other wise the arduino becomes confused

Parts list.

  1. Arduino uno, I used the RobotDyn Uno, a copy with 7 analog pins!
  2. HC-06 Bluetooth module.
  3. 28BYJ 48 Stepper motor With the ULN2003 driver board
  4. Jumper wires set MM/FF/MF
  5. Android phone/Tablet & the APP

Good luck!

GET THE APP ON GOOGLE PLAY!

To find out how to rename your HC-06 & set PIN + change baud rate. Follow step 2 (optional)

Step 2: How to Change the Name of Your HC-06

What is needed?

1 x USB to TTL microcontroller programmer to connect to your HC-06

How to connect the Programmer?

VCC to VCC

GND to GND

RXD to TX

TXD to RX

Lets get started...

  1. connect the USB TTL programmer to the HC-06
  2. Plug in the USB and open up The Arduino IDE
  3. Open the serial monitor.
  4. Type "AT" without quotes. You should see a respond in the Serial monitor saying "OK"
  5. Type "AT+NAMExyz" Sets the module name to “xyz” (Replace xyz with the name you want.) response should be OKsetname.
  6. Type "AT+PIN1234" Sets the pin to 1234 (replace 1234 with your desired pin) respond should be OKsetPIN For more info on changing baudrate etc. i included a PDF file. Good luck!

<p>Hello, thank you for your excellent program that I have been very useful.<br>It would be possible to get the source of the app to my email address?<br>I try to send an email of private demand.<br>Thank you<br>Alberto</p>
<p>HI,</p><p>I done your example and tried un my mobile phone the app.....when I connect bluetooth is all ok.....I touch go one direction and go.....I stop this and it's stop.....but....after the hc06 turn off some seconds, and turn on again and force me to reconnect bluetooth from phone to hc06</p><p>Why?</p><p>The same was with old example stepper motor control 1.ino</p><p>After some command from phone, the bluetooth go in &quot;broken pipe&quot; and I must to reconnect from phone to bluetooth....</p><p>Normally my phone have no problem becouse I use bluetooth on my car</p><p>I tried to use another hc06 that I have, but same result.</p><p>Please can you to help me? thanks</p><p>Lukas</p>
<p>Hola esta muy interesante como puedo conseguir el codigo para arduino IDE del control del motor y como seria en el caso del control de dos motores DC en una sola cortina.</p>
hello...i really intrested in this project. can you send me the coding and the app code for this project?
Hi, Please send your e-mail address to contact@arduinosensors.nl and i will send you the source code for the app, that is what you meant right?
<p>I Follow step by step there,, but when i press the botton, my motor stepper didnt move anymore. can u help me ?</p>
<p>Hello, I have sent you an email regarding the source code on your email address contact@arduinosensors.nl. I really hope you'll respond. Thank you!</p>
Hello,<br><br>Yes i received it.<br>I have send you a mail with the code.<br>please review my app on google play with a honest review.<br><br>thanks!
<p> i also have sent u an email, perhaps u can share your code there :), thank you</p>
<p>I got it, thank you so much. You don't know in how many ways you've saved me, lol. You're very kind.</p>
<p>I can not confirm programming arduino; Is there a problem in programming</p>
<p>Hi, What kind of error does the Arduino IDE display? Can you show me the error?</p>
<p>please...how to make your android aplication..just video tutorial</p>
I have the source code available for free, you dont need to make it. Just modify it to your wishes. You know MIT app inventor?
<p>yes..i know...can i get the source code??</p><p>thanks for reply this....</p>
<p>Yes send me your mail adress to contact@arduinosensors.nl and i will send it to you.</p>
<p>Follow me for more Cool and handy stuff!</p>

About This Instructable

2,472views

26favorites

License:

Bio: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the ... More »
More by vandenbrande:Arduino - LCD 20x4 Water LEVEL MONITOR HC SR04 Arduino - NRF24L01 2.4Ghz Wireless Relay Switch RGB led STRIP control Arduino Android BLUETOOTH - SMD5050  
Add instructable to: