DIY Digital Arduino Tachometer | RPM Counter Using Proximity Sensor (IR)
Вставка
- Опубліковано 16 жов 2024
- This video is all about building a digital tachometer (RPM Counter) by using simple components at home.
Feel free to ask questions in the Comment section.
LIKE
SHARE
COMMENT and
SUBSCRIBE
Code for viewing pulses - www.mediafire.c...
Code for Tachometer - www.mediafire.c...
Links to purchase
Proximity sensor module - www.amazon.in/...
Arduino NANO - www.amazon.in/...
Concise interrupt based code. love it. May likely get adapted to my DIY engine and transmission controller I'm working on.
Nobody could explain me this way in just 2 mins 🙏🏻🙏🏻
Absolutely great video bro, specially short and simple without wastage of time. Here I need more help actually i want to set limit, like if set 100 rpm if speed exceed beyond limit it activate realy.
Yeah it's possible.
You can alter the code to your wish.
can somone explain why this only works on a 1000ms delay? if i try reduce it it gves wrong values.
Because it counts the number of pulses per second (which is 1000ms), and then multiplies the result with 60 to get number of rotations in 60 seconds or 1 minute.
for the rpm_meter sketch why use detachInterrupt(0) instead of (1)
el mejor video que pude encontrar sobre el sensor infrarojo y contador de rpm
Sorry can't understand what's you're speaking
@@ELECTROMODlab Andres Sandoval says that this is the best video he has found about ir sensor and rpm counter.l
SIR i want to measure rpm of slowing running wheel like rpm will be in less number but this code doesn't works to me please help me to sort out this.
Normally this sensor detects the distance but in this case it detects color of this black marker ?
Sir. Second cod me input sensr pin nubr konsa he
Hey,
I'm about to purchase required components for the project. I have one question. I'm trying to track the rotation of a wheel and its color is black. Would it still work if i stick a white tape on it? I don't wana paint the wheel white.
Yes we can but have to alter the code a bit.
Which software is this ?
Is this better than magnetic reed or proxomity sensor counter
It's better than magnetic reed.
But no idea about proximity based counter
Sir will this work with Arduino uno r3
Definitely yes. Arduino UNO and Arduino NANO are exactly the same. Different is the board dimensions.
@@ELECTROMODlab
Thanks sir and the connection would be the same 👍
Sir analog rpm mein kam karega yeh device
It tells me that i need to include avr/interrupt.h but this does not exist? on arduino R3 controller?
Bro can you explain to me about the code, i see on rpm wave code it use digital 3 as sensor, but at rpm meter code i don’t see any digital 3 used as sensor. Thankyou
In RPM meter code I've used the interrupt pin so connect the sensor according to the pin declared.
@@ELECTROMODlab ahh i understand now, thankyou so much bro 👍
@@ELECTROMODlab bro i try to read the rpm meter via modscan32, but i dont know how make the code to read the rpm value. Do you ever use modscan32 bro?
I'm not familiar with that.
can i use Arduino uno ?
Yes we can.
The pulses code works fine in my project but when i try to add the rpm measurement code i get wrong values. To mange this i try to count and print the "REV" variable but i get very large values, for example i have a disk with 36 holes and i just rotate a few holes and get vales of 43.00 or 36.00. I am using your code exactly and arduino MEGA. What am i doing wrong?
When you have so many holes you need to devide the rpm by number of holes you have
Can it be done using a photo resistor/ light blocking module?
It cannot be done by using LDR.
actually it can, but its not as simple. One way to do it is to pulse your LED at say 500Hz, then you need to bandpass filter the signal from the LDR to block any frequencies outside the 450-550Hz range. I think it may be better to build an analogue filter in this case using two op-amps, a high and low pass stage in series. Then for the final stage you can add another low pass filter to this which provides you with a voltage representing the number of pulses reflected in the time period when the white segment of the disk is in-phase with the LDR and LED transceiver. This would give you a non-smooth pulse, which you could stick into a comparitor to provide you with a nice square wave pulse for the Nano.
Informative comment.👍
Its just showing 0s and 1s. Can you help me?
Thank You!
can I get the code? link is not working
I want to measure rpm of 6 motors continously.How to do that.Can you please tell?
If all the 6 motors are of same kind and using same power supply, just measure only one motor. If not you have to make use of 6 sensors for that. Unfortunately Arduino only has 2 interrupt pins. If you're using Arduino you can measure only 2 RPM's at at time.
@@ELECTROMODlab oh cant we measure 6 different rpms using arduino???
if i use the same code and use it for 6 different functions...will it work?
6 different functions like what ?
We are measuring the RPM by using interrupt pins
Arduino has only 2 interrupt pins.
If you're able to do, good luck.
@@ELECTROMODlab i meant 6 different interrupt functions.
Can we use it with vehicles Tire?
Definitely we can use but we have to stick a white tape on the black tyre and to modify a part of the code.
You mean tire diameter? So It makes the whole module tire siE dependent?
Does it work efficently with 2000rpm ?
Yes..
@@ELECTROMODlab does it work accurately with ~12000 rpm?
Bro is it work efficiently in 10.000 rpm ?
Try it.
Need your help ?
After 32000 value, it shows negative values.
You need to modify the code.
@@ELECTROMODlab in the rpm formula or anywhere else
Hi, if you put that inside the windshield of the car, it gives a rash on it rains
broo is it work properly with 3000rpm motor?
Yes..
Sir code url is blocked
Hi, why on the second sketch, the digital pin becomes 1?
It's your wish
You can do either.
@@ELECTROMODlab i got it. it becomes 1 because pin 3 it actually INT1. thanks... I'm just a confused beginner.
@@jakecsiscar bro im not getting the numbers instead i'm seeing only zeros and ones ? please help me to sort this out
anyone plish help me to sort my problem im getting only 0 and 1 in serial monitor , please tell me how to get the correct rpm values
Bro.... I'm using uno board... so I have given IR data to digital pin 2...Followed all the instructions....waveform is generating perfectly but in rpm meter code I'm not able to print the rpm... it's only printing 0...what to do?
Try fixing the wires properly. In the void setup section at attachinterrupt change the number form 1 to 0. Or follow the exact same pin configuration shared in the video. Thanks.....
How to count by connecting with ir sensor module and calculator
Super
Thank you.
it didnt work with me
Supar bro
Keep it up!!!
Nice video🖒🖒
Thank you.
👏🏻👏🏻👏🏻👌🏻
Can u give circuit connection details for rpm measurement.
sensor module VCC to 5v of arduino and ground to ground of arduino, sensor out to pin 3 of arduino
@@michaeljoshuamanallo1742 but there is no '3' pin in the code
Sir will this work with Arduino uno r3