Yeah, I seem to have elevation, Rtk fix, it shows me moving just those weird characters instead of stuff like the gga string. All I have on from gps is GGA and VTg. It’s an f9p just like I use for AOG
I have experienced characters like that when I first started with AOG. I can’t remember if the baud rate was wrong, or what I did to correct. I had wrong information somewhere. I suppose you have restarted everything and tried again.
Some guys on here would probably know. I wonder if you ned to ouput the Vtg
Try changing baud rate and bits… when hieroglyphics show up its not talking the same language
Hello, I’m looking for the Surveyautosave file.txt of those who did a survey with OpenGrade 3D and then had it done
the calculation of the leveling by third parties to compare the fail *.agd made by the EFT program. Basically I would like to
compare the file generated by EFT to see if it is valid. Only the File SurvayAutosave.txt. The comparison will be made by those who
kindly provide me with the file. Thank you
Here are some files made in simulator mode, I will upload files from an actual field later.
SurveyAutoSave.txt (12,6 Ko)
Survey_2021_Aug_29 19_00_38.ags.txt (8,8 Ko)
For open in design software you must use the ags file but you can modify the extension to .txt.
The easting/northing in surveyautosave.txt have only meaning/value in opengrade in this specific field.
here is an .agd made by Optisurface that works on OG3D:
ch65_1.agd.txt (125,9 Ko)
EDIT: Seam that 125ko is to big?
ch65.zip.txt (62,5 Ko)
Maybe you have to modify a little the save/open code to make it work.
Or upload a file here.
Right now OG3D read only a few zone(subzone) coordinate, you have to give specific names, look at the Github readme.
Thank you I really appreciated your answer, I have a lot to understand and study
if we can use EFT, I will do more tests in the coming days, thank you very much.reportOut1400196597121603767.pdf.txt (1.1 MB)
alleluia.agd.txt (109.8 KB)
You will have to edit the .agd file and add a first line with this:
Latitude (deg), Longitude (deg), Elevation Existing(m), Elevation Proposed(m), CutFill(m), Code, Comments
I tested your .agd and it seam to work, if you don’t add the first line it will skip the beanchmark.
I don’t remember exactly now OG3D read the file, it just skip the first line, another thing to improve.
I just downloaded Visual Studio and am trying to learn the OpenGrade3D, but that is going to take time for me… I do understand the arduino code, am I understanding it correct that OG sends a value from 0-255? I am wanting to change the code around a little bit to set it up to input directly into the tractor… What Im understanding is >100 is down and <100 is up, is this correct?
It gives the distance from target in millimetre, 100 on target.
Greater than 100 mean the blade is above target so must lower.
You cannot use the value directly as pwm, there is a lag between GPS reading and the value sent to the valve.
The calculations in the last .ino works pretty well, you should use it as a base.
Should be easy to convert to “danfoss” valve.
Divide pwmValue by 2 and add 128?
Thank you for explaining that it sends a value in mm… you will have to explain the delay a little more… while I know there is always delay, are you talking about the delay between obtaining location and action of valve? Or are you talking about the delay between telling valve down and the physical act?
I know deere uses a “look ahead” basically it takes mechanical delay of a planter or sprayer out.
One or both need to be written into opengrade, because the arduino only knows what to do, not what’s coming up.
Do you have a tractor with CAN valves? If so, you can use my ino directly from here:
You can just put it in between the wiring harness to your hydraulic valves, it acts as a CAN bridge so it sends all the traffic through except for the valve which you use for blade control, just adjust the CAN IDs as needed.
It uses the valve float mode to put the blade into automatic control from OpenGrade3D, you can manually run the blade with the tractor lever and just flip it back to float for auto mode.
I originally was going to look into can, but there is a simpler way… all deere, cnh, and cat tractors made in the last 15 years come with a scraper interface… basically you plug and play. DAC 8000 Wired - Manuals
Not sure of the wiring for cnh or cat but here is the configuration of deere
It is a 5v analog input that doesn’t like extremes. So 0-2.5v controls one direction and 2.5-5 controls another…
CNH and JD have a dead band from ~2.25 – 2.75 volts, this varies some from tractor to tractor.
CNH and JD will through error codes if the voltage sent < .5 or > 4.5.
Should work like the Danfoss PVEA for autosteer then, take a look at the v5 ino and copy paste from there the relevant parts.
Still, if you have CAN valves it’s dead easy, just find a connector in the hydraulic bus where you can plug in between the controls and the valves and use Teensy triple can board, zero soldering and less than 100 bucks.
How does this interface to tell it to lift or lower? I just reread your post, so it looks like if we add certain voltage to that selected pin it will go up or down? As long as that voltage is applied it will lift or lower and then when we take the voltage away it stops?
Close… it has to be fed a voltage from 0-5 all the time it’s connected or it will throw an error code.
Basically .5 - 2.25 controls a direction, and 2.75- 4.5 controls another
Staying away from 0 and 5 keeps the machine happy and the dead band 2.25-2.75 is for zero movement
One of these days I plan on learning can-bus but for now I just want to get the blade moving and I already have the arduino set up for the tractor… I was planning on using ezigrade to dump out values to the arduino and I might still… just exploring both options
So no blade movement send it 2.5 volts, then something like 1.5 and 3.5 to move it up and down, the bigger the swing do the hydraulics move faster?
You got it… Its alwayd trying to get back to neutral (2.5)… the further away the more it will open the valve to try to return.
So you could do this with a Cytron and send voltage like a rate controller, just vary the voltage like a motor with 2.5 volts being the neutral position?
It’s sometimes tricky, for example if the cytron’s PWM input gets turned off, then your output goes to 0v. I think better would be to create a 2.5v reference and then use the Cytron to pull that up or down to control the valve. Then if something happens with the Cytron then at least the valve goes to neutral.