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

Поделиться
HTML-код
  • Опубликовано: 7 янв 2023
  • 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/SirReal-surreal/Si... (2023_01_08_RPM_sir_real.py)
    #filmoracertifiedcreative #madewithfilmora #wondersharefilmora
  • НаукаНаука

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

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

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

    Good old stuff, build rock solid !!!

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

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

    • @Sir-Real
      @Sir-Real  3 месяца назад

      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