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 (142135 times)
  2. FAT32 Library (75452 times)
  3. Network Ethernet Library (59573 times)
  4. USB Device Library (49574 times)
  5. Network WiFi Library (45370 times)
  6. FT800 Library (45028 times)
  7. GSM click (31487 times)
  8. mikroSDK (30591 times)
  9. microSD click (27906 times)
  10. PID Library (27641 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: 1741 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

SSD1306 Monochrome 0.96 Inch (128 x 64) OLED Display Demo With STM32F051C8

0

SSD1306 Monochrome 0.96 Inch (128 x 64) OLED Display Demo With STM32F051C8. https://www.youtube.com/watch?v=AFRtelEJwuU

[Learn More]

Arduino Colour GLCD Resistor Calculator

0

A graphical resistor calculator tool based on Arduino and a colour GLCD shield from Elecfreaks. By changing the bands of the on-screen resistor using the on board joystick keypad its user can determine a resistor's resistance value and its tolerance.

[Learn More]

Driving Flexible Neopixel (WS2811) Strip with PICAXE08M2+ (PIC12F1840)

0

PICAXE is basically PIC micro with different branding. Here I used a PICAXE micro to drive a flexible Neopixel strip using hardware SPI. SPI is used along with the PIC's 32MHz internal oscillator as Neoppixels employ time-slotting trick to transfer data at a very fast rate with small timings. The code is written with CCS PIC C compiler.

[Learn More]