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

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 37

  • @mohamedaitmouali895
    @mohamedaitmouali895 3 месяца назад

    Very well expleined thank you from Morocco

  • @francescoguerrini5559
    @francescoguerrini5559 Год назад +1

    How much will this be affected by EMI noise?

  • @MikeM.-vx9uy
    @MikeM.-vx9uy 11 месяцев назад

    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?

  • @abdessamadchaatouf2691
    @abdessamadchaatouf2691 8 месяцев назад

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

  • @jumbo999614
    @jumbo999614 4 месяца назад

    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?

  • @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).

  • @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* .

  • @peopleofman
    @peopleofman Год назад

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

  • @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) }

  • @alexindustries44
    @alexindustries44 2 года назад

    Very well expleined thank you

  • @kitonepluswong7889
    @kitonepluswong7889 Год назад

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

    • @miliohm
      @miliohm  Год назад

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

  • @INNOVATORM3A06
    @INNOVATORM3A06 10 месяцев назад

    Merci beaucoup "from France"

  • @mekimr9736
    @mekimr9736 2 года назад

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

  • @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

  • @ragamotomotif1770
    @ragamotomotif1770 Год назад

    keren

  • @mubasirkhafid9582
    @mubasirkhafid9582 Год назад

    Hallo mr

  • @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

  • @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

  • @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