This is a portable MODBUS-RTU Master made using a STM32F407 MCU and completely programmed using Ada. You can incorporate the mbus package (found in adambus/src/) in your own projects to communicate with Modbus enabled slave devices.
You will need, GNAT Programming Studio : https://www.adacore.com/download (Download both files)
Ada Drivers Library : https://github.com/AdaCore/Ada_Drivers_Library
Full Instructions : https://www.hackster.io/yasaspeiris/ada-modbus-analyzer-c84242
First Test : https://www.youtube.com/watch?v=bEcFYIxN1XE
Final Demo : https://www.youtube.com/watch?v=MtwckgqX_BE