Arduino, PS3 controller, Xbee, RC Tractor

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

I need an arduino code, that will run a skid steer tractor with a ps3 controller. I want an arduino teensy to be conected to the ps3 controller via Bluetooth  and i want the arduino Teensy to be connected to a arduino mega via xbee for long range.

I have actuators that take a 1.96-4.63volt dc 25mill amp anolog signal mounted to the skid steer. 1.96 volt is full retract on the actuator, 2.5 volt is neutral/clutch, and 4.63 volt is full extend. Im going to be taking  advantage of the potentiometer's in the joysticks and triggers to give a varying analog voltage signal. In order to control how much the actuator opens which in rerurn comtrollers how much a hydraulic lalve opens.

The Left trigger L2 to operate the left drive actuator  when pressed goes from 2.5vdc to 4.63 vdc to go forward, and for reverse you press the L1 button it will change and go from  2.5 and go down to 1.96 vdc when fully pressed.

The Right trigger R2 to operate the left drive actuator  when pressed goes from 2.5vdc to 4.63 vdc to go forward, and for reverse you press the R1 button it will change and go from  2.5 and go down to 1.96 vdc when fully pressed.

The joysticks i want to have 2 different functions when you press the Square button i want the left and right joystick to opertate left and tilt bucket acuators. The when you press the triangle button I want them to operate a back hoe attachment.

SQUARE BUTTON:

 I would like the left joy stick to control the lift actuator up 2.5vdc to 4.63 vdc and down 2.5 to 1.96 vdc . With the buttons on the joy stick to activate a slow mode so a voltage output of only 2.23( down) to 2.77(up) vdc this is to lower the sensitivity of the joysticks so when you are close to something you dont smash things :) the tractors weighs 9800lbs

The right joystick control the tilt actuator for the bucket tilt. 2.5 to 4.63 vdc counter clockwise  and 2.5 to 1.96 vdc clockwise rotation. With the buttons on the joy stick to also activate a slow mode so a voltage output of only 2.5 - 2.77(ccw) vdc and 2.5-2.23( cw)

TRIANGLE BUTTON:

The Left joystick control the boom lift and swing actuators. Joy stick up direction sends a 2.5 to 4.63 vdc signal to left boom up  and joy stick down sends a 2.5 to 1.96 vdc signal to lower boom. Joystick left direction sends a 2.5 to 1.96 vdc signal to swing boom left and joystick right sends a 2.5 to 4.63 vdc signal to swing boom right.

With the buttons on the joy stick to also activate a slow mode so a voltage output of only 2.5 - 2.77 vdc and 2.5-2.23

The Right joystick control the bucket and the stick actuators. Joy stick up direction sends a 2.5 to 4.63 vdc signal to left bucket up and joy stick down sends a 2.5 to 1.96 vdc signal to lower bucket. Joystick left direction sends a 2.5 to 1.96 vdc signal to lift stick up and joystick right sends a 2.5 to 4.63 vdc signal to lower stick down.

With the buttons on the joy stick to also activate a slow mode so a voltage output of only 2.5 - 2.77 vdc and 2.5-2.23

O BUTTON:

The Left joystick control the pto and aux actuators. Joy stick up direction sends a 2.5 to 4.63 vdc signal to pto up  and joy stick down sends a 2.5 to 1.96 vdc signal to pto down. Joystick left direction sends a 2.5 to 1.96 vdc signal to aux up and joystick right sends a 2.5 to 4.63 vdc signal to aux down

The Right joystick control the left and right outrigger actuators. Joy stick up direction sends a 2.5 to 4.63 vdc signal to lift left outrigger and joy stick down sends a 2.5 to 1.96 vdc signal to lower left  outrigger. Joystick left direction sends a 2.5 to 1.96 vdc signal to lift  right outrigger up and joystick right sends a 2.5-4.63 lower right outrigger

X BUTTON:

To send a 5vdc signal

The up down left right buttons on the left side of the controller. I want to operate the throttle.

Left button to send a 1.96 vdc singnal

Down button to send a 2.6275 vdc signal

Right button to aend a 3.295 vdc signal

And the up button to send a 4.63 vdc signal

Arduino Coding

Project ID: #16974203

About the project

6 proposals Remote project Active 5 years ago

6 freelancers are bidding on average $219 for this job

mohammadshour

Hello sir i can do this project , since i already has another same project, so i can proceed with it without loosing time. feel free to contact me.

$277 USD in 3 days
(0 Reviews)
0.0
NicholesBowling

I can't write your Arduino code for you. I just wanted to tell you that your project sounds super sweet! So sweet that I wasted a bid to tell you. If you ever get your skid-steer working with the PS3 controller, PLEASE More

$155 USD in 3 days
(0 Reviews)
0.0
supersuntech

A proposal has not yet been provided

$200 USD in 5 days
(0 Reviews)
2.4
ahmedalbassyoun1

I have made a similar project 2 years ago, am an engineer graduated from wales university, I can make this project with high efficiency, Low cost & max 3 days, I have a good experience with sensors, Arduino, Raspber More

$283 USD in 3 days
(0 Reviews)
0.0