(Variable) Rate control

New version of RateController on github now supports PID again.
https://github.com/SK21/AOG/tree/master/RateController200

I used the LOW_HIGH_DEGREES idea from autosteer. Also add a deadband setting.

It can now control 5 products at once. I think this is an interim step. Rather than control 5 products it could control/monitor 5 sensors or 10 etc. Some sensors could be used for rate control. Some could monitor shaft rpms and give an alert on error.

Maybe this could be extended to an air drill monitor. What other sensors would you need? Maybe a pressure alarm on the hydraulic fan drive. Maybe an over speed alarm. Our old Bourgault tank uses linear actuators to adjust the rate. I think its just 12V Ā± for increase or decrease.

5 Likes

I printed a set of RC4 boards in the RateController 100 folder in July of last year, will they still be compatible with this version? At a quick glance, I canā€™t see any differences in the layout.

It will still work.

i dont know what i am doning wrong but i can not open te rate control app in aog

Will the app start? Which part is not working? Did you download and install the latest release from here: Releases Ā· SK21/AOG_RC Ā· GitHub

Hello all.
I am trying to get all the bits together to put the RC5 pcb together and am having trouble getting the relays (FTR-PC3P012W1) here is Australia.
Thought I had them but they came as a min order of 60 and a service fee of $170!
Does anyone know of a good supplier that will send to Aus? Or is there an alternative?

Edit: relay number is FTR-P3CP012W1
I wrote the C and 3 around the wrong way.

Strange! google wonĀ“t give anything on that name.
CouldnĀ“t find a BOM list for RC5, for making a cross check of the number, but did find the pdf files of schematic and pcb bottom and top.
You ought to be able to make a cross reference, to get another manufacturers relay with same size.

Is anyone thinking about how to do (Variable) Rate control with proprietory fertilizer spreaders - the type that expect to communicate over RS232 to do rate and/or section control?

Or even sprayers controllable by RS232?

Are these protocols published anywhere? Or is it a case of reverse engineering?

I have seen the Bogballe publish their own protocols, and I see that Coffeetrac has done something for the ASD protocol but the code has some ā€œ?ā€ so I am guessing that it was reverse engineered and may be a subset that applies only to the Rauch Quantron (certainly I have sniffed ASD commands other than those implemented in his code and these may be necessary for other brands/models)

But there are loads of other protocols LH-5000, TUVR and so on, and then there are hybrids like the Sulky Econov which I believe wants rate control by RS232, but section (width) control by 6 wires (like a sprayer, but with a curved shaped boom not a straight one)

Are these open or closed protocols? Has anyone collated some information on them, or is it a case of starting from scratch?

Mouser seems to be out of stock.

This website has some, donā€™t know how trustworthy.
https://www.onlinecomponents.com/en/fujitsu-components/ftrp3cp012w1-18387794.html

Here is a parts list:
RC5 parts.pdf (424.9 KB)

I did try online components and they were the ones with the hefty service charge.
Looks like Iā€™ll wait for mouser to get stock.
That parts list will come in very useful.
Thanks.

Hello,
I am doing the first tests of VR with this tool under development, any contribution is welcomed!

7 Likes

Hi

Wondering if anyone help me out?

Iā€™ve built a RC5 board and am having trouble with sections and flow inputs. Havenā€™t got to the MS13S control part yet.

I downloaded latest version of AOG 5.2.2 and have that running in sim mode with a 4.1v Kaupoi board.

From the support file I downloaded and installed RC 2.1.12.

Have upload a genuine nano with the RCarduino files and am running it over udp via a netgear GS305 (switch?)

Running on a surface with Win 10 with a ugreen usb ethernet/usb HUB.

From the main RC product screen I have a green box for Mod and AOG.

I tried to get section control working but it wouldnā€™t turn on sections individually but turn all relays on at once only when all section were on. If I turned one section off all the relays would turn off not just the one turned off in AOG. Tried with and without switch module connected. I tried changing the #define to swap between pre built relay boards and PCB relays - I only have pre built relay board as relays still havenā€™t arrived from mouser. Didnā€™t try the nano pins instead of mcp23017 control option. I did have trouble uploading the .h for the mcp23017 and had to use the next most recent version for it to compile.

I then moved onto flow and havenā€™t had any luck there either.
I have hooked up a standard reed type sensor to flow and ground inputs for testing (a 2 wire speed sensor). Using a drill I rotated magnets past the sensor. The sensor tests OK with open line and closed line at corresponding times to magnet passing. I also have a 3 wire flow meter I can use to test but not sure how to wire that up - does RC support 3 wired sensors? I cannot get my hands on a 2 wire flow meter unless I start pulling my sprayer apart unfortunately.

Any help would be greatly appreciated.

Thanks
Mike

pre-built relay
Here is a picture of a working pre-built relay setup. The .h used is Adrafruit MCP23017 version 1.1.0. Other versions may work. The #defines for pre-built need to be used.

The ENC28J60 shield pulls up D2 (flow on pcb). This prevents it from working. One way is put stacking headers on the arduino, put it on the pcb first and the shield on top. Cut the D2 pin off of the shield to prevent it from pulling D2 high. Another way is to just use D3 for flow and change line 138 in RCarduino.ino to {3,2}.

Capture.PNG

3-wire flow meter.

1 Like

Also donā€™t use the C7 capacitor on the flow pin. It is not needed.

Thanks heaps for your reply, I will make the changes and hopefully get it working.
If I was to change D2 to D3 should I remove R6 330 ohm resistor and bridge it with wire?

Been working on mapping the rates applied. This is three sections worth. It has its own png and can be seen in the AGDiag.

image

image

3 Likes

It will work with the resistor installed.

The pgn is sent from your rate controller to aog?

Currently it is running through the autosteer board because it is just mapping what is applied. Should be easy enough to convert it into the rate ino.

Sounds good. I would like to be able to define a prescription map and know when to change the rate for each section. It must be something similar to what you have done for the as-applied map.

1 Like