TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139251 times)
  2. FAT32 Library (71749 times)
  3. Network Ethernet Library (57120 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28077 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 1617 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

Mastering the SiLabs C8051 Microcontroller

0

A tutorial blog on SiLabs C8051F330 using MikroC for 8051 compiler.

[Learn More]

SSD1309 OLED Library

1

This is a library + demo of SSD1309 OLED displays. The code is written for MikroC for ARM and MikroC for AVR.

[Learn More]

Digital Balance with HX711

0

This is a simple project that shows how to use HX711 - 24-bit differential ADC with a typical bar-type load cell to measure mass of objects.

[Learn More]