I want to use pixhawk with the apm rover firmware to operate an agricultural tractor. I need to set up my tractor as an rc vehicle.  My plan is as follows: any feedback I can get is appreciated.  I plan to order the parts in the next couple days but if there is something I've overlooked or my plan has no chance of success let me know.

Throttle control: Linear servo (https://www.servocity.com/html/25_lbs__thrust_linear_actuator.html#...) I don't see too many problems here.

GPS: I plan to use the gps already installed in the tractor.  I am planning on buying a pololu 23201a to convert the serial nmea to something I can input to the pixhawk.

Steering: This is what I'm most worried about.  The tractor has an electric over hydraulic steering valve, so basically provide 12v to right side tractor turns right, provide 12v to left side tractor turns left. I am planning to put in a dual 12v relay controlled by pwm signals for the steering https://www.servocity.com/html/electronic_pwm_controlled_dual.html#...  Anybody have a gut feel on whether this will work or not?  The problem is the steering output from pixhawk needs to reach a certain threshold before steering valve will operate this is quite a bit differnt than how it is set up on my rc car where each pwm value corresponds to a specific steering angle.

Clutch: Much testing has to be done with a person in the cab to operate the clutch and some sort of ignition failsafe installed before I get the tractor to be totally autonomous but I would like to start thinking about the clutch, and start testing some setups with a person in the cab.  I could get a linear actuator that releases the clutch when throttle pwm reaches some predefined threshold? But I would really like a system that if the power is cut or signal is lost clutch is automatically depressed which will stop the vehicle. I could set the clutch up to be always depressed and use a linear actuator to engage it. Connect the actuator to the clutch with an electric solenoid so if power is lost actuator releases and clutch disengages. Anyone else have some good ideas?

Views: 28496

Replies to This Discussion

The Ardu-Tractor project was featured on CBC radio a month ago:


http://www.cbc.ca/radio/spark/297-the-future-of-food-farming-and-mo...


It was particularly interesting because they ran it on a show where another story was how John Deere is using DMCA rules to prevent farmers from being able to fix their own tractors.

A recent article related to people having the right to repair their own equipment  ( including tractors ): 

http://ifixit.org/blog/7475/repair-coalition-wins-exemptions/

Ok so I got rid of the actuators in the cab.  The controls now run through arduinos which normally pass the signals through so you can jump in the tractor and use it like normal. Or at the flick of a switch the arduinos will do whatever the pixhawk is asking for.  Here's a video that goes over some of the details.  The code for the arduinos is on github for whoever is interested.

Matthew,

Vid link?

AWESOME!!!

I think the definition of bravery comes to mind when I think about you "hacking" a $100K tractor.  Good for you.

In a previous post you mentioned, "...You can get the valve and all the hoses and fittings from outback guidance for $1000....".  Can you add some details about your steering solution?  I'm looking at the Outback website and the Outback eDriveTC is coming in at $3K plus, but I'm guessing that is the whole autosteer solution.  What are the minimal Outback components that you had to add to your JD tractor to get a signal you feed into the Pixhawk?

Yes if you go to here http://www.outbackguidance.com/Store/tabid/388/ProductID/301/Defaul....

Then select the "kit only" you will get the hydraulic valve and all the hoses and brackets needed to hook it up as well as the wires that connect to the valve.  Don't worry about which gps you say you are connecting it to b/c you will be cutting the wires anyway. I just went through this for my tractor model and it came out to $1290USD I am sure I got it cheaper from my dealer but that is the cost on the website.

Then you will need this https://www.pololu.com/product/1393 to put inbetween the pixhawk and the hydraulic valve.  You might get away with the 21v3 but I got the big one to be safe.  This is a really nice board because it allows you to hook up a wheel angle sensor so the wheels behave just like they would if they were turned by a giant servo.  If you don't have a wheel angle sensor on your tractor you can add one, any potentiometer will do or you might be able to get a kit from agleader http://www.agleader.com/.

Does this mean you trusted the redundant Arduino Mini with the DACs over your brake pedal actuator? So it's gone? It seems like it would still be worth having that failsafe in place.

Hi Matthew,  Slowly digesting your work and wishing I had more time but I may soon get my wish as the weather is starting to sour in MN.  Tillage is done for the year!  Need to pull the MX305 in the shop some day and crack into the console.  The controls are similar to your Deere although the MX is power shift while I suspect your Deere is IVT/CVT?  Will look the model up to verify.  For those interested I went down the rabbit hole on Agleader's site and found an interesting article on Wheel Angle Sensors.  Also the p/n for said kit is #200-0015-01 but I think there's another number that may be more relevant for a users particular equipment.  This looks like the basic encoder, mounting bracket, and a few other goodies.  IDK what the cost is yet.  Here's the link to the wheel angle sensor article.

http://www.agleader.com/blog/explanation-of-wheel-angle-sensors-and...

Matthew, what did you end up using for a wheel angle sensor?  Perhaps you tapped into whatever was already on your Deere?

Jim

Yes my tractor has a cvt transmission. It might be easier to tap into the powershift bc it will be digital logic whereas an cvt uses an analog signal for unlimited adjustment.

Nice find on that wheel angle sensor I was pretty sure I remembered seeing one once but I didn't track it down. I used the sensor already on my tractor. If yours is autosteer ready it probably has one too.

I wish I had a shop. I've got a 20 space heater going in the cab :) Let me know what you find in your tractor when you get going I'd love to add another model to the documentation.
The brake is still in place at the moment but I'm hoping to not need it. Now when the safety system is tripped the arduino for the speed control slows the tractor down as much as possible and a different arduino puts the transmission into "power neutral" which is like Park but not so abrupt that it tears the tractor apart. I've also confirmed that a failure of one or both of the arduinos throws error codes that stop the tractor. I need spend some more time testing before I remove the brake though, but I'm hoping to get there as it is in the way a bit when we drive the tractor manually.

Hey everyone,  I found a more generic kit p/n and the instructions for mounting.  Once again, this is the AgLeader solution.  The generic kit p/n is 200-0625-01.  Here's a link to the installation instructions from AgLeader's dealer site.  Hope everyone can see it...

https://dealer.agleader.com/kbp/index.php?View=afile&EntryID=15...

As Matthew indicated, I suspect the Case Magnum MX305 (and others) that are auto steer ready will already have a sensor that can be hacked into.  This should be useful for users who wish to do a tractor that is not auto steer ready.

Jim

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service