Welcome on PLAY Embedded

On PLAY Embedded you can find useful resources to get started with embedded systems: media, examples and accurate descriptions are also provided. Come on, learn by doing!

Wide box Tiny box List
Ascent Descent

Using STM32’s GPIO with ChibiOS’ PAL Driver

A microcontroller is a small computer integrated in a small chip designed to control electronic circuits: control involves interaction! A MCU must be able to interact with the external circuitry in order to address or sense it. The MCU is equipped with different peripherals designed to interact with external circuits.

Anyway all the MCU interactions must necessarily go through those small wires coming out from the microcontroller package: these metal contacts are named pins and they are used to solder the chip on a Printed Circuit Board (PCB). The name pin come out from continue reading...

A close look to ChibiOS demos for STM32

A close look to ChibiOS demos for STM32

In this article we are going to take a deep look to ChibiOS default demos explaining how they works. We will also see how to create a new project and how to modify it in in order to create our own applications.

ChibiOS default demo are usually composed by some different folders and files. As example, in figure we can see the resources of the default demo for STM32 Nucleo F401RE. In general all the ChibiOS’ projects are characterised by a similar anatomy.

They all have some folders, some configuration headers, a source file named main.c and a makefile. Additional notes continue reading...

Developing on STM32: introducing ChibiStudio

Developing on STM32: introducing ChibiStudio

In this article we are going to set-up a ready-to-use Eclipse-based toolchain named ChibiStudio for the development on STM32. We will also explore this development toolchain explaining some basic operations necessary for daily development. So we will introduce the ChibiOS project, we will setup ChibiStudio taking a tour of some parts of it, we will import some ready to use projects and perform our first flash and run. Note that to proceed with this tutorial is necessary the installation of ST-Link drivers: this procedure has been shown in the previous article From 0 to continue reading...

From 0 to STM32

From 0 to STM32

Nowadays, we are surrounded by smart objects capable to do incredible things. These objects, known as Smart Things, are now able to communicate over different wired and wireless communication channels. The obvious consequence is that these objects are able to get and push data through the Internet: this phenomenon, this network of Smart Things, is commonly known as the Internet of Things or IoT. The spreading of the IoT is substantially due to two main con-causes:

the evolution of Microcontrollers which are increasing their performances while their price is continue reading...

Testing a WeSU in everyday life

In this article, we will use a WeSU in some daily common scenarios. In this way, we will propose some case of use of wearable device, testing also its mechanical robustness and its sensitivity.

For our tests we will use the remote data capture feature provided by the smartphone app: this is very useful because it allows to save data and send them to an email address allowing offline post processing. Before starting each test, we need to pair WeSU and our smartphone using bluetooth: launch the application (ST WeSU) then click on START SCANNING (see Fig. 1).

If the continue reading...