by Xukyo | 2 Nov 2020 | Tutorials
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...
by Xukyo | 2 Nov 2020 | Tutorials
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...
by Xukyo | 2 Nov 2020 | Tutorials
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...
by Xukyo | 2 Nov 2020 | Tutorials
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...
by Xukyo | 2 Nov 2020 | Tutorials
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...
by Xukyo | 14 Oct 2020 | Tutorials
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...
by Xukyo | 14 Oct 2020 | Tutorials
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...
by Xukyo | 14 Oct 2020 | Tutorials
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...
by Xukyo | 14 Oct 2020 | Tutorials
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...
by Xukyo | 14 Oct 2020 | Tutorials
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...