SMD PCB Project for an all-in-one compact PCB for AOG/QOG

Agree, nice idea to add it although hydraulic steering is critical in Europe… But no relay; that’s old style. Protected MOSFETs like BTS5030-1EJA are the smarter and more reliable choice.

4 Likes

@GoRoNb I do not have a grand sense of electronics components, hope you find room for it, believe there is a part that uses hydraulics.

Yes, there was some space left to add this function via U14:
grafik
For assembling this part, edit the BOM file (“xU14” => “U14”, delete “R59”)

The 6/2 output will be on this track:
grafik

Furthermore you can put a solder joint on the bottom and remove “R76” + “F7” to make “SERVO+” to “-MOTOR” (= “-Battery” via emergency stop button), so that all signals to the valves are on “CN18”. That avoids current loops and you have a failsafe switching via the positively opening stop botton.

grafik

2 Likes

Looks great! Nice video, can’t believe it’s the first one. I love the small design and enclosure. Still can’t believe its cheaper than ordering all the parts and soldering yourself. I am going to try to place an order. Great job!

4 Likes

I think for most farmers just trying to get it to steer this is 100% hands down the way to go.

The only thing I can see changing just for the fun of tinkering is having a socket where the nano chip is to accept a teensy4.0, or I guess I could learn ESP.

Hopefully V4+ is still compatible it sounds like quite the revision in the works.
But very good job this is very excellent work, I wish I had the skills to build hardware like this.

1 Like

Unfortunately some parts are on allocation @ JLCPCB right now and Chinease new year is comming. If you order somewhere else, it would be nice to share this information with the community.

@PotatoFarmer The idea is to make it as easy as possible with all parts but connectors already automatically assembled. It’s in fact what Brian did, but all on one board + some options. Hope, the board will keep up with Brian’s ideas…

1 Like

Brian’s Ideas that is my worry too. Also all of the communities, this Ag Open as auto steer platform really seems to be gaining some escape velocity, and going through some very rapid changes.

The biggest thing I am worried about is the 328 running out of steam, even Arduino is dumping it for the 4809 on the Nano Every.

But I just want to make clear I love your board, you are clearly very skilled. Once its summer and supply chains are moving more freely I want a couple badly.

1 Like

Just made the latest ethernet udp software stack based autosteer with CMPS14 on board. Pid running at 25 hz - runs suuwweeeeeet. No worries of running out of hp with the nano any time soon.

And it only uses 30% of the memory.

Your board GoRONb will be just fine. Have you thought about adding the MCP23017 for driving relays off the steer board?

3 Likes

I strongly prefer to use Modbus modules. Costs are roughly the same and there are no issues with EMC at all.

Can provide further source code, if you like.

Good day. I am a beginner and I have a question for you. Can I connect this engine ( 12v 10N.m 16N,m Automatic Steering Wheel Motor for Autopilot of Agricultral Vehicles - Buy steering wheel motor, automatic steering wheel motor, steering wheel motor for autopilot Product on Jinan Keya Electronic Science and Technology Co., Ltd ) to your board . It operates on a current of 20 A and uses RS 232 for control.
Thank you in advance

yes and no. From the HW point of view, the answer is yes. There are several ways to provide RS232 or CAN: simply via USB-to-RS232 cable plugged to one of the USB receptacles on the board or by connecting an USB-TTL-converter to connector U16 or via CAN2.0 if putting an ESP32 in place.

BUT this all won’t help because you don’t have any software support for that.

Andreas @Aortner did some test, but as far as I know, he wouldn’t suggest this way to go even if you adapt the software.

1 Like

Yes, you can.
I use this motor to. I also made a software based on @MTZ8302 software.
But for new built motors my software has to be adapted a little bit.
Software uses an ESP32 and wifi-UDP. You need a eg RS232max converter as @GoRoNb said.
My software is on GitHub - Lechnerch/AOG_GPS_ESP32: DUAL or SINGLE GPS bridge between AgOpenGPS an GPS receiver. Works with 2 UBlox to calculate heading+roll. Corrects and filters. ESP32 + Arduino MEGA
I have built in a Wemos D1 mini in the motor too to receive the wifi-udp and send it to the rs232max converter. Software is also on my github.
A video running on my tractor is Using AgOpenGPS with a brushless motor - YouTube

4 Likes

Do you have a better lead on a price for this motor, I also looked into it but it was $895US.

What are pcb dimensions ?

With 2 usb-c the board is 150x92

With pcb v2 , they switch from IBT to cytron because there were some problems with ibt.

It’s safe to use IBT type motor controller ?

Just to complete this topic: These Modbus modules may also be operated by these modules. In fact, that circuit was integrated into the PCB together with an USB hub.

Connecting is like that:
grafik

The easiest way to send the serial data uses precalculated CRC values:
grafik

Some hints:

  • ModbusRTU is usually RS485 half-duplex like here; all modules share the same A/B lines (like I²C) => you can not only connect several relay modules (w/ different addresses) but also two USB sticks to the PC for debugging: one for your software, one for HTerm or equ.- very helpful at first :wink:
  • a message has to be sent w/o inter-char delays; between two messages, there must be a gap of at least 3 chars (my China module violates that :joy: and sends immediately, but that does not matter here)
  • the slave return exactly the same message to the master (PC); this may be used for checking the connection (physically you have the same message on the bus twice)
  • my module does not support setting of several relays at the same time (command 16)

(ModbusRel2.py is the code of the picture, ModbusRel3.py calculates the CRC and therefore supports more than one module. crc.c is c code of the CRC calc)

Would appreciate to have this option in AOG :smiley:

crc.c.txt (703 Bytes) ModbusRel2.py.txt (745 Bytes) ModbusRel3.py.txt (961 Bytes)

2 Likes

If anyone in Canada wants to do a group by of sort I’d be in for a half dozen or so, great work on this and thanks for sharing.

Please read this post and this post. Did you use these lists?

The FE1.1 was available from Aliexpress 3 weeks ago.

Let me know if you need help for 2nd sources, e. g. for the HSBA4048

This was the situation when I ordered:
grafik

  • U18: bad luck - no chance to place it yourself, but part is depreciated and CMPS is prefered now
  • U2: bad luck - possible to place it yourself with liquid solder paste and hot air
  • D5, D6, D7: ESD protection, not mandatory
  • Q8: 2nd source e. g.: SINO-IC SED4060G, part C238671
  • U8: 2nd source e. g.: Exar SP485EEN-L/TR, part C6855
  • F7, F5,…: TECHFUSE SMD0603-050, part C69679
  • C32, C31: Lelon VEJ471M1ETR-1010, part C176672
  • QWIIC, DC/AUX, TO_PC: connectors - you have to assemble it yourself
  • U11: not available - you have to assemble it yourself
1 Like

Unfortunately Chinease New Year just started, so no action for the next two weeks at least :partying_face:

LCSC seems to have an option to get an estimation:
grafik (see “Check new stock and leadtimes”).

In parallel I asked for a quotation at shenzhen2u.com. Will be more expensive, but let’s see.

You may also use a local PCBA service such as Aisler in Germany. The advantage of all but JLCPCB is, that they order all components and put them on the board, after all arrived. JLCPCB is the only one I know, where you only get what is in stock at the moment of the order. Quite unconvenient, but they’re really cheap. The quality is ok as well, but that’s what I expect from everyone who does that job.

If you ask somewhere, please share this information here. Beautifying the BOM for a manufacturer always takes a lot of time, but imagine you would have to order everything yourself from different suppliers…

For me it is a nightmare to order every single smd components.

China is more cheap, but i need to wait months.

For small number, it is not convenient.

Aisler offer SMT service ?

This shop in europe fe1.1s

1 Like

or Amazon…

JLCPCB: normally two weeks to Germany for a PCB assembly (10 WDs); PCB only is a few days faster

Aisler services

The killing argument for JLC is: They have about 650 componets, you can choose w/o setup fee!

(The board has 72 different SMD components and about 250 pieces overall. PCB size is 150x92mm²)

1 Like