MicroPython | 11 min | 1761
aiotkerasmachine learningmaix dockmicropythonobject detectiontensorflow liteyolov2
Therefore, this tutorial will try to accomplish the following points:
- A quick introduction to YOLO(v2)
- A quick introduction to MAix KPU
- Training, evaluation, and testing of the object detector model (on Jupyter-Notebooks running on Docker)
- Flashing the trained model on the MAix M1w Dock Suit running MicroPython (MAixPy)
- Detecting a BRIO locomotive using the MAix M1w Dock Suit
A training example is included, which is...
draginogatewayiotloralorawanthe things network
This is a short article to share with you that I've just registered a LoRaWAN gateway and right now I have one of the 10106 online gateways connected (see Fig. 1) to "The Things Network"!
Fig 1: LoRaWAN gateways in Hanover
I will be making some tests in the coming weeks, and I am planning to redesign the ...
General | 1 min | 667
coral usb acceleratordiy projectsesp32happy new yearmicropythonorange piraspberry pi
The following video summarizes the project highlights of 2019! Most of them are implemented using MicroPython on ESP32 and Python on Raspberry/Orange Pi.
The flying video was recorded with a Nexus 5X mounted on the Zhiyun Smooth 4. In the video-edition process, software stabilization was only used on the vertical axis. The Zhiyun Smooth 4 smoothed the horizontal movements.
Following components are used in the video. They are listed by order of appearance:
MicroPython | 4 min | 1046
esp32esp32 projectsm5stackm5stack firemicropythonmicropython extensionsws2812bws2812b leds
Holiday season has begun and Christmas and the New Year 2020 are approaching! This means, time to reflect and to clean up code and, therefore, I am updating some of the GitHub's projects to summarize the year. I started with the Christmas lights project! But, this time, I took the M5Stack Fire and a new LED panel (WS2812b - 16x16 pixel) and with the XMasLight project, these are the results (Fig. 1 & 2):
Fig. 1: M5Stack and a new WS2812b Panel (16x16 pixel).
Hardware and Software
The following hardware and software is used in this tutorial:
cc2531dockerhome assistanthome automationmqttphilips huezigbee
This article extends the tutorial about Hass.io and the Xiaomi Aqara Sensors that I've published months ago. That tutorial is part of the series of articles about Zigbee and the Rasbperry Pi using the CC2531 USB dongle. Here are the links:
- Zigbee: Xiaomi Sensors using Raspberry Pi (without Gateway!)
- Zigbee: Flashing a CC2531 dongle using a Raspberry Pi
- Raspberry Pi: Xiaomi Sensors & Home Assistant (Hass.io)
- Zigbee: Reading Xiaomi Sensors with a Raspberry Pi (no Xiaomi gateway needed!)
Fig. 1: Hass.io: Philips HUE Lightstrip.
analyticsdockerdocker enginedocker enviromentsdocker managementgoogle cloud platformportainerraspberry pi
This tutorial is about managing a Docker Engine remotely using Portainer connected to the protected Docker daemon socket (
TCP port 2376). By default, you can manage Docker locally through a non-networked UNIX socket (option
-v /var/run/docker.sock:/var/run/docker.sockwhile running Portainer). But, if you want the Docker Engine to be reachable through the network in a safe manner, you need to enable TLS by specifying the
--tlsverifyflag and pointing Docker’s
--tlscacertflag to a CA certificate. Then, the daemon only accepts connections from clients that are authenticated by a certificate si...
credentialsdocker enviromentsdocker hubdocker registryembedded systemsencryptiongoraspberry pi
Usually, I login to different Docker registries (local, Docker Hub, etc.) with a computer running Ubuntu. I execute once
docker login, then I enter the username and password, and after restarting the system, the access data is still available. That means, I write the credentials only once. But, on the Raspberry Pi, it was different until today: I needed to write the login credentials every time I booted the board.
This article helps you to install the needed tools to save Docker login credentials on the Raspberry Pi, but not as plain text, so that the next time that you reboot the Raspberry t...
Deals | 1 min | 540
Today is Singles' Day or "Guanggun Jie" in Chinese, which is a popular shopping festival among young Chinese people, who celebrate their pride of being single! Thus, I got some discount codes from Banggood for Today and I'm publishing them here:
This section is new in LeMaRiva|Tech and I will update it every day with new discount codes! I receive a list every day with new codes and I will use some analytics to select the best offers for you and automatically publish them there. Stay tuned!I cannot guarantee that all codes I published on this list work. I analyze the data (p...
Raspberry Pi | 6 min | 5127
heatsinkice tower coolern-queens problemperformanceraspberry pi 4btemperature test
This article is the last in a series of three articles that evaluates the performance of the Raspberry Pi 4B. This time the performance of Raspbian with standard kernel (4.19.y) will be evaluated with and without active cooling using two types of heatsinks. The other articles in the series are the following:
- The first article is about comparing the Raspberry Pi 4B and 3B+ performances:
- The second article compares the Raspberry Pi 4B running standard and Preempt-RT kernels.
Product Reviews | 5 min | 3425
cameraip cameraproduct reviewsecurityxiaomixiaomi ecosystem
All cameras in this review are Xiaomi (not exactly built by Xiaomi) and can be connected to the application Mi Home (apple/android). Moreover, you need to select the region to China (Mainland) in the application, otherwise you are not going to find the devices. This has a main disadvantage: the servers are in China Mainland. The documentation is also still in Chinese, and sometimes the cameras talk to ...
armbian busterbenchmarkdevelopment boardsn-queens problemperformanceraspberry pi
The Allwinner H2+, which integrates four ARM-Cortex A7 cores that can clock up to 1.2GHz, is powering the Orange Pi Zero LTS. The tiny board, which measures just 52 x 46 mm, features 802.11 b/g/n Wi-Fi, Ethernet, up to 512 MB of RAM, USB 2.0 Type-A and a microSD card slot. There is also a 26-pin unpopulated GPIO header along with a 13-pin header for a headphone, USB 2.0, TV-out, microphone and IR signals.
This board is the next generation of the Orange Pi Zero that was first launched in November 2016 for $7 and up. It should solve various issues with the Allwinner XR819 WiFi module that many ...
Alexa functionalitiesdebian stretchdevelopment boardsOS imageperformanceRadxyRock Pi S
Radxy, the company behind the Rock Pi 4 is back! A couple of days ago, I've received the Rock Pi S (see Fig. 1), a miniature developer board that measures just 38 x 38 mm. The board is powered by the Rockchip RK3308 SoC, which integrates four 64-bit ARM Cortex-A35 cores (Ultra-High-Efficiency). Each of the cores reaches up to 1.3 GHz. The SoC also has a built-in voice activity detector (VAD) for use with IoT and smart voice applications.
Despite its tiny size, the Rock Pi S includes a 26-pin GPIO header along with a 26-pin audio/voice header and a microSD card reader. Additionally, the Rock P...
MicroPython | 6 min | 7661
cameraesp32esp32 projectsesp32-cammicropythonmicropython extensions
Last year, I bought an ESP32-CAM board from Banggood and I wanted to use it with MicroPython. The board has an OV2640 without any chip (buffer) between the ESP32 and the camera. There are many implementation for Arduino or directly using Espressif, but I wanted to use MicroPython. Thus, the only solution was to use the I2S interface, but I didn't have time to write the driver. Thus, I put the project on hold. However, last week I was searching between the ESP32 boards that I have, I found the board again, and I also found that tsaarni has written the driver for MicroPython.
This tutorial is a...
performancepreempt-rt kernelraspberry pi 4braspbian busterreal time system
The Preempt-RT patching article is one of the most visited articles in my blog. However, that article needed a small update: Raspberry Pi 4B is out there and with Raspbian Buster, a new version of kernel is available: 4.19.y.
I also uploaded the compiled and patched kernel to lemariva/RT-Tools-RPi. You can follow all these steps and compile the kernel by yourself or you can download the files from the repository and deploy the kernel on your Raspberry Pi 4B.
This tutorial is the second of a series of three that evaluate the performance of the Raspberry Pi 4B. This time the performance of the s...
Deals | 3 min | 1353
Banggood is celebrating its 13th anniversary by launching a grand sales that takes place between the dates August 27th and September 18th (my birthday! :)).
Fig. 1: Banggood's 13th anniversary image on an E-ink screen (tutorial)
Banggood, founded in 2006 and located in Guangzhou, is the fourth largest international e-commerce retailer in China. By running its website www.banggood.com and smartphone applications, Banggood sells more than 500,000 types of products to the United States, Great Britain, Germany, France, Spain, Italy, Australia, Russia, Japan and ma...