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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024

ความคิดเห็น • 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.

  • @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 :)

  • @robertparenton7470
    @robertparenton7470 2 ปีที่แล้ว

    Thank You for making this video. From Frisco, TX

  • @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.

  • @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.

  • @GingerBeker
    @GingerBeker 7 ปีที่แล้ว

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

  • @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

  • @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.

  • @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???

  • @saadkarim6994
    @saadkarim6994 7 ปีที่แล้ว

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

  • @MCsCreations
    @MCsCreations 7 ปีที่แล้ว +1

    Really fantastic work, bro.

  • @raymarkpadua1966
    @raymarkpadua1966 4 ปีที่แล้ว

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

  • @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.

  • @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.🤠

  • @yupingliao4078
    @yupingliao4078 ปีที่แล้ว

    +👍 I like your design of 3D printed shell

  • @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?

  • @GhaziSarhan
    @GhaziSarhan 7 ปีที่แล้ว

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

  • @dariuszs4290
    @dariuszs4290 ปีที่แล้ว

    Not better to add schmitt trigger instead of opamp?

  • @slydog75
    @slydog75 5 ปีที่แล้ว

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

  • @labg27
    @labg27 7 ปีที่แล้ว +2

    Best tutorial ever!

  • @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?

  • @laithmohamed2236
    @laithmohamed2236 3 ปีที่แล้ว

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

  • @MuhammadWaqar-ni4ne
    @MuhammadWaqar-ni4ne 7 ปีที่แล้ว +1

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

  • @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.

  • @gulfsurfco
    @gulfsurfco 6 ปีที่แล้ว

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

  • @garethronaldo8692
    @garethronaldo8692 7 ปีที่แล้ว +4

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

  • @cbastos2000
    @cbastos2000 ปีที่แล้ว

    Very good video! Thank you. 👍👍

  • @tanjiro3285
    @tanjiro3285 3 ปีที่แล้ว

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

  • @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

  • @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........

  • @diyowl5496
    @diyowl5496 7 ปีที่แล้ว

    Amazing video! Loved it! Liked and subscribed!

  • @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.

  • @chiparooo
    @chiparooo 7 ปีที่แล้ว +1

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

  • @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!

  • @mounsifsefiani1276
    @mounsifsefiani1276 4 ปีที่แล้ว

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

  • @techs5564
    @techs5564 6 ปีที่แล้ว

    congratulations on your success!

  • @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.

  • @alpogant1071
    @alpogant1071 7 ปีที่แล้ว

    great video. I think, you love potentiometer😀

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 ปีที่แล้ว

      Alperen Demirkol more that you think. lol

  • @nadirsalim7419
    @nadirsalim7419 3 ปีที่แล้ว

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

  • @mehdwiyouth6338
    @mehdwiyouth6338 3 ปีที่แล้ว

    Nice project 👍🏾

  • @TheFlybyman
    @TheFlybyman 3 ปีที่แล้ว

    Thanks 🙏

  • @yusufc.1654
    @yusufc.1654 3 ปีที่แล้ว

    how much rpm can it measure max ?

  • @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.

  • @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..

  • @anmoldubey3628
    @anmoldubey3628 7 ปีที่แล้ว +1

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

    • @ELECTRONOOBS
      @ELECTRONOOBS  7 ปีที่แล้ว

      That's perfect. Thank you!

  • @faridkhan7854
    @faridkhan7854 7 ปีที่แล้ว

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

  • @m.sukrucoskun9742
    @m.sukrucoskun9742 4 ปีที่แล้ว

    You're the best!

  • @zzzxhrg
    @zzzxhrg 4 ปีที่แล้ว

    Awesome thank you!

  • @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

  • @nikhilchitroda6409
    @nikhilchitroda6409 4 ปีที่แล้ว

    Too good ! 🤓🤩💯

  • @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)

  • @ibrohimgretz4934
    @ibrohimgretz4934 2 ปีที่แล้ว

    Link code error, please reupload code link

  • @Circuitoptimize23
    @Circuitoptimize23 5 ปีที่แล้ว

    Useful channel ❤️

  • @Dragonmastur24
    @Dragonmastur24 7 ปีที่แล้ว

    this is amazing!

  • @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.

  • @NickBartzeliotis
    @NickBartzeliotis 7 ปีที่แล้ว

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

  • @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.

  • @dinodubroja7433
    @dinodubroja7433 3 ปีที่แล้ว

    We call the reciever u used "photodiode"

  • @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.

  • @brian2196
    @brian2196 3 ปีที่แล้ว

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

  • @mohamedgoukh
    @mohamedgoukh 7 ปีที่แล้ว +1

    Where is the code of Arduino

  • @VladL3to69
    @VladL3to69 7 ปีที่แล้ว

    Mola un huevo :D

  • @two_number_nines
    @two_number_nines 7 ปีที่แล้ว

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

  • @juanignaciox_
    @juanignaciox_ 4 ปีที่แล้ว

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