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. MQTT Sketch will not move to my Arduino Uno

MQTT Sketch will not move to my Arduino Uno

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 2 Posters 1.8k 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.
  • bpairB Offline
    bpairB Offline
    bpair
    wrote on last edited by bpair
    #1

    I am using the codebender chrome app, but i have also tried in the arduino 1.6.4 IDE and get the same result. I can connect to my Arduino. I can move sketches to my arduino (I have tried on both an official unoR3 and a knockoff with same result). However when I use the latest MQTTGateway sketch on codebender or from MySensors I get an error saying cannot connect to my arduino. Since I can connect for other sketches I feel like this error is hiding the real issue. Has anybody else had this problem?

    Sketch says this at the top which I assume is a version #

    
    Created by Daniel Wiegert <daniel.wiegert@gmail.com>
    Based on MySensors Ethernet Gateway by Henrik Ekblad <henrik.ekblad@gmail.com>
    http://www.mysensors.org"
    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      What ethernet module are you using?

      1 Reply Last reply
      0
      • bpairB Offline
        bpairB Offline
        bpair
        wrote on last edited by
        #3

        Arduino Ethernet W5100 network expansion module - I bought from china: http://www.aliexpress.com/item/For-Arduino-W5100-Ethernet-module-network-expansion-board-SD-card-expansion-mega-2560-1280-328-UNR/32215690927.html

        You think that might be causing an issue? Must that even be connected to load a sketch? I will remove it and try again later today.

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

          Search for SOFTSPI here on the forum. It doesn't play along nicely with other SPI devices.

          1 Reply Last reply
          0
          • bpairB Offline
            bpairB Offline
            bpair
            wrote on last edited by
            #5

            OK Thanks. I was just playing around with this last night and had not wired up the radio yet. So I actually did not enable SOFTSPI in the library. Maybe that is the issue? I will slow down and follow all the steps. Still seems like a strange error. Thanks for your help.

            1 Reply Last reply
            0
            • bpairB Offline
              bpairB Offline
              bpair
              wrote on last edited by
              #6

              Enabling SOFTSPI corrected the issue.

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


              10

              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