Search found 22 matches

by Scanro
Oct 16th, 2019, 2:09 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

just to go a bit back what video transmitter do you use? I have been looking a bit on hobbyking and I found a RunCam Split Mini FPV/HD Camera, but I can't quite find a wired transmitter. I'm using fibre optics, but as you will presumably be using copper, you should use a pair of video baluns. They ...
by Scanro
Oct 14th, 2019, 4:01 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

If you plan to use AC at the surface then that route is the sensible one. You could use a transformer and make your own full wave bridge rectifier, but as you say transformers can get quite big, so the TRACOs are a convenient solution, if a little expensive sometimes. just to go a bit back what vid...
by Scanro
Oct 11th, 2019, 7:41 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

If you plan to use AC at the surface then that route is the sensible one. You could use a transformer and make your own full wave bridge rectifier, but as you say transformers can get quite big, so the TRACOs are a convenient solution, if a little expensive sometimes. I think that using AC at the s...
by Scanro
Oct 11th, 2019, 5:54 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

Regarding your code, I think you are nearly there. Problem is, it only takes one tiny error to make the whole thing not work! Take a look on the RS website. You'll find it possible to use DC-DC converters to convert from 12V to over 100V at about 5W, so you'd need to parallel two or three together....
by Scanro
Oct 10th, 2019, 5:49 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

I still can't get the code to work, I am not quite sure why. My next hassel is getting power down there, since we don't want to have batteries in the ROV. I need a max of 10A and then 10 or 12V for each motor. I did some quick reseach and calculations and found that I can't just send down the 12V an...
by Scanro
Sep 23rd, 2019, 9:02 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

I wonder if the joystick library is not expecting anything else connected to any other com ports? I have wondered before if it scans the ports looking for sticks. Maybe look at how the joystick library actually works? Also, do you have both Arduinos connected when you power up? I'd try powering up,...
by Scanro
Sep 23rd, 2019, 3:36 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

It's pretty messy, some of the variable names don't make too much sense, and there's a fair bit of redundant code for your purposes, but it should in theory work, or be close to it. I've also noticed a small error with the code for the display, but nothing that will affect the functionality of the ...
by Scanro
Sep 18th, 2019, 3:13 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

Ok, this code has been rather hurriedly thrown together and I don't have the hardware set up to test it, so it may need some work, but it should be most of the way there. It should read the joystick on serial port 0 (I would have changed to to port 1 but I'm not sure how), and the topside sends dat...
by Scanro
Sep 12th, 2019, 5:13 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

I did a bit of testing today, set the baudRate in the firmware to the usb host board to 115200 and set it up to that in the program too, uploaded it to the Arduino and checked the plotter. The plotter gives outputs at 9600, but as soon as I set it to 115200, then it flatlines. I am not sure if this ...
by Scanro
Sep 11th, 2019, 3:17 am
Forum: Arduino
Topic: 6 motors controlled via ethernet with game controller
Replies: 47
Views: 46578

Re: 6 motors controlled via ethernet with game controller

And another thing. Looks like you are using serial port 1 for the stick. You'll need another serial port for the comms between topside & vehicle. I will assume this to be serial port 0, but you can change it. I've also never written code for two serial ports at the same time, and assume you nee...