budulinek / arduino-modbus-rtu-tcp-gateway

Arduino-based Modbus RTU to Modbus TCP/UDP gateway with web interface. Allows you to connect Modbus RTU slaves (such as sensors, energy meters, HVAC devices) to Modbus TCP/UDP masters (such as home automation systems). You can adjust settings through web interface.
GNU General Public License v3.0
172 stars 51 forks source link

adapt project for stm32 #2

Closed jmcastillejo closed 3 years ago

jmcastillejo commented 3 years ago

I would like to know if it is possible to adapt this project for the stm32f103 "bluepill" or similar

budulinek commented 3 years ago

I do not have bluepill at the moment, so I can not test it.

It should be possible, but you will need to do some changes to the code. See https://github.com/budulinek/arduino-modbus-rtu-tcp-gateway#portability

Also, check the bluepill pinout for serial connections (for RS485) and SPI connections (for ethernet shield).