I have the ports correct now
and I can see the packets using tcpdump
Code:
sudo tcpdump -i any -n udp port 5000
...snip...
22:00:41.020871 IP 192.168.2.178.40206 > 192.168.2.177.5000: UDP, length 40
22:00:41.021237 IP 192.168.2.177.5000 > 192.168.2.178.40206: UDP, length 32
22:00:41.021882 IP 192.168.2.178.59440 > 192.168.2.177.5000: UDP, length 40
22:00:41.022238 IP 192.168.2.177.5000 > 192.168.2.178.59440: UDP, length 32
22:00:41.022888 IP 192.168.2.178.57804 > 192.168.2.177.5000: UDP, length 40
22:00:41.023241 IP 192.168.2.177.5000 > 192.168.2.178.57804: UDP, length 32
^C
3272 packets captured
3290 packets received by filter
0 packets dropped by kernel
It looks like there are xyz positions passed from eth1 to the esp32/w5500 40 bytes
and 4 encoder data passed back 32 bytes
There are no real motors or encoders on my system, no hardware at all for these early tests.
Does it require encoders connected to motors?
I go thru my router with no problems, this may be an advantage for long distance users.
( my network is 192.168.1.X and i use 192.168.2.177 for W5500 and 192.168.2.178 for my new eth1 card)
I see pulses on the step pins
but not what i expect
My step size is .0075mm ( 1.5pitch and 200 steps/rev nema17s)
For 1mm jog , i expect to see 133 pulses.( 133.333333 to be exact )
I do not see that,
I do not get repeatable traces on the scope.
I have not understood how the pulses are calculated,
but i think i should see the same trace for each 1mm jog .
Is that correct?
thanks TomP