Introduction: Arduino Bluetooth Servo Control Like IRONMAN

About: DONATE ME : BITCOIN : 3Mo3R68PgMSjCMA4135TxGdChDY2y2PUxy RIPPLE : rPspuKM5rCw5EkRDD9vGL816V15DwtSa3L?dt=951845 LITECOIN : 3JYdqR9aY6x7g2ygycZqLfeXUPNKEQgigQ BITCOIN CASH : 38wjCQVkFViTtukAkMGCpdKhJGqx7dWnxQ S…

This instructable is about "Controlling Servo Motor via Bluetooth (with an Android)"

In this project we will control a Servo motor with an Android phone via Bluetooth.

Step 1: Hardware Required

  • Arduino
  • Servo Motor
  • Wires
  • Bluetooth Module (HC-06 or HC-05)

Step 2: Connections

Make it as mentioned in the circuit.

I'm reducing the content because you would feel it easy and would connect them less time without reading very much. Because I hate reading I just see pictures and understand. Artists need pictures to understand and ,presents it to others in the same way as well. You might think I'm artist not at all I just feel so! hahaha..... Have fun connecting.

You will find a ton of videos and information about this so, here I just came to advertise my App ( :p:p:p ) which was made with IRONMAN response feature. And you will love the feature it has if you are a marvel Iron-Man fan.

Step 3: Android APP (you Become IRONMAN Here).

Here is the android app we going to use to control servo : Android App

Here is the working of the android app though I didn't connect it with the circuit I just showed you how it works , If someone did it with the circuit please let me know I will publish your video here.



Step 4: Sketch ( Forgot Almost Intentionally )

#include  // TX RX software library for bluetooth
#include  // servo library 
Servo myservo; // servo name
int bluetoothTx = 10; // bluetooth tx to 10 pin
int bluetoothRx = 11; // bluetooth rx to 11 pin
SoftwareSerial bluetooth(bluetoothTx, bluetoothRx);
void setup()
{
  myservo.attach(9); // attach servo signal wire to pin 9
  //Setup usb serial connection to computer
  Serial.begin(9600);
//Setup Bluetooth serial connection to android
  bluetooth.begin(9600);
}
void loop()
{
  //Read from bluetooth and write to usb serial
  if(bluetooth.available()> 0 ) // receive number from bluetooth
  {
    int servopos = bluetooth.read(); // save the received number to servopos
    Serial.println(servopos); // serial print servopos current number received from bluetooth
    myservo.write(servopos); // roate the servo the angle received from the android app
  }
}

Step 5: Donate

DONATE (Buy Me A Coffee) :

PayPal : arduinotechpro@gmail.com

BITCOIN : 3Mo3R68PgMSjCMA4135TxGdChDY2y2PUxy

RIPPLE : rPspuKM5rCw5EkRDD9vGL816V15DwtSa3L?dt=951845

LITECOIN : 3JYdqR9aY6x7g2ygycZqLfeXUPNKEQgigQ

BITCOIN CASH : 38wjCQVkFViTtukAkMGCpdKhJGqx7dWnxQ

SHOP HERE : https://shoplow.wooplr.com/