TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141455 times)
  2. FAT32 Library (74301 times)
  3. Network Ethernet Library (58839 times)
  4. USB Device Library (48909 times)
  5. Network WiFi Library (44679 times)
  6. FT800 Library (44215 times)
  7. GSM click (30933 times)
  8. mikroSDK (29803 times)
  9. PID Library (27403 times)
  10. microSD click (27333 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

MODBUS Slave Example

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2018-11-24

Package Version: 1.0.0.0

Category: Communication

Downloaded: 1709 times

Not followed.

License: MIT license  

This project demos a custom MODBUS RTU slave with an AVR. It has 4 coils, 4 discrete inputs, 2 input registers that store temperature data in degree Celsius and Kelvin from a DS18B20 temperature sensor and two holding registers that behave like scratchpad locations.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "MODBUS Slave Example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "MODBUS Slave Example" changes.

Do you want to report abuse regarding "MODBUS Slave Example".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

PC (Master)-Hardware Communication

PC (Master)-Hardware Communication

MODBUS RTU Slave

View full image
Project Setup

Project Setup

MODBUS RTU Slave

View full image

ALSO FROM THIS AUTHOR

HDC1080 I2C Relative Humidity and Temperature Sensor Demo

0

HDC1080 I2C relative humidity and temperature sensor demo with STM32. The code is written with STM32CubeIDE.

[Learn More]

Weather Prediction System with BMP085 Pressure Sensor and AVR

0

Weather Prediction System with BMP085 Pressure Sensor and ATMega16A. The pressure sensor measures temperature, atmospheric pressure and altitude. Based on pressure and actual local altitude weather patterns are predicted.

[Learn More]

TMP175 Digital Temperature Sensor Demo

0

TMP175 digital temperature sensor demo with AVR microcontroller.

[Learn More]