Thank you for the reply. I have wired it up like that however the coverage still records whilst shut off. I think the best approach is to manually over ride to do the headlands then use the auto to shut off on the main runs. Thanks again
i can not run this, arduino ide give me an arrors Arduino: 1.6.5 (Windows 7), Плата"Arduino Nano, ATmega328" In file included from AOG_Rate.ino:14:0: Var.h:4: error: 'byte' does not name a type byte minPWMValueLeft = 0; ^ Var.h:20: error: 'byte' does not name a type byte currentSignLeft = 0, prevSignLeft = 0; ^ Var.h:25: error: 'byte' does not name a type byte minPWMValueRight = 0; ^ Var.h:41: error: 'byte' does not name a type byte currentSignRight = 0, prevSignRight = 0; ^ Var.h:70: error: 'byte' does not name a type byte relayHi = 0, relayLo = 0; ^ Var.h:71: error: 'byte' does not name a type byte uTurn = 0; ^ AOG_Rate.ino: In function 'void loop()': AOG_Rate:176: error: 'relayHi' was not declared in this scope AOG_Rate:177: error: 'relayLo' was not declared in this scope AOG_Rate:187: error: 'uTurn' was not declared in this scope PIDLeft.ino: In function 'void calcRatePIDLeft()': PIDLeft:13: error: 'currentSignLeft' was not declared in this scope PIDLeft:14: error: 'currentSignLeft' was not declared in this scope PIDLeft:17: error: 'currentSignLeft' was not declared in this scope PIDLeft:17: error: 'prevSignLeft' was not declared in this scope PIDLeft:18: error: 'prevSignLeft' was not declared in this scope PIDLeft:18: error: 'currentSignLeft' was not declared in this scope PIDLeft:37: error: 'minPWMValueLeft' was not declared in this scope PIDLeft:38: error: 'minPWMValueLeft' was not declared in this scope PIDRight.ino: In function 'void calcRatePIDRight()': PIDRight:13: error: 'currentSignRight' was not declared in this scope PIDRight:14: error: 'currentSignRight' was not declared in this scope PIDRight:17: error: 'currentSignRight' was not declared in this scope PIDRight:17: error: 'prevSignRight' was not declared in this scope PIDRight:18: error: 'prevSignRight' was not declared in this scope PIDRight:18: error: 'currentSignRight' was not declared in this scope PIDRight:37: error: 'minPWMValueRight' was not declared in this scope PIDRight:38: error: 'minPWMValueRight' was not declared in this scope In file included from AOG_Rate.ino:17:0: Relays.ino: In function 'void SetRelays()': Relays:3: error: 'relayLo' was not declared in this scope C:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino/Arduino.h:103:32: note: in definition of macro 'bitRead' #define bitRead(value, bit) (((value) >> (bit)) & 0x01) ^ Relays:5: error: 'relayLo' was not declared in this scope C:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino/Arduino.h:103:32: note: in definition of macro 'bitRead' #define bitRead(value, bit) (((value) >> (bit)) & 0x01) ^ 'byte' does not name a type
Hello, At first I want to say that I realy appreciate what your doing. But I have a small problem. When I want to upload the arduino code to my arduino-uno is says: 'SetRelays' was not declared in this scope. Do you now how I can fix it? If I change the settings to arduino-nano it says the same. I will paste the complete error message below. I look forward to hear from you. Arduino: 1.8.5 (Windows 10), Board:"Arduino/Genuino Uno" Build-opties gewijzigd, alles wordt opnieuw gebuild C:\Users iels\AppData\Local\Temp\Temp1_AgOpenGPS_Dev-master.zip\AgOpenGPS_Dev-master\AgRate\AgRate.ino: In function 'void loop()': AgRate:126: error: 'SetRelays' was not declared in this scope SetRelays(); ^ AgRate:130: error: 'calcRatePID' was not declared in this scope calcRatePID(); ^ AgRate:131: error: 'motorDrive' was not declared in this scope motorDrive(); ^ exit status 1 'SetRelays' was not declared in this scope Dit rapport zou meer informatie bevatten met "Uitgebreide uitvoer weergeven tijden compilatie" optie aan in Bestand -> Voorkeuren.
excellent job
please do videos about motors and driver for steering system with all the components
thanks
Would love an auto steer tutorial
Great tutorial! Any plans for an auto steer tutorial?
As soon as i get the software more done, yes.
Very helpful video on how to connect it up. Is it possible to switch the auto on/off remotely from a switch. If so how do you do it? thanks
Not easily, but you could just hook that switch to the power of the relay and turn them off directly
Thank you for the reply. I have wired it up like that however the coverage still records whilst shut off. I think the best approach is to manually over ride to do the headlands then use the auto to shut off on the main runs. Thanks again
So to add more sections just add more relays?
Yes, up to 16.
i can not run this, arduino ide give me an arrors Arduino: 1.6.5 (Windows 7), Плата"Arduino Nano, ATmega328"
In file included from AOG_Rate.ino:14:0:
Var.h:4: error: 'byte' does not name a type
byte minPWMValueLeft = 0;
^
Var.h:20: error: 'byte' does not name a type
byte currentSignLeft = 0, prevSignLeft = 0;
^
Var.h:25: error: 'byte' does not name a type
byte minPWMValueRight = 0;
^
Var.h:41: error: 'byte' does not name a type
byte currentSignRight = 0, prevSignRight = 0;
^
Var.h:70: error: 'byte' does not name a type
byte relayHi = 0, relayLo = 0;
^
Var.h:71: error: 'byte' does not name a type
byte uTurn = 0;
^
AOG_Rate.ino: In function 'void loop()':
AOG_Rate:176: error: 'relayHi' was not declared in this scope
AOG_Rate:177: error: 'relayLo' was not declared in this scope
AOG_Rate:187: error: 'uTurn' was not declared in this scope
PIDLeft.ino: In function 'void calcRatePIDLeft()':
PIDLeft:13: error: 'currentSignLeft' was not declared in this scope
PIDLeft:14: error: 'currentSignLeft' was not declared in this scope
PIDLeft:17: error: 'currentSignLeft' was not declared in this scope
PIDLeft:17: error: 'prevSignLeft' was not declared in this scope
PIDLeft:18: error: 'prevSignLeft' was not declared in this scope
PIDLeft:18: error: 'currentSignLeft' was not declared in this scope
PIDLeft:37: error: 'minPWMValueLeft' was not declared in this scope
PIDLeft:38: error: 'minPWMValueLeft' was not declared in this scope
PIDRight.ino: In function 'void calcRatePIDRight()':
PIDRight:13: error: 'currentSignRight' was not declared in this scope
PIDRight:14: error: 'currentSignRight' was not declared in this scope
PIDRight:17: error: 'currentSignRight' was not declared in this scope
PIDRight:17: error: 'prevSignRight' was not declared in this scope
PIDRight:18: error: 'prevSignRight' was not declared in this scope
PIDRight:18: error: 'currentSignRight' was not declared in this scope
PIDRight:37: error: 'minPWMValueRight' was not declared in this scope
PIDRight:38: error: 'minPWMValueRight' was not declared in this scope
In file included from AOG_Rate.ino:17:0:
Relays.ino: In function 'void SetRelays()':
Relays:3: error: 'relayLo' was not declared in this scope
C:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino/Arduino.h:103:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^
Relays:5: error: 'relayLo' was not declared in this scope
C:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\arduino\avr\cores\arduino/Arduino.h:103:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^
'byte' does not name a type
in Arduino IDE ver 1.8.6 I have no problems. Thanks
Hello,
At first I want to say that I realy appreciate what your doing. But I have a small problem.
When I want to upload the arduino code to my arduino-uno is says: 'SetRelays' was not declared in this scope.
Do you now how I can fix it? If I change the settings to arduino-nano it says the same. I will paste the complete error message below.
I look forward to hear from you.
Arduino: 1.8.5 (Windows 10), Board:"Arduino/Genuino Uno"
Build-opties gewijzigd, alles wordt opnieuw gebuild
C:\Users
iels\AppData\Local\Temp\Temp1_AgOpenGPS_Dev-master.zip\AgOpenGPS_Dev-master\AgRate\AgRate.ino: In function 'void loop()':
AgRate:126: error: 'SetRelays' was not declared in this scope
SetRelays();
^
AgRate:130: error: 'calcRatePID' was not declared in this scope
calcRatePID();
^
AgRate:131: error: 'motorDrive' was not declared in this scope
motorDrive();
^
exit status 1
'SetRelays' was not declared in this scope
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.
I just now downloaded from github and tried it and it compiles fine. Are All 4 files in that directory? Are you opening AgRate as the initial ino?
Okay that is very strange, came back from school, attempted it again and works now crazy enough.
Thanks anyway
Aren't computers fun! Good you got it working.
i follow the steps but relay didnt work..
Go to the AgOpenGPS and in the Arduino folder is an INO called sectionRelays. Use it, and connect to autosteer port