Hi,
I have just started a project that requires me to write a code for a remotely operted vehicle (ROV). The brief states that the ROV needs to go down one metre, hold there for ten seconds and return to the surface.
My idea was to use a pressure sensor to do this. When the pressure reads 111377 Pa (pressure at 1m deep) the arduino will turn off the pumps that are forcing the ROV down. Of course the ROV will then rise to the surface because of the floats attached to the structure. I then need the arduino to tell the pumps to turn on to push the ROV back down until the pressure reading is correct again. This will have to be done for ten seconds.
I feel my concept is correct but have no idea how to go about the coding. Is there any tutorials that combine pressure coding and pump thruster coding that anyone could reccomend to help me with my project?
Thanks for your time,
Toby