EasyCAT Arduino shield

More
2 years 7 months ago #296844 by blazini36
Replied by blazini36 on topic EasyCAT Arduino shield
Any idea if this could be made to work with a Teensy 4.1? It has a 10/100 ethernet port and it only requires a magjack to use it. There's not many posts on that forum about ethercat so I have no idea how that works.

I've been messing with Arduino-Connector in my own project using a custom PCB but I've run into issues with the way that project is setup. There's some issue with a delay on the serial comms on the Python side. I just noticed he has a V2 branch and it looks like they're completely rewriting it so I don't know what the story is there either.

This Ethercat setup looks like it could be a better solution, assuming all I have to do is add a magjack to the PCB. A friend of mine is (hopefully) working on adding I2C IO to that project, a Teensy is a bit short on pins and I had to use expanders to get everything in there.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296848 by routerman22
Replied by routerman22 on topic EasyCAT Arduino shield
The ethercat shield just uses spi interface. So you can probably re-use the library without issue.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago - 2 years 7 months ago #296855 by cakeslob
Replied by cakeslob on topic EasyCAT Arduino shield
i love it, and i would be doing it, but the price.... the mikro one is not too bad, but the IC alone is expensive.

can you use these for motion control of a stepper or 3?

edit, wait i already knew the answer
hackaday.io/project/181058-ethercat-servodrive

This Ethercat setup looks like it could be a better solution, assuming all I have to do is add a magjack to the PCB.
it looks like ethercat slave devices need their own ethercat IC, it doesnt look like you can do it in software, at least i have not found any examples/code
Last edit: 2 years 7 months ago by cakeslob.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296856 by blazini36
Replied by blazini36 on topic EasyCAT Arduino shield

I think you're right. After you mentioned that I looked at the Ethercat application note and they specifically refer to slave devices as requiring an ESC or Ethercat Slave Controller that contains the ethernet PHY. It can be built in FPGA too but from what I gather the slaves are hardware.

What chip does the EasyCat use, a LAN9252? They're $12 a pop, I could manage it as long as I don't have to mess with code.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296862 by rodw
Replied by rodw on topic EasyCAT Arduino shield
The ethercat license is built into the Lan9252 and any other ethercat chipset so it will never be able to done in software.
There are some open sources slave designs.

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296896 by blazini36
Replied by blazini36 on topic EasyCAT Arduino shield
Are you going to add the analog pins and joystick counters?

Please Log in or Create an account to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum