RPM Measurement using a Raspberry Pico and an Infinion TLE4905L Unipolar Hall IC Switch/Sensor

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024
  • This time we want to measure rotation using our Raspberry Pico and a hall switch, in this case the Infinion TLE4905L.
    To get a precise measurement we use the TIMER class from our machine library to initiate a periodic interrupt after a specific interval and we also use an interrupt on our GPIO input pin connected to the hall switch.,
    We count for a specific time and we calculate the RPM.
    This basic principle is used in ABS sensors as well - either hall or MR based. However, we simply it by using just one magnet and a simple hall switch.
    For the sake of fun I used a the second core for a graphical visualization but this will be covered in another video.
    You can find the source code, including the graphical fun part, on my GitHub respository:
    github.com/Sir... (2023_01_08_RPM_sir_real.py)
    #filmoracertifiedcreative #madewithfilmora #wondersharefilmora

ความคิดเห็น • 7

  • @cameronlapworth2284
    @cameronlapworth2284 11 วันที่ผ่านมา

    Thanks for this very useful.

  • @georgepapa2950
    @georgepapa2950 ปีที่แล้ว +1

    Good old stuff, build rock solid !!!

    • @Sir-Real
      @Sir-Real  ปีที่แล้ว

      you're sooo right!

  • @richardsonma1
    @richardsonma1 ปีที่แล้ว

    First, you solve my PicoW MQTT issues, and now this!
    I'd been looking for a video on this and couldn't find one anywhere.
    I thought the Pico would make a good bycle speedometer project to do with the local kids. I've seen several examples out there, but they all use GPS to calculate speed, distance, etc.
    Big thanks, much appreciated.

  • @rosselnator
    @rosselnator ปีที่แล้ว

    Love this you really help to break things down (my day job is a mechanical engineer and this is one element that I can apply)😁

  • @victorhuffel4823
    @victorhuffel4823 4 หลายเดือนก่อน

    Great video. Can this script also be used with RPi 2 (b)?

    • @Sir-Real
      @Sir-Real  4 หลายเดือนก่อน

      Not 1:1. This Micropython script is made for the pico, using the pico pins and pico libraries. Of course the basic principle can be translated to any PI but you need to exchange the libraries and take the right pins etc