zesava
Нello. First of all i want to say thank for creating and sharing such great project. Recently i found your project in google suggestions on my phone 🙂 Аnd my first thought was: this may be just what I need.
Currently me and my colleague testing version #2 of our plc. This plc is based on ESP32 and have on board additioanl hardware eg. LAN IC, port expander, RTC, SD card...
 
scr1.jpg

0-02-05-60df7300febde822f0137a5ca206211b34b83ed80024f1006eacefa0ce354c.jpg
Also there will be additional expansion modules based on stm32 with their own firmware wich will be connected to ESP32 via i2C
io.jpg

But to try go forward with this i have one question:
Is it possible to add support of custom hardware based on ESP32 ?
Reply 0 0
thiagoralves
Yes, adding support for custom hardware is quite simple. You just have to edit the hals file with information about your board (where is the .cpp hardware file, what command should be used to compile, etc). Here is the hals file:  https://github.com/thiagoralves/OpenPLC_Editor/blob/master/editor/arduino/examples/Baremetal/hals.json

You can use the other platforms as example. Then you just need to write your own .cpp file for your board. Again, you can use the other platforms .cpp file as example. The code is pretty straightforward, you just need to define the IO pins and the calls to read/write to them.
Reply 0 0
Jesseemus
Нello. First of all i want to say thank for creating and sharing such great project. Recently i found your project in google suggestions on my phone 🙂 Аnd my first thought was: this may be just what I need.
Currently me and my colleague testing version #2 of our plc. This plc is based on ESP32 and have on board additioanl hardware eg. LAN IC, port expander, RTC, SD card...
 
scr1.jpg

0-02-05-60df7300febde822f0137a5ca206211b34b83ed80024f1006eacefa0ce354c.jpg
Also there will be additional expansion modules based on stm32 with their own firmware wich will be connected to ESP32 via i2C
io.jpg

But to try go forward with this i have one question:
Is it possible to add support of custom hardware based on ESP32 ?
Hello, is your design by any change opensource?
Reply 0 0
Reply