ELERIUS
Hello OpenPLC community!
I hope everyone is doing well. I've been working on an exciting project recently, and I thought I'd share it with you all. I'm currently using an ESP32 for my project, and while researching ways to expand its GPIO pin capabilities, I came across a YouTube video that demonstrated pin expansion using an Arduino connected to a Raspberry Pi. Now, I'm curious if it's possible to achieve a similar pin expansion using an Arduino Mega instead of a Raspberry Pi.
I've already seen great results with the ESP32, but I've reached a point where I need more GPIO pins for my sensors and actuators. The Arduino Mega has a large number of pins, and if I could use it in conjunction with my ESP32, it could be a game-changer for my project.
Has anyone here attempted a similar setup before, or does anyone have insights into whether this is feasible? I'd greatly appreciate any guidance, tips, or experiences you can share.
Thank you in advance for your help and expertise!
Reply 0 0
thiagoralves
You can use both together as slave devices of a master. The master must be a Windows or Linux device - a raspberry pi works - that can run OpenPLC runtime. You cannot set the Arduino mega as a slave device to the ESP32 or vice-versa.
Reply 0 0
Reply