Philip Munts
Published © MIT

Modbus RTU Framework for Ada

This project provides a framework for rapidly developing Modbus RTU devices, using service handlers written in Ada.

IntermediateFull instructions provided1 hour2,174

Things used in this project

Hardware components

Raspberry Pi Zero Wireless
Raspberry Pi Zero Wireless
×1
Automation pHAT
Pimoroni Automation pHAT
The Automation pHAT provides 3 analog inputs, 3 digital inputs, 3 current sinking digital outputs, and SPDT relay contacts.
×1
ADC DAC Pi Zero
The ADC DAC Pi Zero provides 2 analog inputs and 2 analog outputs.
×1

Software apps and online services

MuntsOS Embedded Linux
This is my own embedded Linux distribution. It is a stripped down Linux distribution that includes a small compressed root file system within the kernel image binary itself. At boot time the file system is unpacked into RAM and thereafter the system runs entirely in RAM.
Linux Simple I/O Library
This is my own library for Linux I/O. It includes a large set of bindings and objects for the Ada programming language. The shared library libsimpleio.so is included in the MuntsOS kernel image and the development libraries are included in the MuntsOS cross-toolchains.
FreeMODBUS
This is a C library for creating Modbus Slave device applications.
libmodbus
This is a C library for creating Modbus Master device applications. The Linux Simple I/O library includes Ada bindings and objects for libmodbus.

Story

Read more

Code

MuntsOS Embedded Linux

Linux Simple I/O Library

Credits

Philip Munts

Philip Munts

2 projects • 4 followers

Comments