How to detect an object using the VL53L0X & X-NUCLEO-53L0A1 (evaboard)

The VL53L0X is a new generation Time-of-Flight (ToF) laser-ranging module housed in the smallest package on the market today, providing accurate distance measurement whatever the target reflectances unlike conventional technologies. It can measure absolute distances up to 2m, setting a new benchmark in ranging performance levels, opening the door to various new applications.

In this tutorial we will explain you how to use the X-NUCLEO-53L0A1 in conjunction of the NUCLEO-F401RE.

For reading more, click here.

Posted in MEMS, STM32 | Comments Off on How to detect an object using the VL53L0X & X-NUCLEO-53L0A1 (evaboard)

P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8 + SSD1306 I2C Oled Display

This is a new release of the P2P based on SPIRIT1, with the addition of the SSD1306 I2C Oled Display.
This P2P sw work exactly as the previous one, for more technical info on P2P see here.

For reading more, click here.

Posted in Spirit1, STM32, WireLess & Networking | Comments Off on P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8 + SSD1306 I2C Oled Display

How to use SSD1306 I2C OLED display and NUCLEO-L053R8 board

SSD1306I2C Oled Display is available on different internet store, see for example here and here.

The Datasheet is here.

We developed a simple test program using the NUCLEO-L053R8 and SSD1306.

For reading more, click here.

Posted in Graphics, STM32 | Comments Off on How to use SSD1306 I2C OLED display and NUCLEO-L053R8 board

How to develop a new project on the SPBTLE-1S module (based on BlueNRG-1 component)

SPBTLE-1S module is based on the BlueNRG-1 component.

For developing on the SPBTLE-1S module is necessary use the STSW-BLUENRG1-DK.
STSW-BLUENRG1-DK is evaluation SW package based on the BlueNRG-1 and BlueNRG-2 very low power Bluetooth low energy (BLE) single-mode systems-on-chip with 160 KB and 256 KB of Flash memory, respectively, 24 KB of RAM, 32-bit core ARM® Cortex®-M0 and ADC, GPIOs, I²C, RTC, SPI, Timers, UART, WDG and RTC peripherals.
The STSW-BLUENRG1-DK SW package contains a complete set of peripheral drivers (header and source files), which allow interface with the device peripherals (ADC, GPIOs,I²C, RTC, SPI, Timers, UART and WDG, RTC), and a complete set of related demonstration applications (header and source files).

For reading more, click here.

Posted in BLE | Comments Off on How to develop a new project on the SPBTLE-1S module (based on BlueNRG-1 component)

BlueNRG Mesh

STM ha released the BlueNRG-Mesh package.

The ST BlueMS is the application available for Android and iOS that shows the data exported by a BLE device using the BlueST protocol (e.g. FP-SNS-ALLMEMS1 STM32ODE function pack).

If the firmware supports the functionality, the application can also show a serial console to exchange string messages with the board.
This functionality is also used to upgrade the board firmware.

For reading more, click here.

Posted in BLE, Mesh | Comments Off on BlueNRG Mesh

P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8

This example is born to demonstrate the P2P capability using the SPIRIT1 transceiver and the STprotocol.
This P2P also manage a ACK communication.

For reading more, click here.

Posted in Spirit1, STM32 | Comments Off on P2P based on SPIRIT1 (X-NUCLEO-IDS01A4) and NUCLEO-L053R8

Avnet Silica NB-IoT Sensor Shield

The Avnet Silica NB-IoT Sensor Shield is a Cat M1 and NB-IoT board providing Arduino pinout connectors. The Arduino compatibility provides ultimate flexibility, leveraging on a huge ecosystem of compatible boards. It enables you to choose the microcontroller board that best fits your application, like STM32 Nucleo boards, and combine them with sensors and other peripheral boards as needed.

For reading more, click here.

Posted in IoT, STM32 | Comments Off on Avnet Silica NB-IoT Sensor Shield

STM32 Cube Programmer

STM32 Cube Programmer (STM32CUBEPROG) is an all-in-one multi-OS software tool for programming STM32 microcontrollers.

For reading more, click here.

Posted in STM32 | Comments Off on STM32 Cube Programmer

How to manage two UART (USART2 and USART1) under Interrupt

There are different possibility to use the UART under Interrupt, for instance use PRINTF but this mode use a loot of code or, more efficiency is to use the Call Back.

In this example we use the Call Back modality.

This project was tested on NUCLEO-F030R8, was developed using the Cube-MX and the project is for ATOLLIC.
Thanks to Cube-MX is easy move this project on other STM32 mcu but also generate the same project for other IDE (KEIL, IAR, etc)

For use this project connect the NUCLEO-F030R8 to PC and use a terminal emulator, we suggest TeraTerm.
This because the USART2 is transferred to the PC like a USB virtual com port.

For reading more, click here.

Posted in Atollic, STM32 | Comments Off on How to manage two UART (USART2 and USART1) under Interrupt

TIM14 PWM output, duty cycle regulated using a potentiometer

This example is an evolution of the: STM32 Basic Timer in Interrupt & PWM mode
In this example the duty cycle is regulated using a potentiometer.
See the diagram below.

All is developed using CUBE-MX and are generated for ATOLLIC.
Here there is the project for CUBE-MX, the project is generated for NUCLEO-F030R8.

For reading more, click here.

Posted in STM32 | Comments Off on TIM14 PWM output, duty cycle regulated using a potentiometer