MESURING PRESSURE WITH ARDUINO PRESSURE SENSOR (pressure transducer)
Вставка
- Опубліковано 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/MikaelAbehseraDiscord
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!
Glad I could help! got any feedback on the way the video was filmed? anything you wish was done differently or better? thanks!
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!!
I would love to compare notes with you, as I am doing a very similar thing
Glad it helped! thanks for the feedback
thx 4 sharing
Thx 4 watching
awesome..
thanks
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.
will this work on omega px603 transducer. also do you have a copy of your code. Thanks
Thank you! I applied it to my course project
Glad it helped! thanks for the feedback
How would you make arduino control a vacuum sensor?
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
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.
Made sure to fix this on the video I posted and gave you credit, thanks
thanks that fixed my problem
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!
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.
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.
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
Where i can find the presure sensor?
hey is it possible to get the code for the pressure sensor ?
Thanks!
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
Sure there’s actually a playlist of the series, once it’s gets hot enough we can go outside and run the full system !
@@MikaelAbehseraoooh I'll be looking forward to that!
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
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 ?
@@MikaelAbehsera yes I have added that part too.
Can this type of sensor also be used to caculate water depth if it was submerged to a specific depth?
i would use a water level sensor
2nd
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.
This specific one is for cars and I think it can do gas / coolant / oil / air / water
When you buy one check the what it can handle or it’s rating to make sure
Thank you Mikael! @@MikaelAbehsera
1
Atmospheric pressure at sea level is around 15 psi. 0 psi would be absolute vacuum.
No, absolute vacuum does not have any pressure because has no air molecules, vaccum pressure is measured in negative PSI on vacuum chambers (example)
@@PHM_Tech Riiiiight, ty
@@JonasSebastianBarjauMateu You're welcome
How long is the pressure sensor last in Working environment?
not sure, thats something we should test
What is the model of the pressures sensor please?
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
Based off of this, maybe the answer to my question is yes? LOL@@MikaelAbehsera
Atmospheric pressure at sea level is aprox 15 psi. 0 psi would be absolute vacuum.
yup silly mistake on my end, will be sure to mention it on the final project, thanks jonas.
Would this work with esp32?
yes, I try to make all my vids work on a range of microcontrollers including esp32
Thanky you!@@MikaelAbehsera
Do you have the link to the arduino code?
was having some issues with sharing the code, can you join our discord? i can send it on there
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.
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.
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.
I’ll have to test this and report back, thanks for the feedback !