Search code examples
raspberry-piandroid-thingsgrovepi+

GrovePI and Android Things compatibility


I want to develop an app with Android Things on a RapsberryPI 3

https://developer.android.com/things/hardware/raspberrypi.html

My app will need a GPS and accelerometer. I saw that the Grove sensors are a good solution for this purpose and I think I will buy those:

http://wiki.seeed.cc/Grove-GPS/

http://wiki.seeed.cc/Grove-3-Axis_Digital_Accelerometer-16g/

And in between I will have a GrovePI+ to connect the sensors to the RapsberyPI. But I don't understand if it will work seamless with Android Things? According to the documentation I found, I need to install drivers to be able to talk with the sensors:

https://github.com/amitshekhariitbhu/awesome-android-things

But will it be enough? Or do I need something more to communicate with the GrovePI?


Solution

  • For GPS (seems it has UART interface) example please see this driver sample and other UART samples like this. For Grove - 3 Axis Digital Accelerometer (seems it has I2C interface) please see Official Documentation and projects like this or that.