# esp32 modbus master and slave example

**URL:** <https://forums.digi.com/t/esp32-modbus-master-and-slave-example/22691>\
**Category:** Digi One IA/IAP\
**Tags:** modbus\
**Created:** [September 24, 2021, 1:18pm UTC](https://forums.digi.com/t/esp32-modbus-master-and-slave-example/22691 "2021-09-24T13:18:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ganesh\_quaadbitz](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@Ganesh\_quaadbitz](https://forums.digi.com/u/Ganesh_quaadbitz)\
**Post date:** [September 24, 2021, 1:18pm UTC](https://forums.digi.com/t/esp32-modbus-master-and-slave-example/22691/1 "2021-09-24T13:18:03Z")

</div>

im trying to implement MODBUS(rtu) master and slave both on esp32 is there any library for the same,im able to do it with esp8266 but same library is not working with esp32 is anyone have example for both master and slave  
regards  
Ganesh Sherkar
