RS485 support with Spark

I have RS485 master controller. Is possible to create modbus slave with spark?

Regards,
Branko

Hi Zebec,

You’d need a balanced line controller for the bus. see maxim for some chips and background: http://www.maximintegrated.com/app-notes/index.mvp/id/723

I see no reason why the uart pins on the spark would not be able to handle such a signal. Then it is just writing the slave software, which is responding to an address , function and crc. I do not think there is such a library yet, but porting SimpleModbus for the arduino should be pretty straightforward imho.

Regards,

Robin

1 Like