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

Поделиться
HTML-код
  • Опубликовано: 6 мар 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
  • НаукаНаука

Комментарии • 155

  • @RobynTapps
    @RobynTapps 7 лет назад +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 4 года назад +1

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

  • @takdocharkh2538
    @takdocharkh2538 6 лет назад

    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.

  • @muralikrishna5080
    @muralikrishna5080 7 лет назад

    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+.

  • @sumitroy6893
    @sumitroy6893 6 лет назад

    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

  • @badurcorp357
    @badurcorp357 5 лет назад +3

    is this as accurate as mz80 ?

  • @maxmitchelljr1
    @maxmitchelljr1 5 лет назад +1

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

  • @fendix975
    @fendix975 4 года назад

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

  • @tn65editz57
    @tn65editz57 6 лет назад

    It can measure induction or all ac motor speed

  • @viralfeed8780
    @viralfeed8780 6 лет назад

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

  • @sandilekhumalo7471
    @sandilekhumalo7471 6 лет назад +1

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

  • @nomanakbar4551
    @nomanakbar4551 5 лет назад

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

  • @AmilaRajapakse
    @AmilaRajapakse 6 лет назад +1

    I appreciate the knowledge shared. thanks

  • @skiller_life
    @skiller_life 6 лет назад +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 6 лет назад

      yes please do this my guy

    • @vishwanathgupta6349
      @vishwanathgupta6349 6 лет назад

      Sergei Keler yes bro please paste the code

    • @sawnyone
      @sawnyone 6 лет назад

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

    • @TOUET
      @TOUET 6 лет назад

      Sir code?

    • @randywetzler5976
      @randywetzler5976 5 лет назад

      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 RUclips videos returns inaccurate numbers in the low hundreds. Was hoping your code would work for my application -- thanks

  • @mjt-ew8rs
    @mjt-ew8rs 7 лет назад +73

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

  • @jaleelahmed8901
    @jaleelahmed8901 6 лет назад

    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

  • @titousake
    @titousake 6 лет назад

    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

  • @hariprasanth5720
    @hariprasanth5720 6 лет назад +2

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

  • @praveenkhanna783
    @praveenkhanna783 5 лет назад

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

  • @dollywarrior
    @dollywarrior 7 лет назад

    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

  • @rajeshkj1158
    @rajeshkj1158 6 лет назад

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

  • @SURESH0511
    @SURESH0511 4 года назад

    Will it works for 8x2 character LCD ?

  • @jasanmolsingh3729
    @jasanmolsingh3729 3 года назад

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

  • @jankutasaichaitanya
    @jankutasaichaitanya 6 лет назад

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

  • @coctakiesmaster4513
    @coctakiesmaster4513 5 лет назад

    best idea ever seen

  • @j.harikrishnanaidu7403
    @j.harikrishnanaidu7403 6 лет назад

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

  • @erikzon2054
    @erikzon2054 7 лет назад

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

  • @Waelshamsan
    @Waelshamsan 7 лет назад

    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  7 лет назад +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,

  • @creativetech7399
    @creativetech7399 6 лет назад

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

  • @sainayak3060
    @sainayak3060 6 лет назад

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

  • @user-ye3nl1dh8f
    @user-ye3nl1dh8f 5 лет назад

    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.

  • @sagaryelatwar3816
    @sagaryelatwar3816 6 лет назад

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

  • @prasunbiswas8025
    @prasunbiswas8025 6 лет назад

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

  • @ricardomoses6913
    @ricardomoses6913 7 лет назад

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

  • @haseebahmed1528
    @haseebahmed1528 6 лет назад

    Sir, how to apply +5V to LCD?

  • @shadyengineer1988
    @shadyengineer1988 7 лет назад

    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 6 лет назад

      how to make this accurate?

    • @Its.Desmond
      @Its.Desmond 4 года назад

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

  • @aqibaqib2586
    @aqibaqib2586 7 лет назад

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

  • @yousaftoki1599
    @yousaftoki1599 3 года назад

    Awesome project...brother

  • @droneforfun5384
    @droneforfun5384 4 года назад

    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

  • @dediwahyudicandu190
    @dediwahyudicandu190 2 года назад

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

  • @Instinctive17
    @Instinctive17 7 лет назад

    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  7 лет назад

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

    • @ricardomoses6913
      @ricardomoses6913 7 лет назад

      how if i want to add this tachometer with alarm ?

  • @saurabh6094
    @saurabh6094 7 лет назад

    your explanation is too good sir....

  • @viaokta1061
    @viaokta1061 7 лет назад

    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.

  • @fribetsdr7129
    @fribetsdr7129 5 лет назад

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

  • @aneeq_revs
    @aneeq_revs 2 года назад

    Love you ho gya wadda wadda

  • @MCsCreations
    @MCsCreations 7 лет назад +1

    Really, really nice, bro!

  • @madhukumar1345
    @madhukumar1345 7 лет назад

    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 7 лет назад

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

  • @charnjit525
    @charnjit525 5 лет назад

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

  • @CookieJarIDchannel
    @CookieJarIDchannel 6 лет назад +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 6 лет назад

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

  • @pikachucopter1652
    @pikachucopter1652 7 лет назад

    Where I can buy zero pcb?

  • @DandSCreations
    @DandSCreations 6 лет назад

    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

  • @erikzon2054
    @erikzon2054 7 лет назад +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  7 лет назад +1

      easyeda.com/sharmaz747/Arduino_techometer-1682044268dc49a4b0106a43e2b0ba62

    • @ricardomoses6913
      @ricardomoses6913 7 лет назад

      how if i want to add this tachometer with alarm ?

  • @thetop5961
    @thetop5961 6 лет назад

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

  • @wick6296
    @wick6296 4 года назад

    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 2 года назад

      A minute has 60.000 ms

  • @viaggiatoresolitario7652
    @viaggiatoresolitario7652 5 лет назад

    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 5 лет назад

      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 .... :)

  • @hareshjoshi1417
    @hareshjoshi1417 6 лет назад

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

  • @seyyidosmansevgili2909
    @seyyidosmansevgili2909 6 лет назад

    Code isn't working.
    Can you help me ?

  • @marcelofarrace8295
    @marcelofarrace8295 7 лет назад

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

    • @Interhomekuurne
      @Interhomekuurne 5 лет назад

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

  • @mrrolex2057
    @mrrolex2057 2 года назад

    How many female header pins required

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 5 лет назад +1

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

    • @RGPinger
      @RGPinger 5 лет назад

      because u noob.

    • @pierpa_76pierpaolo
      @pierpa_76pierpaolo 5 лет назад +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.

  • @vishwanathgupta6349
    @vishwanathgupta6349 6 лет назад

    Is the code given in the link is it working .

  • @AnujKumar-ym4ri
    @AnujKumar-ym4ri 6 лет назад

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

  • @hasanmukadam999
    @hasanmukadam999 2 года назад

    hii can i get a project report for this??

  • @krishnarajs5073
    @krishnarajs5073 4 года назад

    I can't upload program to arduino
    Please help me

  • @manishgoyal7168
    @manishgoyal7168 7 лет назад

    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 7 лет назад +1

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

  • @labheshlalka9666
    @labheshlalka9666 6 лет назад

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

  • @comrade....9870
    @comrade....9870 2 года назад

    Overall budget?

  • @electronicsideas1361
    @electronicsideas1361 3 года назад

    ERRO rgb_lcd.h: No such file or directory

  • @rajatagrawal8426
    @rajatagrawal8426 4 года назад

    Can you make it for bike

  • @vishwanathgupta6349
    @vishwanathgupta6349 6 лет назад

    Is this circuit working

  • @andrahyzertekoster9162
    @andrahyzertekoster9162 7 лет назад

    can I use Arduino IR obstacle sensor for this code?

  • @aneeq_revs
    @aneeq_revs 2 года назад

    I love you

  • @rajmakwana7378
    @rajmakwana7378 5 лет назад

    Why not count rpm in my sensor

  • @Egy-zi1wv
    @Egy-zi1wv 5 лет назад

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

  • @marwakajji34
    @marwakajji34 5 лет назад

    code arduino plz ;i can't upload it

  • @chetanmanchanda5130
    @chetanmanchanda5130 6 лет назад

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

  • @florentinoaguilarjr3364
    @florentinoaguilarjr3364 6 лет назад +2

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

    • @toneshack
      @toneshack 6 лет назад

      it was declared as an interrupt pin

  • @adan5511
    @adan5511 6 лет назад +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 6 лет назад

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

    • @TOUET
      @TOUET 6 лет назад

      Works on 0 too .. Depends upon the microcontroller

    • @TOUET
      @TOUET 6 лет назад

      And ardunio type

  • @creativetech7399
    @creativetech7399 6 лет назад

    Sir i dont understand circuit drawing

  • @Interhomekuurne
    @Interhomekuurne 5 лет назад

    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 5 лет назад

      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 5 лет назад +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. ruclips.net/video/ZVr9WuACKY4/видео.html

  • @munishgoyal7602
    @munishgoyal7602 7 лет назад

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

    • @MrInnovative
      @MrInnovative  7 лет назад

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

    • @MrJaiswal
      @MrJaiswal 7 лет назад

      thanks a lot !!!!

  • @parakhpathak126
    @parakhpathak126 2 года назад

    Why code is not compiling

  • @munishgoyal7602
    @munishgoyal7602 7 лет назад

    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  7 лет назад +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 7 лет назад

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

    • @MrInnovative
      @MrInnovative  7 лет назад

      VEE of LCD is connected 100k pot to adjust brightness

    • @munishgoyal7602
      @munishgoyal7602 7 лет назад

      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  7 лет назад

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

  • @sagnikchatterjee8122
    @sagnikchatterjee8122 7 лет назад

    can I use arduino uno

  • @parakhpathak126
    @parakhpathak126 2 года назад

    Showing Return 0 is error

  • @electricosautomatizacionsa6109
    @electricosautomatizacionsa6109 6 лет назад +1

    TODO MUY BIEN PERO EL CODIGO :(

    • @skiller_life
      @skiller_life 6 лет назад

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

  • @azimalif266
    @azimalif266 7 лет назад

    Taking up too much space. good project though.

  • @shahcarbyshahbatterybhusaw6920
    @shahcarbyshahbatterybhusaw6920 5 лет назад

    Sir I can't load cords to urduino

  • @sangitasrivastava172
    @sangitasrivastava172 6 лет назад

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

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 5 лет назад

    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 4 года назад

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

  • @ajaykevin7759
    @ajaykevin7759 3 года назад

    Compilation error

  • @jameselliott9397
    @jameselliott9397 5 лет назад

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

  • @JonathanBydendyk
    @JonathanBydendyk 5 лет назад +1

    Pointless with out an explanation

  • @Grumpyoldtwit
    @Grumpyoldtwit 5 лет назад

    WTF is that NOISE!!!

  • @4priusnt
    @4priusnt 5 лет назад

    Annoying music

  • @papilyon
    @papilyon 3 года назад

    müzik bok gibi

  • @ricardomoses6913
    @ricardomoses6913 7 лет назад

    how if i want to add this tachometer with alarm ?