CanBus for Beginners - Super Simple

Hello
I have a project to install agopengps in a Valtra S4. But I am a little lost in the method to follow to find the right addresses.
Or if someone has already installed in a Valtra S4?
Thank you

Have you got a CAN shield and Arduino?

Some diagnostic connectors similar to this should be there.

@casemannen had it working on a new style Valtra witch we used EDT2 C/D.

The new Valtra uses two steering related CANs (One has the PVED-CC valve etc, the other the screen etc) and on those ones the steering controller is in the main Valtra ECU witch is not accessed via the steering valve bus

image

Yes, I will do the test with CAN shield and arduino. As you explained for Massey. I found the connector for the two CAN

I have error sending message at the step 4. Why?

How is everything connected? Are you testing on bench or in tractor?

You needed a working CAN, so two CAN shields powered up or connected to the tractor CAN with H&L the correct way around.

Testing on bench and connects as in the picture of JuanGiova 09/04
But I have receive value in the arduino with show all can message. I send message with Massey working code V2

If you are using the small CAN shields most of them are 8mhz (big ones normally 16mhz) so near the top of the Arduino programs you need to change from 16 to 8.

The small shields also need a resistor between H&L (like a spare 330ohm or anything really) for testing on the bench

2021-07-20_22h41_40
Connecting the MF with which I fought earlier to AS I have this result but it does not spin the wheels.

Did you check power on the pilot pressure valve?

MF had an exhaust gas cleaning installation and therefore difficult access to the orbitrol. Needs dismantling a few things you ran out of time. The tractor has an adjustable number of turns of the steering wheel and this also does not work.

The Auto control light on the dashboard lights up, so since the coil power goes through the board, I assume that the problem is on the dashboard section of the coil.

it‘s so cool!

Thanks Ă  lot

What software are you using?

It’s ok with 8mhz for test 3.
Normally tomorrow test 4.
Thank you

CANHacker

Thanks :grinning:
Further questions will come up soon :upside_down_face:

The software Valtra Massey, it’s ok for Valtra S4. :grin: :grin:
Thank you

1 Like

20210804_165118

Hello guys!
I have uploaded the V5_CAN sketch to the arduino, there was the ‘typedef’ warning…
Anyways, I tried to connect to my JD 6R and there came up communication errors and other strange behaviour… What’s wrong here?
Thanks for your help!

20210804_172735

Edit:
I have played around a bit and changed the frequency to 16 Mhz in the sketch, but still the same behaviour from the tractor.
Is it correct that there is the 120 ohm resistor needed on the MCP2515?