fbpixel
Implementation of a Measurement Hysteresis on Arduino

Implementation of a Measurement Hysteresis on Arduino

An analogue sensor sends a voltage level, usually between 0 and 5V, representing a physical value. This voltage can be subject to measurement noise (electronic interference, electromagnetic interference, measurement accuracy, etc.). In some applications, you will need...
Using a 4×4 Digital Keypad with Arduino

Using a 4×4 Digital Keypad with Arduino

Whether it’s a calculator or the keypad of a building, we commonly use numeric keypads. The 4×4 numeric keypad is a matrix of 16 buttons whose states can be detected by a microcontroller. Hardware ComputerArduino UNOUSB cable A Male to B MaleKeypad 4×4...
Using an MPU6050 Module with Arduino

Using an MPU6050 Module with Arduino

The MPU6050 module is an inertial unit that measures the evolution of an object in space. It can measure linear and angular accelerations in the three axes of space. This component can be found in several applications such as video game controllers or smartphones. It...
Using a multiplexer with Arduino

Using a multiplexer with Arduino

The multiplexer is an integrated circuit made up of logic circuits allowing several signals to be concentrated on the same output (mutiplexing or mux) or to connect an input to one of its N outputs (demultiplexing or demux). In this tutorial, we will see the use of...
Using a shift register with Arduino

Using a shift register with Arduino

The shift register is an integrated circuit consisting of logic circuits in series that can store high or low states. It can be used to drive LEDs or to retrieve the state of several sensors. Hardware ComputerArduino UNOUSB cable A Male to B MaleShift Register 74HC595...
Using EEPROM with Arduino

Using EEPROM with Arduino

The EEPROM is an internal memory of the microcontroller which allows data to be stored after the card is restarted. When working with microcontrollers, it is useful to store data in the memory, especially when the card is switched off, whether intentionally or...
Summary of function definition in C

Summary of function definition in C

In programming, it is very common or even necessary to use functions that require special definition. This is especially true when code blocks are repeated in the same program. A set of functions and objects are usually collected in libraries. We will see in this...
Summary of strings with Arduino

Summary of strings with Arduino

When you start programming with Arduino, you will very quickly get to the use of strings. A string is used to store text. It is used, for example, to display text on an LCD screen or to send text to the serial monitor. This is often the first example: the display of...
A quick look at the switch instruction in C

A quick look at the switch instruction in C

The switch..case instruction is a conditional structure that executes different instruction blocks depending on the value of a variable. This instruction is equivalent to nested if instructions. Syntax of the switch instruction The switch instruction takes an integer...
Summary on instruction while in C

Summary on instruction while in C

The while instruction is the conditional structure that allows you to create a loop on a condition. It is found in all programming languages. It is used to execute a block of code in a loop as long as a condition is fulfilled. Syntax of the while instruction The...