NetWingx
Published © GPL3+

Portable Drone Claw

Portable, Bluetooth, voice-controlled claw device for drone! Easy to build, cheap, and made out of recycled materials!

IntermediateFull instructions provided4,423
Portable Drone Claw

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1

Software apps and online services

MIT App Inventor
MIT App Inventor
The Program I Use To Make The App
BTVMOTOR APP (MIT App Inventor)
This Is The App I Made Using The MIT App Inventor ( to download the app: go to "Build" in the top toolbar > "save .apk to my computer") note: install the apk in android phone.

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)
Foam Tape

Story

Read more

Schematics

Schematics

Code

btvmotor_sketch

Arduino
#include <SoftwareSerial.h> // TX RX software library for bluetooth

#include <Servo.h> // 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); // rotate the servo the angle received from the android app
  }


}

Credits

NetWingx

NetWingx

1 project • 2 followers

Comments