I am looking for basic Modbus RTu slave code for PIC using rs485. Please guide me to get source code or develop source code & What are function i need to take care while developing it
Asked
Active
Viewed 2,219 times
2 Answers
1
liblightmodbus is a very lightweight, highly configurable, platform-independent Modbus RTU library.
![](../../users/profiles/2055824.webp)
Bosz
- 195
- 3
- 13
1
This is the closest I could find: freemodbus.
There is a port to PIC32xx but I did not test it.
There used to be a bunch of projects implementing Modbus for PIC microcontrollers but most of them are old, with dead links and nowhere to be found anymore.
With Arduino & friends and SBCs running so cheap nobody seems to be into this kind of thing with PIC anymore.
![](../../users/profiles/11476836.webp)
Marcos G.
- 2,626
- 2
- 5
- 13