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

BlueNRG-Mesh is a software solution for connecting multiple BLE (Bluetooth low energy) devices in Mesh networks for Internet of Things (IoT) solutions.
It enables true two-way communication between Bluetooth-enabled devices in powerful, secure, integrated and range-extending Mesh networks.

For reading more, click here.

Posted in BLE, Mesh, STM32 | 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

STM32 – TCP/IP solution

Up to now there are a lot of solution to implement Ethernet connectivity using STM32 mcu family.
Inside the STM32 Library there are examples of the implementation of the Ethernet connection based on LWIP free stack.


This my be a good solution but …
For reading more click here.

Posted in STM32 | Comments Off on STM32 – TCP/IP solution

3D Gerber Viewer – Mayhew Labs

Sometimes we need to view Gerber files but we don’t have a viewer, thanks to 3D Gerber Viewer that resolve this problem.

Posted in Gerber | Comments Off on 3D Gerber Viewer – Mayhew Labs