A simple BLE example with Embedded Proto

BartExamples

Bluetooth Low Energy (BLE) is a popular network technology, especially for embedded and mobile devices. This example shows how you could use Embedded Proto to set up data structures to communicate between devices using BLE in a structured way. In this example, embedded proto is used to make messages for turning on a lead on the microcontroller and retrieving a … Read More

A simple UART example with Embedded Proto

BartExamples

Connecting a microcontroller with a PC is straightforward when using google protocol buffers. This example shows you how you could communicate over UART in a structured manner. Embedded Proto generates the embedded code while regular protoc code is used for the python desktop script. Commands are sent from the PC to the microcontroller. The chip will reply with a message … Read More

An Mbed OS ethernet example with Embedded Proto

BartExamples

This example shows how you could communicate over ethernet using TCP sockets in a structured manner to a development board. We are using Mbed OS, the RTOS operating system on the NUCLEO-F767ZI development board. To serialize data we use Embedded Proto for generating the embedded code. As a demo server, we use a Python script running on a desktop PC. … Read More

Store data on NFC tags with Protobuf

BartExamples

This example shows how you could use protobuf to store structured data on NFC tags. Embedded Proto is used to make messages and store a name and clearance in an NFC tag, simulating access tags is a simple way. You can extend on this example for your own application easily. In the following we will take you through the setup … Read More

How to set up a project with Embedded Proto using STM32CubeIDE

BartExamples, Project Setup

In this example we will demonstrate how to set up a project with Embedded Proto using STM32CubeIDE.The example below makes use of the NUCLEO-F466RE board, made by ST Microelectronics. The steps required to set up a project are:1. Start a new project in the IDE2. Initiate Embedded Proto3. Automatically convert *.proto files.4. Build the project In this example we assume … Read More