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
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
SD card logging 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
Communincating Sensor data 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
An Mbed OS ethernet example 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
Store data on NFC tags with Protobuf
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