DIY Arduino based Digital Tachometer │ Revolution counter

  Рет қаралды 97,744

Mr Innovative

Mr Innovative

6 жыл бұрын

JLCPCB (10 boards for $ 2) & Free shipping: jlcpcb.com
Hello guys I have made a Digital Tachometer using Custom made PCB
electricdiylab.com/how-to-mak...
Circuit drawing :- goo.gl/UePHiN
Arduino code download link :- www.mediafire.com/file/qb57bnu...
Material required
1) IR & photo Diodes :- amzn.to/2Eq6BB6
2) LM358 IC :- amzn.to/2o3XJWG
3) Resistors :- amzn.to/2o6PLfB
4) Potentiometer :- amzn.to/2HaiYij
2) LCD Screen :- amzn.to/2lxF1bp
3) Arduino Nano :- amzn.to/2mcLXIg
5) Header pins :- amzn.to/2lxtoRS
6) 9V Battery
visit for more
electricdiylab.com/
Music
And So It Begins by Artificial.Music / artificial-music
Creative Commons - Attribution 3.0 Unported- CC BY 3.0
creativecommons.org/licenses/b...
Music promoted by Audio Library • And So It Begins - Art... FB page :- / innovativemr
My Gears :-
Camera :- amzn.to/2FO4W5E
Video Light :- amzn.to/2FNKzFL
Mic :- amzn.to/2HYqBZC
Soldering Kit :- amzn.to/2FgNd8Z
Screw driver set :- amzn.to/2FkhHHm
Rotary tool :- amzn.to/2FM3Lnh This video is made for entertainment purposes only. Please use judgment, care, and precaution if you plan to replicate. WhatsApp for custom projects +91 7600079068

Пікірлер: 100
@kreynolds1123
@kreynolds1123 Жыл бұрын
I believe the circuit be simplified feeding the output of the (light sensing diode and resistor voltage divider) directly to an analog input, and the output of the potentiometer directly to another analog input, and then compare the signal levels in software, and Get rid of the comparator and indicator diode opting instead to use the display as an indicator. I also think you'll ensure greater sensitivity if you put a partition between the infrared LED and the light sensing diode.
@alkatechnology
@alkatechnology Жыл бұрын
great job bro... thanks.. hello from Indonesia..
@nikhilchitroda6409
@nikhilchitroda6409 3 жыл бұрын
Too good .. 🤓🤩💯
@ItaloLima
@ItaloLima 6 жыл бұрын
Very Good !! Like !!
@fudgymcfudgerson6291
@fudgymcfudgerson6291 5 жыл бұрын
3:05 When you think he is about to show you the mistake he made creating the board... Nope - just the song... lol
@Imagi10
@Imagi10 3 жыл бұрын
can relate lol
@tark9472
@tark9472 6 жыл бұрын
Süper
@yeyee2418
@yeyee2418 3 жыл бұрын
you know its not a good idea to use delay(1000) for a time based measurement. the delay function value will drift off over time. My advice is to use timer1 to create precise 1s overflow interrupt & use ext interrupt to save the count on how many times the white stripe get detected by the sensor. that way it wont miss any count caused by the stuck at waiting for delay function, further increasing its accuracy. just some advice from a noob tho✌️
@emadabuhagag222
@emadabuhagag222 2 жыл бұрын
thank you
@TheMehmetTosun
@TheMehmetTosun 4 жыл бұрын
very good
@flavioslicinio
@flavioslicinio 6 жыл бұрын
Muy bueno.
@JonathanBydendyk
@JonathanBydendyk 5 жыл бұрын
Would be nice if there was an explaination
@pavan7671
@pavan7671 6 жыл бұрын
Man i doubt whether someone has used Arduino as efficiently as you do 🙌 .
@binaychurasiya4500
@binaychurasiya4500 4 жыл бұрын
Hello You can reply me
@binaychurasiya4500
@binaychurasiya4500 4 жыл бұрын
I have need it's
@Rintarok5
@Rintarok5 6 жыл бұрын
Do you know if the coding can be adjusted so that the LED screen will show a flow rate instead of rpm, I'm trying to use this on a turbine flow meter
@kreynolds1123
@kreynolds1123 Жыл бұрын
It seems a simple software calculation in the program can mulitiply a predetermined volume per revolution × revolutions per minute or per second.
@someone.3298
@someone.3298 6 жыл бұрын
Where to get the PCB drawing from??
@user-mo4yc3jo1e
@user-mo4yc3jo1e 5 жыл бұрын
The value of the resistors on your board and on the schematic diagram are not the same...even there are missed resistors on your board.....can you tell us why?
@rigobustamante7434
@rigobustamante7434 2 жыл бұрын
Me gustó el proyecto, me puedes pasar el código para fabricar uno yo también por favor
@pacocable
@pacocable 6 жыл бұрын
Very nice. Your like it is
@cbanosabreu
@cbanosabreu 4 жыл бұрын
YOU CAN PROVIDE GERBER FILES FOR MANUFACTURING
@cjones4433
@cjones4433 5 жыл бұрын
On the quote now page, there is $58.00 showing. What is that for???
@patrickmclaughlin6013
@patrickmclaughlin6013 3 жыл бұрын
No problem with the 'float rev' variable? I usually see 'volatile unsigned int rev' or similar. Think the rpm display is accurate?
@balkrushnakadam7082
@balkrushnakadam7082 2 жыл бұрын
I don't know why this guy using float to count revolutions which is in integers, and using volatile is better practice to avoid errors in shared variable due to asynchronous read writes to it between interrupt routine and normal code. I am not an expert but you can get accurate result by calculating exact time between 2 pulses using micros() function inside interrupt routine to get exact time when interrupt occurred.
@patrickmclaughlin6013
@patrickmclaughlin6013 2 жыл бұрын
@@balkrushnakadam7082 something to look into so far the best one I've seen is this one kzfaq.info/get/bejne/q5ilfbB7vNnKo5s.html but I don't have that display and for me the code is difficult to follow, it's a over my skill level
@balkrushnakadam7082
@balkrushnakadam7082 2 жыл бұрын
@@patrickmclaughlin6013 maybe I can help you with that if you want I have written simple code to measure rpm accurately upto 60000 rpm you can try this by yourself. volatile unsigned long pulseTime1=0,pulseTime2=0; volatile boolean flag1=false, flag2=false; unsigned int rpm=0; int pulsesPerRev=1; //you can change if you have more pulses per revolution void isr() { if(flag1 && !flag2) { pulseTime2=millis(); flag2=true; } if(!flag1) { pulseTime1=millis(); flag1=true; } } void setup() { Serial.begin(9600); while(!Serial) { } attachInterrupt(0,isr,RISING); } void loop() { if(flag2) { noInterrupts(); rpm=((double)60000/pulsesPerRev)/(pulseTime2-pulseTime1); flag1=flag2=false; interrupts(); Serial.print("RPM :"); Serial.println(rpm); } } For more stable results just take multiple samples of rpm values each iteration and try to find median. If you have way more pulses per revolution then results would be less accurate at higher speed if time between 2 pulses gets below 1 ms, to correct it you have to use micros() function instead of millis() inside isr() and use this formula instead of above one rpm=((double)60000*1000/pulsesPerRev)/(pulseTime2-pulseTime1);
@patrickmclaughlin6013
@patrickmclaughlin6013 2 жыл бұрын
@@balkrushnakadam7082 Thank You for the example code. I'll have to put it up on a sketch and give it a try.
@--KIRUTHIKAP
@--KIRUTHIKAP 3 жыл бұрын
please explain the full concept and using things
@DSB.TecnologiaMaker
@DSB.TecnologiaMaker 6 жыл бұрын
Ok, mostrou como faz, más não mostrou como programa. Pulou a parte wue liga a bateria *_*
@Dancopymus
@Dancopymus 9 ай бұрын
Hello, is it possible to use this code with the TCRT5000? (not module) Thanks
@lank_asif
@lank_asif 6 жыл бұрын
Please will you do a video on showing how to build a stroboscope. PLEASE PLEASE PLEASE???
@omsingharjit
@omsingharjit 6 жыл бұрын
Lank Asif use 555 based circuit and its app to calculate Frequency
@DougHanchard
@DougHanchard 6 жыл бұрын
stroboscopes have limited applications and require known strobe pulse rate, which defeats the purpose in the example shown. Strobes can be programmed at the emitting pulse width, so why would you need to analyze it? Strobes were often used to detect a stationary point of a rotating object and that's about it. That's easy to do and hackster.io has several examples. There's even an app for android for a strobe app - play.google.com/store/apps/details?id=com.ape.apps.strobe&hl=en
@lank_asif
@lank_asif 6 жыл бұрын
X-TREME Diy Thank you but I am looking for a reliable stroboscope setup that can be used to drive a large LED array (for an exhibit of sorts). I am not attempting to determine a rate at which an object is rotating or oscolating, I was requesting help in the form of an example of how to build a stroboscope in a way similar to how you demonstrated how to build this tachometer. I live in a third world country so finding a stroboscope is difficult and expensive. Thank you again for taking the time to respond to my message.
@lank_asif
@lank_asif 6 жыл бұрын
Doug Hanchard X-TREME Diy Thank you but I am looking for a reliable stroboscope setup that can be used to drive a large LED array (for an exhibit of sorts). I have been warned that a 555 timer build is not reliably accurate when dealing with rates as fast as 50 or 60 Hz. I am not attempting to determine a rate at which an object is rotating or oscolating, I was requesting help in the form of an example of how to build a stroboscope in a way similar to how you demonstrated how to build this tachometer. I live in a third world country so finding a stroboscope is difficult and expensive. Thank you again for taking the time to respond to my message.
@0garythebloke0
@0garythebloke0 5 жыл бұрын
Circuit diagram totally out of wack with the board layout and values vary too!
@mindaugask6160
@mindaugask6160 5 жыл бұрын
Avoid taking signal from LED, for example if you add a blue LED (voltage drop 2V) you may get wrong results or if any.
@SAYANDALAL
@SAYANDALAL 5 жыл бұрын
It will not drop voltage , it just sense the voltage. Its better to call it IR sensor not a normal Led.
@mindaugask6160
@mindaugask6160 5 жыл бұрын
@@SAYANDALAL Look at ATmega168/328 datasheet, Input HIGH is 0.6Vcc and if Vcc is 3.3V then the minimum input voltage is 1.98V It may work of course, but working on the edge is not recommended and also can trigger false results. Why not simply connect the signal from op amp trough pull-up resistor to arduino digital pin with no LEDs inculuded ? That way you asure the input level voltage.
@SAYANDALAL
@SAYANDALAL 5 жыл бұрын
@@mindaugask6160 i make that same tachometer in simple way. Using ir sensor. You can see in my channel. 20 types of dc motor rpm shows there. Its working really fine.
@kreynolds1123
@kreynolds1123 Жыл бұрын
@@mindaugask6160 I'd skip the comparator. And instead use the analog inputs directly, and compare the two inputs in software. I'd also get rid of the display diode and use the display screen. The potentiometer is helpful for dialing in the right reference voltage to compare against various light sensing diodes. But maybe you make a point on color. Maybe blue LED sensor might have trouble sensing infrared light.
@FindBestFreelancer
@FindBestFreelancer 6 жыл бұрын
In which principle this circuit work? Can you please give me details about how ir circuit detects the rpm .
@DougHanchard
@DougHanchard 6 жыл бұрын
Md. Abdur Rahman Wahid Go to the links provided.
@omsingharjit
@omsingharjit 6 жыл бұрын
First led transmit ir then that is reflected by white surface than received by ir photo sensor , so when it rotate in case if paper are not present their then singnel will be low otherwise when present sing will be High so this high low signals act as variable revolution or as Frequency that is measured by naino , you can also try for this by Stroblight Method instead this , it's non - programmable and easy as well as cheap :)
@ShahZahid
@ShahZahid 6 жыл бұрын
White color reflects ir light so basicially an ir switch
@kreynolds1123
@kreynolds1123 Жыл бұрын
Solar cells and rectifying diodes and Light editing diodes use an NP junction. All NP junctions either emit light at a certain freqency when you pass a current through it, or absorb light at certain freqency and elevates electrons to a higher energy state pushing them through a circuit. The comparator compares the photo diode output against a reference voltage dialed in by the potentiometer, and digitizes the comparator's output to on or off.
@motivationramansir1140
@motivationramansir1140 2 жыл бұрын
I want to buy it but what is full name of Arduino. As Arduino UNO or some other
@TheDavidrhd
@TheDavidrhd 2 жыл бұрын
Ola. Como faço para zerar a contagem ?
@divinechigozirim4510
@divinechigozirim4510 5 жыл бұрын
please wher can i get the code?
@yeshecan7
@yeshecan7 5 жыл бұрын
Hey dude....the code is not working....or ......can you give us the instruction
@aravindari8574
@aravindari8574 4 жыл бұрын
Program is not uploading Help me
@noureddinetaboch8229
@noureddinetaboch8229 6 жыл бұрын
how long time the pcb arrived from China?
@MrInnovative
@MrInnovative 6 жыл бұрын
With in a week
@ashwajeetkamble6962
@ashwajeetkamble6962 4 жыл бұрын
Please upload your Gerber file in descriptions
@yassinelemallem6712
@yassinelemallem6712 3 жыл бұрын
Please how to make net fishing with andruino
@fjrg76
@fjrg76 5 жыл бұрын
Do you know why you're using the LM358 comparator? You can live without it, but I'm pretty sure you don't know it.
@kreynolds1123
@kreynolds1123 Жыл бұрын
So yeah, I'm like why don't you use the analog inputs and do a software comparison. And get rid of the LM and display diode and use the screen for a display.
@shuddhayraut6778
@shuddhayraut6778 2 жыл бұрын
can i get PCB circuit digital copy?
@RoboCircuits
@RoboCircuits 6 жыл бұрын
Hi can you teach me how your code is working?
@richierich3135
@richierich3135 4 жыл бұрын
are you sure about its accuracy
@kreynolds1123
@kreynolds1123 Жыл бұрын
After adjusting the potentiometer for a given setup, i'd trust it over short distance like this. One might shade the disk from external light sources to add assurance other light sourced don't interfere with measurements.
@chinturout-dx2cc
@chinturout-dx2cc Жыл бұрын
Can I get the gerber file of the PCB
@cbanosabreu
@cbanosabreu 4 жыл бұрын
los archivos Gerber los puede proporcionar
@stuartleslie5682
@stuartleslie5682 6 жыл бұрын
Could you please provide the gerber file as I cannot order the boards without it, thanks. S
@MrInnovative
@MrInnovative 6 жыл бұрын
www.mediafire.com/file/n6xwp1oc6wl4oys/game_grbl.rar
@stuartleslie5682
@stuartleslie5682 6 жыл бұрын
Thank you for the prompt response but I think you sent a game layout and not the Tacho layout.
@MrInnovative
@MrInnovative 6 жыл бұрын
extremely sorry www.mediafire.com/file/dai45xoabmt60a0/tachometer.rar
@stuartleslie5682
@stuartleslie5682 6 жыл бұрын
Thanks, I have ordered the boards successfully.
@divyanshujoshi1695
@divyanshujoshi1695 4 жыл бұрын
Bhai me order nhi kar pa raha hu
@SagarCh_
@SagarCh_ 6 жыл бұрын
Bro make aurdino projects that can be programmed with Android mobile phone
@shubhodeepmandal1499
@shubhodeepmandal1499 5 жыл бұрын
8000 Rpm what??? Debolap the code make more Realistic .by the way good project
@SAYANDALAL
@SAYANDALAL 5 жыл бұрын
This small motor has that much rpm. And it can be more than 10000 Rpm for many motors of 3 or 6 volt even 12 volt. YOU can check 20 different types of dc motor rpm in my channel.
@kreynolds1123
@kreynolds1123 Жыл бұрын
8000 rpm is very reasonable on small motors. For one, they don't have a large diameter and high forces to condend with. It's only 133.3 revolutions per second. That is just slightly faster than twice the speed of much larger synchronous AC motors in the US that spin at 60 revolutions a second.
@ahmetpehlivan5494
@ahmetpehlivan5494 6 жыл бұрын
the code is wrong check it out please
@nambirajanr6133
@nambirajanr6133 5 жыл бұрын
Efficiency of this tachometer
@Interhomekuurne
@Interhomekuurne 5 жыл бұрын
NAMBI RAJAN I’ve test this RPM meter and in my case it works only with 1 type of IR sensor! See vid. : kzfaq.info/get/bejne/kLyibLqmpqmviWg.html
@a.manan.s846
@a.manan.s846 4 жыл бұрын
how do i print my name before the rpm start as you print video powered by jlc??? please replay me
@3dmixer552
@3dmixer552 4 жыл бұрын
Print it in the setup function and a few seconds delay after
@a.manan.s846
@a.manan.s846 4 жыл бұрын
@@3dmixer552 i tried but it show my name for 1 second as i set it to 1000 ms but it is continiosly doing it
@3dmixer552
@3dmixer552 4 жыл бұрын
@@a.manan.s846 clear the screen after the delay. lcd.clear();
@a.manan.s846
@a.manan.s846 4 жыл бұрын
@@3dmixer552 ohh thanks
@3dmixer552
@3dmixer552 4 жыл бұрын
@@a.manan.s846 No problem
@avijitsazzal4184
@avijitsazzal4184 4 жыл бұрын
This is not Revolution counter, it's RPM counter
@kreynolds1123
@kreynolds1123 Жыл бұрын
It is what the software does. It can keep a count, or it can ceep a count over a period of time and convert that to rpm. Or it could do both if you wanted to program that in.
@motivationramansir1140
@motivationramansir1140 2 жыл бұрын
Please help
@hardikkakadiya9561
@hardikkakadiya9561 6 жыл бұрын
Kya ap muje pcb ki rar or zip file send karo na hardikkakadiya1997@gmail.com par muje mail karo
@johnfurr8779
@johnfurr8779 Жыл бұрын
You clearly dont know what a revolution counter is...
@ShahZahid
@ShahZahid 6 жыл бұрын
Gay music
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 58 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 17 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 12 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 24 МЛН
DIY Arduino based Automatic wire cutting Machine
9:00
Mr Innovative
Рет қаралды 197 М.
Simple Tachometer and Motor Diagnostics
2:52
NVE Corporation
Рет қаралды 3,5 М.
How to make RPM meter | Digital Tachometer using IR Sensor
8:42
Arduino Tutorial: Tachometer (RPM Counter)
3:54
InterlinkKnight
Рет қаралды 269 М.
I made this Tachometer using IR sensor!
2:04
THE ELECTRONIC GUY
Рет қаралды 19 М.
Simple Tachometer/ RPM counter using proximity sensor
3:57
Tech Ideas
Рет қаралды 100 М.
From Idea to Schematic to PCB - How to do it easily!
11:05
GreatScott!
Рет қаралды 1,8 МЛН
DIY Arduino Based Paper Cutting Machine
6:51
Mr Innovative
Рет қаралды 256 М.
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 58 МЛН