MQTT Sketch will not move to my Arduino Uno
-
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"
-
What ethernet module are you using?
-
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.
-
Search for SOFTSPI here on the forum. It doesn't play along nicely with other SPI devices.
-
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.
-
Enabling SOFTSPI corrected the issue.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Ghost Child
Troubleshooting • 15 Mar 2025, 07:44 • FcNanoLed 18 Mar 2025, 18:36 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 22 days ago -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 9 days ago • Commodoreuno 4 days ago