ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
RPM meter with arduino DIY (IR sensor and 3D printed case)
ฝัง
- เผยแพร่เมื่อ 11 ก.ค. 2017
- 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
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!
Electronoobs sir, how if i wanna make this cool stuff without push button? Is it using the same code? Thanks a lot from Indonesia :)
I think an improvement would be to use a positive edge triggered interrupt and measure the time between interval between the two successive interrupts.
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 :)
+👍 I like your design of 3D printed shell
Thank You for making this video. From Frisco, TX
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.
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
Very good video! Thank you. 👍👍
Subscribed, I don't want to miss future videos.
Really fantastic work, bro.
Best tutorial ever!
electronoobs your channel is the best ever .i wich you luke in your great worck in serving science.
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.
wonderful video and a a rare real source of information. you deserve more subscribers
Nice tutorial and well documented and presented! I will subscribe!
Thanks 🙏
Not better to add schmitt trigger instead of opamp?
Amazing video! Loved it! Liked and subscribed!
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.
again you are awesome ... great video nicely explained ... loved it ..
superb 👏 👏 👏, I have one idea can i use normal infrared obstacles avoiding sensor, it will be more simple in circuit designs, Am I right???
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.🤠
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.
you have covered everything 😇🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
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.
Nice project 👍🏾
can i replace the sensor? Instead of using infrared I will use a hall effect sensor, and will this reduce the maximum rpm reading?
Very interesting. Thanks for explaining what everything does. Learned a lot.
congratulations on your success!
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
I want to measure RPM of 6 motors continously.Can you tell how to do it?
the link for the arduino code is not working..great project by the way
So the IR photo sensor is directional? It's not seeing the IR coming in from the side, only above?
great video. I think, you love potentiometer😀
Alperen Demirkol more that you think. lol
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?
awesome video!
you got my support mate until you become so famous sooner or later u will be .so remmber that
keep up the good vids
Thank you!
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.
How did you calculate 4.7 k resistor with brief explain ? 2:22
Hi, I used a low frequency clock generator for testing the circuit and I can not read accurately. Very unstable and wrong measurements!
please i don't undrestand how u calculate the rpm using the time of the sensor
Simpsons did it... no wait... Great Scott did it!
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?
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
Sounds like it's primarily a thing of processing speed, so not for instance a physical limitation of how quick the phototransistor can switch?
That's good to know. Would it be feasible to use an interrupt instead of the logic in the main loop?
@@lebasson I believe that would be an improvement.
Useful channel ❤️
You're the best!
Awesome thank you!
Can't reach the code as the site is down.
this is amazing!
why use lm324? not single channel opamp instead?
Is what I had lying around on my workshop..
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........
Too good ! 🤓🤩💯
Before the end of the code there is some logic of adding error to the rpm value, what is that for??
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
We call the reciever u used "photodiode"
once again ...a great video...grt explanation...i will surely make one....😋
That's perfect. Thank you!
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.
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.
how much rpm can it measure max ?
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.
Link code error, please reupload code link
Hi.
I want to buy it how much u sell it.
why do you say "it's" every time you want to say just "is" in all of your videos? Other than that great work! :)
How you get 5v from the op amp since the lm324 is not rail to rail??
You don't need to get 5V because the input threshold for an Arduino digital input is somewhere around 2.6v
@@Enigma758 ok thats true, but you do not answer my question
@@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.
@@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.
@@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.
Subirías este video en tu canal en español?
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!
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)
Where is the code of Arduino
Mola un huevo :D
Vlad Leto gracias bro
Omg don’t you know the fucking difference between IT AND ITS
!!!!!!!!!!!!!!!!!11111!!!!!11111!!!!!!!!!!!!!!11!!!!!!!!!!!POTENTIOMETER!!!!!!!!!!!!!!!!!!111!!!!!!!!!!!111111!!!!!!!!!!!!! 111!!!!!!!!!!!!!!