ikeyasu / switchdevice-milkcarton-1

MIT License
0 stars 0 forks source link

Send accelerometer data to the Core cloud #1

Closed ikeyasu closed 9 years ago

ikeyasu commented 9 years ago

Send a batch of accelerometer data to the Core cloud.

ikeyasu commented 9 years ago

This might be helpful information http://community.spark.io/t/example-logging-and-graphing-data-from-your-spark-core-using-google/2929

ikeyasu commented 9 years ago

Block diagram http://interactive.blockdiag.com/?compression=deflate&src=eJxLyslPzk7JTExXqOZSUFAKLkgsylZwzi9KVVLQtYPzc_JLU5QUICLlmSXJGS6pZZnJqQqJBQUKGvl5Ch6pRfnZpZpK1lyEDYnOSUxKzVGwVVAqKE1SirVG0kGsNUhmBLkGh4AMqQUAFFk8lQ

ikeyasu commented 9 years ago

I should use publish. It can have 63 bytes argument. It means I can send 21 sets of accelerometer data. http://docs.spark.io/firmware/#spark-publish

ikeyasu commented 9 years ago

SSE should be used. On heroku, it is helpful. https://addons.heroku.com/eshq