Imko
I've watched the tutorial on expansion Raspberry pi io's with arduino. I have an esp 32 and arduino. I want to use analog inputs from mega on my final year project. Although am. Still learning about these stuff . Any insight on how i can do this?
Reply 0 0
thiagoralves
You can only use this expanding IO method on Linux and Windows devices. Arduino boards do not support Modbus Master to add slave devices. The only alternative would be for you to write some code on an Arduino Extension to connect both boards together.
Reply 0 0
Imko
I appreciate the fast reply .
But can I2C communication work between the two ? ,esp 32 doesn't also support modbus madter ??
 Or another alternative is having both board as slaves to open plc runtime( my desktop as a local server). Thats possible right?
Reply 0 0
thiagoralves
Yes, both boards as slave of another Linux (or Windows) runtime will work great. But then the whole control decision will be done at the Linux/Windows runtime, not at the ESP32.
 
You can use I2C, SPI or anything else you’d like to make the two boards communicate. But you will have to code that bridge yourself on an Arduino Extension
Reply 0 0
Reply