RPM Meter on Arduino Uno
Arduino is a platform of omnipotence. It allows to create simple flashers, but also complex systems for more advanced automation. Thanks to the different buses, the Arduino can also be expanded to include different peripherals. Today we will take a closer look at the obstacle infrared sensor and its use for the tachometer. The sensor principle is very simple. It contains 2 diodes, emitting and receiving diode.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Used Hardware
The receiving IR diode is connected directly to the 5V digital output, and a potentiometer can be used to control the sensitivity (distance of the object) to which the receiving diode will react. The module is powered by Arduino 5V, it is also used to supply a transmitting IR diode that emits light permanently at 38kHz at a wavelength of 950nm / 940nm (depending on the diode used). The module can be found at retailers (Aliexpress and others) under the name KY-032, respectively Obstacle Sensor. There are several versions, I used the first version, which is constructed very simply.
The sensor reacts to an obstacle at a certain distance (set by a potentiometer) 2-40 cm. When an obstacle is detected, a 5V signal is applied to the output terminal of the module that processes the Arduino. One of the (in) advantages of IR diodes is that light is abl