This article is outdated! I wrote the following new articles:
- #ProjectDIVA: Android Things 0.8.1 getting started!
- #ProjectDIVA: Android Things v1.0!
As the title says, this is a getting started with Android Things. It should be my first post, but, it's better now than never. I'm posting this to summarize the steps to install Android Things on your Raspberry Pi.
Some parts of this article maybe outdated! I wrote the following new article:
ProjectDIVA: Android Things 0.8.1 getting started!
Google announced Android Things on December of 2016. It's a modified version of the Android that we all know, but for Internet of Things (IoT) devices. The architecture of the SDK is described in the following figure:
Fig.: Android Things SDK ...
Yesterday I received an email from an address that should look like my boss email address. It was something like this: "Boss.Name@our-institute.uni-hannover.de email@example.com" with the subject:
Rech QK - 163-DA7666 Riva, Mauroand a text saying:
Guten Tag, Riva, Mauro Als Anhang erhalten Sie Ihre Rechnung. (something like "You receive your invoice as an attachment.") Rech: http://blackbox-es.com/Rechnung-26375407950/ (don't click this link --> read all the post!!!) Herzliche GrÃ¼ÃŸe (GrÃ¼ÃŸe: Grüße) firstname.lastname@example.org
As you see, there is a link to t...
Android Things DP5.1 is out! and the bugs were fixed!!! You can check the release notes here!.
You don't need to change the
config.txtfor the display settings and the debugger issues were solved and it is working again (tested! - it stops at the breakpoints)!
You can download the zipped image using the Android Things Console! Check this post for more information!
There are some problems with my two Android Things repositories and the applications are not working as expected :( but I will be updating the GitHub repositories this weekend!
Stay tuned! and have a nice friday!
Android Things | 2 min | 1090
android thingsprojectDIVAraspberry pisensor mesh
Android Things DP5 is out and of course, new features are available.
The most important features are:
- Runtime Pin Configuration
- OpenGL 2.0 Support (that means hardware acceleration on the RPI!)
This time you need to use the Android Things Console to download the image as follows:
- Go to: Android Things Console and sign in using your Google credentials
- Click on: Create a new Product
- Go to: Factory Image
- Select: Empty Bundle (if you don't have any app) and the Android Things v. OIR1.170720.015
- Click on: Create Build Configuration
- Make a coffee or just wait a coupl...
Android Things | 1 min | 1531
android thingsapplicationscc2650raspberry pisensor meshsensor tagtexas instruments
Two posts in one day! Now the SensorTag CC2650 is running on Android Things. The Raspberry Pi 3 can be used as a sensor hub, and the SensorTag can be connected to it using BLE. I modified the original app and now it is working on Android Things! Minimal changes were required, especially on the files related with the user interface. Moreover,
WebViewis still not supported on Android Things.
The code can be found here:
SensorTag CC2650 x 1
Android Studio > 2.2.3 Android Things >= (0.)4.1
As I said before, I ...
Android Things | 1 min | 2168
androidandroid studiobluetoothcc2650sensor tagtexas instruments
I've created a new repository for the Texas Instrument SensorTag CC2650. I updated the open source TI repository, which can be found here.
Due to licensing restrictions (I do not know which ones) Texas Instruments was no longer able to keep the open source code in sync with the SensorTag application in Google Play. That means, the new version in Google Play has more features than this one. But this is open source, and can be modified and extended! I am planning to collect the sensor data and publish on a Google Cloud IoT PubSub topic.
The new code can be found here:
Android Things | 1 min | 629
android thingsdhcpnrf24l01raspberry pisensor mesh
I've recently updated the
nRF24Thingsproject. I introduced some changes to the database main table (
sensors) and to the handler class
DatabaseHandler. Additionally, I added a second table for the payloads (
payload). The two tables are related using the foreign key
nodeID. I added some search options for the payloads: search by payloadID, nodeID etc.
The main idea of this project is to measure the humidity, temperature, air quality etc. of a room with multiple sensors (may be using the PiCoBo's) inside and outside of it, and the doors and window...
Android Things | 3 min | 1346
android thingsdehumidifierdh11nrf24l01pcb designpicoboraspberry pismart sensor
I had some humidity problems in the basement and I thought I can buy a dehumidifier. I bought this one on banggood Dehumidifier 500ml. I knew they are not good enough, but I wanted to try.
This type of dehumidifier uses a peltier element to cool an alumium disipator (peltier cool side), which condenses the humidity. The condensed humidity drips into a water tank until it is full. Then, a switch is triggered and the system stops. The peltier hot side has a bigger disipator and together with a fan disipate the generated heat.
Code: https://goo.gl/CPGcYK Eagle: https://goo.gl/...
Android Things | 1 min | 615
android thingsdhcpnrf24l01raspberry pisensor meshui
I've recently updated the code for the communication between the raspberry pi v3 and the rf24l01+ module using android things (0.)4.1.
You need the following things:
nRF24Things: https://goo.gl/SNnhxq Android Things (0.) 4.1
You can find more info about the project on https://goo.gl/XsRJtI .
MicroPython | 1 min | 2935
As soon as I saw the WS2812B led strip, I thought: doing a vu-meter with these LEDs would be a nice thing!.
I was looking for economical MEMS microphones with board (I didn't want to solder a board). I found two options: SPH0645LM4H and SPW2430.
The SPH0645LM4H uses an I2S interface and the SPW2430 has an analog output. The second board (SPW2430) has two outputs: AC pin which has a capacitor in series to eliminate the DC output of the IC, and the output of the IC (DC pin).
I bought the MEMS mics from exp-tech, here some links (from adapfruit too):
WiPy 2.0 x...
MicroPython | 1 min | 3873
I had two busy months, I've been writting my PhD-Thesis, and another publication and yeap... sorry! I forgot to update the blog!
Three weeks ago, I received a Ublox NEO-M8N GPS and I tested it with the code that I had. I said it should work, but as you know it always needs some modifications! The NEO-M8N supports GLONASS and GPS, so the $GP changes to $GN, e.g. $GPGGA (GPS) > $GNGGA (GPS+GLONASS).
The following changes were added:
# lines 604-606: if self.gps_segments[2:] in self.supported_sentences: # parse the Sentence Based on the message...
MicroPython | 2 min | 4600
Hi again!... First of all:
I've just uploaded some code for the Wipy 2.0. I wanted to write some python code. That was why I took the Wipy 2.0 and programmed something like a weather report box. In this project the Wipy 2.0 reads the GPS coordinates via UART, then makes a web get request using the API of openweathermap, and after that the results are displayed on a LCD.
If you like this, please leave a comment, share and/or like! It would be very much appreciated!
Things used in this project
Wipy 2.0 x 1 Ublox NEO-6...
Android Things | 6 min | 2231
android studioandroid thingsdhcpnrf24l01raspberry pisensor meshui
I've just uploaded the Java codes for the
rf24Meshthat work with Android Things. This time I didn't write a library because I thought it was better to upload an Android project that can be opened with Android Studio (>2.2.3) and directly started on the Raspberry Pi. I think this can also work with NXP Pico i.MX6UL and Intel® Edison with minor modifications (especially in the
In this post you will find some explanations about Android Things (installing, connecting, debugging, speed, etc.), the wiring of the complete 'thing' , the Java code, the mod...
I've just updated the website style! I was using theme-brick (Pagekit) without any modification, but I added some today!
I hope you find it cool! Leave a comment and tell me what you think about it! Stay tuned, I am loading some new codes!