DIY Digital Arduino Tachometer | RPM Counter Using Proximity Sensor (IR)

Поділитися
Вставка
  • Опубліковано 16 жов 2024
  • This video is all about building a digital tachometer (RPM Counter) by using simple components at home.
    Feel free to ask questions in the Comment section.
    LIKE
    SHARE
    COMMENT and
    SUBSCRIBE
    Code for viewing pulses - www.mediafire.c...
    Code for Tachometer - www.mediafire.c...
    Links to purchase
    Proximity sensor module - www.amazon.in/...
    Arduino NANO - www.amazon.in/...

КОМЕНТАРІ • 80

  • @Marc_Wolfe
    @Marc_Wolfe Рік тому +3

    Concise interrupt based code. love it. May likely get adapted to my DIY engine and transmission controller I'm working on.

  • @harshpandey7970
    @harshpandey7970 Рік тому +2

    Nobody could explain me this way in just 2 mins 🙏🏻🙏🏻

  • @jeetsaini143
    @jeetsaini143 3 роки тому +5

    Absolutely great video bro, specially short and simple without wastage of time. Here I need more help actually i want to set limit, like if set 100 rpm if speed exceed beyond limit it activate realy.

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      Yeah it's possible.
      You can alter the code to your wish.

  • @Patrik1526889900
    @Patrik1526889900 2 роки тому +7

    can somone explain why this only works on a 1000ms delay? if i try reduce it it gves wrong values.

    • @edinfific2576
      @edinfific2576 5 місяців тому

      Because it counts the number of pulses per second (which is 1000ms), and then multiplies the result with 60 to get number of rotations in 60 seconds or 1 minute.

  • @jamesjaime1761
    @jamesjaime1761 10 місяців тому +1

    for the rpm_meter sketch why use detachInterrupt(0) instead of (1)

  • @526andress
    @526andress 3 роки тому +2

    el mejor video que pude encontrar sobre el sensor infrarojo y contador de rpm

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      Sorry can't understand what's you're speaking

    • @giuseppedibari
      @giuseppedibari 3 роки тому

      @@ELECTROMODlab Andres Sandoval says that this is the best video he has found about ir sensor and rpm counter.l

  • @thivyaprakastk1666
    @thivyaprakastk1666 3 роки тому +1

    SIR i want to measure rpm of slowing running wheel like rpm will be in less number but this code doesn't works to me please help me to sort out this.

  • @bobanlapcevic5406
    @bobanlapcevic5406 Рік тому

    Normally this sensor detects the distance but in this case it detects color of this black marker ?

  • @nirmalpatel7360
    @nirmalpatel7360 3 роки тому +1

    Sir. Second cod me input sensr pin nubr konsa he

  • @hassannawaz
    @hassannawaz 2 роки тому +1

    Hey,
    I'm about to purchase required components for the project. I have one question. I'm trying to track the rotation of a wheel and its color is black. Would it still work if i stick a white tape on it? I don't wana paint the wheel white.

    • @ELECTROMODlab
      @ELECTROMODlab  2 роки тому

      Yes we can but have to alter the code a bit.

  • @ayushmac6587
    @ayushmac6587 7 днів тому

    Which software is this ?

  • @lordrahulcool
    @lordrahulcool 3 роки тому +1

    Is this better than magnetic reed or proxomity sensor counter

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому +1

      It's better than magnetic reed.
      But no idea about proximity based counter

  • @subrahmanyasalvankar7909
    @subrahmanyasalvankar7909 3 роки тому +2

    Sir will this work with Arduino uno r3

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому +1

      Definitely yes. Arduino UNO and Arduino NANO are exactly the same. Different is the board dimensions.

    • @subrahmanyasalvankar7909
      @subrahmanyasalvankar7909 3 роки тому

      @@ELECTROMODlab
      Thanks sir and the connection would be the same 👍

  • @shekharsarkar9079
    @shekharsarkar9079 Рік тому

    Sir analog rpm mein kam karega yeh device

  • @aidanatkinson7717
    @aidanatkinson7717 3 роки тому

    It tells me that i need to include avr/interrupt.h but this does not exist? on arduino R3 controller?

  • @erikson1882
    @erikson1882 3 роки тому +1

    Bro can you explain to me about the code, i see on rpm wave code it use digital 3 as sensor, but at rpm meter code i don’t see any digital 3 used as sensor. Thankyou

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      In RPM meter code I've used the interrupt pin so connect the sensor according to the pin declared.

    • @erikson1882
      @erikson1882 3 роки тому

      @@ELECTROMODlab ahh i understand now, thankyou so much bro 👍

    • @erikson1882
      @erikson1882 3 роки тому

      @@ELECTROMODlab bro i try to read the rpm meter via modscan32, but i dont know how make the code to read the rpm value. Do you ever use modscan32 bro?

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      I'm not familiar with that.

  • @luvinr4763
    @luvinr4763 Рік тому +1

    can i use Arduino uno ?

  • @tassoskallianiotis6044
    @tassoskallianiotis6044 Рік тому

    The pulses code works fine in my project but when i try to add the rpm measurement code i get wrong values. To mange this i try to count and print the "REV" variable but i get very large values, for example i have a disk with 36 holes and i just rotate a few holes and get vales of 43.00 or 36.00. I am using your code exactly and arduino MEGA. What am i doing wrong?

    • @Figit__bg
      @Figit__bg Рік тому +2

      When you have so many holes you need to devide the rpm by number of holes you have

  • @crispygolden
    @crispygolden 2 роки тому +1

    Can it be done using a photo resistor/ light blocking module?

    • @ELECTROMODlab
      @ELECTROMODlab  2 роки тому

      It cannot be done by using LDR.

    • @joshuamitchell2275
      @joshuamitchell2275 2 роки тому +1

      actually it can, but its not as simple. One way to do it is to pulse your LED at say 500Hz, then you need to bandpass filter the signal from the LDR to block any frequencies outside the 450-550Hz range. I think it may be better to build an analogue filter in this case using two op-amps, a high and low pass stage in series. Then for the final stage you can add another low pass filter to this which provides you with a voltage representing the number of pulses reflected in the time period when the white segment of the disk is in-phase with the LDR and LED transceiver. This would give you a non-smooth pulse, which you could stick into a comparitor to provide you with a nice square wave pulse for the Nano.

    • @ELECTROMODlab
      @ELECTROMODlab  2 роки тому +1

      Informative comment.👍

  • @crispygolden
    @crispygolden 2 роки тому

    Its just showing 0s and 1s. Can you help me?

  • @wsip82
    @wsip82 Рік тому +1

    Thank You!

  • @sharathpoojari7781
    @sharathpoojari7781 Рік тому

    can I get the code? link is not working

  • @vinayaksingh8829
    @vinayaksingh8829 3 роки тому +1

    I want to measure rpm of 6 motors continously.How to do that.Can you please tell?

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      If all the 6 motors are of same kind and using same power supply, just measure only one motor. If not you have to make use of 6 sensors for that. Unfortunately Arduino only has 2 interrupt pins. If you're using Arduino you can measure only 2 RPM's at at time.

    • @vinayaksingh8829
      @vinayaksingh8829 3 роки тому

      @@ELECTROMODlab oh cant we measure 6 different rpms using arduino???

    • @vinayaksingh8829
      @vinayaksingh8829 3 роки тому

      if i use the same code and use it for 6 different functions...will it work?

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      6 different functions like what ?
      We are measuring the RPM by using interrupt pins
      Arduino has only 2 interrupt pins.
      If you're able to do, good luck.

    • @vinayaksingh8829
      @vinayaksingh8829 3 роки тому

      @@ELECTROMODlab i meant 6 different interrupt functions.

  • @ali89shah
    @ali89shah 2 роки тому

    Can we use it with vehicles Tire?

    • @ELECTROMODlab
      @ELECTROMODlab  2 роки тому +1

      Definitely we can use but we have to stick a white tape on the black tyre and to modify a part of the code.

    • @ali89shah
      @ali89shah 2 роки тому

      You mean tire diameter? So It makes the whole module tire siE dependent?

  • @lordrahulcool
    @lordrahulcool 3 роки тому

    Does it work efficently with 2000rpm ?

  • @maulanawahyudi7127
    @maulanawahyudi7127 3 роки тому

    Bro is it work efficiently in 10.000 rpm ?

  • @AdityaKumar-tb8kq
    @AdityaKumar-tb8kq 3 роки тому

    Need your help ?
    After 32000 value, it shows negative values.

  • @stefanramstrom9030
    @stefanramstrom9030 3 роки тому

    Hi, if you put that inside the windshield of the car, it gives a rash on it rains

  • @erikson1882
    @erikson1882 3 роки тому

    broo is it work properly with 3000rpm motor?

  • @everythingatonce7552
    @everythingatonce7552 Рік тому

    Sir code url is blocked

  • @jakecsiscar
    @jakecsiscar 3 роки тому

    Hi, why on the second sketch, the digital pin becomes 1?

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому

      It's your wish
      You can do either.

    • @jakecsiscar
      @jakecsiscar 3 роки тому

      @@ELECTROMODlab i got it. it becomes 1 because pin 3 it actually INT1. thanks... I'm just a confused beginner.

    • @thivyaprakastk1666
      @thivyaprakastk1666 3 роки тому

      @@jakecsiscar bro im not getting the numbers instead i'm seeing only zeros and ones ? please help me to sort this out

  • @thivyaprakastk1666
    @thivyaprakastk1666 3 роки тому

    anyone plish help me to sort my problem im getting only 0 and 1 in serial monitor , please tell me how to get the correct rpm values

  • @sivabalan1370
    @sivabalan1370 3 роки тому

    Bro.... I'm using uno board... so I have given IR data to digital pin 2...Followed all the instructions....waveform is generating perfectly but in rpm meter code I'm not able to print the rpm... it's only printing 0...what to do?

    • @ELECTROMODlab
      @ELECTROMODlab  3 роки тому +1

      Try fixing the wires properly. In the void setup section at attachinterrupt change the number form 1 to 0. Or follow the exact same pin configuration shared in the video. Thanks.....

  • @joyenuddin4014
    @joyenuddin4014 2 роки тому

    How to count by connecting with ir sensor module and calculator

  • @akashasbro3913
    @akashasbro3913 4 роки тому +2

    Super

  • @ahmedalaa1557
    @ahmedalaa1557 3 роки тому +1

    it didnt work with me

  • @mspchannel1114
    @mspchannel1114 4 роки тому +1

    Supar bro

  • @INFOBUFFETKhan
    @INFOBUFFETKhan 4 роки тому

    Keep it up!!!

  • @jayakrishnans2785
    @jayakrishnans2785 4 роки тому +1

    Nice video🖒🖒

  • @lokeshbro1938
    @lokeshbro1938 4 роки тому

    👏🏻👏🏻👏🏻👌🏻

  • @hiram1238
    @hiram1238 2 роки тому +2

    Can u give circuit connection details for rpm measurement.

    • @michaeljoshuamanallo1742
      @michaeljoshuamanallo1742 2 роки тому

      sensor module VCC to 5v of arduino and ground to ground of arduino, sensor out to pin 3 of arduino

    • @dienau6313
      @dienau6313 5 місяців тому

      @@michaeljoshuamanallo1742 but there is no '3' pin in the code

  • @subrahmanyasalvankar7909
    @subrahmanyasalvankar7909 3 роки тому

    Sir will this work with Arduino uno r3