How to make Arduino based Digital Tachometer │RPM Counter simple DIY tutorial

Sdílet
Vložit
  • čas přidán 6. 03. 2017
  • Complete tutorial :-
    electricdiylab.com/how-to-mak...
    This video is about how to make simple Arduino based Tachometer.
    Watch full video for step by step tutorial to know how to make a Tachometer(RPM Meter)
    Working principle:-
    IR Sensor get penetrate by motion of motor shaft, signal are transfer from IR Senor module to Arduino.
    This signal are processed in Arduino according to code loaded on it.Then Arduino transfer signals to LCD Screen to display RPM
    Circuit drawing :- goo.gl/UePHiN
    Arduino code download link :- www.mediafire.com/file/qb57bnu...
    Detail instructions at : -
    electricdiylab.com/how-to-make...
    IR Sensor Arduino
    VCC----------------5V
    GND----------------GND
    OUT-----------------2(digital pin no. 2)
    16X2 LCD Arduino
    VSS------------------ GND
    VCC----------------- +5V
    VEE------------------ POT
    RS-------------------- 12
    R/W----------------- GND
    E--------------------- 11
    DB0----------------
    DB1----------------
    DB2----------------
    DB3----------------
    DB4------------------ 6
    DB5------------------ 5
    DB6------------------ 4
    DB7---------------- 3
    LED+--------------- +5V
    LED----------------- GND
    Material required
    1) IR Sensor module :- amzn.to/2mOUVyw
    2) LCD Screen :- amzn.to/2lxF1bp
    3) Arduino Nano :- amzn.to/2mcLXIg
    4) Zero PCB :- amzn.to/2lxw4Ps
    5) Header pins :- amzn.to/2lxtoRS
    6) 9V Battery
    Thanks for Watching
    Do subscribe for more videos. FB page :- / innovativemr
    My Gears :-
    Camera :- amzn.to/2FO4W5E
    Video Light :- amzn.to/2FNKzFL
    Mic :- amzn.to/2HYqBZC
    Soldering Kit :- amzn.to/2FgNd8Z
    Screw driver set :- amzn.to/2FkhHHm
    Rotary tool :- amzn.to/2FM3Lnh This video is made for entertainment purposes only. Please use judgment, care, and precaution if you plan to replicate. WhatsApp for custom projects +91 7600079068
  • Věda a technologie

Komentáře • 155

  • @AmilaRajapakse
    @AmilaRajapakse Před 6 lety +1

    I appreciate the knowledge shared. thanks

  • @fendix975
    @fendix975 Před 3 lety

    Excellent!!! Fantastic and thanks for sharing!!!

  • @dollywarrior
    @dollywarrior Před 6 lety

    good job , im working on tachometer project to my lathe and this is the most closed to what i d like to have in my project , thanks for sareing

  • @saurabh6094
    @saurabh6094 Před 7 lety

    your explanation is too good sir....

  • @coctakiesmaster4513
    @coctakiesmaster4513 Před 5 lety

    best idea ever seen

  • @dediwahyudicandu190
    @dediwahyudicandu190 Před 2 lety

    NIce project! And i have Made it and Its work s 👍

  • @skiller_life
    @skiller_life Před 6 lety +7

    the rev variable should be
    volatile unsigned long rev;
    The float is bad idea to increment in isr.
    Later in the loop you can cast it into float.
    Also use unsigned long instead if signed int.
    Use micros instead of millis to get more accuracy.
    This code lies with low speed because of quantization noise.
    The good idea is to calculate interval between interrupts in microceconds as a base of rpm then revert the result.
    On high speed it lies because on inaccuracy of micros().
    The best code is using both methods - store the time interval of last poll and a counter.
    If you’re interesting i can paste the code.

    • @kaamilalli1833
      @kaamilalli1833 Před 6 lety

      yes please do this my guy

    • @vishwanathgupta6349
      @vishwanathgupta6349 Před 6 lety

      Sergei Keler yes bro please paste the code

    • @sawnyone
      @sawnyone Před 6 lety

      По коду создалось впечатление, что автор "слышал звон, но не знает, где он..."

    • @TOUET
      @TOUET Před 6 lety

      Sir code?

    • @randywetzler5976
      @randywetzler5976 Před 5 lety

      Sergei - can you explain your code. Does your "Smart Delay" Library need to be downloaded and installed before using the code your provide here. I tried to compile your code and get an error "Error compiling for Arduino boards. I am measuring slow speed RPM's in a range of 4 - 20. The code in these type CZcams videos returns inaccurate numbers in the low hundreds. Was hoping your code would work for my application -- thanks

  • @MCsCreations
    @MCsCreations Před 7 lety +1

    Really, really nice, bro!

  • @RobynTapps
    @RobynTapps Před 7 lety +2

    now how would i put this in my car.. assuming you would eliminate the IR pcb and only need the signal wire from the original tach and power to the controller?

  • @jaspermcconnell6417
    @jaspermcconnell6417 Před 4 lety +1

    When building boards , what are the acceptable power /voltage requirements for capacitors, resisters etc as far as wattage and tolerance

  • @shadyengineer1988
    @shadyengineer1988 Před 6 lety

    Thanks for your demo and efforts. I just want to say that there is too much fluctuation and the results are in accurate.

    • @CookieJarIDchannel
      @CookieJarIDchannel Před 6 lety

      how to make this accurate?

    • @Its.Desmond
      @Its.Desmond Před 4 lety

      Bro i have tachometer it also not showing accurate? Any solution please?

  • @mjt-ew8rs
    @mjt-ew8rs Před 6 lety +73

    why do so many people put crap music in a video??

  • @sumitroy6893
    @sumitroy6893 Před 6 lety

    Your project is really good and done neatly.
    actually i am working on a similar project which requires the total count of the revolutions (counter) for a definate time period, and that time period is decided by another sensor.
    sir please help

  • @tn65editz57
    @tn65editz57 Před 6 lety

    It can measure induction or all ac motor speed

  • @yousaftoki1599
    @yousaftoki1599 Před 3 lety

    Awesome project...brother

  • @creativetech7399
    @creativetech7399 Před 6 lety

    Plzz upload a video on.. How to make oled display techometer

  • @sandilekhumalo7471
    @sandilekhumalo7471 Před 6 lety +1

    Thanks for this good project....how can I get this code to run on atmega16 chip?

  • @badurcorp357
    @badurcorp357 Před 5 lety +3

    is this as accurate as mz80 ?

  • @aneeq_revs
    @aneeq_revs Před 2 lety

    Love you ho gya wadda wadda

  • @maxmitchelljr1
    @maxmitchelljr1 Před 5 lety +1

    Thanks it works great, but I have one problem over 32,000RPM it readings change to negative and counts down.

  • @hariprasanth5720
    @hariprasanth5720 Před 5 lety +2

    Nice video
    But I need same circuit and material but coding for counting
    Coding please

  • @Waelshamsan
    @Waelshamsan Před 7 lety

    Dear Sharmaz,
    Thank you very much for this valuable video, really it is a good lesson for me and I get a new information from it, also I want to ask you about the Arduino code , why you used the " void isr ()" in the code? If possible would you please just explain what exactly it does in the code?

    • @MrInnovative
      @MrInnovative  Před 7 lety +2

      using an interrupt can free the microcontroller to get some other work done while not missing the IR Sensor input, without ISR (Interrupt Service Routines) there are huge possibilities of missing input pulse,

  • @viralfeed8780
    @viralfeed8780 Před 6 lety

    What if i need to record these reading for some analysis?

  • @SURESH0511
    @SURESH0511 Před 4 lety

    Will it works for 8x2 character LCD ?

  • @praveenkhanna783
    @praveenkhanna783 Před 5 lety

    CAN YOU EXPLAIN ME THE INTERRUPT FUNCTION AND WHAT IS THE PURPOSE TO ADD MILLIS AND OLD TIME

  • @nomanakbar4551
    @nomanakbar4551 Před 5 lety

    Can you please help me to show results on serial monitor instead of LCD.

  • @user-ye3nl1dh8f
    @user-ye3nl1dh8f Před 5 lety

    You cant use this outside it ll detect the infrared from the sun unless and until you lower the sensitvity of the ir detector or you cover the the sensor receiver.

  • @titousake
    @titousake Před 6 lety

    Hello
    very interested in this account turn, I want to know if there is pcb for the electronic circuit or if there is way to download it.
    thank you for your answers cordially

  • @takdocharkh2538
    @takdocharkh2538 Před 6 lety

    Hi,
    I implement a tachometer Arduino (nano) with an Infrared sensor. I want to add a stopwatch program to the tachometer program. I want by pressing the button the time to start and by second pressing the time to stop and by third pressing the time is to reset. But since the tachometer program uses a "millis" function i cannot use the millis for the stopwatch. I need help for finishing the program.
    I upload the tachometer and the stopwatch programs.

  • @jaleelahmed8901
    @jaleelahmed8901 Před 6 lety

    Mr innovative, when the tachometer shows the maximum RPM of a spinning object, I want the display to stop reading further and show the reading so as to note the reading till it is reset, what modification to the sketch be done. thank you

  • @Instinctive17
    @Instinctive17 Před 7 lety

    hello! what do you think/ know is maximum rpm this type of sensor is capable of measuring. I need to measure the rpm on a quadcopter motor at full speed.

    • @MrInnovative
      @MrInnovative  Před 7 lety

      i have tested it for 15k-17k rpm but quadcopter motor have >40k RPM so it lill bit tricky to measure

    • @ricardomoses6913
      @ricardomoses6913 Před 6 lety

      how if i want to add this tachometer with alarm ?

  • @CookieJarIDchannel
    @CookieJarIDchannel Před 6 lety +1

    excuse me, since i'm newbie in using arduino. i wanna ask something, is your tachometer has a specific limit? thanks ^^

    • @skiller_life
      @skiller_life Před 6 lety

      Alexander Ucok yes it has many limits and bugs. See my comment above.

  • @muralikrishna5080
    @muralikrishna5080 Před 7 lety

    hi broo
    wen I plugged in USB for ardunio nano to my phone , light is blinking but wen I am installing codes from ardunio app it's showing "no board found".and all settings I made properly but it's not getting software.y and my phone is motog4+.

  • @haseebahmed1528
    @haseebahmed1528 Před 6 lety

    Sir, how to apply +5V to LCD?

  • @rajeshkj1158
    @rajeshkj1158 Před 6 lety

    sir i want to connect OLED display insted of connecting lcd can you able to give the circuit please

  • @DandSCreations
    @DandSCreations Před 6 lety

    I put one of these together to measure RPM for the FADEC of my home made jet engine, here is hoping she works at 100,000 RPM! lol

  • @j.harikrishnanaidu7403

    Will u pls send me the source program for the aurdino....?

  • @droneforfun5384
    @droneforfun5384 Před 4 lety

    Is there an ardino board that can transfer the RPM info (and plus other data from possibly other sensors) to a smart phone..? For example via bluetooth

  • @madhukumar1345
    @madhukumar1345 Před 7 lety

    since we are using arduino mega for that we have changed the pin numbers of LCD in code but where to change pin no of ir sensor output pin in code

    • @punithPeshva
      @punithPeshva Před 7 lety

      madhu kumar ir is connected to interupt pin don't change that

  • @aneeq_revs
    @aneeq_revs Před 2 lety

    I love you

  • @jasanmolsingh3729
    @jasanmolsingh3729 Před 3 lety

    Hi, What is value=0 written for ?? it has no use in code ahead ? can it be skipped ??

  • @viaokta1061
    @viaokta1061 Před 7 lety

    hi sir, i have question about your code.
    void isr() //interrupt service routine
    {
    rev++;
    }
    what do you mean about rev? can you tell me what is it?
    thanks before.

  • @ricardomoses6913
    @ricardomoses6913 Před 6 lety

    how if i want to add this tachometer with warning alert ?

  • @jankutasaichaitanya
    @jankutasaichaitanya Před 6 lety

    hii iam vinay
    i prepared the project as shown by u .
    iam not getting the output. the display is showing blank

  • @erikzon2054
    @erikzon2054 Před 7 lety +2

    CAN YOU SEND THE CONNECTION, IN THE VIDEO I DO NOT UNDERSTAND IT, TO FEED THE 5V AND THE EARTH WHERE TO GO?
    THANK YOU

    • @MrInnovative
      @MrInnovative  Před 7 lety +1

      easyeda.com/sharmaz747/Arduino_techometer-1682044268dc49a4b0106a43e2b0ba62

    • @ricardomoses6913
      @ricardomoses6913 Před 6 lety

      how if i want to add this tachometer with alarm ?

  • @marcelofarrace8295
    @marcelofarrace8295 Před 7 lety

    can use a inductive sensor npn to replace the IR sensor , how if is posible ?

    • @Interhomekuurne
      @Interhomekuurne Před 5 lety

      Marcelo farrace This is possible, you can see it in my video and it works even better than IR

  • @prasunbiswas8025
    @prasunbiswas8025 Před 6 lety

    How the rpm is getting calculated.. I didnt understand the formula in your code plz explain

  • @pikachucopter1652
    @pikachucopter1652 Před 7 lety

    Where I can buy zero pcb?

  • @vishwanathgupta6349
    @vishwanathgupta6349 Před 6 lety

    Is the code given in the link is it working .

  • @sainayak3060
    @sainayak3060 Před 6 lety

    i have done this but it shows incorrect speed values is there any solution in the program

  • @sagaryelatwar3816
    @sagaryelatwar3816 Před 6 lety

    I make the whole tachometer and upload the program.But LED not shows the name tachometer and rpm..Please suggest the solution

  • @aqibaqib2586
    @aqibaqib2586 Před 7 lety

    Arduino Multitask control relay timer with keypad
    plez help me
    how to make this project

  • @erikzon2054
    @erikzon2054 Před 7 lety

    I did all the assembly but it does not work for me, I do not know if it's due to the code?

  • @fribetsdr7129
    @fribetsdr7129 Před 5 lety

    can i get arduino code without lcd, but using serial monitor?

  • @adan5511
    @adan5511 Před 6 lety +1

    you saved my ass, BTW the code is missing one line, after "int time" add this "int enco = 2;" this is declaring your pin 2, thats where interrup 0 is, and if you dont declare this pin... well. it will never work :)

    • @ravirajsingh4785
      @ravirajsingh4785 Před 6 lety

      enco what is this. and also a one question how to declare input data pin

    • @TOUET
      @TOUET Před 6 lety

      Works on 0 too .. Depends upon the microcontroller

    • @TOUET
      @TOUET Před 6 lety

      And ardunio type

  • @andrahyzertekoster9162

    can I use Arduino IR obstacle sensor for this code?

  • @comrade....9870
    @comrade....9870 Před 2 lety

    Overall budget?

  • @mrrolex2057
    @mrrolex2057 Před 2 lety

    How many female header pins required

  • @florentinoaguilarjr3364
    @florentinoaguilarjr3364 Před 6 lety +2

    you forgot to declare on your code the signal from IR sensor

    • @toneshack
      @toneshack Před 6 lety

      it was declared as an interrupt pin

  • @viaggiatoresolitario7652

    I wanted to ask you why the code you provided doesn't work? I use Arduino Nano but with other sketches I had no problems. Is it necessary to add libraries for this project here? If so, how do you proceed? Thank you.

    • @viaggiatoresolitario7652
      @viaggiatoresolitario7652 Před 5 lety

      I tried another code that was not compiled before, I thought the library would be updated automatically, instead you need to update all the libraries that serve manually. Finally we begin to reason .... :)

  • @rajatagrawal8426
    @rajatagrawal8426 Před 4 lety

    Can you make it for bike

  • @wick6296
    @wick6296 Před 4 lety

    Can someone explain this : rpm=(rev/time)*60.000 ? Why 60.000 . On other sites/videos I;ve seen 30.000 or even 20.000 . Does it have to do with how many white bars are on the circle ( how many times the interrupt functions does ++ in 360 degree turn ) ? Because im using a low voltage to power my motor and it shows +5000 rpm, which is weird cuz its not spinnning that fast and im only using one white line .

    • @ffran41
      @ffran41 Před 2 lety

      A minute has 60.000 ms

  • @thetop5961
    @thetop5961 Před 6 lety

    I want the arduino code of these .Could you share it?

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo Před 5 lety +1

    Assembled this project. Sketch loaded on Arduino Nano but no entry appears on the display. Why?

    • @RGPinger
      @RGPinger Před 5 lety

      because u noob.

    • @pierpa_76pierpaolo
      @pierpa_76pierpaolo Před 5 lety +1

      @@RGPinger
      :) Now I had shelved this project. But I understood the reason for "NOT" functioning. Problem, it's the Chinese cables, which I bought and I didn't think to test them, before mounting them on Arduino .... On 400 cables (they were cheap and I let myself be tempted) I found about thirty of them working. They are too fragile and poor. I'll try again later with some reliable cables.

  • @labheshlalka9666
    @labheshlalka9666 Před 6 lety

    the code for Arduino is not working please send me another link for code please... and ur project was nice...

  • @hareshjoshi1417
    @hareshjoshi1417 Před 6 lety

    Please send me code for arduino uno without lcd because i want to use serial monitor

  • @Egy-zi1wv
    @Egy-zi1wv Před 5 lety

    in ur code rpm = rev/time*60000, what is 60000? please tell me, thanks

  • @Interhomekuurne
    @Interhomekuurne Před 5 lety

    Good video but I made this thing and my opinion is that this system is NOT very stable and gives fluctuating results. . The most of the sensors don’t work,so you must use the correct sensor and good refective material!

    • @wrabir
      @wrabir Před 5 lety

      may i ask for some suggestions on the correct sensors , to be informed i have to convert it to AC powered to fit for my project for a machine in an industry.
      Thanks

    • @Interhomekuurne
      @Interhomekuurne Před 5 lety +1

      Wahid Abir: I used type 86009 Infrarood Barrière Module Auto Obstakel Sensor with ptientiometer for regulating the distance, and it works well! I can’t upload a photo,so I give you this link to a video. czcams.com/video/ZVr9WuACKY4/video.html

  • @charnjit525
    @charnjit525 Před 5 lety

    if I want get out put every 100 milliseconds instead of 1 second?????

  • @hasanmukadam999
    @hasanmukadam999 Před 2 lety

    hii can i get a project report for this??

  • @sagnikchatterjee8122
    @sagnikchatterjee8122 Před 7 lety

    can I use arduino uno

  • @AnujKumar-ym4ri
    @AnujKumar-ym4ri Před 6 lety

    isme code upload nhi ho rhe h code error show please solve my problem

  • @vishwanathgupta6349
    @vishwanathgupta6349 Před 6 lety

    Is this circuit working

  • @munishgoyal7602
    @munishgoyal7602 Před 7 lety

    In ur circuit diagram........ Which wire is ground, Vcc, Output for IR sensor & where should it be connected to the arduino.... Plz help

    • @MrInnovative
      @MrInnovative  Před 7 lety +1

      Mysterious Manish out wire is connected with digital pin 2 of arduino, vcc pin is connected with 5v of arduino and gnd is connected with gnd of arduino

    • @munishgoyal7602
      @munishgoyal7602 Před 7 lety

      Mr Innovative..... And a resistance 100k is shown connected to display...... What's that mean

    • @MrInnovative
      @MrInnovative  Před 7 lety

      VEE of LCD is connected 100k pot to adjust brightness

    • @munishgoyal7602
      @munishgoyal7602 Před 7 lety

      Mr Innovative... The points which u have marked as 5V & GND in the diagram.... Are they connected to arduino's 5V & GND place?

    • @MrInnovative
      @MrInnovative  Před 7 lety

      yes all the point which marked as 5V & GND are connected with arduino's 5V & Gnd

  • @electronicsideas1361
    @electronicsideas1361 Před 2 lety

    ERRO rgb_lcd.h: No such file or directory

  • @krishnarajs5073
    @krishnarajs5073 Před 4 lety

    I can't upload program to arduino
    Please help me

  • @seyyidosmansevgili2909

    Code isn't working.
    Can you help me ?

  • @manishgoyal7168
    @manishgoyal7168 Před 7 lety

    bro im having error in compiling code for arduino it is showing.....plz help me out
    Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Uno"
    c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: unrecognized option '-plugin'
    c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: use the --help option for usage information
    collect2.exe: error: ld returned 1 exit status
    exit status 1
    Error compiling for board Arduino/Genuino Uno.

    • @shutdahellup69420
      @shutdahellup69420 Před 7 lety +1

      Manish Goyal ask it on arduino forums website, you would get much quicker and better answer

  • @munishgoyal7602
    @munishgoyal7602 Před 7 lety

    I m not able to find code..... As clicked on code link disable error appears

    • @MrInnovative
      @MrInnovative  Před 7 lety

      www.mediafire.com/file/qb57bnuww0us465/tachometer-using-arduino.ino

    • @MrJaiswal
      @MrJaiswal Před 7 lety

      thanks a lot !!!!

  • @rajmakwana7378
    @rajmakwana7378 Před 5 lety

    Why not count rpm in my sensor

  • @chetanmanchanda5130
    @chetanmanchanda5130 Před 6 lety

    Its not a meter it rpm always increases what is round per meter it does

  • @creativetech7399
    @creativetech7399 Před 6 lety

    Sir i dont understand circuit drawing

  • @parakhpathak126
    @parakhpathak126 Před 2 lety

    Why code is not compiling

  • @marwakajji34
    @marwakajji34 Před 5 lety

    code arduino plz ;i can't upload it

  • @azimalif266
    @azimalif266 Před 7 lety

    Taking up too much space. good project though.

  • @electricosautomatizacionsa6109

    TODO MUY BIEN PERO EL CODIGO :(

    • @skiller_life
      @skiller_life Před 6 lety

      Eléctricos & automatización SAS en liquidación el codigo es una mierda. Me parece que el primer codigo del hombre.

  • @parakhpathak126
    @parakhpathak126 Před 2 lety

    Showing Return 0 is error

  • @sangitasrivastava172
    @sangitasrivastava172 Před 6 lety

    Hahaha this video was posted 9 months ago from 25/12/17

  • @shahcarbyshahbatterybhusaw6920

    Sir I can't load cords to urduino

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo Před 5 lety

    www.dropbox.com/s/p06qymoxeboluc3/P1050670.JPG?dl=0
    I haven't connected the sensor yet, but at least I see RPM starting at zero.

  • @princeKumar-bm4yg
    @princeKumar-bm4yg Před 4 lety

    इसमे टाइम नहि दिखा रहा है

  • @ajaykevin7759
    @ajaykevin7759 Před 3 lety

    Compilation error

  • @JonathanBydendyk
    @JonathanBydendyk Před 5 lety +1

    Pointless with out an explanation

  • @jameselliott9397
    @jameselliott9397 Před 5 lety

    If your gonna do a tutorial, loose the horrible music.

  • @Grumpyoldtwit
    @Grumpyoldtwit Před 5 lety

    WTF is that NOISE!!!

  • @4priusnt
    @4priusnt Před 5 lety

    Annoying music

  • @papilyon
    @papilyon Před 3 lety

    müzik bok gibi

  • @ricardomoses6913
    @ricardomoses6913 Před 7 lety

    how if i want to add this tachometer with alarm ?