MicroPython | 5 min | 317
I was surfing the services that Google offers, I found the Geolocation API. As Google describes the API: it returns a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect. As I was writing the last post using MicroPython, I thought the WiPy 2.0/3.0 could be a nice "mobile client".
To use the API you need to get an API key from Google. As a standard user of the API, you get:
- 2,500 free requests per day, and
- 50 requests per second, per user.
I thought I could play with it to test the accuracy of the geolocation.
MicroPython | 7 min | 2583
I don’t have any Belkin WeMo system or Philips Hue light bulbs. However, I have two ESP32 running MicroPython (see my last article), and a W2812b LED strip, and I thought I should be able to say, "Echo/Alexa, turn on the kitchen light" or "Echo/Alexa, turn on the blue light" and It should work with this setup.
And... it works as you can see in this video!
If you are interesting in only using the code, then click here. Otherwise, you can read the complete story... ;)
If you’re not up to speed with MicroPython, Wipy see earlier articles in...
MicroPython | 5 min | 4605
Another quick tutorial, this time for MicroPython on ESP32/ESP8266. You can find all the information that I'm writing in this post in different articles on the Internet but I've not found anything that summarizes all the topics. That is why I am writting this post. I included some links at the end of each topic to extend the info. Feel free to visit them if you want more info, or write a comment I will try to respond it.
MicroPython & Board
Quoting the official micropython page results in the following
Hacking | 3 min | 519
I was surfing the web for new hacking software and hardware tools and I found the Hacker Arsenal website. This website offers "ARTILLERY FOR CYBER WARRIORS" as they said; it is basically hardware and firmware for pentester. In summary, they have actually three products especially for Wi-Fi Sniffing.
I found the
Winx-Portable(update 17.10.2017: they are not offering this product anymore, they are offering the WiNX) on the website and I thought I have something like that. I look for the boards that I've recently bought, and I find the WeMos WiFi ESP32 D...
Android Things | 1 min | 19
android thingsraspberry pi
This article is outdated! I wrote the following new articles:
- #ProjectDIVA: Android Things 0.8.1 getting started!
- #ProjectDIVA: Android Things v1.0!
Android Things | 5 min | 474
android thingsraspberry pitutorial
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 | 123
android thingsraspberry pi
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 | 103
android thingscc2650sensortagtexas 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 | 268
androidandroid thingssensortagtexas 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 | 26
android thingsnrf24l01+raspberry pi
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 | 91
android thingsboard designc++humiditynrf24l01+texas instruments
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.
**Code:** https://goo.gl/CPGcYK **Eagle:** https://goo...
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 | 448
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...