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. Wiring Help

Wiring Help

Scheduled Pinned Locked Moved Troubleshooting
mqtt broker gatgateway
4 Posts 2 Posters 2.1k 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.
  • ChaoticC Offline
    ChaoticC Offline
    Chaotic
    wrote on last edited by Chaotic
    #1

    I recently got my ethernet shield and was going to wire it up but I'm unsure on the correct way?

    Reading this page http://www.mysensors.org/build/ethernet_gateway seems to indicate to wire it like this
    WizNET (W5100) Ethernet module
    Arduino NRF24L01 Radio
    GND GND
    3.3V VCC
    A2 MISO
    A1 MOSI
    A0 SCK
    6 CSN
    5 CE

    But the code seems to reference pins 5-9 both for the ethernet and MQTT gateway sketchs.

    It also says I need to uncomment a softSPI Define but I'm not seeing that line?

    I'm attempting to connect the radio to an Uno with an ethernet shield.

    I really don't want to end up frying the radio so want to make sure I'm connecting it correctly.

    Edit: I attempted to wire it up how it was described in the table and I'm getting

    0;0;3;0;9;check wires
    

    But from reading other posts it sounds like that could be cause the arduino isn't able to source enough power from the 3.3V pin which is attempting to power both the radio and the ethernet.

    ChaoticC 1 Reply Last reply
    0
    • ChaoticC Chaotic

      I recently got my ethernet shield and was going to wire it up but I'm unsure on the correct way?

      Reading this page http://www.mysensors.org/build/ethernet_gateway seems to indicate to wire it like this
      WizNET (W5100) Ethernet module
      Arduino NRF24L01 Radio
      GND GND
      3.3V VCC
      A2 MISO
      A1 MOSI
      A0 SCK
      6 CSN
      5 CE

      But the code seems to reference pins 5-9 both for the ethernet and MQTT gateway sketchs.

      It also says I need to uncomment a softSPI Define but I'm not seeing that line?

      I'm attempting to connect the radio to an Uno with an ethernet shield.

      I really don't want to end up frying the radio so want to make sure I'm connecting it correctly.

      Edit: I attempted to wire it up how it was described in the table and I'm getting

      0;0;3;0;9;check wires
      

      But from reading other posts it sounds like that could be cause the arduino isn't able to source enough power from the 3.3V pin which is attempting to power both the radio and the ethernet.

      ChaoticC Offline
      ChaoticC Offline
      Chaotic
      wrote on last edited by Chaotic
      #2

      It looks like the code on CodeBender is different from the code on Github. I had been using the CodeBender code (I assumed it was up to date) but going to get the github code now and try that.

      That appeared to work. I am now getting

      Started!
      

      in the Serial Monitor.

      1 Reply Last reply
      0
      • ChaoticC Offline
        ChaoticC Offline
        Chaotic
        wrote on last edited by
        #3

        I got this working after switching to the code on github and using the Define there.

        So if anyone else gets stuck when trying to use the codebender versions of the library they aren't the most up to date.

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          You're right. Updated codebender library just now to the most recent on github/master

          Not sure if codebender autodetects this if you already cloned it to your local account.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          18

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          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