• 04
      Oct - 2017

      Android Things
      5 min | 737

      #Tutorial: Getting started with Android Things

      Android Things | 5 min | 737


      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.

      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:

      Android Things Architecture
      Fig.: Android Things SDK ...
    • 25
      Aug - 2017

      Security
      2 min | 259

      #Security: Phishing with Macros! (updated)

      Security | 2 min | 259


      Hi!

      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 nancy@hillstar.brcoxmail.com" with the subject: Rech QK - 163-DA7666 Riva, Mauro and 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)
      
      boss.name@our-institute.uni-hannover.de
      

      As you see, there is a link to t...

    • 25
      Aug - 2017

      Android Things
      1 min | 112

      #ProjectDIVA: Android Things DP5.1

      Android Things | 1 min | 112


      Hi!

      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.txt for 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!

    • 12
      Aug - 2017

      Android Things
      2 min | 235

      #ProjectDIVA: Android Things DP5 (updated 24.08.2017)

      Android Things | 2 min | 235


      android things
      projectDIVA
      raspberry pi
      sensor mesh

      Hi!

      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!)
      • ViewWeb is available!

      This time you need to use the Android Things Console to download the image as follows:

      1. Go to: Android Things Console and sign in using your Google credentials
      2. Click on: Create a new Product
      3. 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
      4. Make a coffee or just wait a coupl...
    • 29
      Jul - 2017

      Android Things
      1 min | 270

      #ProjectDIVA: SensorTag Hub using a Raspberry Pi

      Android Things | 1 min | 270


      android things
      applications
      cc2650
      raspberry pi
      sensor mesh
      sensor tag
      texas instruments

      Hi again!

      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, WebView is still not supported on Android Things.

      The code can be found here:

      Java  **Code:** https://goo.gl/CkKzNL

      Hardware

      SensorTag SensorTag CC2650 x 1

      Software

      Android Studio Android Studio > 2.2.3
      Android Things Android Things >= (0.)4.1

      As I said before, I ...

    • 29
      Jul - 2017

      Android Things
      1 min | 454

      #TI: SensorTag CC2650

      Android Things | 1 min | 454


      android
      android studio
      bluetooth
      cc2650
      sensor tag
      texas instruments

      Hi there!

      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:

      Java  **Code:** h...
    • 02
      Jul - 2017

      Android Things
      1 min | 101

      #ProjectDIVA: nRF24Things Rev. 0.3

      Android Things | 1 min | 101


      android things
      dhcp
      nrf24l01
      raspberry pi
      sensor mesh

      I've recently updated the nRF24Things project. 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.


      Android Things
      nRF24Things: https://goo.gl/SNnhxq

      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...

    • 02
      Jul - 2017

      Android Things
      3 min | 237

      #ProjectDIVA: PiCoBo Rev1.1

      Android Things | 3 min | 237


      android things
      dehumidifier
      dh11
      nrf24l01
      pcb design
      picobo
      raspberry pi
      smart sensor

      Hi there!

      I had some humidity problems in the basement and I thought I can buy a dehumidifier. I bought this one on ebay 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.

      C++  **Code:** https://goo.gl/CPGcYK
      Eagle  **Eagle:** https://goo...
    • 26
      Jun - 2017

      Android Things
      1 min | 100

      #ProjectDIVA: Update 1.1

      Android Things | 1 min | 100


      android things
      dhcp
      nrf24l01
      raspberry pi
      sensor mesh
      ui

      Hi everybody!

      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:


      Android Things
      nRF24Things: https://goo.gl/SNnhxq
      Android Things Android Things (0.) 4.1

      You can find more info about the project on https://goo.gl/XsRJtI .

      I'm making a smart dehumidifier, so stay tuned more info is coming this week! (Update: here the link!)

    • 15
      Jun - 2017

      MicroPython
      1 min | 715

      #MicroPython: Vu meter using WS2812B and SPW2430

      MicroPython | 1 min | 715


      esp32
      micropython
      SPW2430
      wipy
      ws2812b

      Hi everyone!

      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).

      Preview

      Hardware

      I bought the MEMS mics from exp-tech, here some links (from adapfruit too):

      WIPY2.0WiPy 2.0 x...
    • 02
      Apr - 2017

      MicroPython
      1 min | 541

      #MicroPython: Weather Report using NEO-M8N

      MicroPython | 1 min | 541


      esp32
      gps
      micropython
      report
      st7735
      weather
      wipy

      Hi!

      I had two busy months, I've been writting my PhD-Thesis, and another publication and yeap... sorry! I forgot to update the blog!

      Python Code: https://goo.gl/v7NCkj

      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[0][2:] in self.supported_sentences:
          # parse the Sentence Based on the message...
    • 29
      Jan - 2017

      MicroPython
      2 min | 906

      #MicroPython: Weather Report Box

      MicroPython | 2 min | 906


      esp32
      gps
      micropython
      st7735
      weather
      weather report
      wipy

      Hi again!... First of all:

      Happy Chinese New Year!!!

      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!

      Python Code: https://goo.gl/v7NCkj

      Things used in this project

      Hardware components

      Wipy 2.0Wipy 2.0 x 1
      NEO-6MUblox NEO-6...
    • 15
      Jan - 2017

      Android Things
      6 min | 738

      #ProjectDIVA: Sensor mesh based on nrf24l01+ connected to Android Things (Update 1.0)

      Android Things | 6 min | 738


      android studio
      android things
      dhcp
      nrf24l01
      raspberry pi
      sensor mesh
      ui

      I've just uploaded the Java codes for the rf24, rf24Network and rf24Mesh that 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 BoardDefaults file).

      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...

    • 08
      Jan - 2017

      General
      1 min | 143

      #Blog: New Style v0.2!

      General | 1 min | 143


      css3
      html5
      new style
      pagekit
      website

      Hi!

      CSSHTML5 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!

    • 08
      Jan - 2017

      PCB/Board designs
      2 min | 336

      #TI: Happy New Year 2017!!!

      PCB/Board designs | 2 min | 336


      android things
      nrf24
      raspberry pi
      sensors

      Out with the old, in with the new: may you be happy the whole year through!!!

      Happy New Year!

      This week has been a very busy one for me. But 2017 starts, and I have some new codes to publish!

      How I start? Ok, I've been working (may be playing) with Android Things using a Raspberry Pi v3, and I've been rewriting some of my libraries!.

      First, I thought, let's try SWIG and wrap the C/C++ codes to use them with Java. But, then I realized, that I needed a wrapper in wrapper, which I think is not possible (I am not an expert with these things, so if I am wrong, please leave a comment, I would appr...