• 21
      Aug - 2019

      Raspberry Pi | 7 min | 3196

      #Raspberry Pi: an E-Paper display with Widgets

      Raspberry Pi | 7 min | 3196


      e-ink display
      google apis
      google calendar
      raspberry pi
      raspberry pi zero
      waveshare

      E-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 will use this board. But now, in this tutorial, I uploaded a solution for the Raspberry Pi.

       Waveshare® 7.5" E-ink Screen connected to a Raspberry Pi
      Fig. 1: Wa...
    • 13
      Aug - 2019

      Home Automation, Raspberry Pi | 3 min | 1617

      #Zigbee: Flashing a CC2531 dongle using a Raspberry Pi

      Home Automation, Raspberry Pi | 3 min | 1617


      aqara
      aqara sensors
      door sensor
      home assistant
      mqtt
      pir
      raspberry pi
      xiaomi gateway
      xiaomi sensors
      zigbee

      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 waiting time. Usually, you wait 30 days to get a low cost version of the debugger (using the cheapest shipping option). Let's start!

      Hardware

      ...
    • 02
      Aug - 2019

      Raspberry Pi | 2 min | 3856

      #Raspberry Pi 4B: Where were the quality controls?

      Raspberry Pi | 2 min | 3856


      board broken
      capacitor broken
      quality control failed
      quality problems
      raspberry pi
      raspberry pi 4b
      tantalum capacitor

      On 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):

      raspberry_pi_box-min.jpg
      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...

    • 09
      Jul - 2019

      Home Automation, Product Reviews, Raspberry Pi | 2 min | 1305

      #Zigbee: Reading Xiaomi Sensors with a Raspberry Pi (no Xiaomi gateway needed!)

      Home Automation, Product Reviews, Raspberry Pi | 2 min | 1305


      aqara
      docker
      hass.io
      home assistant
      home automation
      product review
      raspberry pi 3 B plus
      xiaomi gateway
      xiaomi sensors

      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:

      1. Aqara Cube
      2. 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 of Home Assistant (DIY tutorial). This connection was made without using any Xiaomi gateway (DIY tutorial).

      Hardware and Software

      ...
    • 16
      Apr - 2019

      Raspberry Pi | 4 min | 2652

      #Edge-TPU: Hands-On with Google's Coral USB accelerator

      Raspberry Pi | 4 min | 2652


      coral
      coral usb accelerator
      docker
      edge-tpu
      google
      machine learning
      raspberry pi
      teachable machine
      tensorflow lite

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

      edge-tpu-coral-usb-accelerator-dockerized-min.png
      Fig 1: Coral USB Accelerator, Jupyter and some training objects

      The base Docker image remained balenalib/ras...

    • 13
      Apr - 2019

      Home Automation, Raspberry Pi | 4 min | 3425

      #Raspberry Pi: Xiaomi Sensors & Home Assistant (Hass.io)

      Home Automation, Raspberry Pi | 4 min | 3425


      docker
      embedded
      hass.io
      home assistant
      home automation
      raspberry pi
      sensors
      xiaomi
      zigbee

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

    • 06
      Apr - 2019

      Home Automation, Raspberry Pi | 6 min | 18142

      #Zigbee: Xiaomi Sensors using Raspberry Pi (without Gateway!)

      Home Automation, Raspberry Pi | 6 min | 18142


      aqara
      door sensor
      home assistant
      home automation
      mqtt
      pir
      raspberry pi
      xiaomi gateway
      xiaomi sensors
      zigbee

      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:

      1. Flash the USB-Zigbee Dongle with the correct FW
      2. Install a broker to connect to the sensors
      3. Configure the sensors using the broker

      Hardware

      Xiaomi sensors use Zigbee for the connection which means we need some extra components to connect to them. This is the list of needed hardware:

      Wireless Zigbee CC2531 x1
      SmartRF04EB (**) x1
      Debugger Ca...
    • 26
      Mar - 2019

      Raspberry Pi | 4 min | 3552

      #Edge-TPU: Coral USB Accelerator + rPI + Docker

      Raspberry Pi | 4 min | 3552


      analytics
      coral
      docker
      edge-tpu
      google
      machine learning
      object detection

      In summer 2018, Google announced two Edge TPU devices for machine learning. These are now available under the Coral brand. Two weeks ago, I bought the Coral USB Accelerator. It is a portable USB accessory that brings machine learning inferencing to existing systems and it is compatible with Raspberry Pi and other Linux systems.

      Coral USB Accelerator
      Fig. 1: Coral USB Accelerator, Raspberry Pi Camera and a RasPad

      I wanted to test the performance of the Edge-TPU on my Raspberry Pi3, and as I have every application running on Docker on my Raspberry Pi, I've created a Docker image with everything inside t...

    • 15
      Feb - 2019

      Raspberry Pi | 5 min | 1892

      #Raspberry Pi: CUPS Printer Server using Docker

      Raspberry Pi | 5 min | 1892


      cup server
      docker
      dockerized
      print server
      printer
      raspberry pi
      tutorial

      A good friend of mine has an old printer and he was always thinking of buying some adapter to make it Wi-Fi compatible. He actually bought one, but it was not compatible! I told him to buy a Raspberry Pi W Zero and build a CUPS Print Server, but he did not have time to do that, so I planned as XMas gift! I hope he is not going to read this before he gets his present. :) - If you received this as a gift, your instructions are here.

      A big challenge was to make it plug & play. I did not want to have his Wi-Fi credentials, and he should not use a terminal over SSH to configure it. I looked for som...

    • 18
      Sep - 2018

      Product Reviews, Raspberry Pi | 4 min | 714

      #Review: RasPad - a tablet for open-source platforms like Raspberry Pi

      Product Reviews, Raspberry Pi | 4 min | 714


      battery
      raspad
      raspberry pi
      table for raspberry pi
      touch 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!)

      Introduction

      At the beginning of March I supported the Kickstarter campaign called RasPad. I pledged for the Super Early Bird - RasPad...