Hello. I want to make an ROV controlled with USB joystick with limited budget. And I think I got all the parts. Firstly first I want to show you my configuration. In simple word USB joystick specifically Xbox 360 controller will send data to Arduino and Arduino will then read the data from SPI pin and use the data for Arduino to send signal to the digital PWM pin which turn the motor using H bridge motor controller. And yes I want a variable speed for the motor controlled with the joystick. And the reason why I'm using ethernet cable because I'm going to control the ROV from like 50m. If anyone could help me where to start with this it would be very helpful
My set up:
USB Xbox 360 Controller
USB Over Ethernet
Ethernet to TTL (SPI) ENC28J60
Arduino Mega 2560
4* H bridge BTS760B
Signal conversion be like USB > TTL (duplex tx rx) > SPI
The thing is It's hard to do it wirelessly underwater. I want to control the ROV from the surface and the Arduino will have to go down like 50m at least for now
A good reason to use Ethernet is because to drive the ROV 50m down, it will have to stream live video to the top side computer. Might as well use Ethernet for control. telemetry, and video,
There are open source underwater ROV projects so it might be useful to look at other successful designs. Most have a Raspberry Pi in the ROV to handle camera and video streaming. The link is to one project that has a nice system connection diagram.
It's too complex for me to start programming everything at once. What I had in mind is use another seperate cable for the video. And pixhawk, Raspberry Pi, and the other stuff are over my budget. I have 80usd left to spend for the ROV. After I get this thing work I will get more money to build the the other stuff like the body
another option is to use the second USB to Ethernet adapter in ROV and put an USB-host shield on Arduino. the result should be the same as if the USB joystick were connected directly to the USB-host shield