fbpixel
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...
Connect Arduino to the Web using Ethernet Shield W5100

Connect Arduino to the Web using Ethernet Shield W5100

Connection between Arduino and internet is possible with the Ethernet Shield W5100. The basis for creating connected objects, is to connect them over a network such as the WiFi network.Communication via the Ethernet network is very convenient when you want to connect...