Communincating Sensor data with Embedded Proto

BartExamples

This example shows how you could communicate over UART in a structured manner using protobuf on a FRDM-KE02Z development board. Embedded Proto is used to generate the embedded code while regular protoc code is used for the python desktop script. Commands are sent from the PC to the MCU. The MCU will in turn reply with a message to send … 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, using a NUCLEO-F767ZI development board. We are using Mbed OS, the RTOS operating system, for the NUCLEO-F767ZI. To serialize the we use Embedded Proto for generating the embedded code. As a demo server we use a Python script running regular google generated code. When … 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

A simple UART example with Embedded Proto

BartExamples

Connecting a micro controller with a PC is simple when using google protocol buffers. This example shows you how you could communicate over UART in a structured manner. Embedded Proto is used to generate the embedded code while regular protoc code is used for the python desktop script. Commands are send from the PC to the micro controller. The chip … Read More

How to set up a project with Embedded Proto using Makefiles

BartExamples, Project Setup

In this example we will demonstrate how to set up a project with Embedded Proto using Makefiles. All the *.proto files will automatically be detected, for each source file code will be generated and build. The following topics will be addressed:1. Setup the project2. Initiating Embedded Proto3. Including all source files4. Automatically convert *.proto files5. Building the project In this … 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