Fan Speed (RPM) Measurement using IR Sensor and Arduino || Tachometer

Fan Speed (RPM) Measurement using IR Sensor and Arduino || Tachometer

How To Electronics

5 лет назад

58,517 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@DSVidyasagar
@DSVidyasagar - 22.07.2023 06:04

detachInterrupt() syntax only works on Arduino SAMD Boards, Uno WiFi Rev2, Due, and 101

Ответить
@cesarfu7540
@cesarfu7540 - 03.06.2023 07:50

It is cool

Ответить
@electronicsideas1361
@electronicsideas1361 - 19.04.2023 11:47

I need this and rpm counter in one

Ответить
@phearl3ss1
@phearl3ss1 - 18.08.2022 02:50

The schematic indicates the IR sensor is going into digital 2 and your interrupt in the code indicates pin 0 so I don't think that code will work.

Ответить
@sikawarsito11341
@sikawarsito11341 - 22.07.2022 17:12

Thank's

Ответить
@tayyabahashmi1584
@tayyabahashmi1584 - 29.05.2022 18:05

Sir how can we this code for a flat disk wheel???what modification are needed??

Ответить
@karte2626
@karte2626 - 22.03.2022 20:06

10892 rpm??? Really???

Ответить
@ismailkholid1653
@ismailkholid1653 - 09.03.2022 10:43

How to I get the library for IR speed sensor?

Ответить
@dealtowheel8975
@dealtowheel8975 - 05.12.2021 23:38

Make a mini atm or piggy bank fully automatic plzz using aurdino

Ответить
@TKThemeParkReviewer
@TKThemeParkReviewer - 23.11.2021 03:04

do you have the same code but not for lcd

Ответить
@macesicario7924
@macesicario7924 - 04.10.2021 22:02

rpm = (rev/times)*60000/3 ; how did 60000 ?

Ответить
@bryanpenaflor748
@bryanpenaflor748 - 04.10.2021 11:39

nice, can this be used as a trigger switch to activate the brakes for a wind turbine?

Ответить
@bryanpenaflor748
@bryanpenaflor748 - 04.10.2021 11:39

nice, can this be used as a trigger switch to activate the brakes for a wind turbine?

Ответить
@mehdwiyouth6338
@mehdwiyouth6338 - 26.08.2021 21:39

Sir, please tell me can I eat relays from speed rpm?

Ответить
@magnetservicecenter
@magnetservicecenter - 28.05.2021 09:35

Kindly post a same project with Hall sensor

Ответить
@tushargole7986
@tushargole7986 - 27.12.2020 23:17

Why fan is not takeoff on 12000rpm.
😆😆😆😆😆😆😆😆

Ответить
@dalbajovababis
@dalbajovababis - 20.10.2020 18:06

CODE IS SHIT, shows random numbers

Ответить
@feryaynurrofiq6627
@feryaynurrofiq6627 - 30.07.2020 06:05

itu ndak salah baca ya? khawatirnya kalau baling2nya kipas ada 3, sensor baca rpmnya 3x lbh banyak

Ответить
@moussarekim4836
@moussarekim4836 - 24.07.2020 12:22

thanks! Is it possible to calculate fan cycles instead of speed in this example using Arduino

Ответить
@hastrinam.salleh5072
@hastrinam.salleh5072 - 23.07.2020 21:43

how to get the input voltage?

Ответить
@axelgaard1
@axelgaard1 - 04.07.2020 23:21

would this be able to be supplied from a 9v battery or 12/24v supply aswell?

Ответить
@lildj7395
@lildj7395 - 19.03.2020 12:05

Hi. How would this be done without using microcontrollers?

Ответить
@JDSchuitemaker
@JDSchuitemaker - 12.03.2020 23:19

You should not use detachInterrupt(), but instead use noInterrupts() and interrupts() to disable/enable interrupts

Ответить
@vihangpatel8626
@vihangpatel8626 - 06.03.2020 20:36

bro i just want to count the totol number of revolution not RPM, what changes should i make?

Ответить
@mdfazlerabbiporag6772
@mdfazlerabbiporag6772 - 21.01.2020 12:49

How to fix alarm if the rpm is zero

Ответить
@patricklucero8810
@patricklucero8810 - 15.12.2019 07:23

how to display it in serial monitor?
i change the code to display it in serial monitor, but it does not work.


CODE:
//to display on serial monitor code:


float value = 0;
float rev = 0;
int rpm;
int oldtime = 0;
int time;


void isr() //interrupt service routine
{
rev++;
}

void setup()
{
Serial.begin("Initializing");
attachInterrupt(0,isr,RISING); //attaching the interrupt
}

void loop()
{
delay(1000);
detachInterrupt(0); //detaches the interrupt
time = millis() - oldtime; //finds the time
rpm = (rev/time) * 60000 * 3; //calculates rpm for blades
oldtime = millis(); //saves the current time
rev = 0;
Serial.println("TACHOMETER");
Serial.print( rpm);
Serial.print(" RPM");
Serial.print(" ");
attachInterrupt(0,isr,RISING);
}

Ответить
@050zaher
@050zaher - 10.10.2019 02:11

thanks , but i think you have error in your code which is
rpm = (rev/times)*60000/3 ;
it should be :
rpm = (rev/(times/3))*60000 ;

Ответить
@jaibharat3723
@jaibharat3723 - 04.10.2019 18:45

Sir how to made airgun pellet speed chronograph plz make one video

Ответить
@satriamuhammadazis6786
@satriamuhammadazis6786 - 19.07.2019 19:14

Can this sensor use in NodeMcu?

Ответить
@shahrezzamohdnor7352
@shahrezzamohdnor7352 - 07.05.2019 11:35

hello sir ... im follow your instruction .... but my lcd doesnt write anything .... its appear something but in square pixel ... n make me confusing... pls help me sir...

Ответить
@styvelioumba674
@styvelioumba674 - 28.03.2019 14:16

great !!!

Ответить
@emacantsaoir
@emacantsaoir - 07.03.2019 03:45

Seems like a nice project, but there is no way that fan is running at 12,000rpm. At that speed it would take off like a helicopter :)

Ответить
@ajmalsanah1179
@ajmalsanah1179 - 05.02.2019 09:18

Please make a incubater

Ответить
@ajmalsanah1179
@ajmalsanah1179 - 05.02.2019 09:18

Good project bro

Ответить
@electronic7979
@electronic7979 - 02.02.2019 03:13

Nice project 👍

Ответить
@mamtakhadka1314
@mamtakhadka1314 - 01.02.2019 19:40

Good job sir

Ответить