Это видео недоступно.
Сожалеем об этом.

Tachometer (RPM Meter) || DIY or Buy || How a 3€ sensor outdoes a 29€ product!

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • $2 for 2Layer, 5pcs & $5 for 4Layer, 5pcs: jlcpcb.com
    Previous video: • HACKED!: Turning an In...
    uC Timer video: • Electronic Basics #30:...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Support me for more videos: www.patreon.co...
    More project information (schematic, code,....) on Instructables: www.instructab...
    Parts list (affiliate links):
    1x Arduino Pro Mini: s.click.aliexp...
    1x IR Distance Sensor: s.click.aliexp...
    1x 128x64 OLED: s.click.aliexp...
    1x TP4056 Charge Protect Board: s.click.aliexp...
    1x LiPo Battery: s.click.aliexp...
    1x Toggle Switch: s.click.aliexp...
    In this episode of DIY or Buy we will be having a closer look at a commercial tachometer (RPM Meter) and test it in order to find out that it is pretty much unusable. Afterwards I will show you how a 3€ IR distance sensor works and how we can use it to build a proper DIY tachometer that functions properly. Let's get started!
    Thanks to JLCPCB for sponsoring this video
    Visit jlcpcb.com to get professional PCBs for low prices.
    Music:
    2011 Lookalike by Bartlebeats
    Killing Time, Kevin MacLeod
    (incompetech.com)

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

  • @greatscottlab
    @greatscottlab  4 года назад +446

    Sadly there is a small mistake in the video. The IR photo diode is positioned the wrong way around. Just imagine the cathode and anode being flipped. Sorry. (Edit: Ok, there is a second mistake. I used the roller adapter in contact mode incorrectly. I just did another measurement the correct way and measured an RPM of 270 while the correct one would have been 230. So this way it was a bit better but still not good enough for me.)

    • @greatscottlab
      @greatscottlab  4 года назад +58

      But who knows that? I tried searching for information on that but not even the official manual of the product bothers to mention those details. I think most people would use it like I did.

    • @greatscottlab
      @greatscottlab  4 года назад +68

      Ok. I just tried it this way and the result was better. I got 270RPM with the DC Motor which actually rotates at 230RPM. So still not good enough.

    • @nautilus8789
      @nautilus8789 3 года назад +6

      @@greatscottlab Great job, love your vids man, keep it up!

    • @tnamen1307
      @tnamen1307 3 года назад +2

      @@greatscottlab Please make videos for the same project but with a new feature to turn ON a led when the speed reached 40 kmph. Awaiting...thanks in advance.

    • @tnamen1307
      @tnamen1307 3 года назад +2

      @@greatscottlab Please make videos for the same project but with a new feature to turn ON a led when the speed reached 40 kmph. Awaiting...thanks in advance.

  • @pewster31
    @pewster31 3 года назад +8

    One of my favorite parts of your videos is watching you write. Your handwriting is impressive!

  • @DJ-Manuel
    @DJ-Manuel 3 года назад +318

    Now you‘re just missing a 3d printed case for it and then it would be perfect 👍

    • @Metalhead_Geek
      @Metalhead_Geek 3 года назад +17

      Agreed but I would change the layout some to be a bit more compact.

    • @111genti
      @111genti 3 года назад +6

      You mean"compact"?

    • @Metalhead_Geek
      @Metalhead_Geek 3 года назад +5

      @@111genti yes ty new phone and it puts what it wants LoL 😂.

    • @greatscottlab
      @greatscottlab  3 года назад +70

      I thought about it but decided against it in the end to keep it simple.

    • @khayyam741
      @khayyam741 3 года назад +6

      @@greatscottlab Good decision to make it simple.

  • @Tapitus-totalus
    @Tapitus-totalus 3 года назад +89

    0:52 it's kind of cheap for tachometer in comparison to others
    The $16 tachometer down there:

    • @hetshah7490
      @hetshah7490 3 года назад +5

      Delievery charges ... 100$

  • @christopherguy1217
    @christopherguy1217 3 года назад +134

    I laughed when see you're sponsored by JLCPCB but build just using perfboard.

    • @bryanst.martin7134
      @bryanst.martin7134 3 года назад +14

      For prototyping, why not? Want to make a batch of faulty boards? He use them often.

    • @sto2779
      @sto2779 3 года назад +2

      LMFAOOOOO

    • @Thaumatichthys
      @Thaumatichthys 3 года назад +1

      @@bryanst.martin7134 they seem fine to me, ive ordered some pretty sketchy looking boards and they still worked fine

  • @fahb68
    @fahb68 3 года назад +180

    Men the diameter of the rolling thing is affecting the values , smaller more turns bigger less turns, you got to used aligned, not in besides

    • @robertbackhaus8911
      @robertbackhaus8911 3 года назад +38

      Yup, in contact mode, the tacho will be accurately measuring how fast the tacho's shaft was turning. To measure the speed of the shaft, push the contact rubber onto the ene of the shaft, not rolling around its side.
      The user manual would have made this clear, but it was probably in impenetrable chinglish.
      Edit: someone else picked up the reason why it failed with the optical - insulation tape's optic properties are horrible. It is designed to be used on the bare shaft of the motor. If you need to add anything to make a mark, try painters masking tape.

    • @caninek9792
      @caninek9792 3 года назад +14

      To use contact mode you must put the probe coaxial with the motor shaft not side by side like a spur gear arrangement. Great video tho!

    • @jort93z
      @jort93z 3 года назад +5

      He tried that too, wasn't accurate either. 4:12

    • @mrroronoa8
      @mrroronoa8 3 года назад +2

      I was looking for this comment.

    • @playernoob1249
      @playernoob1249 3 года назад +1

      What you're saying is correct, But in this case laser tachometer reading incorrect RPM value, Diameter comes into account when we measure travel distance of shaft m/min.
      DIY wins

  • @LeoDDJ
    @LeoDDJ 3 года назад +11

    Great video, very informative and practical.
    Just a thing I noticed, because I stumbled over it not too long ago myself: The two pixel white strip to the right of the OLED (10:03) is most probably caused by a wrong display type. If you have a SSD1306 but initialize it as a SH1106, or the other way around, you get those strips.

  • @nixxonnor
    @nixxonnor 3 года назад +4

    I bought a similar RPM counter 10 years ago. It came without any of the accessories. ("Digital Laser Tachometer with Pouch (2.5~99999.9RPM"). When I measured a 5400 RPM hard drive platter, the display read 5399 - 5400.

  • @Finalxxx37
    @Finalxxx37 3 года назад +3

    With the contact sensor you have to multiply the reading for the "gear ratio": calling 1 the shaft to misure and 2 the roller sensor, omega_1=omega_2*Radius_2/Radius_1
    (Infact in your example the radius of the shaft are circa a half, like the rpm misured)
    For me the contact method (if applied correctly) is the more precise as long as don't putting too much contact force or/and if the sensor itself have a lot of friction (could be a problem for low torque or very high rpm motor)

  • @ZeroMass
    @ZeroMass 3 года назад +72

    Who else starts their Sunday morning with a cup of coffee and a slogan of " let's get started"?

    • @PerKroon
      @PerKroon 3 года назад

      Normally but I'm cranky today!! I forgot to buy coffee yesterday.

    • @ZeroMass
      @ZeroMass 3 года назад

      @@PerKroon coffeeless mornings is never a good thing 😭

    • @urbexingTss
      @urbexingTss 3 года назад

      Sorry not the age to drink coffee but soon I can taste it😁

    • @yxcvbnmmnbvcxy544
      @yxcvbnmmnbvcxy544 3 года назад

      More like coffee evenings in Germany

    • @ZeroMass
      @ZeroMass 3 года назад +1

      @@yxcvbnmmnbvcxy544realistically, it's a 24/7 affair 🤩
      Gets me going at 8:00 a.m. keeps me up until 3:00 a.m. coffee coffee coffee!!!

  • @1kreature
    @1kreature 3 года назад +6

    A tip for expansion later: Add a graph of the rpm over time on the lovely Oled display! Would be nice to see if rpm oscillates on things as well! Very few meters can do that.

  • @emanuelxavier9923
    @emanuelxavier9923 3 года назад +2

    Once, I made a tachometer using a hall sensor effect and a magnet, but this way with the IR sensor, looks much better. Great job!

  • @vopt1972
    @vopt1972 3 года назад +63

    Hi Great Scott, I have the feeling that you missed something in the measurement of the rpm by contact. Indeed, your tachometer measures the rpm of its own head, and thus you must introduce a correction coefficient as the rate between the rotor head diameter and the tachometer head. The tachometer cannot know what is the diameter of your shaft!

    • @greatscottlab
      @greatscottlab  3 года назад +9

      Read my pinned comment.

    • @robertneumann9352
      @robertneumann9352 3 года назад +4

      But then the IR Sensor is the better solution anyway. No need to calculate something...

    • @farmerwoody123
      @farmerwoody123 3 года назад +9

      @@greatscottlab There is no pinned comment :(

    • @EduardoPerezEsteban
      @EduardoPerezEsteban 3 года назад +8

      Exactly! The "by contact" probe should be touching the motor axis in such a way that both rotate at the same angular speed: they mustn't touch side-by-side, but tip-to-tip.

    • @sswpp8908
      @sswpp8908 3 года назад +1

      I see it. Says that it's been there for a week.
      He doesn't go into detail but he said that he figured out he was doing something wrong and retested, and that it was closer but still had some error in the measurements.

  • @bhu1334
    @bhu1334 3 года назад +22

    I miss the good old days when great scott used to make prefboards with clean satisfying soldering

    • @rizalardiansyah4486
      @rizalardiansyah4486 3 года назад +2

      I wonder why didn't he choose a veroboard rather than an ordinary perfboard. I think veroboards are better for semi-prototype stuff since their traces resemble solderless breadboards...

    • @bhu1334
      @bhu1334 3 года назад +2

      @@rizalardiansyah4486 Nevertheless you can still get decent solder traces with prefboard too

  • @abdullaalmasum4945
    @abdullaalmasum4945 3 года назад +21

    Just talk about the pens you use sometime.😂 hand writing is soooo smooth!!

    • @tokk3
      @tokk3 3 года назад +3

      Lookup stabilo pointer.

    • @greatscottlab
      @greatscottlab  3 года назад +12

      @@tokk3 Stabilo Point 88 :-)

    • @tokk3
      @tokk3 3 года назад +2

      @@greatscottlab I guessed so. Wasn't completely sure.

    • @adamsucksatyt
      @adamsucksatyt 3 года назад +1

      Quality German pens.
      I use them too.

  • @michaegi4717
    @michaegi4717 3 года назад +2

    That's again is a wonderfull video. I like the DIY or BUY series. Over the past few years, I more often to go DIY. Not just because it's cheaper and I learn while building, but also because I can repair easily and recycle parts if I don't need the device any longer.
    Thank you for all the fresh ideas.
    My actual project is a weather station that saves the weather data to an NAS. So I have the complete history available and have at the same time a better accuarcy for temperature, humidity and rain quantity than I got from standard weather station. As a side effect I can easily display abolute air humidity or dew point, which is not available at normal weather stations.
    I also plan to display a recommendation for room ventilation based on comparing temperature and (absolute) humidity.
    The internal (display) part might be upgrated by an air quality sensor in the near future, which will improve the ventilation recommendation.

  • @yagneshpatel1183
    @yagneshpatel1183 3 года назад +1

    i love to see diy win . it so happy our own made product work so fine . i give joy and emotions own hand made things

  • @jordanbarnsley2438
    @jordanbarnsley2438 3 года назад +10

    Using the mechanical tach wrong... The diameter of the shaft will affect the reading using it like that! It has to be directly coupled to the shaft inline and not offset unless the shaft diameter is equal to the tach head you are using.

  • @Appregator
    @Appregator 3 года назад

    You've got the best left hand writing skill I've ever seen. You're a phenomenon !

  • @KangJangkrik
    @KangJangkrik 3 года назад

    When you building meter, you have to dealing with non-linearity, error rate, accuracy, precision, and more. It's a whole study case

  • @emersonsrandomvideos248
    @emersonsrandomvideos248 3 года назад

    I really like the way how great scott explain electronics without straining the time limits of his videos.

  • @puriap250
    @puriap250 3 года назад +3

    Yes! DIY wins!!
    I always wanted to do this project and find out how accurate these IR sensors can measure RPM. Thanks for doing it for me!

  • @BrainlessBad
    @BrainlessBad 3 года назад

    ganz ehrlich, jedes mal wenn ich dir bei schreiben zu gucke bin ich wieder aufs neue fasziniert wie du jedes aber auch jedesmal den selben strich triffst, eins wird sicher sein, du hast kein parkinson :D

  • @lernenmitrobin
    @lernenmitrobin 3 года назад +1

    sometimes I wish RUclips has a like button in full screen mode on my laptop. Nice video!

  • @sahilrastogi94
    @sahilrastogi94 3 года назад +7

    @GreatScott! Amazing video as always :). I just have one doubt though. In your explanation, you are saying 60 / (rpmtime / 31250), whereas in the code, you are using 120 / (rpmtime / 31250).

  • @huchengguo3004
    @huchengguo3004 3 года назад +2

    Even for the laser measuring part, you still messed up, you are supposed to attach a wheel to the end of the shaft and use the flat side for color differentiation (like this ◐). Doing so will give an instantaneous signal change instead of a gradual one when you tape on the round shaft.
    For some reason, your tachometer didn't come with some reflective tapes, these are like the ones on the trucks and provide better contrast.

  • @electricalychalanged4911
    @electricalychalanged4911 3 года назад +1

    A year ago I had a similar project. I had quite the Problem with the accurate counting, because the Arduino was too fast and produced overcounting because the interrupt was triggered several times at the edge of the tape. I had to use a delay of some us to avoid double counting of rotations. I am rather surprised that your setup worked so well for you.

    • @yeyee2418
      @yeyee2418 3 года назад

      Hi, i'm currently working on the same kind of tachometer (using mega8 uC, LCD, and the same IR sensor). By inaccurate counting i assume its external interrupt triggers several times while the object passes only 1 time?
      while testing the IR sensor, i realized after i tried to wave my hand 1 time in front of the sensor, the interrupt count suddenly increments by 4! (and sometimes even 6 lol) this led me to assume that the output of the IR sensor itself is bouncing. (and i dont have oscilloscope to check this since i'm still a student)
      this issue is solved after adding some RC network to debounce it, and the IR sensor triggers the ext interrupt now correctly (for example i waved my hand 5 times in a fast manner, and the count increments exactly 5 counts)
      Hope this helps and I'm happy to accept any advice too, thanks~

    • @ajisumiardi6736
      @ajisumiardi6736 3 года назад +1

      @@yeyee2418 Hi Yeyee_Gabriel_S_,, seems your solutions can work with me too,, but I'm lack of information about how to connect the RC network to the IR Sensor output,, any reference or some wiring diagrams that I can accessed?
      Thanks in advance,,

  • @St0RM33
    @St0RM33 3 года назад +23

    Another mistake that you made is that the optical reading of the laser tachometer needs retroreflecting tape..usually it's included in the box

  • @RobotMan2412
    @RobotMan2412 3 года назад +134

    if (tooslow == 1)
    > Quality code

    • @AllThatInterestingStuff
      @AllThatInterestingStuff 3 года назад +13

      rather:
      if (tooSlow)

    • @Ev-wj3lm
      @Ev-wj3lm 3 года назад +1

      @@AllThatInterestingStuff only if
      int boolean tooslow;

    • @Multibe150
      @Multibe150 3 года назад +7

      @@Ev-wj3lm Pretty sure Arduino wouldn't mind, since it's basically C/++ and these languages let you do that

    • @AllThatInterestingStuff
      @AllThatInterestingStuff 3 года назад +1

      @@Multibe150 Thanks, I was about to comment the same.

    • @Ev-wj3lm
      @Ev-wj3lm 3 года назад +1

      @@Multibe150 thanks :) i'm kinda new to arduino...

  • @kissingfrogs
    @kissingfrogs 3 года назад +1

    Nice video. When RPM is low switch from time per pulse to pulses per time. I once harvested IR LED pig-snout pairs (may have been just me that called them that) from VCR's for this. VCR's used them to monitor reel speed and designed more so the LEDs were hidden from each other. They seem rare these days.

    • @Flo-mb9zg
      @Flo-mb9zg 2 года назад

      I can't find the code

  • @TheOfficialCzex
    @TheOfficialCzex 3 года назад +14

    3:17 This is how you know that you're dealing with an electrical engineer and not a mechanical engineer.

    • @Abdulaziz-pi3ev
      @Abdulaziz-pi3ev 3 года назад

      I was surprised by that too 🤣

    • @Abdulaziz-pi3ev
      @Abdulaziz-pi3ev 3 года назад +4

      @Saksham Jain
      The way he used the device is totally wrong. The diameter of the measuring tip is different from that of the shaft of the motor, so for each rotation of the motor the measuring tip only rotates like 0.7 rotation. They basically act as two gears with different rotational speed.
      The correct way is to push the measuring tip against the center of the rotating shaft so that they rotate at the same speed. This is a very basic mechanical concept (I actually learned it in high school).

    • @Willeexd1337
      @Willeexd1337 3 года назад

      Look at the top comment

    • @TheOfficialCzex
      @TheOfficialCzex 3 года назад

      @@Willeexd1337 He edited his comment after I posted this.

    • @enricomontanari1390
      @enricomontanari1390 3 года назад +1

      It was a distraction mistake.
      It doesn't require a mechanical engineer to understand what kind of error is produced by measuring in that way, it's something like 1st year high school physics.

  • @youssefahourri3245
    @youssefahourri3245 3 года назад +1

    For contact RPM counter, it's preferable to use IR encoder for accurate measurement. In non contact Measurements many factors affect the accuracy: angle, light, stability of both (the tachometer and the rotor).

  • @panagiotischristo
    @panagiotischristo 3 года назад

    I'm so going watch all your videos today.
    Forget about Marvel or Disney....thanks for great entertainment.

  • @mr.boxman2244
    @mr.boxman2244 3 года назад

    I hope you read this. Please consider making a 3D printed 8th order bandpass speaker with a (hidden) 4.5 inch driver to 250-300Hz with port on same side as a 2.5 inch driver for the rest of frequency range and design a proper crossover for that design. We all learn about crossover eventually and now you can be authority and overcome previous mistake. We love your videos and your excellent efforts.

  • @opv865
    @opv865 3 года назад

    We need more diy winners very nice video keep up the good work

  • @progresstechindustries1262
    @progresstechindustries1262 3 года назад +4

    Amazing. Going to try to build one following your video. Maybe I dont have to buy one again. Thanks for the video

  • @lennex383
    @lennex383 3 года назад +2

    Thanks for reverse engineering the circuit of the module! I used your schematics to figure out how to add hysteresis (Schmitt trigger) to the circuit: You can easily add positive feedback to the comparator by adding a resistor between the output and the non-inverting input.
    I just soldered a 20k resistor between the OUT terminal and the anode of the Photodiode on the backside of the PCB.
    I did this because I had problems with false interrupt triggering on an ESP32 using this module. Apparently the ESP32 external interrupts need a quite fast rise time to trigger reliably. It would have been interesting to see how noisy the rising and falling edges of the signal in your setup are by zooming in on the DSO.
    The 20k might not work for all sensitivity settings of the trimmer pot. To change the hysteresis it might be a good idea to replace the resistor with another trimmer pot.

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

    Thanks for this , I built it but was getting twice the rpm my scope said ! I have changed 120 in the code to 60 and now it works perfectly.
    Thanks for a great project.
    I am going to run it off of an 18650 a fuse instead of the charging board . On the occasions I want to use it I will put in a battery. This keeps costs down for something it will use now and again.

  • @rdyer8764
    @rdyer8764 3 года назад +37

    When I used to use some of these cheap optical tachometers I had trouble with 60Hz fluorescent lights in the room. Dark was best. Could that have been any part of the problems your devices were having? Also the flat and the edges of the flat can give spurious reflections that may not be easily ignored by the device.

    • @vermillionreaper
      @vermillionreaper 3 года назад +7

      Even so, thats a problem that the company should have already know, -1 point for that

    • @rdyer8764
      @rdyer8764 3 года назад +5

      @@vermillionreaper Agreed! I don't think it's a defense of the device, but it might explain some things.

    • @a1nelson
      @a1nelson 3 года назад +7

      The central problem is that there is no modulation on the IR LED. Television remote controls would have the exact same problem, except they use a ~38KHz carrier. The fluorescent lights could be easily factored out if the IR LED pulsed on and off, rather than just being nailed on. The “carrier” frequency wouldn’t even need to be particularly high, as even the fastest motor shaft will likely turn

    • @Kalvinjj
      @Kalvinjj 3 года назад +2

      @@a1nelson I wouldn't even use much math on a MCU to check carrier frequency, rather go old school style like IR headphones. Those use FM on 2 frequencies, one channel about 2.8MHz, the other 2.3MHz I think, then it's all analog FM radio tech, basically do the same but keep the frequency constant.

    • @rdyer8764
      @rdyer8764 3 года назад +3

      @@a1nelson Really great explanation. Sounds like we need DIY or Buy - Episode 2!

  • @scollyer.tuition
    @scollyer.tuition 2 года назад +1

    I'm making a similar rev. counter, but I'm finding that the edges produced by the IR sensor are very noisy; it looks like it will need an additional Schmitt trigger to work reliably - the ESP32 board that I'm using never sees less than two interrupts per transition.
    [edit: I seem to have cleaned up the edges very substantially by putting a 680 pF cap. between the IR o/p and ground - it slows the rise time from about 10 us to 20 us, but the ESP32 seems perfectly happy with that - so maybe there is no need for a Schmitt trigger after all]

  • @NicholasRehm
    @NicholasRehm 3 года назад +1

    Putting a load on the motor with the physical tachometer will slow it down and reduce the reading...

  • @user-zf6zs7lc6w
    @user-zf6zs7lc6w 3 года назад

    I am from China and I like your video very much and I like it for you. I have also encountered the display problem on the right side of the OLED display because the library is not set up properly.

  • @TechsScience
    @TechsScience 3 года назад +2

    I had once made RPM counter with telly counter & Reed switch

  • @maik2239
    @maik2239 3 года назад

    We use an adjustable stroboskope light. If the shaft seems like standing still you can calculate the rpm.

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

    Excellent, great with great details there is no any misleading information.

  • @pigeon3036
    @pigeon3036 3 года назад +7

    Learned a lot more in new video

  • @Delali
    @Delali 3 года назад

    I have always loved your constructive approach to electronics and making things in general. you inspire me alot. keep up the great work Mr. Scott

  • @qr2197
    @qr2197 3 года назад +1

    I used a Hall sensor to make my RPM counter it also works flawlessly

  • @MrBrelindm
    @MrBrelindm 3 года назад

    So basically you're using a digital counter in front of a shift register - pretty ingenious! The output display can be stabilized more by using a rolling average of the previous three measurements.

  • @Faysal-fe3dk
    @Faysal-fe3dk 3 года назад

    I AM WATCHING YOUR VIDEO FOR MORE THEN A YEAR.... BUT STILL DONT understand ELECTRONICS..... BUT i DONT MISS YOUR VIDEO

  • @yukikaze1992
    @yukikaze1992 3 года назад +1

    You just build yourself an encoder. In some machinery they might use an inductive proximity sensor instead of IR to calculate speed of a gear or roller (welding some screw head on it). Different setup but still same concept

  • @rimooreg
    @rimooreg 3 года назад

    @GreatScott. Thank you for including the Entire Creative Process, including misadventures and commenters input. Makes for a more interesting and interactive experience for me. I use DC motors and motor controllers in the Mobility Industry and am drawn to invasive videos such as this. Thank you and your excellent commenters. Too bad I caught this one so late. I blame RUclips for poor notification.

  • @gotbread2
    @gotbread2 3 года назад +34

    I wonder though. Frequency counting is really easy even for a cheap product. Why is that commercial device off by so much?

    • @MaxusR
      @MaxusR 3 года назад +19

      I can see a few variants:
      1. The black and the white tapes isn't in contrast enough.
      2. The clock in the device is faulty.

    • @tobbleboii5988
      @tobbleboii5988 3 года назад +23

      because he used it quite wrong.
      the laser setup was right, but if you use a roller, you need to adjust for the circumference of the part. imagine having a 1meter wheel in contrast to the shaft of the motor. of course the circumference spins quite a lot faster.
      in that mode, you could only measure the meters per second, not revolutions per second

    • @greatscottlab
      @greatscottlab  3 года назад +13

      @@tobbleboii5988 Yes, I talked about this problem in my pinned comment. Why read this one but not my pinned one?

    • @greatscottlab
      @greatscottlab  3 года назад +11

      I think the clock could be a problem or a bad timer programming.

    • @a1nelson
      @a1nelson 3 года назад +3

      GreatScott! Lol - “You had ONE JOB...” I see it as entirely possible that they’ve gotten away with it simply because few users have actually verified the measurements. Or the mfr just doesn’t care, of course.

  • @byronwatkins2565
    @byronwatkins2565 3 года назад

    At 4:51-5:35 your photodiode is backwards. In this orientation it will conduct whether absorbing IR or not. (In fact, it will emit IR.)

  • @hetchelletomikko-n3929
    @hetchelletomikko-n3929 3 года назад

    Next on DIY or Buy: The differential probe
    Would be nice to see GreatScott attempt to build one :)

  • @piiumlkj6497
    @piiumlkj6497 3 года назад

    I love it when DIY wins , great work scott !

  • @anystrap404
    @anystrap404 3 года назад +1

    WOW, what a hugely impressive project! I continue to me amazed by your talent, and top of portraying everything in a really great and digestible way. =]

  • @FaysalKhalashi
    @FaysalKhalashi 3 года назад

    One of the best videos of 2020

  • @Kmuv1t
    @Kmuv1t 3 года назад +1

    Me: What devices can you make?
    GreatScott!: Yes.

  • @sincerelyyours7538
    @sincerelyyours7538 3 года назад

    Back in my model airplane days some 20 years ago I used a Tower Hobbies optical tachometer to measure the prop speed of my glow engines. It could be set to read the speed of two or three-bladed props. Some of my engines could go as high as 25,000 RPM. I used to check its calibration by pointing it at a fluorescent light to read the line frequency. Seemed to be quite accurate so I never questioned the readings. The only mod I made was to fit a small flat-black painted tube made of cardboard over the sensor port to keep side-light from swamping the sensor, which only used reflected light - no laser. Oh, and I don't think I paid more than $20 for it back then.

  • @prajjwalshrivastav8216
    @prajjwalshrivastav8216 3 года назад +1

    Your content is about very useful tools and stuff we can diy
    Keep it up:)

  • @vinna2k884
    @vinna2k884 3 года назад +31

    The contact method reduce it's force

  • @marcvictor5305
    @marcvictor5305 3 года назад +2

    "And a theoretical never practically reachable maximum"
    I'm dying 🤣🤣🤣

  • @Asu01
    @Asu01 3 года назад +38

    Title: *How a €3 sensor outdoes a €29 product!*
    GreatScott! to the €17 used on the parts: _"I'm gonna pretend I didn't see that"_

    • @aleksastojanov4033
      @aleksastojanov4033 3 года назад +10

      And you could built this cheaper if you use a led 7 seg display and no battery. Cheapest would be to use only arduino and that ir module and read the rpm via serial read...
      Point of the video is to show what a simple sensor can do. You can modify his project in many ways.

    • @murzabaev
      @murzabaev 3 года назад +13

      It is 3 Euro if you connect the sensor to the oscilloscope

    • @a1nelson
      @a1nelson 3 года назад +11

      Bakyt-Bek Murzabaev lol. Funny, but true. I’m sure it’s possible to excellent results with an $8000+ oscilloscope, like the one on his bench.

    • @a1nelson
      @a1nelson 3 года назад

      aleksa stojanov it might be interesting to try using the Arduino/blue pill/whatever analog output and read the voltage with a handheld multimeter. So, maybe 3.172V represents 3,172 RPM. Both the sensor/arduino and DMM are portable and small, so that doesn’t seem like too much of a hassle if you’re just looking for an estimate within 1% or so, once in a while. Minor edit: updated arbitrary voltage example to be within the range of the 3.3V DAC.

    • @mosaddekhaque8080
      @mosaddekhaque8080 3 года назад +3

      He said "sensor" in the title. Obviously you will need other components to use the sensor.

  • @ramudu4410
    @ramudu4410 3 года назад +1

    I like ur writing and explanation

  • @isaacewing
    @isaacewing 3 года назад +2

    That "oh boy, hold onto your hats" is definitely from "oh boy, hold onto your papers"!!!

  • @Buizie
    @Buizie 3 года назад +2

    Thank goodness for this vid I can finally understand how to make a DIY anemometer

    • @sayantanmaiti2513
      @sayantanmaiti2513 3 года назад

      are you using a propeller for wind and this tachometer method to build it??

    • @Buizie
      @Buizie 3 года назад +1

      @@sayantanmaiti2513 either a prop or the three cup style

    • @Buizie
      @Buizie 3 года назад +1

      @@sayantanmaiti2513 and yes but I might still consider hall effect though

    • @a1nelson
      @a1nelson 3 года назад +1

      Buiz That’s a really good idea. I have a rural property and I’ve long wanted to be able to visualize changing winds and turbulence across a large area. The 3€ comparator part should it a lot easier to fabricate the ~25 anemometers that I’ve been hoping to set up. Wish me luck ;). PS: I wonder how high they should be mounted in order to reject most of the surface effects from the ground...

    • @Buizie
      @Buizie 3 года назад

      @@a1nelson I was planning to make mine a project for a government agency here where I have to dot a huge area with weather beacons and all of them will transmit back to the nearest office here via VHF Morse Code

  • @NicksStuff
    @NicksStuff 3 года назад

    Why not take advantage of your full OLED screen? By offering a cool display? Three ideas come to mind:
    - a tachometer display (with a needle)
    - a graph (with values logged in the last 60 seconds)
    - a frequency display

  • @juanfwidlar86
    @juanfwidlar86 3 года назад

    Homemade products are the best, greetings from Mexico

  • @pavan13
    @pavan13 3 года назад +1

    Your Intro is awesome 😍

  • @euse_ar
    @euse_ar 3 года назад

    No way scott i was making one
    This will be very helpfull!!!!!!!!
    Tysm

  • @k_m_atfs_official
    @k_m_atfs_official 3 года назад

    Really you did hard work, worthy to watch complete video . Excellent 👌

  • @abpccpba
    @abpccpba 3 года назад

    Just got mine to work : = )) Had to change the resistance pot some to get to start reading.

  • @hendrionodede
    @hendrionodede 3 года назад

    thanks Scott.. Video very clear, complete, complex and so on... See you next video...

  • @johnford7847
    @johnford7847 3 года назад

    Thank you. This will come in useful: I'm building a shaking water bath and needed a way to calibrate the shaking.

  • @andie_pants
    @andie_pants 3 года назад

    It's surprising how many favorite RUclipsrs of mine are from Germany. I'd really like to visit there some day.

  • @FreeOfFantasy
    @FreeOfFantasy 3 года назад

    If you use a bigger prescaler value in your timer or also count overflows between measurements you could get a lower minimum RPM.

  • @nid274
    @nid274 3 года назад +1

    I never thought that IR distance sensor was so fast and useful

  • @Mr.Unacceptable
    @Mr.Unacceptable 3 года назад

    I found using old IDE cables make running traces so much easier. You can make a ribbon as wide as you need. Bend it wherever you want. Lays flat.

  • @ChristieNel
    @ChristieNel 3 года назад

    Timer capture peripherals are awesome. I use them extensively.

  • @coldlogik9159
    @coldlogik9159 3 года назад

    Hey GreatScott!,
    Congratulations on the project, it looks really neat and outperforms commercial equivalents! However, there is a small, 2px wide band of noise on the right side of your display. Its probably due to the display controller being a SH1106 - a "SSD1306-compatible" driver which has 132 px wide display RAM (contrary to SSD1306's 128 px). Most of the libraries and tutorials out there focus on the SSD1306. To fix it, either switch to SH1106 in the graphics library or just find the function which transmits the cursor address and add a permanent +2 term to the x coordinate. I had the same thing literally yesterday so I noticed it immediately.
    MfG :)

  • @timh2870
    @timh2870 3 года назад

    the two small cups are for putting on the end of a shaft, center to center.

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

    the roller adapter would only give you a correct reading if the shaft of the motor is the same diameter as the roller, otherwise you'll get a different "gear ratio", which will cause the values to be off

  • @Krmpfpks
    @Krmpfpks 3 года назад +1

    Contact measurement is off because of the gear ratio of your setup. Optical measurement should be quite accurate. Your frame count is inaccurate because of the frame rate, you should count the frames of multiple revolutions and average to get a better accuracy (assuming somewhat constant rotational speed).

  • @medieval.software
    @medieval.software 3 года назад

    @ 0:55 you know you've been watching Two Minute Papers when you expect "Hold onto your papers"

  • @boldizsarbalog6206
    @boldizsarbalog6206 3 года назад

    An easy-to-implement software upgrade idea: You can measure slow speeds also by not counting the impulses per second (minute), but by measuring the elapsed time between impulses.

  • @DavidStosik
    @DavidStosik 3 года назад +1

    Instinctively, I would think that measuring the time it takes for one turn in a slow-mo video would induce quite a big imprecision... 🤔 Don't want to sound like I'm teaching you anything, but have you tried, with the same method, to measure the time it takes the shaft to revolve, say, 10, 20 (50, 100!) times? (Maybe that is what you actually did already?)
    When measuring a single rotation (360deg), a 30-deg angle error (I'm using quite a big value for demonstration, don't know how many frames your slow-mo gear is capable of) would mean the time you measured can be off by almost 10% (1/12). The same 30-degree error, when counting 10 turns (3600 degrees), would result in a time measurement that is accurate to 1%.
    If your 0.26s measurement is off by 15% (again, extreme number for demo), then your RPM could be anywhere between 200 and 270... (Which I guess still does not match any of the 2 measurements made by the device... 😅)
    Also wondering if you've tried using a thinner white strip on the shaft, or playing with lighting (eg. avoid direct lighting on the shaft that could result in reflections, even from the black part)?

  • @qarwill
    @qarwill 3 года назад +4

    Great!!
    Would you make a video on electronics basics(not the series)
    But a single video on the true basics also about purfboard soldering n stuff... Or even a sequel to the arduino 101s series!

    • @qarwill
      @qarwill 3 года назад +2

      Tbh, the arduino 101s sequel would be great!!

    • @ianthehunter3532
      @ianthehunter3532 3 года назад +1

      there already is a video about soldering

    • @qarwill
      @qarwill 3 года назад +1

      @@ianthehunter3532 yea... But the arduino one tho... : )

    • @GoalOrientedLifting
      @GoalOrientedLifting 3 года назад

      ruclips.net/video/1R3fqSFCAjM/видео.html here is everything you need to know about arduino

    • @GoalOrientedLifting
      @GoalOrientedLifting 3 года назад

      ruclips.net/video/dany7ae_0ks/видео.html and use this for programming. It's A LOT better

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

    Used one of these sensors with my oscilloscope. The problem I had was as soon as I went outside the IR from the sun messed up the sensitivity range.
    Currently trying with a 38khz tv remote receiver and ir led transmitter.

  • @patrickmaartense7772
    @patrickmaartense7772 3 года назад

    Im using the same sensor for al kinds of counting stuff, quite accurate if you do you coding well, well worth the effords thumbs up for the video !

  • @kimsmoke17
    @kimsmoke17 3 года назад

    Replace the offset adjust pot with an RC low pass filter. C to gnd, and R to +Vcc. The common between R and C connects to the anode of the IR photo diode. Through a small signal diode like a 1N4148, with the cathode connected to the common RC connection. Set the time constant of the RC to something like 15 Hz, say 10K and 1 uF. Add a resistor in parallel with the C to let the cap discharge slowly. 30 to 100K should be fine. Now the unit will set the offset automatically!!

  • @CyprienLaplace
    @CyprienLaplace 4 года назад +9

    I wonder if you can open the laser tachometer and measure the output of the laser sensor. And ideally replace it's electronics with the Arduino 😁

    • @greatscottlab
      @greatscottlab  4 года назад +14

      Hmmmmm maybe a HACKED! video idea?

    • @erikandersen2477
      @erikandersen2477 3 года назад

      Had the same thought, should at least be feasible to reuse the display and case.

  • @gianluca458
    @gianluca458 3 года назад

    Nice!!! I will make it!!!!! I love this projects. Good job mate 😉

  • @cptcrazyfingers9639
    @cptcrazyfingers9639 3 года назад

    Thank you! I’ve been needing a better tachometer for a while but I just don’t want to spend the money on one. I already have the components you used so I can make it right now.

  • @gabest4
    @gabest4 3 года назад

    I read the pinned comment about contact mode, but haven't found anything about the issue whether putting a load on the motor could change the speed. That would explain why it went from 300 to 270 rpm, and it may just need some calibration.

  • @BarendJanvanEijk
    @BarendJanvanEijk 3 года назад

    Thanks for the video and the tachometer project.
    I was doing experiments with PC-fans. And i wanted to know how to measure RPM correctly. And see if these sensors from AliExpress could do the job. So I bought a few of them, put one sticker on one of the blades of my 12 cm fan. The result was very dissapointing, the cheap sensor could not read this signal quick enough. Even not below a few hundred RPM (checked on scope via 3rd sensor wire). So these sensors are surely way to slow for this kind of RPM measurements.
    I bought a proper one (Voltcraft DT-10L laser tachometer, for about 62 euro's). This tachometer can measure up to 99999 RPM and works fine and precisely.

  • @g-gon8869
    @g-gon8869 3 года назад +4

    I wish my hand writing was like yours.

  • @nigeljohnson9820
    @nigeljohnson9820 3 года назад

    This sounds like a crystal clock fault in the HP tachometer. A free running time base in the HP unit would explain the apparently random readings.

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

    I think you’re comparing two applications-the store bought tachometer may trade some accuracy for range with long distance measurement. You may try repeating the experiment with distances and see how far your custom built one can read.

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

      Although the direct contact roller adapters you would think would eliminate matters of distance.
      I wonder if the thickness of the white stripe influences measurements too. You may want to play with a larger radius, plus the geometry is a bit odd. You’re projecting onto a line which is rotating but is not rotating about the axis of rotation that the laser is focused on.

  • @AllThatInterestingStuff
    @AllThatInterestingStuff 3 года назад +3

    2:00 That is how I know you not only sit in a room but actually work in a garden.

    • @greatscottlab
      @greatscottlab  3 года назад +1

      Well, I do lots of things with my hands....

    • @mr.coolio4321
      @mr.coolio4321 3 года назад

      @@greatscottlab What sort of things? lol