Multi Servo Motor Control via Bluetooth Using Android App | Arduino and App Inventor

preview_player
Показать описание
In this tutorial, we will learn how to use multi-servo with an Android application. We will control 4 pcs servo motor with a Smartphone.
You can implement your robotic arm projects with reference to this tutorial. Of course we will use external battery / power when doing this.

Required Hardware:

Arduino Board :
HC-06 Bluetooth Module :
Servo Motor x4:
Jumper Wires:
Breadboard :

Recommended Items:

Connections:
The external battery VCC / GND connect to the breadboard
The Arduino GND connect to the breadboard's GND input
The servo connections we use in this project are as follows;

Orange Input - Signal Input
Red Input - Power Input (VCC)
Brown Input - Ground Input(GND)

The Servo1 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo1 Signal connect to the Arduino Digital PWM 3
The Servo2 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo2 Signal connect to the Arduino Digital PWM 5
The Servo3 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo3 Signal connect to the Arduino Digital PWM 6
The Servo4 VCC and GND connect to the breadboard's VCC / GND inputs
The Servo4 Signal connect to the Arduino Digital PWM 9
The Bluetooth module attach to the Breadboard
The Bluetooth VCC connect to the Arduino 3.3V
The Bluetooth GND connect to the Arduino GND
The Bluetooth TX connect to the Arduino Digital Pin 10
The Bluetooth RX connect to the Arduino Digital Pin 11

About Bluetooth Connection:
After establishing a connection, the LED on the Bluetooth module must be active continuously.
If you get any errors (Device not found, broken pipe, etc.), please check the module connections. If the connections are correct, try connecting to the module a several times. It will be connect.

You must download and install the SoftwareSerial library

MIT App Inventor site to create an application.

Social Media:
Рекомендации по теме
Комментарии
Автор

Could you provide the app link, and instructions on how to instal it?

Crazy-tqgz
Автор

Excellent video, very useful, but I have a problem with the application, would it be possible for you to upload the download link in the description? Thank you

PleyChipeada
Автор

Thank finally a nice way to send bluetooth data back and forth i only need to control one motor so this was perfect and i love how easy you can build on top of this thank you

BenjaminK
Автор

Thank you for this project. I made an app in mit app inventor for your project, everything is same except for the design.

sugunap
Автор

Excellent video, very usefull, but I have a problem with the application, for single slider movement all motors are rotating, what will be the solution?

praju
Автор

is there a way to save the positions of all servos then make the robot go back to that position again?

elsunshine
Автор

Amazing video thank you so much for the upload!!!

trashwebsite_user
Автор

Good. But you can use sensor shield when you connect servos you cannot use wires and put directly into this shield.

sohib
Автор

Your links don't provide the link for the battery pack...

NathanThompsonBlueEyes
Автор

Hi, Mr. Mart, I can't understand that what is the meaning of "unsigned int "
please

surajbiswas-SJ
Автор

MERT ARDUINO YOU SHOULD DEFINITELY MAKE A VIDEO EXPLAINING HOW TO BUILD A CIRCUIT, CODE, APP AND ZERO CROSSING CIRCUIT WHICH CAN CONTROL AT LEAST 5 AC LIGHT BULBS AND BE ABLE TO NOT ONLY TURN THEM ON/OFF BUT DIM EACH ONE OF THEM SEPARATELY VIA BLUETOOTH HC-06 AND ANDROID APP. THAT WILL BE A CHALLENGE!!!

Sariel
Автор

May i know why must you draw power into the breadboard using a seperate battery? I appreciate if u can reply asap.

hzqproductions
Автор

The code didnt work for me. when i check the serial port, it returns values like 60000s. how to fix this?

rubennolascoi
Автор

Do you charge the Arduino with the USB and the Battery at the same time?

Alessandroesteves
Автор

Sir, What if instead of slider i want to use button . what part of code block and program will i change ?

melkee
Автор

is it safe to connect arduino TX to Bluetooth module Rx because there is a logic level gap. 3.3v - 5v

amritlalsingh
Автор

Congratulations! Share please link to download the App. Thanks a lot!

AngelHernandez-rvoi
Автор

Hi, Mr. Mert I'm facing a problem during the running my mobile app there was not showing the Bluetooth so I use your app that successfully shows connected but during the sliding the slider that shows "Error516: Unable to write: Broken pipe". So Where is the actual problem I couldn't be understood.
So please help

surajbiswas-SJ
Автор

Please do a video on just how to develop an app.

kvlpnd
Автор

Mert, I've got a problem. I just connected everything as you said, no errors and connected to Bluetooth via app but the problem is i cant control.. iam stuck please help.

baasilbiniyamin