Is one option and the packet format was the inspiration for our library, but it wasn’t quite what we wanted. Perusing github shows relatively little in the way of arduino - arduino communcation libraries, especially libraries tailored for RS-485 and hardened for reliability. It’s very much written to interface with existing modbus equipment and not to build new devices.Obviously that would be the library of choice if we needed Modbus compatibility but given the freedom we had, there had to be a more modern, simpler option. Unfortunately, the on arduino is fairly complex and it’s not immediately obvious how to use it best (edit: the library has actually been refactored and now looks much cleaner). Modbus is used in a lot of industrial electronics and is almost the de facto communication protocol in that environment. Availbale Arduino Libraries So what’s the best serial communication library available on the arduino? To start with, there are already some libraries in existence, most notably modbus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |