How to use Optocoupler sensor module as RPM meter (Tachometer)

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 38

  • @mohamedaitmouali895
    @mohamedaitmouali895 5 місяців тому +1

    Very well expleined thank you from Morocco

  • @ivytechengineer
    @ivytechengineer 4 дні тому

    Hello, thank you. I have modified your code for my application and attempted to simulate it in TinkerCAD using the IR Remote and IR Sensor but I am getting multiple counts when a button is pressed. Maybe a debounce is needed on the sensor or in the code?

  • @INNOVATORM3A06
    @INNOVATORM3A06 Рік тому

    Merci beaucoup "from France"

  • @MikeM.-vx9uy
    @MikeM.-vx9uy Рік тому

    Hi there, thanks for your very performative video, Can I ask how to add 2 outputs to control the motor speed base on rpm reading and rpm setting to maintain the desired speed?

  • @francescoguerrini5559
    @francescoguerrini5559 Рік тому +1

    How much will this be affected by EMI noise?

  • @abdessamadchaatouf2691
    @abdessamadchaatouf2691 10 місяців тому

    please sir could you tell me what the knd of motor you have used here ?

  • @jumbo999614
    @jumbo999614 6 місяців тому

    I'm going to use this with ESP8266 so I can show RPM value in webpage. Can I use 3.3v to supply power to this module? what output voltage from this module?

  • @alexindustries44
    @alexindustries44 2 роки тому

    Very well expleined thank you

  • @Dancopymus
    @Dancopymus Рік тому

    Hello friend, my Optocoupler is one of those used in printers, which has 4 wires, two for power and two for signal, so how can I use it in your code, given that yours only has one signal pin... (attachInterrupt(digitalPinToInterrupt(2))? Thanks

    • @miliohm
      @miliohm  Рік тому

      Find the digital output, and use that pin.

  • @Amperekaefer
    @Amperekaefer 2 роки тому +1

    Interessantes Video, *danke* .

  • @arnoudmedendorp991
    @arnoudmedendorp991 2 роки тому

    Hi there, thanks for your clear explanation about this setup. I got it working because of your video! But what if I want to have a second RPM reading on the 16x2 display with a second Optocoupler sensor? How do I adapt the code for this situation?

    • @miliohm
      @miliohm  2 роки тому

      you need to make a second counter function with different variables, and don't forget to attach interrupt on digital pin 3 since arduino like UNO or NANO only has interrupt pin on pin 2 and 3. Then print the second value on a different LCD coordinate (assuming use 1 LCD).

  • @taherrad153
    @taherrad153 2 роки тому

    Thank You so much.That was Very Useful!!!
    Can one do this with Arduino Nano?

    • @miliohm
      @miliohm  2 роки тому

      Sure, you can do with any arduino

  • @reykambey8748
    @reykambey8748 2 роки тому

    Hi miliohm, after I verify the code in arduino, a warning appears "count was not declared in this scope". Can you help me how to fix that?

    • @miliohm
      @miliohm  2 роки тому

      make sure you copy the whole code. Sometimes it caused by lack of curly bracket

  • @naufalfadurahman7109
    @naufalfadurahman7109 2 роки тому

    Hello. Can you help me how to attach my servo with RPM meter? So when the RPM is below the specified, the servo will automatically rotate and stop when RPM become normali again

    • @miliohm
      @miliohm  2 роки тому

      Tambahin library servo aja mas, kayak di file example. Abis itu bikin if else sederhana. If (RPM < batas) { servo.write(sudut yang diinginkan) else {servo.write(sudut lain) }

  • @kitonepluswong7889
    @kitonepluswong7889 2 роки тому

    Thank you for your help.
    To ,my case
    km/h = 5.97 * rpm *0.001885;

    • @miliohm
      @miliohm  2 роки тому

      Glad to hear that. What's the diameter of your encoder?

  • @koekie7003
    @koekie7003 2 роки тому

    hey bro, my interupt triggers way too much giving too high reading, could it be the wheel is too thin? also the wheel is slightly warped could this affect it?

    • @miliohm
      @miliohm  2 роки тому

      Try to turn wheel slowly. Does it only add count every passing hole?

    • @koekie7003
      @koekie7003 2 роки тому

      @@miliohm no by the time it passes around 10 holes, it has picked up more than 100 holes

    • @miliohm
      @miliohm  2 роки тому +1

      @@koekie7003 try to paint your wheel. If it 3D printed sometimes it still can be penetrated by the infrared.

    • @koekie7003
      @koekie7003 2 роки тому

      @@miliohm I will try it thank you

  • @peopleofman
    @peopleofman Рік тому

    hii bro, how to convert rpm to km/h??

  • @KelingValo
    @KelingValo 2 роки тому

    Can u share 3d file disk holes sir ?

    • @miliohm
      @miliohm  2 роки тому

      Maaf mas lupa udah ga kesimpen

    • @KelingValo
      @KelingValo 2 роки тому

      @@miliohm Min, saya coba pakai 3 sensor sekaligus kok gabisa ya min, hanya 2 yang terbaca, link code : docs.google.com/document/d/1oplEGC5c2bkIwytJGbhDr7774dQVk9IvONfAX6AsZ08/edit?usp=sharing

    • @miliohm
      @miliohm  2 роки тому

      @@KelingValo kalau arduino uno memang interrupt nya hanya 2. Harus pake mikro lain

  • @ragamotomotif1770
    @ragamotomotif1770 Рік тому

    keren

  • @LeninJoshua
    @LeninJoshua 2 роки тому

    Can I get the circuit

    • @miliohm
      @miliohm  2 роки тому

      Link in the description

    • @LeninJoshua
      @LeninJoshua 2 роки тому

      @@miliohm what if I use 20 hole propeller instead of 12..what are all the alternations needed in the program

    • @miliohm
      @miliohm  2 роки тому

      @@LeninJoshua you need to watch the entire video

  • @mubasirkhafid9582
    @mubasirkhafid9582 Рік тому

    Hallo mr

  • @mekimr9736
    @mekimr9736 2 роки тому

    Hi very good thank you), it possible to write you in privat please?