- 21
Aug - 2019Raspberry Pi
7 min | 31143E-paper or e-ink displays are becoming more common in recent days. You can find them e.g. on readers, clocks and sensors. Thus, I looked for an e-ink display for the Raspberry Pi and I found the Waveshare® 7.5" E-ink Screen.
There are many projects with an e-ink display and the Raspberry Pi, but I first tried with an ESP32 and MicroPython. That solution didn't work (something was not working with the reset voltage - too much signal noise). So, that remains a work in progress and I wi...
20
Aug - 2019MicroPython
4 min | 54981#MicroPython: VSCode IntelliSense, Autocompletion & Linting capabilities
MicroPython | 4 min | 54981
Last December, I wrote an article telling you that I was switching from Atom.io to Visual Studio Code to program MicroPython. Nowadays, I'm still using VSCode and the PyMakr extension. The latter enables the communication to a board running MicroPython using the built-in command line REPL. Thus, I can run a single file on my board, sync my entire project or directly type and execute commands using the Terminal on VSCode. However, I was missing some of the main features of VSCode, namely IntelliSense, autocompletion, and linting capabilities. Last month, BradenM contacted me and told me that he...
13
Aug - 2019Home Automation, Raspberry Pi
3 min | 70565#Zigbee: Flashing a CC2531 dongle using a Raspberry Pi
Home Automation, Raspberry Pi | 3 min | 70565
Last April, I published a tutorial about connecting the Aqara sensors to a Raspberry Pi without using the Xiaomi Gateway. To make that possible, I needed a CC Debugger to flash the TI CC2531 Zigbee Dongle. This debugger was used only one time, and then the Zigbee-USB dongle worked without any problem.
In this article, I will cover a way to flash the CC2531 without the CC Debugger. This reduces project costs (about $10 for debugger + cable adapters) and waitin...
01
Aug - 2019Raspberry Pi
2 min | 10371On July 4th, I ordered a Raspberry Pi 4B. To be honest, I really didn't/don't need a new Raspberry Pi, I don't have any specific task for it, but I saw some cool stuff on the Internet, and I said: Ok, I need one! Thus, I bought the 4GB model on Reichelt. The expected delivery date was on July 10th but, I had to wait a little longer and I got it on July 17th! Everything was ok, and I got the following closed and sealed box (see Fig. 1):
Fig. 1: Box of the Raspberry Pi Model 4B (4GB RAM) But, as soon as I opened the box, my joy faded! :( With a quick visual control, I checked tha...
21
Jul - 2019General, MicroPython
1 min | 4238#Collector: Things that I recently bought - XIAOMI Wowstick & ESP32 8MB PSRAM
General, MicroPython | 1 min | 4238
This is a misc. small article. Two month ago, I bought on Banggood two articles that I wanted to show you, but this time, these are not connected to an application, code or a detailed product review. This is only a misc. article to describe my purchase: The Xiaomi Wowstick Screw Driver and the TTGO ESP32 WROVER with 8MB PSRAM.
Hardware
Xiaomi Wowstick
If you are looking for a very small electric screw driver, then the Xiaomi Wowstick is an option for you. It in...
14
Jul - 2019General, Product Reviews
5 min | 9243Timeular is still on Summer Sale with up to 50% discount! Limited stock left, don’t miss out! First of all, this article is a product review which was/is not supported by Timeular GmbH or similar. I bought the product two weeks ago, because I wanted to test it. I missed out the Kickstarter campaign (2016) and the regular price for the octahedron was too expensive for me.
Fig. 1: Timeular application This summer, the tracker is on sale with up to 50% discount and I bought the basic plan. I got an octahedron -called tracker- which connects to the Timeular application (Mac, Win...
09
Jul - 2019Home Automation, Product Reviews, Raspberry Pi
2 min | 23001#Zigbee: Reading Xiaomi Sensors with a Raspberry Pi (no Xiaomi gateway needed!)
Home Automation, Product Reviews, Raspberry Pi | 2 min | 23001
I've been very busy the last weeks. I moved to a new apartment and I was living between moving boxes. Four days ago, I managed to put my desk together and now I have some time (not a lot) to write a new article.
Last month I've received from GearBest two Aqara sensors:
- Aqara Cube - internal motion sensors (gyro + accelerometers)
- Aqara humidity, temperature and air pressure
These sensors use Zigbee and I connected them to a Raspberry Pi running Raspbian OS and a dockerized version o...
11
May - 2019Analytics
12 min | 200222PEP-8 (sometimes PEP 8 or PEP8) is a coding standard and style guide for readability and long-term maintainability of code in Python. It was written in 2001 by Guido van Rossum, Barry Warsaw, and Nick Coghlan and provides guidelines and best practices on how to program Python code. PEPs stand for Python Enhancement Proposals, and they describe and document the way Python language evolves, providing a reference point (and in some way a standardization) for the pythonic way to write code.
This tutorial presents some of the most important key points of PEP-8. If you want to, you can read the ful...
26
Apr - 2019Analytics, Hacking
1 min | 5035Attention Docker Hub users - Docker Hub has been hacked!
An email containing the following highlight was sent to the users whose account data may have been exposed.
During a brief period of unauthorized access to a Docker Hub database, sensitive data from approximately 190,000 accounts may have been exposed (less than 5% of Hub users). Data includes usernames and hashed passwords for a small percentage of these users, as well as Github and Bitbucket tokens for Docker autobuilds (full email).
If you got this email you should (and if you didn't receive that email, do it too ;)):
Change your...
16
Apr - 2019Raspberry Pi
4 min | 9416Last week, the Coral team released updates to the Coral platform to "address customer feedback and make it easier to use the products and tool-chain". The Python API has now the ability to run multiple models in parallel, using multiple Edge TPUs.
Thus, due to the multiple changes, I updated the Docker image
lemariva/raspbian-edgetpu
which includes the Edge-TPU libraries for Raspberry Pi 3 B+, Jupyter Notebooks and some other interesting libraries (check the Dockerfile). ...13
Apr - 2019Home Automation, Raspberry Pi
5 min | 26843#Raspberry Pi: Xiaomi Sensors & Home Assistant (Hass.io)
Home Automation, Raspberry Pi | 5 min | 26843
Last week, I published an article about using Xiaomi sensors without a Xiaomi Gateway. The gateway/hub can be replaced with a Raspberry Pi and a USB-ZigBee dongle. You find the instructions here: #ZigBee: Xiaomi Sensors using Raspberry Pi (without Gateway!).
As you can read in that article, two repositories are available to connect and process the data from the Xiaomi sensors. Additionally, Zigbee2mqtt can be connected to Hass.io. Well, I didn't want to use HassOS (the OS on which hass.io runs), but I wanted to use Hass.io running on Raspbian, otherwise with Home Assistant running as an appli...
12
Apr - 2019MicroPython, Product Reviews
5 min | 14662#MAiX Dock & MicroPython: Hands-On with low power AI at the edge
MicroPython, Product Reviews | 5 min | 14662
This week, I received from Seeed Studio a MAiX Dock to review it. The main board of the kit includes a Sipeed M1w which is a compact module like the ESP32 but based on the Kendryte K210 dual core RISC-V processor. It is designed for low power artificial intelligence workloads, such as face detection, object recognition, or audio processing. There are two type of modules: the Sipeed M1 and M1w, the last one includes WIFI connectivity.
The main features of the MAiX Dock boards are:
- Display I/F – A...
10
Apr - 2019Analytics
4 min | 3897This post is about data inside Docker containers. As I mentioned in the last post #Analytics: Docker for Data Science Environment, data in Docker can either be temporary or persistent. In this tutorial, I will focus on Docker volumes, but I will include some info about temporary data and bind mounts too.
Fig 1: Data in Docker container (source) Temporary Data
Inside a Docker container, there are two ways in which data can be kept temporarily. By default, files created inside a container are stored in the writable layer of the container. You do not have to do anything, but every...
06
Apr - 2019Home Automation, Raspberry Pi
6 min | 108898#Zigbee: Xiaomi Sensors using Raspberry Pi (without Gateway!)
Home Automation, Raspberry Pi | 6 min | 108898
This tutorial allows you to connect Xiaomi (or Aqara) sensors (e.g. door, pir, temperature, water, switch) to a Raspberry Pi or similar system without using any Xiaomi Gateway.
This is what I will try to accomplish in this tutorial:
- Flash the USB-Zigbee Dongle with the correct FW
- Install a broker to connect to the sensors
- Configure the sensors using the...
30
Mar - 2019General
1 min | 1417This is just another small post. I was quite busy the last weeks, and here is why:
Next week (from April 1st to April 5th), I'll be at the Hanover Fair 2019.
I am with our start-up fine|alyze presenting solutions for IIoT and data analytics. If you want to meet me in person, just come to the Hall 16, Stand D38(1) -5G Arena-.
We are collecting and analyzing the data produced by a "model factory" of VWN, and presenting live results of our models.
Click here to find the map!
Subscribe to our mailing list:
We use cookies to improve our services. Read more about how we use cookies and how you can refuse them.