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

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • Easy to build, 3D printed and homemade RPM meter/Tachometer with Arduino. The circuit is easy and based on a IR LED and phototransistor. You have all the codes, schematics and STL files below. I hope you enjoy it.
    -----------------COUPONS-----------------
    OLED module: www.gearbest.co...
    Anet E10: www.gearbest.co...
    TronxyX5: www.gearbest.co...
    Arduino starter KIT: www.gearbest.co...
    Help my projects on Patreon: / electronoobs
    my Q&A page: electronoobs.co...
    Canal en Español: / electronoobs en español
    -----------------LINKS-------------------
    DIY RPM meter webpage: www.electronoob...
    ---------------MATERIAL---------------
    Full part list: rover.ebay.com... NANO: rover.ebay.com...
    Push button: rover.ebay.com...
    LM324: rover.ebay.com...
    IR sensor: rover.ebay.com...
    ---------------DOWNLOADS----------
    Schematic: www.electronoob...
    3D STL files: www.electronoob...
    Adafruit SD13006.h: www.electronoob...
    Adafruit_GFX.h: www.electronoob...
    Code: www.electronoob...
    Like share and subscribe to motivate me. Thank you

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

  • @ELECTRONOOBS
    @ELECTRONOOBS  7 лет назад +13

    I hope you enjoy it. If you have any question don't doubt to ask it on my Q&A page or here. The project could always be imprroved with better code, better IR sensor and a faster microcontroller. Keep up guys!

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

      Electronoobs sir, how if i wanna make this cool stuff without push button? Is it using the same code? Thanks a lot from Indonesia :)

    • @Enigma758
      @Enigma758 3 года назад +1

      I think an improvement would be to use a positive edge triggered interrupt and measure the time between interval between the two successive interrupts.

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

    Thank You for making this video. From Frisco, TX

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

    I did something similar with a laser & an IR sensor I pulled from a tv RC receiver. Its been years but i remember I was able to get 60k. of course that took some tuning. it was 5k out the gate. Eventually I used atmel studio to reduce the bloatware on arduino. Like I mentioned> its been years, but I remember getting more like 100k or 200k.... I should clarify >> its good and very useful bloatware. Its really good to have quick access 2, caz programming in atmel studio was super bare bones. There is much goodness in the arduino ide already hooked up. Much I didn't know I was taking for granted until it was gone.... so ya its not that big of a deal to use atmel studio, just be prepared to strap yourself in and read that 1000k length datasheet. btw, measurements = signal generator + oscilloscope . and yes it totally works to measure spindle speeds, that why I made it. There is a lotta power in a laser. U could use an old cd player as well, its got a laser&diode right there :)

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

    Always great tutorials from you. Thank you so much for taking the time to record, edit and share so much with all of us.
    Cheers

  • @yupingliao4078
    @yupingliao4078 Год назад

    +👍 I like your design of 3D printed shell

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

    electronoobs your channel is the best ever .i wich you luke in your great worck in serving science.

  • @cbastos2000
    @cbastos2000 Год назад

    Very good video! Thank you. 👍👍

  • @labg27
    @labg27 7 лет назад +2

    Best tutorial ever!

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

    Subscribed, I don't want to miss future videos.

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

    wonderful video and a a rare real source of information. you deserve more subscribers

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

    You could just remove the on off switch and replace it by a button. So if you push it the device starts up and reads the rpm, after you release it again it simply turns off.

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

    Really fantastic work, bro.

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

    superb 👏 👏 👏, I have one idea can i use normal infrared obstacles avoiding sensor, it will be more simple in circuit designs, Am I right???

  • @geoffkelland5606
    @geoffkelland5606 2 года назад +1

    Multiple Choices
    The document name you requested (/eng_arduino_tut15_code1.php) could not be found on this server. However, we found documents with names similar to the one you requested.

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

    It's awesome. But how to make a laser tachometer instead of IR using laser module like proffesional non contact laser tachometer? What will be the changes?🤔 Please make a video if possible. It will be a good staff. Thank you.🤠

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

    you have covered everything 😇🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

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

    How wide is the tape strip? Seems to me a narrow strip would be more accurate. Measuring propeller speed would have to be done differently, as added tape could make the prop unbalanced and cause problems. What if your viewer does not have a 3D printer? Some of the stuff you mention costs more than I can afford.. I'm more interested in projects I can do with what pieces parts I've got, like the 37 sensor kit.

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

    Thanks 🙏

  • @garethronaldo8692
    @garethronaldo8692 7 лет назад +4

    you got my support mate until you become so famous sooner or later u will be .so remmber that

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

    Nice tutorial and well documented and presented! I will subscribe!

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

    Hello there, I found your tutorials today :O And I must say, they are great.. :) I subbed u.
    Can I ask you, what methods for measuring is the best? Using infrared like you, or magnet with hall sensor or Optocoupler sensor? :) Thanks

  • @MuhammadWaqar-ni4ne
    @MuhammadWaqar-ni4ne 7 лет назад +1

    again you are awesome ... great video nicely explained ... loved it ..

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

    Very interesting. Thanks for explaining what everything does. Learned a lot.

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

    the link for the arduino code is not working..great project by the way

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

    Amazing video! Loved it! Liked and subscribed!

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

    is it possible not to include a trigger button? I am intending to use a li-po battery but it is difficult to define when to stop the RPM counter and make the value stay on screen.

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

    Nice project 👍🏾

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

    Awesome thank you!

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

    great video. I think, you love potentiometer😀

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

      Alperen Demirkol more that you think. lol

  • @dariuszs4290
    @dariuszs4290 Год назад

    Not better to add schmitt trigger instead of opamp?

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

    can i replace the sensor? Instead of using infrared I will use a hall effect sensor, and will this reduce the maximum rpm reading?

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

    congratulations on your success!

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

    So the IR photo sensor is directional? It's not seeing the IR coming in from the side, only above?

  • @lebasson
    @lebasson 7 лет назад +2

    Cool stuff! >10k rpm is great! But if we'd want to measure something even faster, what would be needed? Is the limit as it is now a code/arduino limitation?

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад +3

      A huge limit is the OLED screen. The OLED i2c control is a huge delay. Using Serial monitor or another LCD would be faster. Also using a higher than 16MHz arduino would be great

    • @lebasson
      @lebasson 7 лет назад +2

      Sounds like it's primarily a thing of processing speed, so not for instance a physical limitation of how quick the phototransistor can switch?

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

      That's good to know. Would it be feasible to use an interrupt instead of the logic in the main loop?

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

      @@lebasson I believe that would be an improvement.

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

    I want to measure RPM of 6 motors continously.Can you tell how to do it?

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

    Whats the maximum rpm it can count? Since arduino nano has the lowest limit of pwm signals of 1ms in ouput, does it mean it can't measure rpm of much higher speed? Say a coreless motor?

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

    Hi, I used a low frequency clock generator for testing the circuit and I can not read accurately. Very unstable and wrong measurements!

  • @mattivirta
    @mattivirta Год назад

    can this use ir module no need code change, and my cnc spindle run 0-25000 RPM read this accurate speed. or what need change code.

  • @m.sukrucoskun9742
    @m.sukrucoskun9742 4 года назад

    You're the best!

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

    How did you calculate 4.7 k resistor with brief explain ? 2:22

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

    Hello and have a good day.
    This sketch on an an Arduino Uno works very well.
    And I do not need to push the pushbutton.
    On an Andruino Nano the screen goes away after the logo animation.
    With the pushbutton I can not get it out of my sleep.
    I've tried everything.
    I need this sketch for a rc go-kart with rpm display on the dashboard.
    This go-kart is powered by a Nitro Rc gas engine.
    I found the idea cool to equip it with an Rpm ad.
    Unfortunately, the arduino Uno is too big.
    Can you take the sleep mode out of the sketch?
    I tried it but I did not succeed.
    Could you help me, I think this ad just awesome.
    Unfortunately, I'm not a programmer.
    I would be very grateful if they could help me.
    I would be overjoyed because the idea I have had no one yet.
    I would really appreciate an answer.
    If it works then I will send you a video with the rc go kart ..
    Best regards........

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

    please i don't undrestand how u calculate the rpm using the time of the sensor

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

    why use lm324? not single channel opamp instead?

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 лет назад +2

      Is what I had lying around on my workshop..

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

    this is amazing!

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

    Too good ! 🤓🤩💯

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

    Useful channel ❤️

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

    why do you say "it's" every time you want to say just "is" in all of your videos? Other than that great work! :)

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

    The parts links aren't up to date, but you can get a ready made IR sensor with the needed resistors from adafruit ( www.adafruit.com/product/2349 ) - with that and a few jumper cables I could already read data from the Arduino to my computer through the USB cable.

  • @yusufc.1654
    @yusufc.1654 3 года назад

    how much rpm can it measure max ?

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

    Before the end of the code there is some logic of adding error to the rpm value, what is that for??

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

      After dividing to get RPM, there is a fractional part. The code you're referring to just rounds up if the fractional part is greater than .5

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

    Can't reach the code as the site is down.

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

    Simpsons did it... no wait... Great Scott did it!

  • @mattivirta
    @mattivirta Год назад

    my problem have not display working whit ssd1306 library, i test display and many example ssd or sh 1106 library Gyveroled or lcdgfx library working, working only, how change code use other library. and how max speed can measure accurate, my cnc spindle working 9-30 000 rpm. first time i try use oled display and not working whit ssd 1306 library. sh1106 working ok, i test display only drivers examples. how need change code can use other library, now come lot errors whit ssd 1306 lib. oled have chinese 1,30" white, 4 pin i2c.

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

    once again ...a great video...grt explanation...i will surely make one....😋

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

    Hi.
    I want to buy it how much u sell it.

  • @mattivirta
    @mattivirta Год назад

    why use lm324 op amp, why not use lot cheapen, ir sensor module include all this parts, lot better and easy use, need same 5V in,GND,out signal. and arduino can read sensor.

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

    Link code error, please reupload code link

  • @NyyphoHerr-3D-panorama
    @NyyphoHerr-3D-panorama 6 лет назад

    Very good video-manual! Thank you.
    Good day!
    Please, tell me, what is software did you use for draw a connection diagram at 5:38? Do you think it is possible to use a comparator that is smaller and simpler, for example LM393 or even a single-channel comparator? (I do not know which one, but it would be nice if it was in the case of sot23-5)

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

    We call the reciever u used "photodiode"

  • @mikelemon5109
    @mikelemon5109 7 лет назад +5

    Not the most industrial design from electronics to software to enclosure but nice try hope that was educational for you.
    next I'd recommend using Fusion 360 as designing software and fasten the main pcb with screws and for the other components mount them without any glue. for the software I'd recommend auto sleep and averaging slower refresh rate. and for the electronics just put everything on a single pcb.

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

    Subirías este video en tu canal en español?

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

      Hola. Es posible. Ultimamente estoy con mucho trabajo y exámenes. Pronto subiré mas material al español. Si os interesa algo así, podría hacer algún vídeo sobre esto. Saludos!

  • @1828fernando
    @1828fernando 5 лет назад

    How you get 5v from the op amp since the lm324 is not rail to rail??

    • @Enigma758
      @Enigma758 3 года назад +1

      You don't need to get 5V because the input threshold for an Arduino digital input is somewhere around 2.6v

    • @1828fernando
      @1828fernando 3 года назад

      @@Enigma758 ok thats true, but you do not answer my question

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

      @@1828fernando OK, I think you may be referring to 4:20. The pk-pk value is jumpy. You can see it bounce around anywhere between 4.20 and 5.24. Also, notice the spikes at the top of the waveform. I think when it jumps past 5v, it's due to noise spikes. I think the circuit could benefit from some filtering.

    • @1828fernando
      @1828fernando 3 года назад

      @@Enigma758 again... You are not answering my question. If you read the datasheet, says: output voltage swing up to VCC - 1,5v. you can not get 5v output. Something is missing or wrong in this video.

    • @Enigma758
      @Enigma758 3 года назад +1

      @@1828fernando OK, I see your point, an LM324 should not be able to exceed 3.5v yet his scope is showing otherwise. So something is fishy here. Maybe he is not using an LM324 on his breadboard. Or maybe he's driving it higher than 5v on his breadboard and that's offsetting things.

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

    Where is the code of Arduino

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

    Mola un huevo :D

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

    !!!!!!!!!!!!!!!!!11111!!!!!11111!!!!!!!!!!!!!!11!!!!!!!!!!!POTENTIOMETER!!!!!!!!!!!!!!!!!!111!!!!!!!!!!!111111!!!!!!!!!!!!! 111!!!!!!!!!!!!!!

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

    Omg don’t you know the fucking difference between IT AND ITS