Search found 6 matches

by eska-dh
May 2nd, 2013, 12:08 pm
Forum: Control Systems and Tethers
Topic: Joystick with arduino
Replies: 2
Views: 3109

Re: Joystick with arduino

My first electronics project was with an arduino and PS2 controller to control motors for an rc rock crawler about three years ago. That evolved into using some bilge pumps from a boat and a motor controller shield for an arduino to begin building an ROV. From there the hacking began. For ROV, this ...
by eska-dh
Mar 28th, 2013, 1:53 am
Forum: Control Systems and Tethers
Topic: Connecting Playstation 2 controller to arduino
Replies: 13
Views: 9938

Re: Connecting Playstation 2 controller to arduino

I seem to recall that a servo needs a PWM pin to run. It's been a while..

Pin 2 is NOT PWM, so if that is the servo that doesn't run, use another pin that has "~" next to it. For an uno that would be 3, 5, 6, 9, 10 or 11.
by eska-dh
Dec 21st, 2012, 2:59 pm
Forum: Control Systems and Tethers
Topic: PS2 Control of Brushless Motor and ESC via Arduino
Replies: 19
Views: 19366

Re: PS2 Control of Brushless Motor and ESC via Arduino

Two wire (or whatever its called) worked for me. Just connect the grounds between the two arduinos, then connect rx of arduino 1 to tx of arduino 2....then tx of arduino 1 to rx of arduino 2. Make sure to disconnect this circuit when uploading new code to the arduino. Then you just need to code in y...
by eska-dh
Oct 6th, 2012, 4:11 pm
Forum: Control Systems and Tethers
Topic: PS2 Control of Brushless Motor and ESC via Arduino
Replies: 19
Views: 19366

Re: PS2 Control of Brushless Motor and ESC via Arduino

For mine I simply used "x" for forward and "o" for reverse. Without using the stick both right and left thrusters move forward (RTF / LTF) or reverse (RTR / LTR). Throw in the analog stick for steering and you'll see the math function below for how this works. On the extremes, fo...
by eska-dh
Jun 12th, 2011, 12:49 pm
Forum: Control Systems and Tethers
Topic: Onboard Arduino with serial connection
Replies: 2
Views: 3845

Re: Onboard Arduino with serial connection

Here’s my code, it still in development, but it works. I’m planning on using a PS2 controller to transmit controls hooked up to an arduino, and use that arduino to send a serial data stream to the aruduino on the ROV over a Cat5 cable. Three strands of the cat 5 cable are needed to have the two ardu...