octoblu / microblu_mqtt

Microblu OS (firmware for Arduino-compatible devices) using MQTT
GNU Lesser General Public License v2.1
50 stars 21 forks source link

Can't get it to work on Arduino Ethernet #2

Closed aknoerig closed 10 years ago

aknoerig commented 10 years ago

I have installed skynetim_mqtt_eth_StandardFirmata as described, and am using octoblu/serial/examples/firmata/SkynetSerial (changed to LED on pin 9) for sending messages to it.

The communication works fine but for some reason the LED will not light up. I have traced it down to digitalWriteCallback and also tried analogWriteCallback, and can see that pin number, value, etc. are interpreted correctly. Also electronically everything is fine.

Could anyone test this to confirm?

aknoerig commented 10 years ago

Also no luck on an Arduino Uno (and Mega) with an Adafruit CC3000 shield. Here, it hangs even before it connects to skynet. All CC3000 library examples work fine.

Since these problems are all very weird, I'm suspecting a memory issue somewhere in the code. Which exact setup did you use to test it? I'm using current board versions, Arduino 1.5.7, Firmata master, Sparkfun CC3000 master, and your PubSubClient fork.

jacobrosenthal commented 10 years ago

Ill be back in town wednesday with access to hardware to look at this

On Tue, Jul 22, 2014 at 9:57 AM, aknoerig notifications@github.com wrote:

Also no luck on an Arduino Uno (and Mega) with an Adafruit CC3000 shield. Here, it hangs even before it connects to skynet. All CC3000 library examples work fine.

Since these problems are all very weird, I'm suspecting a memory issue somewhere in the code. Which exact setup did you use to test it? I'm using current board versions, Arduino 1.5.7, Firmata master, Sparkfun CC3000 master, and your PubSubClient fork.

— Reply to this email directly or view it on GitHub https://github.com/octoblu/microblu_mqtt/issues/2#issuecomment-49767479.

jacobrosenthal commented 10 years ago

I can't confirm this issue. Working on my uno with official ethernet shield.

aknoerig commented 10 years ago

Are you using the same software stack as well?

jacobrosenthal commented 10 years ago

Ive previously tested Arduino 1.5 and 1.0 with no changes to firmata on either.

I just used Uno, current master, my pubsub fork, and Arduino 1.5

Mega is untested

On Thu, Jul 24, 2014 at 1:28 PM, aknoerig notifications@github.com wrote:

Are you using the same software stack as well?

— Reply to this email directly or view it on GitHub https://github.com/octoblu/microblu_mqtt/issues/2#issuecomment-50073379.

aknoerig commented 10 years ago

Thanks, I'll give that another try.

chrismatthieu commented 10 years ago

Please see our updated Ethernet MQTT sketch if you are still having issues.