girish_kumar
Hi,
 
I am talking about OpenPLC on Raspberry Pi. As Raspberry Pi does not have any analog inputs /outputs, there is not way to provide analog inputs/outputs for OpenPLC running on Raspberry pi.
 
However it is possible to provide analog inputs to Raspberry Pi by using dedicated analog to digital convertors and analog outputs using Digital to analog convertors. These A2D and D2A convertors can be connected to the GPIO of Rpi using I2C Protocol.
Can OpenPLC detect such inputs today ?
 
Is there any other way to provide Analog inputs to OpenPLC ?
Regards
Girish
Reply 0 0
thiagoralves
The only way “out of the box” to add analogs to the Pi is using an Arduino board as a slave device. You can obviously also add industrial modules as slave devices, but that’s much more expensive.
Reply 0 0
girish_kumar
 
thanks for your response.
Can I use ESP32 as a slave device (in place of Arduino)
Reply 0 0
thiagoralves
Yes, any board compatible with OpenPLC will work.
Reply 1 0
Reply