Industrial Pressure Sensor - Arduino

  Рет қаралды 63,646

EETech_Fix

EETech_Fix

Күн бұрын

The Arduino microcontroller controls an electronic circuit that can sense the environment using a sensor (electronic components that convert real-world measurements into electrical signals). The device processes the information from the sensors with the behavior described in the sketch. The device will then be able to interact with the world by using actuators and electronic components that can convert an electric signal into physical action.
Code & Documents:
github.com/EETechFix/Pressure...
Pressure Transducer Sender Sensor for Oil Fuel Air Water, 1/8"NPT Thread Stainless Steel (100PSI)
www.amazon.com/gp/product/B07...
All About Pressure Sensors 101
• All About Pressure Sen...
EXTRA Must Watch Informational Video ???
assets.plandemicseries.com/pl...

Пікірлер: 127
@JacobKinsley
@JacobKinsley 11 ай бұрын
I love that you can just directly plug these across the arduino 5v pins and put the output cable into an analog pin and it just straight up works
@hrishikeshkale5083
@hrishikeshkale5083 6 ай бұрын
this code is working with Arduino uno ? which oled you are using ?
@2point4turbo
@2point4turbo Жыл бұрын
I am just coming across this video and it's absolutely amazing. I am learning about all of this in hopes of make a oil pressure/ boost gauge with negative pressure with a small 2-1/16” (52mm) circle lcd screen , I am stumped on the coding to get not only the value change but possible having its set as a normal gauge with a lcd needle sweeping across the gauge similar to a big hand on a clock
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Check out the GC9A01 LCD module. Several libraries are associated with that module that incorporates the code that will perform those functions for you. There’s also the OLED. kzbin.info/www/bejne/oWPGY615oqiSjpI kzbin.info/www/bejne/Z2Szd4KtmLBmY6s
@2point4turbo
@2point4turbo Жыл бұрын
@eetech_fix2393 thank you so much! Also keep making videos I just came across this one and I watched all your others and very good Information and explanation
@2point4turbo
@2point4turbo Жыл бұрын
@eetech_fix2393 how would I go about to possibly make the gauge to be controlled through phone bluetooth/wifi to change interfaces or change backgrounds with gifs
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
@@2point4turbo The Arduino IOT cloud is a very user-friendly interface and great for that type of project. Allowing control of your Arduino from your mobile device anywhere with an Internet connection. Reference link to get started: kzbin.info/www/bejne/i3emnoeQitSNZ68
@JosephFerris
@JosephFerris 2 жыл бұрын
Great video. I've been working on something similar recently, and I have no idea why I neglected to think of using a low-pass filter to smooth out my sensor data. Had been working between doing both rolling averages and rolling medians and was quite unhappy with both. Now, I am pushing detected pressure changes out to my MQTT server less frequently, as the drift in my voltage is less than 2mV (hence, much more stable pressure readings). Thank you!
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
You're welcome; glad the information was of use in your project
@Drxxx
@Drxxx 2 жыл бұрын
Cool video
@angelantoniomurilloaguirre6084
@angelantoniomurilloaguirre6084 2 жыл бұрын
so nice
@GevoA1
@GevoA1 10 ай бұрын
Thank you! Any chance one can pay you to come up with code/arduino solution for compressor and air pressure control which is adjustable via the buttons and screen?
@zerotoinfinity3189
@zerotoinfinity3189 Ай бұрын
As i begin working with analog sensors it was really a headache for me to get a stable read from analog sensor much appreciated . two of my worst problem solved in one video getting correct formula for sensor and having stable read from sensor and as i can see in circuit that you also did not use 104 capacitor with analog pin thank you for sharing this valuable information
@eetech_fix2393
@eetech_fix2393 Ай бұрын
You're welcome. I'm glad the information assisted you and your efforts.
@agazaman
@agazaman 2 жыл бұрын
Thanks
@kyallon1213
@kyallon1213 Жыл бұрын
Incredibly helpful video. I'm currently working on a project involving measuring burst pressure in membranes, and ideally would like to use a pressure transducer to measure the pressure inside a tube and record/plot the pressure over time on a computer. Do you know how I could set up something like this?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
A few links in the right direction. kzbin.info/www/bejne/m3evkmuHar59qLM kzbin.info/www/bejne/p2WqkqCEZpWIq7M cloud.arduino.cc/how-it-works/
@victorgrille6473
@victorgrille6473 Жыл бұрын
Your contribution is very good. Could you tell me where I can find information to program 5 sensors simultaneously and be able to change the reading unit? (to be able to pass it from psi to bar)
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
One analog pin example link: www.instructables.com/Multiple-Analog-Inputs-on-Only-One-Analoge-Pin/ PSI x 0.06894 = BAR Always remember arduino cannot read analog pin simultaneously it reads one at a time sequentially. it takes about 100 microseconds (0.0001 s) to read an analog input, so the maximum reading rate is about 10,000 times a second.
@tecnolosa924
@tecnolosa924 Жыл бұрын
Geat video
@uditsaxena3844
@uditsaxena3844 Жыл бұрын
Hi i have a question regarding one microfarrad capacitor. Is it a ceramic capacitor and second thing is. Is it safe to use 0.1 microfarrad capacitor since I am a bit new to this therefore I wanted to know. Approximately how much current will the 0.1 uf Capacitor will generate . Shall I connect one end of it to ground and the other to the incoming voltage signal of the sensor. I need your help please comment.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
The 0.1 μF ceramic is a decoupling capacitor on the sensor output line. This capacitor should have very short leads as close as possible to the temperature sensor. These temperature sensors operate on very little supply current and around hostile electrical noise. Another option, connect the capacitor to the sensors' voltage input and ground instead of sensor output and ground. Example, the TMP36 datasheet recommends 0.1 μF ceramic decoupling at the sensors' voltage input.
@k4rol1981
@k4rol1981 2 жыл бұрын
Thank you for the tutorial , it is very helpful , but I have a question about the sketch , specifically about this notation , psiVal = (voltage - 0.4784) / 0.0401 , where did it come from and these values , earlier in 19:30 in the equation you showed were other numbers .
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
That equation was derived from plotting the actual data points from the linearity test 4:55 6:07 8:01. There I plotted psi-x and volts-y. The example at 11:53 I plotted (volts-x and psi-y) using just two data points (low-end/top-end), assuming that everything in between was 100% linear. In other words, back to 8:01, I’m solving for x-volts; however, I’m going to read voltage to get psi. So I have to swap that equation around and solve for x-psi. Given y=mx+b into (y-b)=mx to x = (y-b)/m. We can rearrange those equations to solve for ANY of the variables in them
@k4rol1981
@k4rol1981 2 жыл бұрын
@@eetech_fix2393 ah that moment at 8:01 I missed, thank you very much for the explanation, now everything is clear
@meesiphht2769
@meesiphht2769 4 ай бұрын
So, can you do anything with this except punch out a readout? Like turn something on or off?
@eetech_fix2393
@eetech_fix2393 4 ай бұрын
Good question! Understanding Pressure Sensors: Evolution, Operation, and Applications in the World of Industry and Enterprise. You can do much more than turn things on and off. These are the basics, the starting point for understanding computer-based technology. Check out the following link: kzbin.info/www/bejne/pJrPh5Scgt6NZ68si=wWTr4KFjWcPWMrCq
@BlondieSL
@BlondieSL Жыл бұрын
With the right fitting be put inline on a 1/2" copper pipe? Also, will this code work on an ESP32?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
The code runs fine on the MKR 1010 's processors Arm Cortex 32-bit SAMD21. It should run on your ESP32.
@coopduc112
@coopduc112 Жыл бұрын
I’m looking for a sensor to read small gage pressures in the range of 0.01-0.02 bar. Do you know any sensors that can read these small pressures.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Check this - Adafruit MPRLS Ported Pressure Sensor Breakout - 0 to 1.724 BAR www.adafruit.com/product/3965
@hrishikeshkale5083
@hrishikeshkale5083 6 ай бұрын
which Oled you are using link please ? Using arduino uno where to connect OLED I2C/SPI ? will this code work for UNO ?
@eetech_fix2393
@eetech_fix2393 6 ай бұрын
These OLEDs work SPI or I2C, and the code is compatible with Arduino boards, including the UNO. SPI is generally faster than I2C but uses more pins. If speed is usually no factor, go with the easier wiring of I2C. Very easy to get up and running because it has built-in level shifting works on 5v or 3.3v systems. The Adafruit links below cover Monochrome OLED boards. learn.adafruit.com/monochrome-oled-breakouts cdn-learn.adafruit.com/downloads/pdf/monochrome-oled-breakouts.pdf
@user-jz7qw4mm5i
@user-jz7qw4mm5i 8 ай бұрын
Can you help me if I use a 300 bar pressure sensor, what about the code sketch? Thank you very much
@eetech_fix2393
@eetech_fix2393 8 ай бұрын
Using the nominal values .5V = 0 bar and 4.5V = 300 bar the equation: barVal = (voltage * 75.0) - 37.5 You may need to update variable names, psi or psiVal. See code line 55 for Every or code line 95 for MKR.
@itzelvanessaalcantar2664
@itzelvanessaalcantar2664 11 ай бұрын
Well explained, thank you! I am currently working with a 5000PSI pressure transducer (Output voltage 0.5V-4.5V) and the Arduino NanoEvery. I have some questions; do I have to test my pressure transducer before creating the code or it can work with your code? Why do you use 4.6 as your X1 instead of 4.5? What is it the thing you are using to connect the pressure transducer to the breadboard, and it has a capacitor inside?
@eetech_fix2393
@eetech_fix2393 11 ай бұрын
The nominal values for these sensors are 0.5 - 4.5v. Without further testing, you can use those values as your initial starting point, and they should yield good results. In the case of the video, I took measured readings at the top end and came up with a 4.6, which is within 2.2% of the nominal. The capacitor for noise reduction may be better served decoupling power going into the sensor; therefore, the capacitor should be connected to the red power wire, then to the ground. The sensor connection to the breadboard was made using breakaway header strips and a standard three-pin female servo connector. The header strips can be found on Adafruit product ID 400. The servo connectors can be assembled from any good Servo Connector Kit. How to crimping DuPont Connectors: kzbin.info/www/bejne/d17IqI2Dn7Z5nNE
@itzelvanessaalcantar2664
@itzelvanessaalcantar2664 11 ай бұрын
@@eetech_fix2393 Thank you for your prompt response. Can I use the same conde for the 5KPSI sensor? if so, what should I add to the circuit? If I use the same code and use the 4.6, I got for PSI = 1219.512 (Volts) -609.756. Is this correct?
@eetech_fix2393
@eetech_fix2393 11 ай бұрын
@@itzelvanessaalcantar2664 Correct, replace line #55 in the Every core with your numbers : psiVal = (1219.512 * voltage) - 609.756; The only change is pressure scaling.
@isov4345
@isov4345 21 күн бұрын
I would like to try it..
@electromark1
@electromark1 Жыл бұрын
Hi. Thank you for your interesting video. I found it while searching for Vacuum sensors for Arduino. I wondered if you could advise me on what I require? I want to test the vacuum in a chamber as it’s being evacuated out of the chamber so I can stop evacuating when I’ve got to the pressure I require. There are so many to choose from and with little to no knowledge on the sensors I’m unsure. Again an interesting video. I’ve liked and subscribed 👌
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Adafruit MPRLS Ported Pressure Sensor Breakout - 0 to 25 PSI barometric pressure sensors, You can measure absolute pressure 0 to 25 PSI, which is a great range since ambient pressure here on Earth is about 14.5 PSI. www.adafruit.com/product/3965?gclid=Cj0KCQiAxbefBhDfARIsAL4XLRp3rBBCZNVXUbET2QTS9JhFBKzHw_TIjt3LTm3ALVaMUnMW2sd6jTcaAmtGEALw_wcB cdn.sparkfun.com/assets/e/1/2/4/1/HoneywellTechnicalNote_Absolute_v_Gage_pressure.pdf
@armandoders
@armandoders 4 ай бұрын
i have the calculater link....
@user-zj2ud3fn7x
@user-zj2ud3fn7x 4 ай бұрын
can i usee 200PSI for this ???
@robertocarmona9257
@robertocarmona9257 Жыл бұрын
Hi again Mr. I acquired a SPI blue OLED display, of 6 pins (GND, VCC, SCL, SDA, RES, DC) but when I connect A4 to SDA & A5 to SCL, the display does not show anything; the screen remains in black. I tried to invert the connections, but does not work too, because the display uses de SH1106 driver What do you recommend to do ?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Sounds like a configuration issue between SPI and I2C. Check your display board jumps and software settings are correct for I2C. The RES and DC pins may need specific set (H/L) for I2C. Check I2C addressing for your module. See link to similar OLED module www.instructables.com/OLED-Tutorial-Convert-SPI-to-I2C/
@robertocarmona9257
@robertocarmona9257 Жыл бұрын
@@eetech_fix2393 So much thanks for your support. Effectively, the problem was the addressing. All was solved. I am very satisfied with your help
@abdulrahmansaeed4598
@abdulrahmansaeed4598 Жыл бұрын
Greetings, I want to configure this air pressure sensor to a leg pressure cuff in my project. Is 100PSI doable for my project? Thank you for the wonderful video.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Leg compression machine measures in mmHg (millimeters of mercury). Most devices provide up to 350 mmHg (about 8psi). 100 psi is probably high. 10 to 15 psi gauge is reasonable. Check it out and verify it for your project.
@frankhilsolaina8577
@frankhilsolaina8577 4 ай бұрын
what about adding a relay and on and off function to the pump motor Sir, thanks
@eetech_fix2393
@eetech_fix2393 4 ай бұрын
You could easily accomplish that; the sensor is just a starting point.
@user-fs2pw3rg9s
@user-fs2pw3rg9s 7 ай бұрын
Hi ! Thank you so much for helping us out with this great video, can you help me by advising where i am going wrong ? i am getting the raw_adc values but the OLED is blank ? any help would be great, i am new to Arduino ! i have triple checked the pinouts and everything is wired correctly
@eetech_fix2393
@eetech_fix2393 6 ай бұрын
Check the I2C address for your OLED 0x3C or 0x3D; normally works for the SSD1306 OLED. I2C oled default address 0x78 (0x3C in 7 -bit) and 0x7A (0x3D in 7 -bit). “ display.begin(SSD1306_SWITCHCAPVCC, 0x3c); // may need to change this to 0x3D”
@user-fs2pw3rg9s
@user-fs2pw3rg9s 6 ай бұрын
Thank you ! that did the trick@@eetech_fix2393
@thanawatteebauban3863
@thanawatteebauban3863 2 жыл бұрын
Which arduino board are you using and which pin is connected? Thankyou
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
That information is all linked in the description section below the video; click the “show more.” Then, click the link under Code and Documents. You’ll find the diagrams for both boards, Nano Ever and MKR 1010.
@smallears1234
@smallears1234 Жыл бұрын
Can this type of sensor be used for a submersible to find the current depth? I guess I would have to have this sticking out of the hull somehow.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Pure water pressure is about .432 psi per foot of water, and saltwater is around .445psi/ft. At 100 feet depth the pressure due to the pure water would be 43.2 psi. Add 14.5 psi for the pressure of the atmosphere and the total (absolute) pressure would be about 57.7 psi. You'll just need to choose the appropriate range pressure sensor and port the outside pressure through the hull to the pressure sensor via a pilot line, tubing, or fitting.
@smallears1234
@smallears1234 Жыл бұрын
@@eetech_fix2393 thanks!
@AhmedHussainEng
@AhmedHussainEng Жыл бұрын
can I use this sensor to measure the vacuum?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
The sensor in this video measures gauge pressure. for vacuum pressure measurements, you need an “absolute pressure sensor.” The simplest way to explain the difference is that absolute pressure uses absolute zero as its zero point. In contrast, gauge pressure uses atmospheric pressure as its zero point. Due to varying atmospheric pressure, gauge pressure measurement is not precise, while absolute pressure is always definite. esi-tec.com/blog-pressure-sensors-transmitter-transducer/2013/06/difference-between-gauge-and-absolute-pressure-measurement
@BatsiLive
@BatsiLive 10 ай бұрын
Hello and congratulation for your video. I am using a Honeywell 150psi 0.5-4.5V (ratiometric) sensor and as far as I understood the equation should be: psiVal = (37.5 * voltage) - 18.75. Is that right? [or... psiVal = (voltage - 0.5) / 0.02666 ] Also because I am using an Uno R4 Wifi and the transducer is very accurate according its specs, the aRef could be 5.00. Am I right too?
@eetech_fix2393
@eetech_fix2393 10 ай бұрын
The equation you’ve chosen is correct; however, the other is also correct. It’s a play on the math and how the variables are arranged. At the beginning of the video, I measured voltage (dependent variable “Y”) concerning a known pressure (independent variable “X"). The Arduino gives a voltage reading, so the equation was rearranged to make voltage the independent and dependent variable pressure. Both equations yield the same answer from a different starting point. Secondly, the Uno R4 reference voltage should be 5 V; however, if powered from your computer’s USB, It could be as low as 4.8V. psiVal = (37.5 * voltage) - 18.75 or psiVal = (voltage - 0.5) / 0.0266666
@BatsiLive
@BatsiLive 10 ай бұрын
Thanks for your time once again@@eetech_fix2393
@asrajo5728
@asrajo5728 Жыл бұрын
can this sensor be used to read negative pressure? thanks
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
No, not accurately. This sensor measures gauge pressure. To accurately read negative pressures, you must purchase an absolute pressure sensor. See the video at 1:59 and 2:56
@andersonsantos8990
@andersonsantos8990 Ай бұрын
How can I use the 7 segment display?🤔
@eetech_fix2393
@eetech_fix2393 Ай бұрын
Check out the following Links: kzbin.info/www/bejne/bIm8aoOlpLKlo9Usi=1TXyetjzw1115ccd github.com/DeanIsMe/SevSeg github.com/bridystone/SevSegShift www.adafruit.com/product/878
@evayang4548
@evayang4548 2 жыл бұрын
Thank you very much for your tutorial. I am planning to work on the experiment to measure pressure, and I am a beginner to do this. But your video is really helpful for me to work on it. I am planning to set up a similar one, but could you please tell me what is called for the yellow stuff at 8:55 between the sensor and tube, which is like a cap with a metal ring? Thank you!
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
You're welcome, glad the information was of use in your project. That yellow thing, Butterfly Hose Clamp. www.amazon.com/Stainless-Steel-butterfly-Plastic-Homebrew/dp/B01HT1WJG0/ref=sr_1_3?crid=16GBHZMPMQCE2&keywords=Butterfly%2BHose%2BClamp&qid=1655366211&s=home-garden&sprefix=butterfly%2Bhose%2Bclamp%2Cgarden%2C189&sr=1-3&th=1
@evayang4548
@evayang4548 2 жыл бұрын
@@eetech_fix2393 Thank you for your reply. It's great to hear from you. The front top of the sensor is 1/8'' NTP thread. But I was wondering how to connect a tube with it as you did. At first, I thought it was the butterfly hose clamp, but it didn't have a thread on it. Is it the Luer Taper or something else?
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
@@evayang4548 Connection made with Stainless Steel "Barb Fitting" Coupler 1/8" Hose ID x 1/4" See link: www.amazon.com/gp/product/B019PQFLY4/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
@evayang4548
@evayang4548 2 жыл бұрын
@@eetech_fix2393 Yeah. I see. I think the tube with inner diameter of 1/4'' can be directly connected to the hose barb fitting. The Butterfly Hose Clamp and the Conical plastic tube (which is between the tube and Butterfly Hose Clamp, and looks like a conical hat)are used to make seal. Am I right?
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
@@evayang4548 That’s correct, the conical-shaped hats improve the seal and prevent the hose from slipping off the barb under pressure. The hose clamp is backup, ensuring the hose does not blow off under pressure. The yellow butterfly is actually a socket key that allows you to tighten the clamp by hand. The butterfly can be removed and the clamp tighten further with a straight slot screwdriver.
@rdalemd76
@rdalemd76 6 ай бұрын
Hi, Most of my experience is working with DS18B20 sensors and serial data. My current project, Presently working on a -50 to 50 mbar sensor at 5VDC. Looking to map that data and change the readings to Microns. Happy Holidays and any insight is appreciated.
@eetech_fix2393
@eetech_fix2393 6 ай бұрын
If your sensor has a range of -50 to +50 mbar, that equates to a range of -37,503.1 to +37,503.1 microns of mercury (uHg). That’s given 1mbar = 750.062uHg. On an Arduino 5v board set range for 0.5v (-37,503.1 uHg) to 4.5v (+37,503.1 uHg). The equation is: uHg = (18,751.55) x (voltage) - 46,878.875. Voltage (12-bit adc) = (adc_Val x Vref)/4,096.0 Example: If the adc_Val returned 3550 then (3,550x5)/4,096 = 4.33v. Therefore: uHg = (18,751.55) x (voltage) - 46,878.875 or (18,751.55) x (4.33) - 46,878.875 = 34,315.336uHg Longhand calculation: drive.google.com/file/d/1vCnTWACHxORRBO0FAKYRQIQoE1kb4tqB/view?usp=sharing The company below has I2C modules that may be an option to handle your project: store.ncd.io/product/ams5915-0050-d-b-amplified-low-pressure-sensor-50-to-50-mbar-0-725-to-0-725-psi-i2c-mini-module/ store.ncd.io/product/ams5915-0100-d-b-amplified-low-pressure-sensor-100-to-100-mbar-1-450-to-1-450-psi-i2c-mini-module/ store.ncd.io/product/i2c-shield-for-arduino-nano/
@shadowpit19
@shadowpit19 2 жыл бұрын
hello, excellent video, how can I use a 200 psi sensor, I'm only interested in that value, thanks friend
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
Change line 55 in the NanoEvery code to: psiVal = (50.0 * voltage)-25.0; or line 95 in the MKR1010 code to: psi = (75.1879 * voltage)-27.0676; That will rescale: NanoEvery 0psi@0.5v, 100psi@2.5v, and 200psi@4.5v. MKR1010 0psi@0.36v, 100psi@1.69v, and 200psi@3.02v
@nikkoa
@nikkoa Жыл бұрын
Hello sir, it's nice to find your project in KZbin. Is it possible to handle high pressure (>350 bar) ? I'm planning to use it for measuring oil pressure for my excavator.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Liquid Filled 0-700 BAR Lower Side Mount Air Pressure Gauge With 2.5" Face www.amazon.com/Liquid-Filled-Lower-Mount-Pressure/dp/B071P9QR9T/ref=sr_1_4?crid=2C6FS3UO00D2U&keywords=0-8000+psi+pressure+gauge&qid=1680763702&sprefix=8000+psi+pressure+gauge%2Caps%2C277&sr=8-4
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Also check: 700 bar, 10000 psi, 70 MPa Pressure Sensors, Transducers & Transmitters - www.sensorsone.com/700-bar-10000-psi-70-mpa-pressure-sensors/
@nikkoa
@nikkoa Жыл бұрын
@@eetech_fix2393 with those strain gauge transducer, is it possible to combine with your Arduino pressure sensor system?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
@@nikkoa The Arduino microcontroller effectively interfaces electrically with analog sensors. These sensors use one of three commonly used electrical outputs, 4-20mA current loop, 0-5Vdc, or 0-10Vdc output. You can find sensors at a lower cost; however, when you get in the higher-pressure range, a good quality sensor will cost you around $200. Link: www.sensorsone.com/hydraulic-cylinder-10000psig-0-5vdc-out-mineral-oil-pressure-sensor/
@nikkoa
@nikkoa Жыл бұрын
@@eetech_fix2393 great! I'll try to make the system and possibly make a video
@robertocarmona9257
@robertocarmona9257 Жыл бұрын
Hi Mr Excellent explanation. I write from Mèxico and I would like to know what sketch changes do I have to do if I use a pressure sensor with a range from 0 to 232 PSI If you can help me, I would appreciate a lot Another. Where did you got the SPI display ? Do you connect the display wit A4 and A5 of the arduino ? Thanks in advance
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Change line 55 in the NanoEvery code to: psiVal = (58.0 * voltage)-29.0; or line 95 in the MKR1010 code to: psi = (87.218 * voltage)-31.3985; That will rescale: NanoEvery 0psi@0.5v, and 232psi@4.5v. MKR1010 0psi@0.36v and 232psi@3.02v. Assuming a linear line between the min and the max value.
@robertocarmona9257
@robertocarmona9257 Жыл бұрын
@@eetech_fix2393 Thanks a lot. Furthermore do you connect the display to A4 & A5 of Arduino ?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
@@robertocarmona9257 Yes (nano) - A4_SDA A5_SCL
@justthinkingthoughts
@justthinkingthoughts Жыл бұрын
i am tempted to buy the 30PSI version of the walfront sensor, but i am unsure how it operates it's output when i can only supply 3.3V since i am working from battery ... can anybody tell me or recommend an alternative transducer that outputs voltage or is even digital !? 30PSI, 3.3V liquid
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Use any 5V 30 psi sensor; just rescale for a 3.3 V system @ 30PSI as I did with the MKR 1010. Use the following equation on your 3.3V - 30 psi system: PSI = 11.278 * (output voltage) - 4.06. That will give you an approximately linear reading. After that, you can take exact readings at your sensor's high and low ends and recalculate for accuracy specific to your sensor. Replace the 100 y2 with 30 y2 in this example: kzbin.info/www/bejne/oKbRppJsa6ySh7M
@justthinkingthoughts
@justthinkingthoughts Жыл бұрын
@@eetech_fix2393 thx i will try, the old sensor i had was out of spec sample i got from my old work, but the newer one do have a calibrated, not ratiometric voltage output and require proper voltage or will simply not output above 3.3v
@carolinaborneaprendeelctronica
@carolinaborneaprendeelctronica Жыл бұрын
how much psi are hold up by arduino? I need to make a dispositive that receive at least 290 psi
@carolinaborneaprendeelctronica
@carolinaborneaprendeelctronica Жыл бұрын
how can i make the convertion to voltage
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
@@carolinaborneaprendeelctronica Using a 300-psi gauge that outputs a voltage of 0.5v to 4.5v, representing 0psi to 300psi, use the following equations. psi = 75(voltage) - 37.5 or voltage = (psi + 37.5)/75, similar to the technique used in video 11:49
@carolinaborneaprendeelctronica
@carolinaborneaprendeelctronica Жыл бұрын
@@eetech_fix2393 thanks a lot 🤗😇
@eteteanie7485
@eteteanie7485 Жыл бұрын
i need someone to work with for vacuum and flow measurement
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
STARTING POINT TRY: Adafruit MPRLS Ported Pressure Sensor Breakout - 0 to 25 PSI barometric pressure sensors, You can measure absolute pressure 0 to 25 PSI, which is a great range since ambient pressure here on Earth is about 14.5 PSI. www.adafruit.com/product/3965?gclid=Cj0KCQiAxbefBhDfARIsAL4XLRp3rBBCZNVXUbET2QTS9JhFBKzHw_TIjt3LTm3ALVaMUnMW2sd6jTcaAmtGEALw_wcB F1031V Mass Air Flow Sensor www.dfrobot.com/product-2066.html SparkFun Air Velocity Sensor Breakout - FS3000-1005 (Qwiic) www.sparkfun.com/products/18377 kzbin.info/www/bejne/iajViaWrqqiHprs Measuring Airflow With A Silicon Pressure Sensor kzbin.info/www/bejne/qHa9k2x5YsuIlZo
@eteteanie7485
@eteteanie7485 Жыл бұрын
@@eetech_fix2393 thanks ill start working on this and hopefully i get a code that works
@ndyaaaaja
@ndyaaaaja Жыл бұрын
can I ask how to input the TI-84 Plus ce to program
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
The TI-SmartView TI-84 Plus CE emulator software is a program you purchase for your computer. You interact with the software and enter numbers via the keyboard, just like the calculator. Check the link> education.ti.com/en/products/computer-software/ti-smartview-ce-for-84
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
How to do Linear Regression on the TI84 Plus CE: SEE Link>> kzbin.info/www/bejne/lZqQfnVtrL6Lpbc and kzbin.info/www/bejne/qYLSg3l-pLmDrqc
@LEK-il8us
@LEK-il8us 5 ай бұрын
Oh yes
@Thomas10100
@Thomas10100 2 жыл бұрын
Hi I'm using such sensor too. I'm calculating the pressure: pressure_temp = mapfloat(adc, 0.0, 4095.0, min_pressure, max_pressure) pressure = a * pressure_temp + b This is bad? (min pressure 0, max pressure 100psi) a = 1,4 b=0,4 about
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
Given what you’ve written: pressure_temp = mapfloat(adc, 0.0, 4095.0, 0.0, 100) then a=.02442, b=0. Giving you, pressure = a * pressure_temp + b or pressure = .02442 * 4095 + 0 = 100psi at the top end. As written in your mapfloat the line passes through the apex of the graft in which case “b” would always equal zero as the y-intercept.
@eetech_fix2393
@eetech_fix2393 2 жыл бұрын
Best way, measure the voltage on the signal line at the low and high end or note the adc reading at both ends. As an example the 3.3v MKR1010 system measured .36v low/3.02v high. The mapfloat(adc, 446.0, 3748.5. 0.0, 100.0) = pressure = (0.03028 * adc) + (-13.5049)
@antonvos1534
@antonvos1534 Жыл бұрын
how do i get psi to bar in arduino IDE?
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Divide the pressure (psi) value by 14.504 example: barVal = psiVal/14.504;
@edreigrezarteaga8319
@edreigrezarteaga8319 Жыл бұрын
Hello, excellent video, how can I use a 174 psi sensor, I'm only interested in that value,. I speak Spanish, sorry if my translation is not very good, but your video helped me a lot.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Just change line 55 in the NanoEvery code to: psiVal = (43.5 * voltage) -21.75; that will scale the nano or any other 5V Arduino to 0psi@0.5v to 174psi@4.5v
@nidhal7184
@nidhal7184 Жыл бұрын
Thank you very much for the vedio, very helpful, please I Need your advice to use such system to measure and control air pressure inside plastic containers, I need the unit to be as a air leak tester, it it possible, for your comments please...Thnx..,
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Look at the MPRLS Ported Pressure Sensor Breakout - 0 to 25 PSI. connect tubing to the container and port to the pressure sensor. Just choose the appropriate pressure range. www.mouser.com/datasheet/2/737/adafruit_mprls_ported_pressure_sensor_breakout-2488735.pdf
@beananimal
@beananimal Жыл бұрын
Great lesson with analog read, voltage conversion, lowpass (though I think lowpass code in video is wrong) concepts, etc. But for both accuracy and code space on a micro - would it not be better/easier just to take your reference ADC values and map those to PSI? You skip the need for reference voltage offset/measurement, rounding, variable space and cpu cycles for the conversion to voltage. For Arduino with 10 bit ADC and example sensor (say 0-150 psi) you record ADC readings of 18 at 0 psi and 987 at 137 psi (or whatever). map (sensorval, 18, 987, 0, 137) Fewer variables, no need for point slope, etc. (Assuming a linear sensor response).
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
For accuracy, we can’t neglect or skip reference voltage. ATmega datasheets reference that fact (ADC = (Vin*1024)/Vref). We’ve seen ADC analog references vary down to 4.6 volts. This sensor sets a voltage range of 0.5v - 4.5v that 102.4 - 921.6 10 in 10-bit ADC range assuming 5V ADC reference. You can use those ADC values ( 102.4 - 921.6) and map directions to psi, but don’t forget how you got there; you can’t neglect that relationship ADC = Vin*1024)/Vref. ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf see page215 23.7
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
Regarding accuracy, that’s one reason we don’t use the map function as implemented in the Arduino reference. In the example range above, the map function implements integer math. The fractional ADC range 102.4 - 921.6 suppressed to 102- 921. Some have rewritten the function into its full implementation.
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
I hear the “no need for the point-slope” many times. I guess many don’t realize that the map function is the point-slope form equation of a line; you’re just entering the data points. Check out the link below to the map reference page, and near the bottom, you’ll see the Appendix Notes and Warnings. There is the exact function definition. You should recognize it as the point-slope formula. You didn’t escape it; you were using it and didn’t know it. reference.arduino.cc/reference/en/language/functions/math/map/
@eetech_fix2393
@eetech_fix2393 Жыл бұрын
That is the correct representation of a low pass filter, although you might not recognize the format. It’s also well known as a complementary filter used to deal with IMU’s. The complementary filter removes noise from the accelerometer and eliminates gyro drift. It’s used here to remove the noise, and fluctuations, in our data signal. Reference the following links: bayesianadventures.files.wordpress.com/2013/10/screenshot-from-2013-10-20-190215.png bayesianadventures.wordpress.com/2013/10/20/gyroscopes-accelerometers-and-the-complementary-filter/
@beananimal
@beananimal Жыл бұрын
@@eetech_fix2393 Thank you for the reply. I don't disagree with any of that. I am simply saying that the reference voltage is not relevant if you calibrate two points using direct ADC values and their associated pressures. No need to round trip to voltage and back to get the same result (minus any rounding during the conversions). That is not neglecting the 10 bit resolution, it is just using the values directly, whatever the shift the reference voltage caused.
@davidkennedy3878
@davidkennedy3878 7 ай бұрын
Did you have a look at the signal with a scope? I’m finding these “fuel pressure transducers” output PWM bursts, not an analog signal at all.
@eetech_fix2393
@eetech_fix2393 6 ай бұрын
They do make do make PWM pressure sensors; however, this is not one. If you’re referring to PWM Fuel Systems; they utilize feedback from a standard pressure sensor; thereafter, the PWM controller module outputs the correct PWM signal that controls the speed of the fuel pump, jet/transfer pumps, and related engine demands. The module is the source of the PWM. The sensors in this video are linear DC Analog voltage output. There may be some related signal noise from power supplies or other nearby sources (best handled with a .1uF capacitor); however, it's not PWM.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 111 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4 МЛН
4-20mA sensor explained with a simple Arduino example!
11:44
Werewolf Wu
Рет қаралды 34 М.
4-20mA Industrial Pressure Sensor, Arduino IoT
29:34
EETech_Fix
Рет қаралды 37 М.
How to Interface Industrial Sensors with Arduino Nano
6:27
OnosTech
Рет қаралды 50 М.
Air Pressure Sensor / Breath Controller / Arduino Nano
9:50
Sensor Presion 0-12 bares salida analogica  arduino
4:36
Cambatronics Online
Рет қаралды 151 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 2,1 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН