Close

Getting Started with Amarino

A project log for NeoPixel SmartWatch

A first attempt at a wearable that interacts with Android notifications and has a few other neat features.

dominicDominic 04/03/2015 at 19:030 Comments

The next step was to figure out how the data would be sent from my phone to the watch. Nothing available on the play store provided the functionality I needed, and it looked like I was going to have to write an app from scratch for my particular needs. Luckily, Amarino, (http://www.amarino-toolkit.net/index.php) an app created 4 years ago and probably not updated since, looked very promising. Through the use of plugins and the arduino library, it provides access to phone events. There are a couple plugins included that can send accelerometer data, incoming call status, etc. Developing plugins is also pretty easy, although a few modifications were necessary to migrate the 4 yr old plugin skeleton project to Android Studio. The Arduino library also took a little modifying so it worked with the Flora. Since you can have multiple plugins sending data at the same time, each receives a char flag. On the arduino side, the receiver function is running in the main loop, and data sent with a specific flag will trigger a corresponding function, and that function then processes the data array.


Discussions