Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

I made this Tachometer using IR sensor!

Автор: THE ELECTRONIC GUY

Загружено: 2023-06-29

Просмотров: 34185

Описание:

Circuit diagram and code:
https://www.etechnophiles.com/tachome...

Steps to make this tachometer:

1. Put the Arduino Nano on the breadboard
2. Connect the SDA and SCL pins of OLED to A4 and A5 respectively.
3. Connect the OUT pin of the IR sensor to digital pin 2 of Arduino Nano and give +5v and GND connections.
4. Upload the code. (The code is pinned in the first comment.)

Explanation:
The current time in milliseconds is stored in the 'currentMillis' variable.
If the time difference between the current time and the previous time stored in previousMillis is equal to or greater than 1000 milliseconds (1 second):
The interrupt is temporarily detached to avoid conflicting with the counter variable.

The RPM value is calculated by dividing the counter value by 2 (assuming each revolution triggers two interrupts) and multiplying it by 60 to convert it to RPM.

The counter is reset to 0.
The interrupt is reattached to the IR sensor pin.
The previousMillis is updated to the current time.
The OLED display is cleared.
The RPM value is displayed on the OLED display.

I made this Tachometer using IR sensor!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

STM32 после Arduino: с чего начать (Есть субтитры)

STM32 после Arduino: с чего начать (Есть субтитры)

25 Запрещенных Гаджетов, Которые Вы Можете Купить Онлайн

25 Запрещенных Гаджетов, Которые Вы Можете Купить Онлайн

自動コマンドによるLEDの点滅

自動コマンドによるLEDの点滅

Счастливой зимы ☃️❄️ Комфортная музыка, которая дарит позитив в 4K UHD для ТВ #indiemusic

Счастливой зимы ☃️❄️ Комфортная музыка, которая дарит позитив в 4K UHD для ТВ #indiemusic

Измеритель оборотов токарного станка с использованием магнита, датчика Холла и ЖК-экрана

Измеритель оборотов токарного станка с использованием магнита, датчика Холла и ЖК-экрана

Arduino Temperature Gauge - with ESP32S3 round display and thermocouple sensor, measure temperature

Arduino Temperature Gauge - with ESP32S3 round display and thermocouple sensor, measure temperature

How To Make 6-Channel Radio Control. Range 2000m+

How To Make 6-Channel Radio Control. Range 2000m+

Огромный OLED экран 2.42

Огромный OLED экран 2.42" на контроллере SSD1309, обзор и подключение к Arduino

7 ПОЛЕЗНЫХ устройств на АРДУИНО, которые можно собрать за 15 минут.

7 ПОЛЕЗНЫХ устройств на АРДУИНО, которые можно собрать за 15 минут.

How to Make a DIY Tachometer at Home | RPM Meter Using Arduino

How to Make a DIY Tachometer at Home | RPM Meter Using Arduino

RPM meter with arduino DIY (IR sensor and 3D printed case)

RPM meter with arduino DIY (IR sensor and 3D printed case)

TRIPLE the WiFI RANGE of your ESP32 C3 using ONE wire! #esp32

TRIPLE the WiFI RANGE of your ESP32 C3 using ONE wire! #esp32

Arduino Uno Tachometer RPM using 3144 Hall Effect Sensor

Arduino Uno Tachometer RPM using 3144 Hall Effect Sensor

15 лучших проектов Интернета вещей 2025 года 🤯!

15 лучших проектов Интернета вещей 2025 года 🤯!

ВСЁ О ПАЙКЕ. Типичные ошибки новичков. Полезные советы и лайфхаки.

ВСЁ О ПАЙКЕ. Типичные ошибки новичков. Полезные советы и лайфхаки.

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

ESP32 CANBus Sniffing: Wirelessly Extract Data from Your Car

ESP32 CANBus Sniffing: Wirelessly Extract Data from Your Car

Соберите антенну длиной 2 м (146 МГц) всего за 5 долларов

Соберите антенну длиной 2 м (146 МГц) всего за 5 долларов

Don't Throw Away Your Broken Laptop Charger! The Secrets Behind Your Charger You Need to Know

Don't Throw Away Your Broken Laptop Charger! The Secrets Behind Your Charger You Need to Know

Ford RS gauges with Arduino UNO and DWIN intelligent display (like Nextion displays)

Ford RS gauges with Arduino UNO and DWIN intelligent display (like Nextion displays)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com