Mini Underwater Rov
![photo_2021-11-02_07-50-09.jpg](/proxy/?url=https://content.instructables.com/FC5/WL3W/KVGOD0K5/FC5WL3WKVGOD0K5.jpg&filename=photo_2021-11-02_07-50-09.jpg)
l293d shield
arduino uno
hc 06
jumper wires
2 18650 battery
18650 battery holder
3 motors
3 propellers
female headers
8 white led
1 flash led
2 plastic cilinder
*******tools**********
2 screws
glue gun
slone glue
Lights
![photo_2021-11-02_07-57-52.jpg](/proxy/?url=https://content.instructables.com/FKT/0Y4E/KVGOD03A/FKT0Y4EKVGOD03A.jpg&filename=photo_2021-11-02_07-57-52.jpg)
i used 9 leds for lighting. I made a circuit for 4 leds.doubles sides lights include 8 leds and up light includes 1 fash led.I connected all lights together by soldering and output pin set to uno pin 9
Motors
![photo_2021-11-02_07-50-09.jpg](/proxy/?url=https://content.instructables.com/FFR/NQFJ/KVGOD04Z/FFRNQFJKVGOD04Z.jpg&filename=photo_2021-11-02_07-50-09.jpg)
![photo_2021-11-02_08-02-32.jpg](/proxy/?url=https://content.instructables.com/FLO/JM4C/KVGOD050/FLOJM4CKVGOD050.jpg&filename=photo_2021-11-02_08-02-32.jpg)
I used normal motor and propplers here.three motors are connected to l293d shield. I made a gap between cilinder and motors with 2 screws
Controller
![photo_2021-11-02_08-21-17.jpg](/proxy/?url=https://content.instructables.com/FR3/02ET/KVGOD08Y/FR302ETKVGOD08Y.jpg&filename=photo_2021-11-02_08-21-17.jpg)
![photo_2021-11-02_08-21-26.jpg](/proxy/?url=https://content.instructables.com/FJZ/SQXL/KVGOD08Z/FJZSQXLKVGOD08Z.jpg&filename=photo_2021-11-02_08-21-26.jpg)
![photo_2021-11-02_08-21-21.jpg](/proxy/?url=https://content.instructables.com/FLD/0NIE/KVGOD090/FLD0NIEKVGOD090.jpg&filename=photo_2021-11-02_08-21-21.jpg)
I used HC06 as controller.i used Bluetooth Electronic app for controll via bluetooth
Arduino Programme
![photo_2021-11-02_08-29-41.jpg](/proxy/?url=https://content.instructables.com/FZV/0V0T/KVGOD0FB/FZV0V0TKVGOD0FB.jpg&filename=photo_2021-11-02_08-29-41.jpg)
#include AF_DCMotor motor1(1); AF_DCMotor motor2(2); AF_DCMotor motor3(3); //AF_DCMotor motor4(4); char bt='S'; void setup() { Serial.begin(9600); motor1.setSpeed(255); motor2.setSpeed(255); motor3.setSpeed(255); // motor4.setSpeed(255); Stop(); pinMode(9,OUTPUT); } void loop() { bt=Serial.read(); if(bt=='R') { forward(); } if(bt=='B') { backward(); } if(bt=='Y') { left(); } if(bt=='G') { right(); } if(bt=='W') { Stop(); } ////////////////////////////////////////// if(bt=='r') { Stop(); } if(bt=='b') { Stop(); } if(bt=='y') { Stop(); } if(bt=='g') { Stop(); } if(bt=='w') { Stop(); } /////////////////////// if(bt=='D') { down(); } if(bt=='U') { up(); } if(bt=='1') { digitalWrite(9,HIGH); } if(bt=='2') { digitalWrite(9,LOW); } } void forward() { motor1.run(FORWARD); motor2.run(FORWARD); motor3.run(RELEASE); /// motor4.run(FORWARD); } void backward() { motor3.run(RELEASE); motor1.run(BACKWARD); motor2.run(BACKWARD); // motor4.run(BACKWARD); } void left() { motor1.run(FORWARD); motor2.run(BACKWARD); motor3.run(RELEASE); // motor4.run(BACKWARD); } void right() { motor1.run(BACKWARD); motor2.run(FORWARD); motor3.run(RELEASE); // motor4.run(FORWARD); } void Stop() { motor1.run(RELEASE); motor2.run(RELEASE); motor3.run(RELEASE); // motor4.run(RELEASE); } void down() { motor1.run(RELEASE); motor2.run(RELEASE); motor3.run(FORWARD); // motor4.run(BACKWARD); } void up() { motor1.run(RELEASE); motor2.run(RELEASE); motor3.run(BACKWARD); // motor4.run(BACKWARD); }
Water Proof
![photo_2021-11-02_08-31-17.jpg](/proxy/?url=https://content.instructables.com/F09/YIA8/KVGOD0H7/F09YIA8KVGOD0H7.jpg&filename=photo_2021-11-02_08-31-17.jpg)
![photo_2021-11-02_08-31-23.jpg](/proxy/?url=https://content.instructables.com/FBN/ZBBR/KVGOD0H8/FBNZBBRKVGOD0H8.jpg&filename=photo_2021-11-02_08-31-23.jpg)
Finish
![photo_2021-11-02_07-51-26.jpg](/proxy/?url=https://content.instructables.com/FCT/KODN/KVGOD0IH/FCTKODNKVGOD0IH.jpg&filename=photo_2021-11-02_07-51-26.jpg)
![photo_2021-11-02_08-02-32.jpg](/proxy/?url=https://content.instructables.com/FDT/RHQE/KVGOD0II/FDTRHQEKVGOD0II.jpg&filename=photo_2021-11-02_08-02-32.jpg)