Modbus RTU Slave project based on Microchip PIC 16F87X processor and 24LC128 CMOS Serial EEPROM with I2C interface.
PIC Modbus RTU slave supports write and read (3 and 16) functions.
The data is stored and read from EEPROM via the I2C bus.
You can write/read up to 8000 registers.
In a single frame can be read/write 32 registers .
The program was written in the HI-TECH C compiler.
[ Download MODBUS RTU C Project ]
The same project written in PICBASIC.
[ Download MODBUS RTU PICBASIC Project ]
Circuit for the project :