GroveStreams
lkeyes private msg quote post Address this user
Hi...I've been experimenting with sending data from my Arduino Uno + Ethernet shield with the goal of sending real-time heart-rate data for charting in GroveStream. I got the example to run fine, but now seem to be having reports back that the connection couldn't be made after four tries; this after modifying the original example code.

Didn't know if anyone else had been experimenting with Arduino and if so, I'd love hear of your experiences.
Post 1 IP   flag post
MikeMills private msg quote post Address this user
It seems like the biggest culprit for these types of errors is lack of memory on the board. That could be your issue.

The Arduino forum has some threads on how to monitor memory.

A large clue that memory is an issue that we've noticed in the past is that when we try and trace out the URL in our sketch, prior to it being used, only part of the URl is traced out. I imagine the lack of memory is causing memory to be overwritten in places.

Also, avoid doing string appending like this:
a = b + c + d;
Do this instead:
a = b;
a += c;
a += d;

This lowers required peak memory.
Post 2 IP   flag post
ctmorrison private msg quote post Address this user
I did a fair amount of development with the Arduino Uno platform and implemented a production monitoring system using a Ruggeduino which is a bit more tolerant of real world mishaps. The device was fairly reliable at reading, packing up data and sending it off to a cloud service called ThingSpeak on a per minute basis. It ran for over a year with few issues. We then moved to the GroveStreams cloud platform for many reasons, but the micro-controller end of things is fairly similar.

The next move was to the SolderCore micro-controller platform and had significantly greater success due to higher performance, more memory and a simple development environment.

Most recently, I've made the move to the Electric Imp platform and don't see going back. The Imp is a pleasure to work with and my development has progressed at a much quicker pace. We've also found the cloud connectivity to be far superior to either the Arduino or SolderCore platforms. Yes, we're still on the GroveStreams cloud service have have never regretted that move!

I'm not sure this is what you wanted to hear, but thought I'd offer the feedback.
Post 3 IP   flag post
steveb private msg quote post Address this user