Buenos días.
Aparte de los problemas de la interrupciones por causa de que Arduino está utilizando dos puertos serie, mas el bus SPI, efectivamente, tenemos un problema de traducción.
Con la palabra "casco", me refiero a la parte exterior del ROV, la carcasa impermeable, los tubos de los motores, la colocación de los focos exteriores, lo que sería el cuerpo del ROV, no a los motoristas, ni al miembro físico.
Buscando algo parecido en Ingles seria "the hull to the ROV"
Volviendo al problema de las comunicaciones.
No entiendo cómo puedo tener un Arduino dentro del ROV, y dos Arduinos en la superficie, y comunicar a los tres, supongo que sería utilizar uno como Maestro, que pasaría a ser el que está dentro del ROV, y los otros dos como esclavos, que son los que están en el puesto de control, si no es así, no veo como se puede hacer.
Otra posibilidad es, dejar como Maestro, uno de los -Arduinos del puesto de control como Maestro, por ejemplo el del mando, otro Arduino del puesto de control como Esclavo, el que recibe datos y los muestra en la pantalla, y otro Esclavo que es el que está dentro del ROV.
Seria estudiar las posibilidades que hay, pero siempre usando solo un Maestro, y hasta 132 Esclavos.
Estoy registrado también en un foro donde se dedican a la construcción de modelos de barcos, y me han hecho dos propuestas, un tanto deshonestas.
Una de ellas es, que como el programa es muy extenso, y bastante complicado, utilice la herramienta de programación Atom, y su complemento platformio, completamente compatible con el entorno Arduino, es una herramienta de programación profesional de código abierto.
https://docs.platformio.org/en/latest/w ... ormio.html
Pero no estoy muy entusiasmado con esto, puesto que supondría un retraso considerable, porque hasta que no sepa cómo funciona el programa, no puedo avanzar lo mas mínimo, y por lo que he visto, como decimos aquí, el programita se la trae, vamos que no es llegar y ya está, que necesita su curva de aprendizaje.
Y la otra propuesta es que para evitar problemas de velocidad de transmisión y capacidad de Arduino, cambie la placa por una placa Teensy, también compatible con el entorno de programación Arduino, pero con muchas más posibilidades que Arduino. Un procesador mucho más rápido, mucha más memoria RAM, ranura de tarjeta Micro SD, y un montón de cosas más.
https://www.pjrc.com/store/teensy41.html
He estado investigando un poco, en su foro, y he descubierto, que es la placa que controla el ROV Trident.
https://forum.pjrc.com/threads/27320-he ... hlight=rov
https://www.sofarocean.com/products/trident
Por lo tanto, no puede ser muy mala, que digamos.
Pero vuelvo a decirle lo mismo que con el programa, se pierde mucho tiempo con la curva de aprendizaje.
Un saludo.
Good morning.
Apart from the problems of interruptions because Arduino is using two serial ports, plus the SPI bus, we actually have a translation problem.
With the word "hull", I mean the outside of the ROV, the waterproof casing, the engine tubes, the placement of the outer spotlights, which would be the ROV's body, not the bikers, or the physical limb.
Looking for something similar in English would be "the hull to the ROV"
Back to the communications problem.
I do not understand how I can have an Arduino inside the ROV, and two Arduinos on the surface, and communicate to all three, I suppose it would use one as Master, which would happen to be the one inside the ROV, and the other two as slaves, who are the ones who are at the checkpoint, if not, I do not see how it can be done.
Another possibility is to leave as Master, one of the -Arduinos of the checkpoint as Master, for example the controller, another Arduino of the checkpoint as Slave, the one who receives data and shows it on the screen, and another Slave that is the one inside the ROV.
It would be to study the possibilities that there are, but always using only one Master, and up to 132 Slaves.
I am also registered in a forum where they are dedicated to the construction of models of ships, and have made me two proposals, somewhat dishonest.
One of them is, because the program is very extensive, and quite complicated, use the Atom programming tool, and its platform complement, fully compatible with the Arduino environment, is a professional open source programming tool.
https://docs.platformio.org/en/latest/w ... ormio.html
But I'm not very excited about this, since it would be a considerable delay, because until I know how the program works, I can't move forward the slightest bit, and from what I've seen, as we say here, the program says it, come on it's not to arrive and that's it, it needs its learning curve.
And the other proposal is that to avoid problems of transmission speed and Arduino capacity, change the board to a Teensy board, also compatible with the Arduino programming environment, but with many more possibilities than Arduino. A much faster processor, much more RAM, Micro SD card slot, and lots of other things.
https://www.pjrc.com/store/teensy41.html
I've been doing some research, in your forum, and I've discovered, which is the board that controls the ROV Trident.
https://forum.pjrc.com/threads/27320-he ... hlight=rov
https://www.sofarocean.com/products/trident
So, it can't be very bad, let's say.
But I say the same thing again as with the program, a lot of time is wasted with the learning curve.
Greetings.