Тёмный

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

Electronoobs
Подписаться 577 тыс.
Просмотров 94 тыс.
50% 1

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.com/development-b...
Anet E10: www.gearbest.com/3d-printers-3...
TronxyX5: www.gearbest.com/3d-printers-3...
Arduino starter KIT: www.gearbest.com/development-b...
Help my projects on Patreon: / electronoobs
my Q&A page: electronoobs.com/eng_preguntas...
Canal en Español: / electronoobs en español
-----------------LINKS-------------------
DIY RPM meter webpage: www.electronoobs.com/eng_ardui...
---------------MATERIAL---------------
Full part list: rover.ebay.com/rover/1/711-53... NANO: rover.ebay.com/rover/1/711-53...
Push button: rover.ebay.com/rover/1/711-53...
LM324: rover.ebay.com/rover/1/711-53...
IR sensor: rover.ebay.com/rover/1/711-53...
---------------DOWNLOADS----------
Schematic: www.electronoobs.com/eng_ardui...
3D STL files: www.electronoobs.com/eng_ardui...
Adafruit SD13006.h: www.electronoobs.com/eng_ardui...
Adafruit_GFX.h: www.electronoobs.com/eng_ardui...
Code: www.electronoobs.com/eng_ardui...
Like share and subscribe to motivate me. Thank you

Наука

Опубликовано:

 

11 июл 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 87   
@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.
@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.
@gulfsurfco
@gulfsurfco 6 лет назад
Nice tutorial and well documented and presented! I will subscribe!
@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
@diyowl5496
@diyowl5496 7 лет назад
Amazing video! Loved it! Liked and subscribed!
@mrsc1914
@mrsc1914 4 года назад
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 :)
@wilbertyuen4116
@wilbertyuen4116 3 года назад
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.
@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.
@slydog75
@slydog75 5 лет назад
So the IR photo sensor is directional? It's not seeing the IR coming in from the side, only above?
@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?
@saadkarim6994
@saadkarim6994 7 лет назад
electronoobs your channel is the best ever .i wich you luke in your great worck in serving science.
@MuhammadWaqar-ni4ne
@MuhammadWaqar-ni4ne 7 лет назад
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.
@vinayaksingh8829
@vinayaksingh8829 3 года назад
I want to measure RPM of 6 motors continously.Can you tell how to do it?
@mounsifsefiani1276
@mounsifsefiani1276 4 года назад
please i don't undrestand how u calculate the rpm using the time of the sensor
@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!
@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?
@labg27
@labg27 7 лет назад
Best tutorial ever!
@yupingliao4078
@yupingliao4078 Год назад
+👍 I like your design of 3D printed shell
@cbastos2000
@cbastos2000 Год назад
Very good video! Thank you. 👍👍
@MCsCreations
@MCsCreations 7 лет назад
Really fantastic work, bro.
@dariuszs4290
@dariuszs4290 Год назад
Not better to add schmitt trigger instead of opamp?
@laithmohamed2236
@laithmohamed2236 3 года назад
How did you calculate 4.7 k resistor with brief explain ? 2:22
@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.
@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???
@petermitchell5240
@petermitchell5240 7 лет назад
awesome video!
@RGPinger
@RGPinger 5 лет назад
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
@yusufc.1654
@yusufc.1654 3 года назад
how much rpm can it measure max ?
@techs5564
@techs5564 6 лет назад
congratulations on your success!
@tanjiro3285
@tanjiro3285 3 года назад
you have covered everything 😇🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@mehdwiyouth6338
@mehdwiyouth6338 2 года назад
Nice project 👍🏾
@Dragonmastur24
@Dragonmastur24 7 лет назад
this is amazing!
@faridkhan7854
@faridkhan7854 6 лет назад
Hi. I want to buy it how much u sell it.
@raymarkpadua1966
@raymarkpadua1966 4 года назад
the link for the arduino code is not working..great project by the way
@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 2 года назад
Can't reach the code as the site is down.
@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........
@alpogant1071
@alpogant1071 7 лет назад
great video. I think, you love potentiometer😀
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
Alperen Demirkol more that you think. lol
@zzzxhrg
@zzzxhrg 3 года назад
Awesome thank you!
@chiparooo
@chiparooo 7 лет назад
Very interesting. Thanks for explaining what everything does. Learned a lot.
@Circuitoptimize23
@Circuitoptimize23 5 лет назад
Useful channel ❤️
@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.🤠
@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
@m.sukrucoskun9742
@m.sukrucoskun9742 4 года назад
You're the best!
@adimegan4677
@adimegan4677 7 лет назад
why use lm324? not single channel opamp instead?
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
Is what I had lying around on my workshop..
@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)
@nikhilchitroda6409
@nikhilchitroda6409 3 года назад
Too good ! 🤓🤩💯
@TheFlybyman
@TheFlybyman 2 года назад
Thanks 🙏
@ibrohimgretz4934
@ibrohimgretz4934 2 года назад
Link code error, please reupload code link
@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!
@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.
@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.
@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.
@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!
@anmoldubey3628
@anmoldubey3628 7 лет назад
once again ...a great video...grt explanation...i will surely make one....😋
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
That's perfect. Thank you!
@dinodubroja7433
@dinodubroja7433 3 года назад
We call the reciever u used "photodiode"
@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! :)
@brian2196
@brian2196 2 года назад
Simpsons did it... no wait... Great Scott did 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.
@mohamedgoukh
@mohamedgoukh 6 лет назад
Where is the code of Arduino
@VladL3to69
@VladL3to69 7 лет назад
Mola un huevo :D
@ELECTRONOOBS
@ELECTRONOOBS 7 лет назад
Vlad Leto gracias bro
@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.
@juanignaciox_
@juanignaciox_ 4 года назад
Omg don’t you know the fucking difference between IT AND ITS
@two_number_nines
@two_number_nines 6 лет назад
!!!!!!!!!!!!!!!!!11111!!!!!11111!!!!!!!!!!!!!!11!!!!!!!!!!!POTENTIOMETER!!!!!!!!!!!!!!!!!!111!!!!!!!!!!!111111!!!!!!!!!!!!! 111!!!!!!!!!!!!!!
@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.
Далее
Sensors - which one to use
17:06
Просмотров 1,3 млн
Homemade Distance, Angle, Level and RPM meter
12:19
Просмотров 38 тыс.
This or That 🛍️
00:52
Просмотров 8 млн
شربت كل الماء؟ 🤣
00:31
Просмотров 17 млн
MAGNETRON - Teardown + How It Works - Dangerous!
14:07
Просмотров 896 тыс.
FOC Driver + Feedback Magnetic Sensor - Arduino
14:34
Caliper and Arduino i2c - measure 3D filament
9:19
Просмотров 119 тыс.
How to Build a LASER TACHOMETER
5:35
Просмотров 38 тыс.
PID Balance+Ball | full explanation & tuning
13:13
Просмотров 734 тыс.