fbpixel
Using the Arduino Motor Shield

Using the Arduino Motor Shield

The official Arduino Motor Shield is an expansion board for the Arduino UNO and Mega microcontrollers for DC and stepper motor control. We have seen how to drive a DC motor using an H-bridge which can require a lot of wiring when using the IC simply. For an embedded...
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....
Using a PCA9685 module with Raspberry Pi

Using a PCA9685 module with Raspberry Pi

The PCA9685 module is a 16-channel controller that can control 16 PWM outputs via I2C communication. Among other things, it allows you to free up inputs and outputs of your microcontroller and drive up to 16 LEDs or servomotors (or any other module taking a PWM signal...
Using a PCA9685 module with Arduino

Using a PCA9685 module with Arduino

The PCA9685 module is a 16-channel controller that can control 16 PWM outputs via I2C communication. It allows, among other things, to free inputs and outputs of your microcontroller and to drive up to 16 LEDs or servomotors (or any other module taking a PWM signal as...
Summary on the if statement in C

Summary on the if statement in C

The if statement is the basic conditional structure and is found in all programming languages. It allows you to execute different blocks of code according to a condition. It is the basis of many algorithms and allows a computer to make a choice based on the data sent...
Porgram a STM32 with the Arduino IDE

Porgram a STM32 with the Arduino IDE

A large number of microcontrollers such as the STM32 can be programmed with the Arduino IDE. Arduino boards are powerful and very convenient for learning and projects, with an extremely large support community. However, there are other microcontrollers (e.g. NodeMCU,...
Communication between Raspberry Pi and Arduino with I2C

Communication between Raspberry Pi and Arduino with I2C

In some projects, it may be interesting to establish I2C communication between Raspberry Pi and Arduino. The computing power and wireless functionality of the Raspberry Pi coupled with the input/output capability of the Arduino, results in a complete control system to...
Control several Motors with Raspberry Pi and the MotorHAT

Control several Motors with Raspberry Pi and the MotorHAT

To control a motor, whether stepping or direct current, with a Raspberry Pi, it is necessary to add an integrated circuit like an H-bridge. To simplify the assemblies, there are shields like for Arduino , called HAT (hat) at Raspberry. We will see how to communicate...
Power measurement with Arduino and INA219

Power measurement with Arduino and INA219

The INA219 Sensor is a current and voltage sensor for easy measurement of power. In some applications, it is interesting to measure the electrical power exchanged between devices. For example, measuring the power recovered by a solar panel. We will see in this...
Control your project using an IR remote

Control your project using an IR remote

There are different ways to communicate with a system. One of the most used, especially with television, is the infrared remote control. We will see how to drive an Arduino using a receiver and an IR remote control. In this tutorial, we use an IR remote control...