TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136552 times)
  2. FAT32 Library (69748 times)
  3. Network Ethernet Library (55849 times)
  4. USB Device Library (46189 times)
  5. Network WiFi Library (41811 times)
  6. FT800 Library (41003 times)
  7. GSM click (28930 times)
  8. PID Library (26386 times)
  9. mikroSDK (26291 times)
  10. microSD click (25303 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: 1523 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

Arduino-based Capacitive Touch RGB LED Controller

0

Capacitive Touch based RGB LED Controller. https://www.youtube.com/watch?v=sD-7FQPvniw

[Learn More]

DHT11 Sensor Demo with AVR's Interrupt and Timer

0

This is a demo of DHT11 relative humidity-temperature sensor using interrupt and timer of a ATMega8515L. Interrupt + timer based method don't block program sequence unlike polling methods and so the CPU can do other tasks. Falling edge interrupt is used to detect the output from the sensor and a timer detects pulse widths.

[Learn More]

HC-05 Master-Slave Bluetooth Communication

5

HC-05 master-slave bluetooth communication between two AVRs. 1. Set BT parameters 2. Search nearby devices 3. Select device 4. Pair with a BT device 5. Establish link 6. Transfer data between two paired devices.

[Learn More]