Thanks for the reply. I didn’t load anything onto arduino I just connected it with the ino files that were specified in project 3. That is where I think I’ve gone wrong but I just don’t know what to load on arduino to get it to talk to v5. Probably explained somewhere but I just can’t find it.
Yes I got wheels turning using pot , so think all can bus connections good
Yes it all got out of control haha, even I forget what I’ve shared or not. Try this program here it should get you started
https://github.com/MechanicTony/AOG_CAN_Uno_Nano/tree/main/Valtra
Thank you. I did have a go with trying to upload this sketch but it kept coming up with errors. Sorry but I’m quite a beginner. Do I have to put all those files in a folder and that loads on arduino with no pot or switch connected. Sorry about my beginner questions
Error is calcsteeringPID was not declared in this scope
sorted error out . Compiled a folder as you as you said, in an earlier post I found. Thank you so much for your help. Which arduino should have what code on just to make sure.
I think your problem was opening a zipped folder (you must always unzip first)
You only need the main v5 program on the Arduino without pot/switch when connected to tractor.
If you don’t have a tractor or want to test on the bench at home you can use the simulator program with second Arduino with pot/switch and pretend that is your tractor.
That was the problem thanks. so V5 program on arduino without POT/Switch and Massey_working_code_V2.ino on arduino with POT/Switch. using Serial monitor all working just getting errors for checking for BN008X not connected or found. I guess this is because not connected to tractor canbus.
Thank you will test on tractor tomorrow. Cant thank you enough for developing this.
You don’t need the second Arduino with pot/switch. Remove it and save for another day.
The error for BNO085 not detected is because you don’t have one (if your going to use AgOpen you will need to order one, I recommend your order the Adafruit BNO085 version.
It is fine to test without BNO, but if you have single Antenna you will need it to make perfect straight lines. If you have dual Antenna BNO is not needed.
That explains quite few things about some posts saying only need 1 arduino. OK will order adafruit bn0085 version and try tomorrow. Fantastic thank you. Fingers crossed all works fairly accurately tomorrow without the bn0085.
I guess there are guides on connecting bn0085 to arduino and what code etc.
Code is the same, it auto detects and instead of error BNO not found, it will say BNO connected.
GND - GND
SDA - A4
SCL - A5
VCC - 5v
Great , thank you. Have ordered it arriving next week. Can’t wait to get it working
Tried Autosteer in tractor today, all worked ok. Not that smooth but prob combination of settings and no bno085. Will get BNO085 setup and hopefully will work better. Thank you couldnt have managed without your help @CommonRail .
You don’t necessarily need an IMU for smooth steering, I think it’s most important if you’re on a slope to correct for sideways roll.
Can add CNH to the CAN steering list now, works perfect with quick test no problem at all.
you are the boss , only john deere is missing right?
Awesome ! Do you think it may work with a CNH combine ?
Great, but what is the Model Year on that Puma?
09/2017 onwards MY18 models I guess