Hello everyone, I had issues before connecting aog to udp, but quit trying, now I’m back at it again, but still cannot manage a connection. I have set the ip right, I see the network is up in AOG but can’t see the imu. When I flash usb software to the arduino I can see the imu readings. Tablet is FZ G1, no lan port but using a usb hub with a lan port.
Have you configured the tablet for ethernet? As no originally ethernet port is there?
Not familiar with the v2 board, does that use a nano? Are you selecting the right firmware file for the udp option.
Are you sure the subnet is right, i thought the last digit was 5 normally (maybe the v2 is different)
The icon is not visible in your picture, but DID you click on “Set Subnet” just to the right og the number 3? To tell AOG how to work and if it was a teensy set/change the IP
Not sure how to do that, in Brian’s guide you set the ethernet adapter ipv4 settings, which is what I do. So do I need to plug the lan cable in a router and the aog board in the same router or can I connect the tablet to the aog board? I did set everything as per Brian’s guide, the IP I got and set was from the udp sketch, is that right?
I did click on the subnet, but nothing changed.
Tried pinging the IP that I set that I copied from the udp sketch but got 100% loss, so I guess there is a connection problem somewhere.
So I tried earlier and got nothing back. Decided to try a simple ethernet sketch no luck. Found out I need a crossover ethernet cable, 2 minutes later mine got converted to crossover, great success with the simple Ethernet sketch. When I upload aog udp sketch tho I still can’t see imu, nor do I get a response to the ping. I use ping 192.168.3.73 as in the udp sketch, not sure what I am doing wrong.
You can’t see the IMU.
Which IMU do you use?
Where are how is IMU mounted?
I use a pcbv2 with nano and ethernet, but together with a separate panda board.(Teensy with F9P and bno085)
Edit: some time ago there was an issue with the bno085 not being started at the time connection was reached. So there were made a change in the INO, adding a time delay before talking to IMU. Maybe the INO you use doesn’t have that change?
I figured that out when testing the simple ethernet sketch, but what’s strange is I get a ping back with that sketch, when I upload the agopengps udp sketch I don’t get response to the ping.
Larsvest, my imu is connected to the aproppriate pins on the dog2 rail, when I’m running usb it’s fine. I tried adding that code, but to no avail.
Correct me if I’m wrong, I do not need a router, I can directly plug in the board with a lan crossover cable right? Since I was able to communicate with the Ethernet shield via a different sketch using the same config.
Can anyone share their working udp sketch for v2 board? Maybe there is something wrong with the version I have.
You should be able to connect dirrectly to the board with whatever cable.
But be sure you gave firewall access to AgIO!
Windows will promp the box only once, the first time you start UDP in AgIO. You must check both boxes.
After that you would have to go to the windows settings somewhere.
Running AOG/AgIO from an other folder will also prompt the firewall message I think (since it’s like a new app)
Thank you everyone for the suggestions, but it did turn out to be a bad ino file, I couldn’t find the new ones so just used one that I had in my support files from when I built my v2 board.
Downloaded the udp ino from this link GitHub - AgOpenGPS-Official/Boards: GPS and Steer Boards
Set my ipv4 address to 192.168.5.2 (last digit doesn’t matter as long as it’s not the same as the modules) , opened AGIo, set the subnet to 192.168.5 and voila. Can’t believe I lost so much time due to a non compatible ino file.