Fingerprint Identification with STM32 MCU and Serial TFT LCD Module

STM32 Fingerprint TFT LCD

CNXSoft: This is a guest post by Amy working for STONE Technology, a company specializing in industrial liquid crystal display modules This month, I planned to develop a fingerprint door lock project. When I selected the fingerprint identification module, the project was suspended. However, I thought that since the fingerprint identification module had been purchased, I would simply test it. This fingerprint module can be easily purchased online, connected over UART to an MCU  board. It supports fingerprint scanning, fingerprint entry, fingerprint comparison, and fingerprint deletion. Since the fingerprint module manufacturer provides a demo program for STM32F103 series microcontrollers, I bought a small development board based on STM32F103C8T6. The demo program of the fingerprint module uses LED lights to prompt the user to enter the fingerprint and compare the status (success or failure). But I want to use an LCD display, so I chose a 480×272 resolution serial LCD display. The specific model of this display is STONE STVC050WT-01, which …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

How to install Duet 2 Maestro Board on HE3D K280 3D Printer

Duet 2 Maestro Wires Description

Quite a while ago I reviewed the HE3D K280 delta 3D printer.  Up until now, I did no mods other than the ones that I completed during the initial build. I have been very happy with it with the exception of the noise caused by inexpensive drivers and the salmon skin due to the drivers as well. The K280 prints big and pretty accurate at modest speeds. Today I am outlining how I upgraded to a Duet 2 Maestro mainboard. With this upgrade, I am jumping from an 8-bit board with generic drivers to a 32-bit board with TMC2224 drivers. The upgrade was quite painless and straightforward but not without a few hiccups. The Maestro is Duet’s entry-level board for about $130. I attempted the Bigtreetech SKR 1.3 with TMC2130’s but the firmware wasn’t quite there yet. I opened an issue on Marlin’s GitHub page which explains the issue in detail here. I only had one major issue with the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Sovol SV01 Upgrade with BigTreeTech SKR mini E3 Control Board

Sovol SV01 Upgrade: Bigtreetech SKR mini E3

Karl here with a quick upgrade guide. The one complaint I had in the review of the SV01 3D printer was it was loud. Today we are going to look at resolving part of the problem by replacing the Creality board with the BigTreeTech SKR mini E3 V1.2 control board sold on Amazon for around $37. Fan noise at a later date. This board is ideal because the SD card, USB, and screws line up for nearly a perfect replacement. I did not bother hooking up the filament runout sensor. I have never found them particularly useful and always ensure I start with enough filament and bypassed it for the review. The board comes with TMC2209 drivers which significantly reduce the stepper motor noise as well as stop any salmon skin. SKR Mini E3 Warning This board is a replacement for the board found on the Ender 3. Below is from the manual. I purchased a clamp meter to test …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Changing Ubuntu Apt Mirror from the Command Line, and the Lack of Arm64 Mirrors

apt mirror updater

When you install Ubuntu on a computer, you’d normally go through the installation ISO which guides you through a wizard where you select your location among other things, and that means you get connected to the mirror closest to your location allowing timely updates. But for those of us who flash Ubuntu images on Arm SBC’s, the mirror is normally fixed to the one set by the developer be it in China or Slovakia, or defaults to the US mirror. It still works, but it can be slower than necessary. In a computer, an easy way to change that from Ubuntu desktop to launch Software & Update program and change the download from field to a mirror in your country or neighboring country as shown below. But I’ve found myself mostly connecting to boards over SSH since it’s easier that way for reviews. One way to change the mirror would be to edit /etc/apt/sources.list manually, or just not bother, but …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

How to Use Wake-on-LAN to Power On Khadas VIM3/VIM3L SBC

Khadas VIM3L WoL Settings

Khadas VIM2, Edge and VIM3/VIM3L SBC’s all come with Wake-on-LAN (WoL) support which allows you to power on the board with a specific Ethernet packet. This is not especially useful if your board sits on a desk since you have easy access to the power button, but if you’ve placed the SBC in a cabinet, inside an enclosure without access to the power button, or in another hard-to-reach location this can be a lifesaver. I had never tried the feature until today, so I decided to give it up a go adapting the instructions provided on Khadas Wiki. I’ll use Khadas VIM3L running Android 9.0 and sent WoL packets from my Android phone as well as an Ubuntu 18.04 laptop. Khadas VIM3L WoL Configuration WoL is disabled by default, but it’s really easy to enable in Android 9. Go to Settings->More Settings->Device Preferences->WOL. Make sure Wake on LAN is enabled, and note the Ethernet MAC address. Using Wake-on-LAN with an …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

How I Adopted a Ubiquiti Unifi Security Gateway on my Existing Home Network

Ubiquity Security Gateway

Hey Karl here with a quick write up on how I adopted a Ubiquiti Unifi Security Gateway (USG) into my existing home network. I ran into a few issues so I wanted to share and hopefully help someone else. I have had 2 Unifi access points cover my home for several years now and I recently upgraded my internet to 100 Mbps. I was maxing out at about 95 Mbps with downloads on my existing 100 Mbps Linksys router and I knew I was leaving some bandwidth on the table. Spectrum is my internet provider and I have always got more than what I paid for. I placed an order on Amazon and 24 hours later it was delivered. I have a couple of things that made this challenging. First I run my network on a 10.0.0.1/24 subnet with devices that have static IP address and I host my own Unifi controller and don’t use the cloud version. I also …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

PicoLibC is a Lightweight C library for Embedded Systems

PicolibC

Well-known developer,  Keith Packard has recently announced the launch of “picolibc” through his blog.  Picolibc is a C Library for embedded systems which  is suitable for small micro-controllers, and this standard C library API’s allows to run even in low memory (RAM) devices. This is an upgraded version of “newlib-nano” with few interesting changes which includes replacement of “stdio” lib with ATMEL-specific printf code adopted from avrlibc. As part of this library, Keith also launched picocrt,  which is responsible for initializing memory and invoking various constructors before calling its own C program, the main function. Features picolibc is a revised version of newlibc, without full-fledged stdio lib and uses lightweight stdio lib from avrlibc, which is more suitable to low memory embedded devices. Meson build-system eases the build process of picolibc source tree for various target platform and hardware. Updated the math test suite to use Glibc as a reference The library is BSD licensed, and non-BSD components were removed …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

NanoPi M4V2 Metal Case Kit Review – Part 1: Unboxing and Assembly

NanoPi NEO M4V2 Metal Case Camera Mount

Earlier this month FriendlyELEC released two new products namely NanoPi M4 metal case with heatsink and optional NVMe SSD adapter, and NanoPi M4V2 SBC, a minor upgrade to the original Rockchip RK3399 powered NanoPi M4 board with faster LPDRR4 memory,  the addition of power & recovery buttons, and microphone input is now inside the audio jack instead of solder pads. I received both this weekend, in the first part of the review I’ll show the items part of the package and then show how to assemble the kit. In the second part, I’ll focus on the new features of the board like memory bandwidth, as well as the thermal performance of the complete solution in both Android and Linux. Unboxing Instead of one kit, I actually received two. One kit basically includes NanoPi M4V2 board with internal antennas (which we won’t use here), and the metal case which comes with the NVMe SSD adapter for M4 as well as two …

Support CNX Software – Donate via PayPal or become a Patron on Patreon