CanBus for Beginners - Super Simple

Nearly working, sending is ok. Try receiving without filters?

As for commenting on the filters, I did it and still nothing. Maybe there is something wrong with the library.

Worked fine for me. Going in the 724 tomorrow morning. :+1::clap::sunglasses:

2 Likes

Swap the programs over, Will the bad CAN-Shield send a message?

I swapped it is exactly the same. I measured the voltages at the canL and canH outputs, both are 2.5v. Shouldn’t it be lower on L and higher on H?

No both can voltages should be 2.5 volts on average. When signalling, CAN high goes above 2.5 volts and CAN low goes blow it.

1 Like

Both CAN-H and CAN-L will be 2.5v thats not a problem. It still should work with only one Uno+CAN Shield connected to computer and no CAN wires connected.

Make sure the CS pin is the same on your shields (D9 or D10) maybe you have one of each type?

Just try change it at top of the program.

Yes that was a pin number! On my CDs it is 9, I wanted to trace the tracks on the CD, look and there is a beautiful cscan table - 9.

1 Like

Dobra! :crossed_fingers:

Hoping you got it!

image

What is that terminal program called? I see real term.

I think that looks like you got it!!!

I will have to give it a shot, it looks pretty good. Plus I am getting tired of staring at my current terminal.

I won’t tell you if it’s good, I’ve been using it for 3 minutes. :joy:

2 Likes

Project Three - Steer the Massey Ferguson or Danfoss PVED-CL around the yard

Ok, this project is for the Massey Ferguson system. When Massey Ferguson sell a steer ready tractor they use a standard Danfoss PVED-CL steering system, then you can use the Massey branded navigation software or any other 3rd party navigation to send the curve commands Via CAN-BUS.

Step One:
Load the Massey Ferguson navigation program onto the Arduino Uno, with CAN-BUS shield, with a pot connected to A0, and a switch connected to A1-GND.

Step Two:
Load the “show all CAN messages” program onto a second Arduino UNO with a CAN-BUS shield.

Step Three:
Add the CAN wires so you have a setup like this picture, then open the serial monitor on each arduino to test. All this can be done and tested on the bench before needing a tractor.

Step Four
When all the above steps (one to three) work on the bench, Load the “Massey CAN DisplayAC” program onto the second Arduino UNO with a CAN-BUS shield. Watch this video below and its time for a test in the Yard.

Massey Test Programs.zip.txt (320.6 KB)

9 Likes

OMG, I already ordered the shields from China (40 days :unamused:), I can’t wait to test it on my tractor.
You are the best! :metal:

3 Likes

Yep Ali is awesome but slow

Got it working on the 724 exactly as you said it would work @CommonRail . Absolutely brilliant. Such a great topic.

8 Likes

God damn I wish I had access to an autosteer ready machine right now.
Might see if I can steal the neighbour’s machine for a week…

4 Likes