Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. no connection with GatewayW5100MQTTClient

no connection with GatewayW5100MQTTClient

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 864 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • n1ck1355N Offline
    n1ck1355N Offline
    n1ck1355
    wrote on last edited by n1ck1355
    #1

    Hi Folks, glad to be here :)

    I have a problem with the Connection of the WZ5100 Ethernet Module and the
    GatewayW5100MQTTClient example sketch from the devel branch.
    I use the NRF24L01+ Radio Module.
    As I understood it is not necessary to change the myconfig.h or the example sketch to use softspi as it's on by default? Nor
    it is necessary to define a MAC cause it is by default deadbeeffeed?
    I tried it for one run and then used the original myconfig.h without modifications.
    Another Question: the Pins 14,15,16 for the SOFTSPI are the analog pins on the ATMega? caouse on an Arduino Uno there aren't digital pins beyond 13.

    I'm using a seperate ATMega328 with 8Mhz Clock and 3.3VCC and wired it according to
    http://www.mysensors.org/build/ethernet_gateway where i used the pin mapping from here:
    http://www.jameco.com/Jameco/workshop/JamecoBuilds/arduinocircuit_fig12.jpg. Sketch compiles fine on Arduino 1.6.7. But Serial Output gives:

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    0;255;3;0;9;Radio init successful.
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;Attempting MQTT connection...

    next i checked all wires, remove mysensors library and redownloaded and installed it again. Compiled and uploaded -> no change.
    then i deinstalled the library and also the Arduino IDE and installed IDE version 1.6.5 and installed mysensors devel library again.
    compied and uploaded -> no change..

    then i realized that on the WZ5100 board the only leds tx, power and sometimes another (i don't remember which) blinks.
    so i changed the overall VCC to 5V and a voltageregulator to 3.3V before the Radio. now the WZ5100 comes up with almost all leds and i got also a link. but still no connection to MQTT broker nor a overall network connection

    so i'm off...has anyone a clue? it would really nice ;)

    btw: can the WZ5100 module powered from 3.3V?

    1 Reply Last reply
    0
    • n1ck1355N Offline
      n1ck1355N Offline
      n1ck1355
      wrote on last edited by
      #2

      ok i got it.. i don't know why but i reuploaded the sketch und bam...it works :)

      1 Reply Last reply
      1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      8

      Online

      12.0k

      Users

      11.2k

      Topics

      113.4k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular