Serial Communication Mistakes to Avoid in Embedded Projects

Common UART and RS232 mistakes in embedded projects, with practical fixes for framing, buffering, parser state, CRC checks, timeouts, backpressure, and bench debugging.
Embedded Systems & Electronics Engineering
Embedded Systems & Electronics Engineering
Articles and tutorials about electronics, embedded systems, wireless sensor networks, software developement, etc…

Common UART and RS232 mistakes in embedded projects, with practical fixes for framing, buffering, parser state, CRC checks, timeouts, backpressure, and bench debugging.

Arduino and its related products are undoubtedly very popular among hobbyists and even professionals. One of the areas of interest with hobbyists and professionals is interfacing with many different sensors such as temperature, humidity, light, etc. The simplest method would…

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic…

STM8 Series of microcontrollers, the 8-bit series of STMicroelectronics, are cheap but powerful micros which provide a good value and performance to your simple projects. The problem is, these series are not geared toward hobby market. While there are fantastic…

Caffe is a deep learning framework made with expression, speed, and modularity in mind. It is developed by the Berkeley Vision and Learning Center (BVLC) and by community contributors. Yangqing Jia created the project during his PhD at UC Berkeley.…

A safer C++11 matrix implementation using contiguous storage, RAII, templates, and basic operations such as addition, multiplication, transpose, and identity matrices.

Want great look and feel on your Ubuntu machine? then follow this guide! First of all, install NUMIX icons and themes $sudo add-apt-repository ppa:numix/ppa $sudo apt update $sudo apt install numix-gtk-theme numix-icon-theme-circle Then, to easily change the themes and icons,…
This guide should work for any recent version of CMAKE up to 3.8.X. First of all download the source from here: More specificly for Ubuntu 14.04 or higher, 64 bit: Download it to the following directory (or any…
Replace paths with where you like, but make sure you change also in my guide! #go to opt folder, make directories, make directories if not exits $cd /opt/dev-tools-sources $mkdir ffmpeg $cd ffmpeg #make build and bin directories $mkdir build $mkdir…

Itseez has finally released the first stable version of OpenCV in the 3.x series. It promises many new features over the 2.x version and many bug fixes over version 3.0. So if you want to install this new version, whether…

Raspberry Pi has gained a lot of fame over the past years since it’s introduction. Being dirt cheap while powerful enough to run your home multimedia center is the key selling point of Raspberry Pi. But when it comes to…

STM8 Series of micro-controllers by ST Microelectronics are dirt cheap and powerful at the same time. Their processing power is nothing short as of Arduino, while at the same time their power consumption is much less. These properties makes STM8…