you have to put all the files in the same folder, when arduino creates the new one, move the .h from the ADS to the same folder.
Have you got this fixed yet?
No i haven’t had time to work at it yet
Make sure all of AgOpenGps is shut down before trying to send to arduino. Including agoi.
And the files must be kept together, but extracted.
You need to install the ADS1x15 library, it’s the arduino equivalent of a driver.
I also found the the web based arduino ide just works without tracking down libraries, but requires internet connection to compile.
Ok I got the arduino code uploaded, now I go into agopengps serial ports and connect it then there’s numbers that come up there constantly switching. What numbers do I want to see by the 70 there?
Don’t worry about numbers.
Connect your motor driver, open AOG and see if you can control the motor driver with it. Using the manual controls, see if the left / right LEDs light up on the Cytron when you manually steer the vehicle left and right.
If those LEDs work, then you have completed the most complicated part.
Can’t get that to work yet
You have to sort that out first.
Fix this and magic will start to happen, motors will start moving and things will start to make sense.
Your first problem does sound like you were connecting to the wrong COM port, but it’s just easier if you start again.
-
Uninstall / delete everything AOG.
-
Download the latest versions of AOG.
-
Attach your autosteer arduino to your computer, open the Arduino IDE, connect to the correct port and upload the relevant autosteer sketch.
Hang on… just thought of something. You DO have a wheel angle sensor attached, don’t you? If not, get one. If so, read on.
- Open Serial Monitor on the correct port in the arduino IDE and move the wheel angle sensor, do the values change quite dramatically?
If yes;
-
Open AIO, connect autosteer to the correct port, ignore the other com ports.
-
Try to manually move the motor left / right using the slider in AOG.
Do the left / right LEDs light up on the Cytron board?
Hi,
Having bit of a similar issue and wondering about the serial monitor showing reversed question marks and other odd symbols instead of proper values.
I am using KaupoiMOD v4 PCB, had it working with AOG V5.1.4 without BNO085 installed. Since module was out of stock for several months. Steering was working ,but not accurately. Didn’t play with the settings that much, tought that it wouldn’t work properly without the IMU
Now that I finally got the BNO module and installed it. the direction started to jumping around a lot. Practically its not possible to use at all
I don’t understand what setting I am missing?
Started debugging with Arduino IDEs serial monitor and it shows:
"
Error = 4
CMPS not connected or Found
Checking for BNO08x on 4A
Error = 0
BNO08X ADDRESs: 0x4A
BNO08X Ok.
¿¿ ¿▭G¿¿ ¿▭G¿¿ ¿▭G¿¿
The funny serial monitor symbols are good, the data is just hexadecimal.
Are the BNO heading and roll numbers in AgOpen good?
What about the other single antenna settings? You could post the vehicle file with all your settings too.
Seems that the direction is 90degrees wrong. Roll is actually pitch.
Is there a setting to adjust this, found only roll inverting from AOG?
Or need to change the mounting of the pcb from tractor? Its rather fixed, would like to avoid that
After mounting the pcb to different orientation in the tractor, it started working properly.
Would be nice if orientation could be changed from settings. Propably possible from .ino, but I couldn’t figure it out.
The following codes on line 155 in IMU_USB_V5_0
bno08xRoll = (bno08x.getRoll()) * CONST_180_DIVIDED_BY_PI; //Convert roll to degrees
//bno08xPitch = (bno08x.getPitch())* CONST_180_DIVIDED_BY_PI; // Convert pitch to degrees
I think it could be changed like this.
// bno08xRoll = (bno08x.getRoll()) * CONST_180_DIVIDED_BY_PI; //Convert roll to degrees
bno08xRoll = (bno08x.getPitch())* CONST_180_DIVIDED_BY_PI; // Convert pitch to degrees