esp32google cloud platformmicropythonpythonsmart power outletszerynth
This part 2 of the tutorial will allow you to get data from the smart power outlets and send it to the Google Cloud Platform (GCP) throught the Google IoT Core and using an ESP32 programmed with Zerynth (Python). This data is not usually available to the user (directly, you need to use the power outlet application), and it is sent to the company servers.
If you want to check, if your power outlets are compatible for this tutorial, they should have the port
6668opened. To check that:
>>> nmap <<ip-address>> -p 6668 [...] Host is up (0.13s latency). PORT STATE SERVICE 6668/tcp open irc
esp32home automationmicropythonsmart power outletstutorial
Today there is a wide range of offer for home automation devices. A lot of sensors, actors etc. can be connected to the cloud and be controlled using Google Home, Amazon Alexa, your smartphone, etc. There are a lot of companies offering low cost devices, e.g. Sonoff, Tuya, Teckin etc. Most of these solutions are based on ESP32 or ESP8266, and all of them send data to cloud solutions usually deployed on Amazon services, and the data is only accessible using the Android/iOS applications. They can be also controlled using voice commands over Google Home or Amazon Alexa devices.
Nice, but... my a...
MicroPython | 3 min | 6415
LoRa (Long Range) is a patented digital wireless data communication technology. It was developed by Cycleo of Grenoble in France and then acquired by Semtech in 2012. Semtech defines the Lora Technology "as the DNA of IoT, which connects sensors to the Cloud and enables real-time communication of data and analytics that can be utilized to enhance efficiency and productivity".
To sum up, LoRa is a wireless data communication technology that enables very-long-range transmissions (more than 10 km in rural areas) with low power consumption. It uses license-free sub-gigahertz radio frequency bands ...
batteryraspadraspberry pitable for raspberry pitouch screen
This is my first review on a product that I bought. I hope you enjoy it! Advices and tips are welcome. Please leave me them in the comment section.
Update: I changed the title of the article from "#Reviews: RasPad - an open source tablet for Raspberry Pi" to "#Reviews: RasPad - a tablet for open-source platforms like Raspberry Pi". The table is a close-source solution for open-source platforms like Raspberry Pi, Beaglebone, etc. (thanks Zykino for your advice!)
At the beginning of March I supported the Kickstarter campaign called RasPad. I pledged for the
Super Early Bird - RasPad...
MicroPython | 7 min | 2697
bmp180data accessgoogle cloud platformhome automationmicropythonpythonzerynth
There are lot of tutorials about connecting the ESP32 to a cloud service, but I planned to connect these boards using MicroPython directly to the cloud. That means, I didn't want to use a hardware or software bridge. I wanted to use the Google IoT Core, but MicroPython doesn't support JSON Web Token (JWT), which is needed for the device authentication. I tried to write the library myself, but it didn't work, because of the needed dependencies and the small memory available on the ESP modules. But, I found Zerynth. Zerynth supports JWT and using it, it is possible to connect the ESP32 directly ...
Real Time Systems | 6 min | 6290
kernel patchingraspberry pireal time systemxenomai
The website of Xenomai says the following about it Xenomai:
Xenomai brings POSIX and traditional RTOS APIs for porting time-critical applications to Linux-based platforms. When the native Linux kernel cannot meet the response time requirements of the application, Xenomai supplements it with Cobalt, a small real-time infrastructure which schedules time-critical activities independently from the main kernel logic.
Checking the list of supported hardware, the Raspberry Pi 2, 3 B(+) ARM micro (BCM2835) is included.
This tutorial is almost the same as the tutorial for Preempt-RT patching, but in ...
Real Time Systems | 8 min | 11640
kernel patchingpreempt-rtraspberry pireal time system
The Preempt-RT tutorial article is the most visited post on my blog. Therefore, I decided to update the tutorial to make it cleaner, and to introduce some other possible modifications and tips for solving problems.
Preempt-RT is a popular patch for the Linux kernel to transform Linux into such a real-time operating system. There is another option to get this done, and that's Xenomai (tutorial and performance tests here).
Tiejun Chen, the main responsible for the official Raspberry-Pi-RT branch, has published a video about Preempt-RT here. It includes tips, results and tests.
Getting the Sour...
Android Things | 2 min | 655
android thingsarduino mini pronrf24l01raspberry pisensor mesh
This article extends the node tree of ProjectDiva to include an Arduino Pro Mini.
This article explains how to connect a Arduino Pro Mini to the nRF24Things application (Android Things). The code allows sending and receiving messages between the nodes. It uses the well-known nRF24 libraries to create a sensor mesh, where the node 0 (in this case a Raspberry Pi running the Android Things application) actuates as a "DHCP" server and assigns the node addresses in the mesh.
Hardware & Software
Arduino Mini Pro (3.3V) x 1 NRF24L01+ x1 FTDI-1232 x1 Jumpe...
General | 1 min | 310
deceptionfraudgoogle aiy vision kitraspberry pitarget manhattan
Unboxing Google AIY Vision Kit picked up at Target Manhattan Herald Square -New York!- (Target.com) . Also for the fans of Google AIY Voice Kit keep watching! If anyone made the same experience, please advise!
@Target: It will be great to hear from you!
@Google: Congratulations on your choice of business partner!
If you are going to buy something in this shop, please double check the package and the contain before you leave the shop!
Update 9.07.2018: I managed to get the money back after a 45-minute chat session.
MicroPython | 2 min | 1019
9gcamera stabilization.imumicro serversmicropythonmpu6050wipy
To continue the series of posts "connecting sensors to MicroPython", this article is about the MPU6050 (you can use also the MPU9255, I am still waiting for the Chinese sensor package) and the WiPy 3.0. Combining the IMU sensor with the WiPy and two micro servos 9g, it is possible to stabilize a camera (tilt/rotate).
To calculate the compensation needed for the stabilisation, I added the
ulinalglibraries to the project to make matrix multiplication and quaternion to Euler conversion. The
ahrslibrary from Madgwick fusions the data of the accelerometer, gyroscope (and m...
General | 1 min | 463
I got you! Please stop trying to hack my website! It's just a small blog! You are ruining my stats! ;)
Sorry to the other users!, but the last two weeks, someone was using the cloud system ofOnline SAS to try to hack my website. Yes, you heard that right! Someone is trying to hack this small blog! and I can tell you: That's illegal! ;) In the terms and conditions of Online SAS that is NOT allowed! ;P
Are Paris IP-addresses going to be the next Nigeria IP-addresses? abuseipdb.com has a lot of Paris IP-addresses declared as risky!
Leave a comment, if you have more info, and if you are the guy tr...
Android Things | 1 min | 672
androidandroid studiobluetoothcc2650sensor tagsensortagtexas instruments
Thanks Sal for your comments on the article TI: Sensortag CC2650 . This is for you and those who are playing with TI SensorTag!
I've updated the repository of the Texas Instrument (TI) SensorTag CC2650. The repository can be found here . As you may know TI doesn't update the repository anymore. The original last open source repository of the application can be found here .
I've wrote an article last year as I migrated and updated the repository:
Today, I've updated the repository to support Android 8.1 (>6.0). The main modification was that Android >6.0 needs locatio...
MicroPython | 4 min | 4823
One of the most visited articles on my blog is the Getting started with MicroPython! tutorial. If you still don't know what is MicroPython and you want to start programming microcontroller boards (ESP32, ESP8266 etc.) using a small version of Python 3, you should look at that article . Don't expect to use machine learning or/and other big libraries (the available RAM and microcontroller performance is far away for that aim), but you can do some projects like these:
Android Things | 1 min | 413
android thingsapplicationcc2650sensor meshsensor tagsensorsupdate
Google has released Android Things 1.0 this week to developers with long-term support for production devices.
I've updated today the two applications to run on this Android Things version:
Take a look at the full release notes for Android Things 1.0, and head over to the Android Things Console to begin validating your devices for production with the 1.0 system image. If you are looking for a Getting Started on Android Things, head over to these posts:
Analytics | 9 min | 4390
analyticsbeagleboardbeaglebonedockerembedded systemsportainerraspberry pitutorial
Docker is a technology that emerged for about 5 years and since then it has simplified the packaging, distribution, installation and execution of (complex) applications. Usually applications consist of many components that need to be installed and configured. Installing all needed dependencies and configuring them correctly is usually time consuming and frustrating for users, developers and administrators. Here is where Docker comes to simplify this process allowing developers and users to package these applications into containers.
A container image is lightweight, stand-alone, executable pa...