I’ve got a whole heap of legacy Ardino’s lying around, and I want to find a way to easily make them “cloud ready”. What I’m hoping to do is connect to them, and the Spark Core via the I2C channels, then use the Spark to do all the smart stuff.
Getting a bit more specific about my project, I’ve got a Arduino Mega, which has three sensors connected to it via it’s serial interface (a PH sensor, and an Electric Conductivity Sensor, and a Oxygen reduction Sensor - it’s a hydroponics system). As the Spark core only has one of it’s serial ports enabled right now (and it’s second one may be a no go… https://github.com/spark/core-firmware/issues/89), it seems using the Ardino Mega would be a easy, and cost effective solution to give me three Serial Ports…).
In the ideal world I’d be able to say “on the Mega, read the buffer at pin 14” or “on the Mega, write “HIGH” to pin 7” etc.
Any advice / tips on exactly how I would go about this (or if there is a better way)… would be much appreciated.