MESURING PRESSURE WITH ARDUINO PRESSURE SENSOR (pressure transducer)

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2023
  • playlist of previous videos where we build the setup: • Plant Watering System
    To show your support Like the video, Subscribe to the channel, and comment something for the algorithm!
    My Discord: bit.ly/MikaelAb...

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

  • @liowwenan4054
    @liowwenan4054 7 месяцев назад

    Wow, excellent work sir! Last 2 weeks I had a final-year project which required multiple pressure transducers. If I found your video earlier, the calibration for my sensors would have been much easier. But still, it can help me to improve my project's reliability. Thanks for the tips!

    • @MikaelAbehsera
      @MikaelAbehsera  7 месяцев назад

      Glad I could help! got any feedback on the way the video was filmed? anything you wish was done differently or better? thanks!

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

    Thank you so much! I have a similar project using the pressure transducer replacing the arduino with an ESP32 but this video was a life saver!!

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

      I would love to compare notes with you, as I am doing a very similar thing

    • @MikaelAbehsera
      @MikaelAbehsera  2 месяца назад

      Glad it helped! thanks for the feedback

  • @TalkieT
    @TalkieT 8 месяцев назад +5

    I think you're lucky it worked at all without an explicitly common ground. You can power from external, but need to tie the sensor ground to the arduino ground. Looks like it was, but used the mains ground as the path

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

      ah, true. I will fix this for future videos but I know a lot of the time with arduino you can get away with it as i have. thanks.

    • @MikaelAbehsera
      @MikaelAbehsera  8 месяцев назад +1

      Made sure to fix this on the video I posted and gave you credit, thanks

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

      thanks that fixed my problem

  • @NickCruz-c5j
    @NickCruz-c5j 15 дней назад

    Excellent video. Is your arduino code available for download somewhere? Also, what sensor model is that? I'm hoping to make a similar system of my own. Thanks!

  • @Canadian_Pakistani
    @Canadian_Pakistani 20 дней назад +1

    it is very nice and detailed tutorial. I am using almost similar setup. I am using 12V power supply but pump is not generating sufficient pressure. The cut off pressure written pump is 80psi but I am sensing the pressure reading fluctuating between 0-5 psi only. Don't know how to get higher pressure values

    • @MikaelAbehsera
      @MikaelAbehsera  16 дней назад

      I’m pretty sure 0-5 is actually the voltage and not the psi, there’s some calculations you gotta do, did you add that part ?

    • @Canadian_Pakistani
      @Canadian_Pakistani 16 дней назад

      @@MikaelAbehsera yes I have added that part too.

  • @cessromer7078
    @cessromer7078 Месяц назад

    Seems the pressure sensor especifications is for high pressure field and the power must come from arduino preferible than external power also for relay and water pump. However very nice set up.

  • @JonasSebastianBarjauMateu
    @JonasSebastianBarjauMateu 4 месяца назад +1

    Atmospheric pressure at sea level is around 15 psi. 0 psi would be absolute vacuum.

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

      No, absolute vacuum does not have any pressure because has no air molecules, vaccum pressure is measured in negative PSI on vacuum chambers (example)

    • @JonasSebastianBarjauMateu
      @JonasSebastianBarjauMateu 3 месяца назад +1

      @@PHM_Tech Riiiiight, ty

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

      @@JonasSebastianBarjauMateu You're welcome

  • @hugocarrasco7734
    @hugocarrasco7734 2 месяца назад

    How would you make arduino control a vacuum sensor?

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

    Thank you! I applied it to my course project

    • @MikaelAbehsera
      @MikaelAbehsera  2 месяца назад

      Glad it helped! thanks for the feedback

  • @countrymileoffroad8523
    @countrymileoffroad8523 5 месяцев назад

    hello, I have a couple questions, first off I am building an HHO torch setup, I currently have it all wired up for just an off switch, but I want it to turn off/ cut power when it hits 5psi, I will be running my Arduino into this torch build so I can set the parameters as I need. my biggest problem is I need the code to enter and I don't know how to, can you help me with the majority of the code? and I will figure out the rest.

  • @jlaustill
    @jlaustill 17 дней назад +3

    There is zero chance you were getting accurate results. I'm an engineer for a living. ADC's work by using a reference voltage and giving you a reading as a ratio to that reference. Since you were using an external power supply for the sensor, it was a different voltage than that which the arduino had as a reference. You should always get the power and ground from the ADC, which in this case would be the arduino itself so you can get an accurate reference voltage. Pressure transducers are setup to read .5 volts at their zero, which for PSIG is 0 psig, and for map sensors slash PSIA, .5 volts would be absolute vacuum, so at sea level you would be reading somewhere around .8 volts due to the 14.7 PSI of air pressure at sea level. Then 4.5 volts is the max reading of the sensor. So for your 100 PSIG sensor, all you needed to do was map the read voltage from .5 to 4.5 to 0 to 100. BUT, that only works when you use the correct reference voltage. On 3.3v systems, you map from .3 to 3 instead.

    • @MikaelAbehsera
      @MikaelAbehsera  16 дней назад +1

      I’ll have to test this and report back, thanks for the feedback !

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

    I just wonder what good a setup like this is?
    I would think most would use the pressure sensor for a water level setup where they would want to turn a pump on and off according to a low/high pressure instead of what you're showing.

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

      its up to everyone to use it as they wish, I'm just trying to learn how these things wokr and share my experiences, since no one makes videos on it

  • @PauloAgustin-dt9mx
    @PauloAgustin-dt9mx 4 месяца назад

    will this work on omega px603 transducer. also do you have a copy of your code. Thanks

  • @tonybell9201
    @tonybell9201 Месяц назад

    Can this type of sensor also be used to caculate water depth if it was submerged to a specific depth?

  • @josephdaquila2479
    @josephdaquila2479 5 месяцев назад

    Can you link the video before this?
    Or a part of this series?
    Im interested in seeing how you set up the relay with the pump

    • @MikaelAbehsera
      @MikaelAbehsera  5 месяцев назад

      Sure there’s actually a playlist of the series, once it’s gets hot enough we can go outside and run the full system !

    • @josephdaquila2479
      @josephdaquila2479 5 месяцев назад

      ​@@MikaelAbehseraoooh I'll be looking forward to that!

  • @isov4345
    @isov4345 Месяц назад

    awesome..

  • @BorisSiber
    @BorisSiber 5 месяцев назад

    thx 4 sharing

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

    Atmospheric pressure at sea level is aprox 15 psi. 0 psi would be absolute vacuum.

    • @MikaelAbehsera
      @MikaelAbehsera  4 месяца назад +1

      yup silly mistake on my end, will be sure to mention it on the final project, thanks jonas.

  • @JOSEBENJAMINROJASREYNOSO
    @JOSEBENJAMINROJASREYNOSO 2 месяца назад

    Where i can find the presure sensor?

  • @alphanov2009
    @alphanov2009 7 месяцев назад +1

    What is the model of the pressures sensor please?

    • @MikaelAbehsera
      @MikaelAbehsera  7 месяцев назад +1

      Not sure on model but I just got it on Amazon, I’m pretty sure it’s the same as a generic car pressure sensor

    • @josephdaquila2479
      @josephdaquila2479 5 месяцев назад

      Based off of this, maybe the answer to my question is yes? LOL@@MikaelAbehsera

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

    hey is it possible to get the code for the pressure sensor ?
    Thanks!

  • @josephdaquila2479
    @josephdaquila2479 5 месяцев назад

    Is this rated for fluids other than water?
    EDIT: definitely think it will work well with fuel then!
    You're "hashtagging" ESP32, but you're using an arduino, so Im wondering if you just change the input voltage into the device for it to work with the ESP. 5 V down to 3.3 V?
    Because sensors are input devices to a microcontroller right? So the signal has to be what the device expects.

    • @MikaelAbehsera
      @MikaelAbehsera  5 месяцев назад +1

      This specific one is for cars and I think it can do gas / coolant / oil / air / water

    • @MikaelAbehsera
      @MikaelAbehsera  5 месяцев назад

      When you buy one check the what it can handle or it’s rating to make sure

    • @josephdaquila2479
      @josephdaquila2479 5 месяцев назад

      Thank you Mikael! @@MikaelAbehsera

  • @ryanlow604
    @ryanlow604 2 месяца назад

    How long is the pressure sensor last in Working environment?

    • @MikaelAbehsera
      @MikaelAbehsera  Месяц назад

      not sure, thats something we should test

  • @i3dgearmarine908
    @i3dgearmarine908 3 месяца назад +1

    You have this wrong. The range of those pressure transducers if from 0.5V to 4.5V. .5V=0 psi and 4.5V=range of sensor. So you need to subtract .5 V and then divide by 4V. Any reading outside the range of .5 to 4.5 is an error. This is intentional with these transducers so you can detect a faulty sensor. Very misleading video showing people an incorrect calculation.

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

      That output range is only if input is rock solid 5v. In his example he had 0.45v at 1atm. Going by your equation we end up with negative pressure.

  • @vidotti911
    @vidotti911 6 месяцев назад +1

    Would this work with esp32?

    • @MikaelAbehsera
      @MikaelAbehsera  6 месяцев назад

      yes, I try to make all my vids work on a range of microcontrollers including esp32

    • @vidotti911
      @vidotti911 6 месяцев назад

      Thanky you!@@MikaelAbehsera

  • @asulyasulya3255
    @asulyasulya3255 8 месяцев назад +1

    1

  • @maximsosnovski705
    @maximsosnovski705 8 месяцев назад +1

    2nd

  • @rodwhittaker5704
    @rodwhittaker5704 7 месяцев назад

    Do you have the link to the arduino code?

    • @MikaelAbehsera
      @MikaelAbehsera  7 месяцев назад

      was having some issues with sharing the code, can you join our discord? i can send it on there