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

Would I have to install FE1.1S to connect to the atmega328 for programming? Or what does the FE1.1S all do. Would be using udp otherwise.

Normally, the answer is yes. There are two steps: The first is the initial programming of the bootloader via P1 (step 6). After that, you would normally access the Atmega via USB, but if you’re sure, you’ll never need USB, you can leave all that stuff unmounted and connect to U3, pins 2, 3, 13 via a board like this one for the time of programming.

You can also use P1 only for programming of the whole firmware, but that’s not supported by the Arduino software AFAIK.

I’m personally keeping my fingers crossed for the new version which reconnects automatically to USB devices after power-cycling.

404 This is not the webpage you were looking for.

nevermind, i got it.

It is posible check this BOM? i let R59, R76 and F7 for manual unsoldering, but few parts are unfortunately still “invertory shortage” over week (daily checking). Can I use some replacement parts, or it is chance to wait missing parts?

BOM1BOM2

Unfortunately there are no 2nd sources for U2 and U18. At least U2 is available from Aliexpress, but soldering needs hot air and liquit soldering paste. Not easy when you do it the first time.

2nd source for U8, Q8, Fx are given in the BOM. There are many. D5…D7 is not mandatory - so no prob

Connections are not mounted by JLC anyway. Don’t now why, but they said the will do some time in th future.

U11: Not available, but only needed for dual CAN

U14: like U2, but much easier to solder

Hope, that helps so far. That’s the situation we’ve right now in all industry - have the same on the job…

Thank you for quick respond. I mean, that I can wait some time for U2 and U18. Soldering small parts not problem, but soldering with hot air and liquid paste is too much.
I hope, that chinese new year ended and they will supply more parts now.

fully understand. unfortunately, U2 is out since end of last year. very common IC to many USB hubs… will you use USB or UDP for autosteer?

I don´t know. I want to use Ardusimplex and this is conected by USB. For autosteer will be used 6/2 valve and hydraulic valve, to tablet I mean USB-C will be beter. I didn´t have expirience with UDP.

so better wait for the availability of U2

I got my u2’s today so I could load ino onto board. Have enc28j60 hooked up and it communicates to aog via udp. Wheel angle sensor reading works in aog. If i shut off board and turn it back on the only way udp connects again, is if i plugin usb for a few seconds, then it keeps working. :thinking: And I cant seem to get motor to work. If i switch it to cytron then it turns one way and doesnt shutoff and does nothing when set to ib2. Anyhelp? Probably something simple

you’re right, likely something simple. I can confirm the behavior with the Cytron settings - had the same here when I forgot to change to IBT mode. That means, the motors drivers are working well, too, in general.

my first hint is to find out, whether it’s a HW or SW issue. The easiest way is to take a meter, put one connection to 0V and check the Atmel outputs D3, D4, D9:

Bildschirmfoto vom 2021-03-11 05-51-31 Bildschirmfoto vom 2021-03-11 05-50-37

Start with D4, which should be high (about 5V) whenever steering is enabled by AOG. If that is the case, one of the other signals, so either D3 or D9 should be higher than 0V depending on the WAS difference.

If this all is ok, it’s a hardware issue and we’ll go into the details…

the bottom one is +5v when steering is on and go’s to zero when off. Those top two I circled are the only ones that change when I adjust steering angle sensor.
smdpcb

The pins you’ve highlighted belong to the WAS input.

Is the ADC set to single ended or diffential mode? Best is to test with single ended first - that limits the things to look for.

Please remove R97 anyway; was an option for using the ESP32 and should not be mounted.
grafik

I got it to work now with single. Mustn’t have tried that before. It keeps losing connection though. I have to keep the usb plugged in, even though it’s plugged into different computer then what aog is on. Otherwise ethernet doesn’t connect.

a friend of mine is running the board with ethernet, so there seems to be no general problem. what ethernet module are you using? mind that the 5V pin must not be connected

i’m using the enc28j60 and left 5v connection off. Maybe I did something wrong with u2 but it does work to upload ino. Maybe I should try another board. Does it have anything to do with the little part that needs turning. I ordered before that correction?

quite sure, Arduino software verifies the memory after flashing, so not likely. No, the transistor has no influence for the same reasion: USB has an error detection. Anyway only necessary if USB-PD would have been working

I have soldered 3 main units. Felt brave and soldered U2 USB-hub chip on with a normal solder iron too, but not without some struggle at first.
Now waiting for solder paste, USB-C connectors and 5.1k resistors to finish up.
Power delivery does not work at all for the moment, or partly? Do you still plan on a piggyback board for USB-C PD, complementary to this unit? Or will this project not be continued?

Schermafbeelding 2021-03-14 om 17.39.02 PM

I also assembled a roof unit. I’m waiting for JST-GH cables to connect to two ardusimple boards. Is it normal that one connector to the W5500 ethernet adapter is not soldered? I see it is one of two ‘V’ pins so probably a redundant duplicate anyway?

Schermafbeelding 2021-03-14 om 17.39.25 PM

Schermafbeelding 2021-03-14 om 17.39.39 PM

2 Likes

I’m still working on a solution for USB-PD, but it turned out as harder as I expected. VIA has an IC for that, but there’s no support in Germany. Right now, I’m talking with TI and ST. The TI chip is oversized (made for notebooks), but has a good support. ST provides something nice, but no software sources yet. Let’s see… If I can collect the informations I need, it’ll be a complementary board, that should fit into the housing as well.

Why did you bent the 4th pin of the M8 off? The two holes behind the connector are for 4-pole M8s.

Yes, at the W5500 connector, not all pins are needed. I had to leave some out due to the limited space.

1 Like