rf24Things: Android Things Project
This project enables to use the rf24l01+ modules with Android Things. In this project the classes RF24, RF24Network and RF24Mesh (developed by TMRH20 and maniacbug) were re-implemented in Java.
Please refer to https://goo.gl/XsRJtI for more information.
Android Things Dashboard shutdown will begin on January 5, 2021. After January 5, 2022, Android Things Dashboard will be shut down completely and all remaining data will be deleted.
More information available here: FAQ Android Things
Pre-requisites
- Raspberry Pi v3 ( ebay , amazon.de)
- rf24l01+
- Android Studio (>3.1.2)
- Android Things >=1.0(*)(**)
(*) avoid using Android Things 0.5.0-devpreview, it has various stability issues . (**) you need to use the Android Console to install Android Things on your Raspberry Pi, please refer to this post.
Build and install
On Android Studio, click on the "Run" button.
If you prefer to run on the command line, type
./gradlew installDebug
adb shell am start com.lemariva.androidthings.rf24/.MainActivity
WLAN Configuration
adb connect <<ip-address>>
adb shell am startservice -n com.google.wifisetup/.WifiSetupService -a WifiSetupService.Connect -e ssid <<WiFiSSID>> -e passphrase <<Secr3tPassw0rd>>
Credits
Based on:
Libraries from TMRh20 and maniacbug:
More Info & Help
- Blog article: https://goo.gl/XsRJtI
- Almost all classes, methods and properties have a help description.
- The github documentation written by TMRH20:
- Android Things documentation:
Changelog
- Revision: 0.8v
Licenses
Licenses include, but are not limited to the following (check respective files):
- GNU
- Apache 2.0
- etc...