USB not stable, considering UDP, or better USB multihub

If the imu is using different pins on nano than section control then you can copy and paste the code to 1 nano in theory

Depends on what you need for auto steer & machine control and if you can combine the code bits into a custom firmware. I have been working on a machine class/library to make it easier to add machine code to custom firmwares.

I would love to be able to do this and do away with one nano and 1 usb cable.
All i need is the imu usb code to be put on the machine module usb code​:thinking::face_with_peeking_eye:

What files did you upload to nano? Are they .ino ?or Hex

In the main code files, navigate your way to arduino modules then i selected Machine usb v5. This then automatically loads the 1.8.19 version (on my pc anyway) of arduino installs and thenn upload to nano

That would be useful.

Perhaps I’m not well enough educated on the whole setup, and need to have a re think about the direction I want it to take.

In general the software works great. Just with on screen delay and unstable working when over loading usb, this is before i even attempt IMU or autosteer, I think I need to start from scratch.

Maybe the all in one board is a good start, then modify it to suit my needs, when I learn a bit more about it.

Still think USB should be fine, but maybe on a more capable tablet!

Im running gps and machine module over usb absolutely fine, if i add a imu with usb it all goes to bugger. Still thinking the usb splitter is at fault.
The aio pcb is very good you can use the gps and imu over udp then upgrade to autosteer later.

Thanks for your help!

Few questions;

  • Which board do I order? (Would like pre assembled)
    Also can it incorporate machine control now, with changes to code, or is it available to add later?

  • can I get files for a nice 3D printed case like the older models?

  • which plug style is best?

Have a read here. All you need to know

Quick update.

I have tried downloading agopengps 6.7 on my laptop, instead of my tablet.

This is working much better and seems to hold connections (only tried for a few minutes though)!

Delays are still there so going to try the configomatic to try update my receiver.

Looking like i need a better tablet!

1 Like

Hi Guys, wanted to do an update!

With a small amount of testing tonight, I think I have rectified all my problems (problems relating to my GPS anyway :joy:)

I had originally ordered a RTK2b micro!
This issue was picked up by @del_boy.

I thought I would try to cure one known problem at a time, ordered the RTK2B.

Configured with config o matic.
Perfect, no delays, good GPS fix…

It has also stopped dropping out the machine module now when both are connected, even through the non powered USB hub!

Could it be that the micro, was sending too much information to the tablet and having to drop the connections? Especially as it would have been configured as the RTK2B

Time to get to a field and do some setup.

Thanks very much for everyone’s help.
This forum has really helped me get my hobby working the way I want it!

2 Likes

I am also struggling with intermittent connection issues with usb for my machine board and have no problems with the aio board over udp. I would love to go all udp but get confused as to exactly what I need to do to get from where I am to there. I love the idea of everything in one board and that availability will definitely convince me to upgrade.

You need:

Ethernet Shield for Nano V3

Nano V3 Ethernet Shield ENC28J60 - Buy Nano V3 Ethernet Shield ENC28J60 with free shipping on AliExpress

Ethernet Switch to put all together:
Miscellaneous | AgOpenGPS Documentation

You have to change machine firmware to udp

I’d like to lose usb entirely so I believe I need something to make 5v. Is that true? How many relays can you power through the nano?

You will need a 12v to 5v converter to power the nano and the relays, and most Ethernet switches are 5 v as well. The nano can only power 4 relays,

Thank you. That helps a lot. Often it seems that things that are common knowledge for the more experienced are the hardest to find a clear answer for. Would one converter be able to do everything as long as you power the relay board directly and don’t go through the nano? Is there enough excess power somewhere on the aio board that I could power everything of something on it?

Ive got a 12v to 5v coverter powering 2 lots of 8 relay board. Im then using the nano to switch 12 of these pins.
Im on usb and the key seems to be a really good heavy duty usb cable.
Ive since upgraded the cable on the imu to a better quality one and im now running gps, imu and machine module all through usb :crossed_fingers:

I would connect to the 12v power supply going to pin 22 on ampseal plug. The converter should be on a separate fuse, The relay board and Nano might use 2-3 amps . If you have a 15amp supply that will be enough to power relays, all in one, and auto steer hydraulic valves.

Something like LM2596 DC/DC Converter

Amazon.com: Seloky 5 Pack LM2596 DC to DC Buck Converter 3.0-40V to 1.5-35V Adjustable Voltage Regulator Electronic Voltage Stabilizer Power Supply Step Down Module : Electronics

Edit:
You need power for relays as follows:
approx. 400mW = 80 mA (5V Coil, 16A load current) for each relay

→ 8 Channel module = approx. 640mA

For the Ethernet switch use the 12V variant. (usually it takes 1A)