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 (141197 times)
  2. FAT32 Library (73995 times)
  3. Network Ethernet Library (58641 times)
  4. USB Device Library (48759 times)
  5. Network WiFi Library (44456 times)
  6. FT800 Library (44029 times)
  7. GSM click (30784 times)
  8. mikroSDK (29513 times)
  9. PID Library (27334 times)
  10. microSD click (27188 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: 1696 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

PCF8563 Real Time Alarm Clock

0

PCF8563-based real time alarm clock. The code is written with CCS PIC C compiler. https://www.youtube.com/watch?v=rxQ-d19UG34

[Learn More]

Inductance-Capacitance Measurement using PIC18 Microcontroller

0

A blog on inductance-capacitance measurement using PIC18 microcontroller.

[Learn More]

US-020 Ultrasonic Distance Sensor Demo

0

US-020 ultrasonic distance sensor demo with ATMega8515. For measuring distance as a relation of echo pulse width no timer or interrupt is used.

[Learn More]