Arduino Protothreads [Tutorial]

Arduino protothreads, when to use them, how to use them, and why? In this tutorial I’ll show you, step by step, how to use protothreads in your Arduino programs. First I’ll give you a template that you can use for any protothread you create. Then you’ll see more complex examples and how to use multiple … Read more

ROS Rate (rospy and roscpp)

ROS Rate is a powerful ROS feature you can use for your control loops – be it for reading a sensor, controlling a motor, etc. In this tutorial I’ll explain to you what is a ROS Rate, and you’ll see the code to use a rospy Rate and a roscpp Rate. Let’s get started! ROS … Read more

Arduino Interrupts Tutorial

What are Arduino Interrupts? How to use them? What should you know about them? In this Arduino Interrupts tutorial I’ll show you an example of when you can use interrupts and how to handle them. I’ll also give you a list of important points you should pay attention to, because, as you’ll see, interrupts are … Read more

Arduino Object Oriented Programming (OOP)

This tutorial is an introduction to Arduino Object Oriented Programming. If you’re already programming using C++ and OOP, and want to start writing Arduino OOP code, you’re in the right place. I’ll show you through some examples how to re-write some of the most common Arduino tutorials using the OOP way. At the end of … Read more

ROS: Create Multiple Catkin Workspaces

In this tutorial I’ll show you how to create multiple catkin workspaces with ROS. Sometimes you want to create different projects for different robots. The easiest way to manage that is to create several catkin workspaces, one for each robot project. But it’s not as simple as that. There are a few things you need … Read more

Raspberry Pi 3 Pins – Complete Practical Guide

The Raspberry Pi 3 boards (all models: 3A+, 3B, 3B+) have a GPIO header with 40 pins. Those pins bring a new set of feature to the Raspberry Pi 3. They allow you to easily use hardware features and communication, directly from a computer – the Raspberry Pi microprocessor. It brings the Raspberry Pi 3 … Read more

Install and Use Vim on Raspberry Pi

So, you’re using a Raspberry Pi board, and are wondering which IDE you might use to write your code. As the Raspberry Pi resources are quite limited, and you’ll often use it headless (without a screen), the number of options you have is also quite limited. In this post I’ll show you how to install … Read more