Hello world! I made a 1 servo control app yesterday and i said that i would make a multi control, so here is the multi control app! I also made a better arduino code. Follow the next step for the schematic, code, parts list & APP
GET THE APP ON GOOGLE PLAY
Contact me if you want the source code!
Step 1: Schematic, Code & Parts List.
Connect everything like the schematic, Upload the code, download the app, connect bluetooth after pairing the devices and it should work. Make sure to connect RXD to TX and TXD to RX.
Also make sure not to have the bluetooth connected when uploading the code!
- Arduino uno, (Use a mega if you want to use more then 6 Servos!) i used the RobotDyn Uno.
- HC-06 Bluetooth module, or any other.
- 6 x Servo motor. (Can test with one to of course)
- Jumper wires set MM/FF/MF
- Android phone.
Follow the next step to find out how to change your bluetooth module its name, pin & baud rate.(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...
- connect the USB TTL programmer to the HC-06
- Plug in the USB and open up The Arduino IDE
- Open the serial monitor.
- Type "AT" without quotes. You should see a respond in the Serial monitor saying "OK"
- Type "AT+NAMExyz" Sets the module name to “xyz” (Replace xyz with the name you want.) response should be OKsetname.
- 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!