Working projects that use Embedded Proto on real hardware.
Each one has its source on GitHub and walks through the message definitions, the
embedded code and the desktop side.
Controller Area Network (CAN) is a robust communication protocol widely used in embedded systems, particularly in automotive, industrial, and automation applications. This example demonstrates how you can use Embedded Proto to structure data exchanges over a CAN bus. In this setup, Embedded Proto helps define messages for controlling a net booting process in the microcontroller, such as setting the microcontroller …
Read More
about A CAN netbooting example with Embedded Proto
This repository features a demo project showcasing the use of the Embedded Proto library in an ESP32 PlatformIO environment. You can explore the demo to experiment with the code and test it on your own board. Additionally, the tutorial provided will guide you step-by-step in creating a similar project from scratch. Demo To try out the demo provided in this …
Read More
about Using Embedded Proto with ESP32 in PlatformIO
Following this tutorial, you will learn how an IoT system works from the device through the server to the front end. It is a highly simplified example, so it is easy to understand. It uses google protobuf to serial data between the different stages. Using protobuf for IoT and servers is incredibly popular. The package we use for the server …
Read More
about A simple Arduino IoT example with Protobuf
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
about A simple BLE example with Embedded Proto
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
about A simple UART example with Embedded Proto
This example shows you how to easily log data to a SD card with Embedded Proto. The advantage of using protobuf for logging data is that protobuf makes it easy to add new fields with new code revisions. This while it remains backwards compatible. Allowing you to read back old logs with new software. This is especially handing when still …
Read More
about SD card logging example with Embedded Proto
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
about Communincating Sensor data with Embedded Proto
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
about An Mbed OS ethernet example with Embedded Proto
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
about Store data on NFC tags with Protobuf
Work smart and have code generated for you by your makefile! This example will demonstrate how to set up a project with Embedded Proto using Makefiles. All the *.proto files will automatically be detected; each source file code will be generated and built. The following topics will be addressed: 1. Setup the project 2. Initiating Embedded Proto 3. Including all …
Read More
about How to set up a project with Embedded Proto using Makefiles
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 IDE 2. Initiate Embedded Proto 3. Automatically convert *.proto files. 4. Build the project …
Read More
about How to set up a project with Embedded Proto using STM32CubeIDE