Learn how to Build an Engine Controller for your Alioli Submarine UAV Drone

Learn how to Build an Engine Controller for your Alioli Submarine UAV Drone


Juanmi Taboada
Juanmi Taboada
Learn how to Build an Engine Controller for...

In my last post “Alioli ROV Boards” I described most of the hardware I am using to build Alioli ROV and how I plan to use it. In this post, I show how the UAV submarine hardware and electronics interconnect with each other and the boards I have built for that purpose: engines driver board, and motherboard.

Engines driver board

Earlier I was using an odd version of the engines board, so I decided to redesign it again using the recently acquired knowledge and experience. Here is the schema for the new board:

Alioli ROV Engines Board v1

The building process wasn’t easy because I decided to add logic to get an inverted signal for Ox signals (pink) inverting the signal given from the Ix signals (yellow) in the L298N Dual H Bridge controller. I also decide to explore the transistors (2 different kinds) that were included in my Arduino starter kit. I got to the conclusion that I had in my hand 2 NPN Transistors (models PN2222A and S8050), the good news was that the same logic applied equally to both of them.

After reading theory, asking friends from Telecommunications (you must know that I am a computer engineer and I didn’t have much idea about electronics when I started with the submarine), and making some tests on the protoboard I got to these conclusions:

The next step was to build the board (first I had to look for a bigger board since I couldn’t match the 3 L298 inside the boards I already had) and then I implemented the schema shown before. Here you have the building process:

Motherboard

The motherboard is where all the buses will interconnect with Arduino. For this purpose, I bought a Breakout board for Arduino Mega 2560 Rev3 where I could solder pins to connect buses and wire everything as I expect:

Then I started soldering on it:

Juanmi Taboada Soldering on Arduino Mega 2560 Rev3 Breakout Board

Following the next schema:

And I got this as a result:

Finally the test

Then I connected everything and it was working as I expected:

The next video shows everything working as expected, there will be a warning at the beginning saying that MPU6050 is not connected (yes, it is right, I changed it for BNO055 from Bosh). The video shows also the test for engines (usually I have disabled this test) but I enabled it for the video to show that the driver board for the engines is working perfectly, during the test each engine will rotate forward and backward. After the engines, Alioli will say hello doing a dance flashing red and green lights in a specific way.

Everything working with the original version of the software

Next post

Now we are fully ready to talk about the software framework I have been working on, the “Alioli UAV Submarine Drone Software Framework for Arduino”.

Show Comments (5)

Comments

  • Salvador lluch
    Salvador lluch

    Muy buen trabajo JuanMi, lo sigo desde que empezaste con estas publicaciones.
    Soy un aficionado al Arduino y al submarinismo, pero con muy pocos conocimientos de las dos actividades.
    También estoy haciendo un ROV con Arduino, pero no lo tengo tan avanzado como tú. He pasado mucho tiempo atascado con el programa, ahora parece que veo la luz al final del túnel.
    Empece siguiendo los pasos de https://www.techmonkeybusiness.com/category/tech-projects.html
    pero mi proyecto ha cambiado bastante, lo tengo subido a Github, por si te interesa https://github.com/asesorplaza1/Programas-ROV-en-evolucion

    Un saludo

    • Article Author
    • Reply
    • Juanmi Taboada
      Juanmi Taboada

      Muchas gracias, yo también soy buceador (este verano me hice el curso avanzado el cual te recomiendo…en especial el buceo nocturno). Yo soy informático de base y no he tenido contacto con la electrónica más allá de lo que he aprendido poco a poco por mi cuenta. Lo que hago es resultado de leer mucho y experimentar, no todo sale a la primera.

      He estado ojeando tu proyecto y me han surgido algunas dudas. El sensor de proximidad E18D80NK que has elegido, ¿funciona bajo el agua? ¿hasta que distancia?. ¿Los leds? ¿qué consumo tienen y cuantos lúmenes generan?.

      • Article Author
      • Reply
  • Salvador lluch
    Salvador lluch

    Te he mandado un correo mas extenso.
    El sensor infrarrojos mide a 80 cm
    Los focos son unos LEXAN que encontré en Leroy Merlin

    • Article Author
    • Reply
  • Salvador lluch
    Salvador lluch

    Los focos son unos LEXAN a 12 voltios, que encontré en Leroy Merlin

    Un saludo

    • Article Author
    • Reply
  • Juanmi Taboada
    Juanmi Taboada

    Yo estoy trabajando con un láser de alta potencia y usando software para hacer fotogrametría con el fin de poder mapear estructuras. Cuando tenga resultados concluyentes los publicaré aquí.

    • Article Author
    • Reply

Related Articles

Finishing the frame for an Underwater ROV
Underwater ROV

Finishing the frame for an Underwater ROV

In my last post “How I designed the frame for my Underwater ROV” I gave all details about the design I used for the frame for Alioli Underwater ROV. In this post, I...

Posted on by Juanmi Taboada
How I designed the frame for my Underwater ROV
Underwater ROV

How I designed the frame for my Underwater ROV

In my last post “Underwater Alioli ROV” I shared all the information I got from the Internet to build my own Underwater ROV. In this post, I will explain how I managed...

Posted on by Juanmi Taboada