- W5100S with Nucleo f103rb
- connecting Micro USB to Nucleo f103rb
- connecting Ethernet Cable to W5100S_ETH_SHIELD
-
Device Setting Program : STM32CubeIDE 1.6.1
-
Compile Program : ST-LINK
-
compile method
- Git-hub source file download
- workspace_1.6.1 -> W5100S MQTT in folder, run
.project
file - workspace path select
- Open main.c file and build
- Debug start
- If you have ST-LINK, Run Debug
-
Demo Environment & Program
- Window 10
- Hercules
-
Demo Result
- First,
mosquitto.conf
modify
+Add
bind_address 192.168.xxx.xxx
allow_anonymous true
- mosquitto excute -Port 1883
mosquitto -c mosquitto.conf -p 1883 -v
- W5100S MQTT_sub run
- MQTT_pub send message
mosquitto_pub -h 192.168.xxx.xxx -t W5x00 -m "hello W5100S"
- First,
- main.c code flow