SK21 / AOG_RC

AgOpenGPS rate control.
Other
32 stars 8 forks source link

Program is dead without AOG #6

Closed mirh closed 3 years ago

mirh commented 3 years ago

So.. after much tinkering (somehow, I had completely missed we are working on baud 38400) I got to read your program data inside the arduino IDE. The problem is I'm only getting 127,101,0,0,0,0,0,0,0,0 or 127,101,1,0,0,0,0,0,0,0 as returned values, forever. Do I need to use RateController to have actual feedback back?

And even then, am I supposed to do anything else besides setting simulation to off? I tried to connect my flow meter to either of the FlowPins (that I checked to get the correct signal with a simple code sample), but no matter what I do, calibration never senses a single count.

SK21 commented 3 years ago

You need RateController for the ino to work. Set simulation off. If you are connecting with serial use one of the connections on the comm page. The green light should come on. Capture

Also the Mod indicator should turn green.

On the Products/Options for the product you are using the Module ID and Sensor ID should be 0. The indicator should be green. Capture2

The Products/Diagnostics tab will show any flow signals as UPM Applied. The tractor will have to be moving and sections turned on. Make sure the sections widths are entered again in RateController even if they are already entered in AOG. Make sure on the tab Products/Options the sections you are using have a check mark.

On the Products/Rate tab the Sensor Counts/Unit needs to be entered. Whether you use VCN or PID press the Load Defaults button.

mirh commented 3 years ago

:\ Everything I had to do was opening AOG, not even the tractor moving, and it works now.

... I get why a lot of things requires the main program open, but why is that also "hard blocking" of UPM applied and sensor counts?

SK21 commented 3 years ago

I think it should be possible to send UPM without using AOG. I haven't looked into it at the moment. I will look at it as time allows.

mirh commented 3 years ago

Sure take your time, it's just for "logical peace of mind". Wouldn't it also be possible for counts/UPM to be received without RC?

SK21 commented 3 years ago

Yes that could be done as well.

SK21 commented 3 years ago

Have you tried receiving the pulse counts without AOG?

mirh commented 3 years ago

Yes, that's what I was banging my head against in the first post.

SK21 commented 3 years ago

See if it works now.

mirh commented 3 years ago

Perfect now, thanks!