fbpixel
Using a ServoHat with Raspberry Pi

Using a ServoHat with Raspberry Pi

The ServoHat is a shield for Raspberry Pi that is based on the PCA9685 controller. The PCA9685 module is a 16 channel controller that allows you to drive 16 PWM outputs via I2C communication. It allows among other things to free inputs and outputs of your...
Line detection with Python and OpenCV

Line detection with Python and OpenCV

An interesting application in robotics is pattern recognition. In this tutorial we are going to use the OpenCV library in a Python code that will allow us to detect a cable at its centre. In order to achieve this line tracking we will perform image processing with...

Adding the F() function to an INO file with Python

One of the big interests of programming is to automate simple tasks. A good example I have encountered is the modification of several lines of code in an INO file for Arduino. After writing a few dozen lines of code in C++ for my Arduino project, I found myself with a...
Develop a serial monitor with Python

Develop a serial monitor with Python

When developing a project with Arduino, Raspberry Pi or any microcontroller you will certainly have to create a graphical interface like, a serial monitor, for the management of the system (debugging, observing measurements, launching actions, etc.). There are a lot...
Serial communication between Raspberry Pi and Arduino

Serial communication between Raspberry Pi and Arduino

In some projects it may be interesting to establish a serial communication between Raspberry Pi and Arduino. This makes it possible to couple the computing power and wireless interfaces of the Raspberry Pi with the inputs/outputs and the Arduino collection of modules....