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

  Рет қаралды 94,348

Electronoobs

Electronoobs

Күн бұрын

Пікірлер: 86
@ELECTRONOOBS
@ELECTRONOOBS 7 жыл бұрын
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 жыл бұрын
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
@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
@GhaziSarhan
@GhaziSarhan 7 жыл бұрын
Subscribed, I don't want to miss future videos.
@labg27
@labg27 7 жыл бұрын
Best tutorial ever!
@mrsc1914
@mrsc1914 5 жыл бұрын
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 :)
@MCsCreations
@MCsCreations 7 жыл бұрын
Really fantastic work, bro.
@saadkarim6994
@saadkarim6994 7 жыл бұрын
electronoobs your channel is the best ever .i wich you luke in your great worck in serving science.
@garethronaldo8692
@garethronaldo8692 7 жыл бұрын
you got my support mate until you become so famous sooner or later u will be .so remmber that
@garethronaldo8692
@garethronaldo8692 7 жыл бұрын
keep up the good vids
@ELECTRONOOBS
@ELECTRONOOBS 7 жыл бұрын
Thank you!
@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.
@gulfsurfco
@gulfsurfco 6 жыл бұрын
Nice tutorial and well documented and presented! I will subscribe!
@yupingliao4078
@yupingliao4078 Жыл бұрын
+👍 I like your design of 3D printed shell
@MuhammadWaqar-ni4ne
@MuhammadWaqar-ni4ne 7 жыл бұрын
again you are awesome ... great video nicely explained ... loved it ..
@geoffkelland5606
@geoffkelland5606 2 жыл бұрын
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.
@techs5564
@techs5564 6 жыл бұрын
congratulations on your success!
@diyowl5496
@diyowl5496 7 жыл бұрын
Amazing video! Loved it! Liked and subscribed!
@cbastos2000
@cbastos2000 Жыл бұрын
Very good video! Thank you. 👍👍
@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.
@tanjiro3285
@tanjiro3285 3 жыл бұрын
you have covered everything 😇🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@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?
@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.
@dariuszs4290
@dariuszs4290 Жыл бұрын
Not better to add schmitt trigger instead of opamp?
@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.🤠
@TheFlybyman
@TheFlybyman 3 жыл бұрын
Thanks 🙏
@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.
@vinayaksingh8829
@vinayaksingh8829 3 жыл бұрын
I want to measure RPM of 6 motors continously.Can you tell how to do it?
@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???
@raymarkpadua1966
@raymarkpadua1966 4 жыл бұрын
the link for the arduino code is not working..great project by the way
@chiparooo
@chiparooo 7 жыл бұрын
Very interesting. Thanks for explaining what everything does. Learned a lot.
@slydog75
@slydog75 5 жыл бұрын
So the IR photo sensor is directional? It's not seeing the IR coming in from the side, only above?
@mehdwiyouth6338
@mehdwiyouth6338 3 жыл бұрын
Nice project 👍🏾
@alpogant1071
@alpogant1071 7 жыл бұрын
great video. I think, you love potentiometer😀
@ELECTRONOOBS
@ELECTRONOOBS 7 жыл бұрын
Alperen Demirkol more that you think. lol
@m.sukrucoskun9742
@m.sukrucoskun9742 4 жыл бұрын
You're the best!
@anmoldubey3628
@anmoldubey3628 7 жыл бұрын
once again ...a great video...grt explanation...i will surely make one....😋
@ELECTRONOOBS
@ELECTRONOOBS 7 жыл бұрын
That's perfect. Thank you!
@laithmohamed2236
@laithmohamed2236 3 жыл бұрын
How did you calculate 4.7 k resistor with brief explain ? 2:22
@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?
@lebasson
@lebasson 7 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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.
@mounsifsefiani1276
@mounsifsefiani1276 4 жыл бұрын
please i don't undrestand how u calculate the rpm using the time of the sensor
@Dragonmastur24
@Dragonmastur24 7 жыл бұрын
this is amazing!
@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!
@nikhilchitroda6409
@nikhilchitroda6409 4 жыл бұрын
Too good ! 🤓🤩💯
@zzzxhrg
@zzzxhrg 4 жыл бұрын
Awesome thank you!
@adimegan4677
@adimegan4677 7 жыл бұрын
why use lm324? not single channel opamp instead?
@ELECTRONOOBS
@ELECTRONOOBS 7 жыл бұрын
Is what I had lying around on my workshop..
@Circuitoptimize23
@Circuitoptimize23 5 жыл бұрын
Useful channel ❤️
@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
@RGPinger
@RGPinger 6 жыл бұрын
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
@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.
@nadirsalim7419
@nadirsalim7419 3 жыл бұрын
Can't reach the code as the site is down.
@yusufc.1654
@yusufc.1654 3 жыл бұрын
how much rpm can it measure max ?
@1828fernando
@1828fernando 5 жыл бұрын
How you get 5v from the op amp since the lm324 is not rail to rail??
@Enigma758
@Enigma758 3 жыл бұрын
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 жыл бұрын
@@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.
@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........
@brian2196
@brian2196 3 жыл бұрын
Simpsons did it... no wait... Great Scott did it!
@mikelemon5109
@mikelemon5109 7 жыл бұрын
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.
@faridkhan7854
@faridkhan7854 7 жыл бұрын
Hi. I want to buy it how much u sell it.
@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!
@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)
@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.
@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! :)
@ibrohimgretz4934
@ibrohimgretz4934 2 жыл бұрын
Link code error, please reupload code link
@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.
@mohamedgoukh
@mohamedgoukh 7 жыл бұрын
Where is the code of Arduino
@VladL3to69
@VladL3to69 7 жыл бұрын
Mola un huevo :D
@ELECTRONOOBS
@ELECTRONOOBS 7 жыл бұрын
Vlad Leto gracias bro
@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
The "Impossible Torpedo" was real
16:33
Steve Mould
Рет қаралды 502 М.
Making a Fully Functional Jet Engine using Soda can | diy Jet Engine
16:27
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,3 МЛН
You’ve Never Seen WiFi Like This
20:43
Data Slayer
Рет қаралды 1 МЛН
You're Probably Wrong About Rainbows
27:11
Veritasium
Рет қаралды 2 МЛН
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 762 М.
Forget About Raspberry Pi! Use Your Old Phone Instead. (Really???)
9:09
I Put My Homemade Two-Stroke Engine on a Bike
16:28
Camden Bowen
Рет қаралды 494 М.
Arduino Tutorial: Tachometer (RPM Counter)
3:54
InterlinkKnight
Рет қаралды 283 М.
How to make RPM meter | Digital Tachometer using IR Sensor
8:42
My Kickstarter failed, so I open sourced it
12:20
StuckAtPrototype
Рет қаралды 678 М.