Micro v2.4 - a build thread

Also, someone on the PCBv2 thread asked about the ADS analog-to-digital converter, aka “the blue board” on PCBv2. If you have these components - and bear in mind, this is the Micro board - then you have it covered. If you don’t, you’ll likely still need the ADS1115 - but check with real people who know what they’re doing on that one. If you’ve some of the components I highlighted, but not all… err… I dunno.

But again, in red, if you have them, you don’t need ADS1115.

1 Like

Hold up - the Micro F9Ps arrived! Weren’t due till Tuesday… On we go! They even had the pins on already, so just a simple plug-in job !

NOTE: The warnings above about not having the board powered up on 12V and USB at the same time do not apply to flashing the F9Ps. This is safe to do.

Plugged one in to USB, but important to note that without power to the Micro, you won’t get USB recognising them to the computer. They don’t appear to take power from the computer, like the basic ones do. You can go to Firmware 1.32, and it’s included in the Support folder. Follow this guide to upgrade each one in turn:

You can get the firmware and the config files here: AgOpenGPS_Boards/Support/Ublox F9P Configurations at master · farmerbriantee/AgOpenGPS_Boards · GitHub

Anyway, there are different config files for heading and rover F9Ps.

  • (old 1.13 name) BasicDualHeading.txt / 1.32 DualAntennaHeading_RelPos / LEFT F9P!
  • (old 1.13 name) BasicDualPosition.txt / 1.32 DualAntennaPosition_GGA VTG RTCM / RIGHT F9P!

Connect each Micro F9P up over USB in turn. In u-center, go to Tools, Receiver Configuration and upload the 1.32 DualAntennaPosition_GGA VTG RTCM file to the RIGHT F9P, and 1.32 DualAntennaHeading_RelPos to the LEFT.

Pick the file and do “Transfer file → GNSS”

Then, make sure you SAVE THE MESSAGES. Otherwise, you’ll end up in Telegram asking what on earth you’ve done wrong. Facepalm icons will be used. You’ll get embarassed. View, Messages View.

That done, I returned to AOG, and…

Errr…

IDE port monitor in Arduino reporting movement on the BNO and a PANDA sentence, but of course, being indoors, no location info at the moment - but surely I was due a pitch/roll update in AOG?

So, AgOpenGPS was reporting… “AgIO?”. Two possibilities, either I had some sort of comms issue, or maybe the lack of GPS (I was inside) an issue? AoG seemed to be seeing the PANDA sentence just fine tho, and Brian helpfully advised that “AgIO?” doesn’t just mean “AgIO isn’t running”, but also “AOG isn’t getting any fix, so it doesn’t know if it is bad GPS or no agio. AgIO only sends a valid sentence when it gets a valid fix”

Unrolled the antenna cable and draped them out the window… and a few seconds later:

IMU, GPS, all working with an RTK fix!

Bonus RTK-fix green light on the board too:

And on that note… it’s time to make up the loom and head to the fields !

But first - beer!

8 Likes

cheers @andyinv !

and thanks for sharing your pcb v2.4 story. I’ll start building my first AIO board tomorrow. while waiting for the components to arrive, it was great to read about your experiences. guess what I’ve read here will save me a lot of time.

1 Like

Looking at the PCB, I noticed that the micro USB has 5v and gnd connected to the Micro (along with data lines) and I was going to suggest your micro USB might not be soldered correctly but now on closer inspection the Micro pin that USB 5v goes to is labeled as “5V to enable USB” so sounds like that doesn’t supply power after all, like you said.

1 Like

I did notice while setting up both boards that one of them had a dodgy USB connection, something for folk to watch out for. Of course you could temporarily use the other port to flash the config, then move it back, if you found yourself in such a situation.

Not much progress today as was at a ploughing competition. So I started the loom when I got home. What grief that gave me, until I realised the pins needed to be a LOT further through than I first thought. If you’re fitting AmpSeal, they need to be this far out:

Now I know they fit, you need these pins at either Farnell or ebay

770854-1 is the part number. 770680-1 is the plug that goes on the board, Farnell or ebay.

This listing is plug and contacts, might be useful. There’s a special tool to crimp them, and before the Ampseal model came out, I was building looms with these connectors (tool included). Same tool.

1 Like

for the ones struggling with the headers / pin alignment for teensy etc: I used sandpaper to make the 4-pin headers a bit shorter so that the pins will enter smoothly.

1 Like

So, not the most productive of days on the tractor. Arrived at my mates, and we fixed the antennas to the Case, and I started hacking his PCBv2 loom to fit the Ampseal/Micro. Not a huge effort, as I’d already done the power cables at home, so 5V (pin 1), WAS_H (pin2) and GND (pin4) to the WAS. Onto the hydraulic drivers, LEFT (pin 5) and RIGHT (pin 6) to them, with a common ground for the hydraulics going to pin 21 (GND).

Out to the field… ah crap, I forgot to wire up the SteerPin(8). We put a switch in line to the negative post on his tractor where we’ve plugged the power cables in, going to pin 8. Back to the shed, more ampseal fun, and once that was done…

Out to the field, noticed no RTK signal. Bit weird, was fine at home when the antennas were mostly shielded by house, but it’ll sort itself out, no worries. Opened a field, AB line… auto-steer… nothing. Hmmm… Perhaps legacy settings in my laptop or something, so started the Steer Wizard. Still nothing. WAS seemed OK tho. Damn, must have got wiring wrong, but I was really trying hard to do it right, so that would be embarassing…

Back to the shed. I had another board with me, that wasn’t stuck in the 3D printed case, so powered that up, and pressed MA/MB on the cytron. Nothing, no wheel movement! I knew from PCBv2 that they should have moved, so that wasn’t good. Multimeter out, pressed MA and tested MA on cytron to pin 4 (GND) on Ampseal - showing 12V. OK, so Cytron isn’t dead. MB also fine. But yet… when pressing MA, I wasn’t getting a voltage to pin 5, and when pressing MB, nothing on pin 6. So despite the cytron showing voltage and continuity testing showing my cable was fine, it wasn’t leaving the board???

So I was stuck… Telegram-time!

Jake kindly pointed to missing jumpers, at which point I checked the board again and noticed just above the cytron/heatsink, there’s wording to match the pin diagram - “Cytron Left or US” and “Right or Lock”. No worries, I have jumpers. It’s just that they’re 35 miles away :confused:

Dupont headers in the truck tho, so wired them up, pressed MA/MB and all good, steering again. Prised the other board out of the case, duponts onto them, all good. Back to the field!

This is what you want your board to look like and for the one obscured behind the heatsink, you want the two leftmost pins. BIG RED JUMPERS ALERT

EDIT: it was pointed out on the PCBv2 thread and in telegram that those jumpers are rated at 3 amps. In other words, I’m limited to 3A which is fine for hydraulics, but if you’re going to be driving a proper motor, essentially you now have a 3A fuse in the way. That’s not good… Refer to posts like these, of course everyone’s situation is different, you might NOT be wiring this way, but just keep it in mind:

If you’re unplugged, you should have continuity between MA and pin 5, and MB and pin 6. If you’re powered up, you’ll get 12V between MA or pin 5 to pin 4 when pressing the MA button on Cytron, and 12V from MB or pin 6 to pin 4 when pressing MB.

If you’re curious about what all that “LOCK” stuff means on the pinout, Jake replied:

Lock just sends 12v output from pwm2 when the steer is engaged. For 6/2 valve and Danfoss valves.

Back to the fields! Hmmm… still no RTK but we rolled around trying out the steering wizard for a good while. Couldn’t get the settings quite right, wondered if lack of RTK an issue.

Out with the command prompt, I could see a connection to rtk2go, so what’s the problem? Green center light on the board indicates an RTK fix, so… why isn’t AOG reporting RTK?

Chat on Telegram says “are you outputting NTRIP to port 2233” and netstat showed I wasn’t. I’d completely forgotten about the Position page in Ntrip Client Settings. So make sure yours is like this! UDP should be green, you’re very likely NOT using serial.

And just in case you didn’t know - no USB->AgIO on the new boards, UDP only.

At which point, my laptop battery ran out. (cries) So that was that. Be a good week until we get our next crack at it !

Some other things also came up today - before I left for the farm, I connected my laptop to my phone wifi, it pulled a 192.168.222.216 IP address. All fine and good, AgIO found the pre-programmed device on 192.168.1.xx that it been on my desktop earlier, so I did a “Change network address” and changed the 192.168.1 to 192.168.222. That sorted that!

image

I also plugged a LAN cable direct between laptop and Micro board. Now… I had crossover adapters with me just in case, but I knew that modern NICs will tend to sort themselves out if they detect a crossover situation, and mine did. But something still wasn’t right. UDP was green, but all devices were off:

image

More pleas on Telegram, and I was helpfully reminded that of course I’d need to set an IP manually on the ethernet NIC on laptop (if you’re a tech type, that’s because there’s no DHCP supplied on that NIC, the wifi gets a proper IP because it gets one from the phone. There’s nobody on the NIC network handing out IPs).

The worst part here is I should have spotted that - and if I was at work, I’d have clocked it instantly - but it seems to be that when I’m having a problem with AOG, instead of applying my usual skills, I immediately assume I’ve done something wrong with AOG instead. I really need to sort that, it’s embarrassing I didn’t clock that.

Anyway, Start, Run, ncpa.cpl and bring up the ethernet NIC properties. Go into IPv4 set a static IP address for whatever you like (here, I’ve picked 192.168.222.20). Subnet mask will always be 255.255.255.0. In AOG, find the UDP modules and update with “Change network address” as above.

Do NOT set DNS or Default Gateway - those are only applicable on your wifi and if you set a default gateway on your NIC when your wifi has one, you’ll cause yourself problems. No need for DNS either.

If different operators have phones that hand out different wifi IP addresses, that won’t matter - your wifi connection will work fine on a different subnet to AOG. So pick an address for AOG, set it, and forget it.

Do remember tho that if you plug your tablet into a wired connection in the house, it likely won’t work unless you happen to pick the same subnet as your home - so you may like to change it back to “obtain an address automatically” if you’re unsure, when at home/office.

Also, the tool I’m using to crimp the ampseal pins - what a nightmare it was getting some of them into the plug so now although incredibly similar to the one I was using for other plugs, I don’t think it’s quite right. Do yourself a favour, make sure it’s exactly the right tool !

> Also-also… and this is a biggie - the middle light on the board being green does NOT mean “RTK fix”. If you have an RTK fix, it should actually be off. Yeah, I know that’s a bit backwards…
EDIT: I’m seeing COMMITs in the code base that look like this is now being handled in code, as opposed to following the ardusimple layout. So soon, green will indicate RTK fix.

That’s about it for today… progress, but a lot of time wasted on things I should really have sussed on the bench first !

4 Likes

What do you do with jumpers if you.want left and right steering and wanna use a lock also??

Lock has a dedicated output.

Then why the choice??

On Danfoss you can use left for Us and right for Udc, and lock if you want a 6/2 valve for safety.

Ok thmx for explanation

Lock and Udc are actually the same signal from the mosfet.

Hello. I read your branch on assembling and setting up micro. I just don’t understand why two micro f9p and bno modules are included?

Ah, that’s an easy one - because I didn’t know any better !

Will remove the BNO and keep as a spare for pcbv2.

The translation is bad. I meant that there are two micro f9p and VNO on the printed circuit board.

The all in one boards can be used in the following ways

Single GPS + IMU

Dual GPS with GPS acting as IMU

Dual GPS + IMU (it’s technically possible but I don’t know if anything is doing it)

It’s just more flexibility to allow more users to use the same board.

1 Like

I have v2.4 Micro boards are they ok to build or is it best to use the V2.5.

In case you missed it, here’s how I took this to the next level and got a brand new MF6718S steering over CANBUS Steering a '22 MF 6718S over CANBUS