STM32

Wide box Tiny box List
Ascent Descent

Detecting obstacles using an ultrasonic sensor HC-SR04

Detecting obstacles using an ultrasonic sensor HC-SR04

HC-SR04 is a commonly used ultrasonic sensor which is capable to detect obstacles in a range of 2-300cm. The sensor looks like a small PCB having two metal cylinders on the front-side and a small circuit on the back-side (see Fig.1).

In this article we will provide a simple demo to use HC-SR04. This requires a preliminary read of the sensor user manual: HC-SR04 User Manual

The sensor has 4 PIN:

VCC, which must be connected to 5V; Trig, which is an input PIN to trigger the measurement; Echo, which is an output PIN which sent out a square wave; GND, which must be continue reading...

How to drive a HD44780 with I2C backpack with a STM32

How to drive a HD44780 with I2C backpack with a STM32

The HD44780 is a de-facto standard controller for display. We have already use it providing a source code to use a 16×2 LCD with a STM32. In this article we will step over introducing an I2C backpack for that display. Of course we will explain how to edit old code in order to get it work with this new hardware configuration.

Even if it is still popular, this controller was made commercially available in the late eighties. At that time serial communications were not so widespread because their were costly and involved constraint about clock speed. Because of that, the continue reading...

Review of WeSU: a development board for wearable applications.

Wesu Review

At the recent event “ST = Life Augmented”, held in Milan during the Class Digital Experience Week, STMicroelectronics has raffled various development kits, for attendees who enrolled to the event through the Pepite blog. Apart to the famous STM32 Nucleo-64 board and some of its Expansion Board (the STM32 x-Nucleo), the most interesting thing was the development kit for wearable applications, the STEVAL-WESU 1, valued at approximately 50€ and we were lucky to get one for free.

STEVAL-WESU1 stand for ST EVALution WErable Sensor Unit, and is an evaluation kit to test various continue reading...

STM32 Nucleo-144 review

STM32 Nucleo-144 Review

The STM32 Nucleo-144 is a new series of development board by STMicroelectronics. It is the third announced series titled Nucleo. Each Nucleo-144 share the same pin map for each board and features a new connector named ST ZIO which is compatible with Arduino Uno Rev3 connector.

This new series takes his name from the number of pads exhibit by its different MCUs which are all a LQFP144 package. Indeed, the STM32 Nucleo is currently available in 5 configurations we will discuss continue reading...

Getting started with mikroe BUZZ Click using ChibiOS/HAL

Getting started with mikroe BUZZ Click using ChibiOS/HAL

BUZZ Click is a click board with a mikroBus form factor. It is substantially composed of a piezoelectric speaker having a resonant frequency at 3.8 kHz: this means we should expect best performances at this frequency. Let’s take a look to the principle of operation of DC and AC continue reading...