Close

Firmware Update

A project log for Wireless Smarthome Buttons

Wifi buttons with RGB LED feedback and notification

Justin MaynardJustin Maynard 08/18/2014 at 22:054 Comments

In the last couple of weeks getting ready to shoot my demo video and running multiple button pads for the first time as well as some significant firmware updates from the SparkCore team i’ve cleaned up the firmware code a lot. It’s almost a re-write actually.

The downside is that prior to the SparkCore “deep update” the micro would restart every 24 hours or so and then come good again now it just crashes, i’m obviously looking into fixing this.

My firmware includes some other open libraries.

The MQTT PubSubClient is based on Nicholas O'Leary's Arduino library and adapted to SparkCore by Chris Howard.

The library controlling the WS2812 LED's is based on the Adafruit NeoPixel Library by Phil Burgess adapted to SparkCore by Technobly aka BDub, PJRC and others.

The ClickButton library is from the list of SparkCore shared libraries, the original Arduino Library is by radon and i’m not sure who ported it to the SparkCore.

Discussions

Justin Maynard wrote 08/19/2014 at 02:56 point
I think the problems in the MQTT library as that is what is talking over the network and most of the comments on the forums seem to indicate issues with the networking code since the update.

  Are you sure? yes | no

Paul_Beaudet wrote 08/19/2014 at 03:34 point
interesting, still feel little ambition for updating the firmware on mine... haha.

  Are you sure? yes | no

Paul_Beaudet wrote 08/19/2014 at 03:46 point
Actually just looked into the update a bit further, I already have the semi-automatic mode working with the old firmware. Seems like the spark team are picking right things to go after though, it was kinda confusing to figure out before.

  Are you sure? yes | no

Paul_Beaudet wrote 08/19/2014 at 02:17 point
Did the firmware update break any of your code for the project or libraries?

  Are you sure? yes | no