Skip to content

min-hs/W5100S_MQTT

Repository files navigation

Index

Hardware Environment

  • W5100S with Nucleo f103rb
    • connecting Micro USB to Nucleo f103rb
    • connecting Ethernet Cable to W5100S_ETH_SHIELD

W5100S_PIN

W5100S_PINOUT

software Environment

  • 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

    IDE_Luncher

    • Open main.c file and build
    • Debug start
    • If you have ST-LINK, Run Debug

IDE_excute

IDE_Debug

Run

  • Demo Environment & Program

    • Window 10
    • Hercules
  • Demo Result

    • First, mosquitto.conf modify

    +Add

    bind_address 192.168.xxx.xxx

    allow_anonymous true

    mqtt_conf

    • mosquitto excute -Port 1883

    mosquitto -c mosquitto.conf -p 1883 -v

    mqtt_broker

    • W5100S MQTT_sub run

    mqtt_sub

    mqtt_sub_connect

    • MQTT_pub send message

    mosquitto_pub -h 192.168.xxx.xxx -t W5x00 -m "hello W5100S"

    mqtt_pub_sendmsg

Test packet capture file

Capture Test w5100S_MQTT_cap.zip

Code review

  • main.c code flow

Loopback_codeflow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published