Pressure Sensor - Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 เม.ย. 2020
  • Today I walk through how to hook up an industrial pressure transducer sensor and interface it with an Arduino micro-controller. I take the incoming analog voltage value, convert it and display it to the serial monitor as well as onto an LCD screen. Code below. If you have any questions please comment below or e-mail me below.
    Stay tuned for more videos!
    Tyler,
    *************************************************************************************
    SUBSCRIBE:
    th-cam.com/users/TylerOvens?...
    *************************************************************************************
    SHARE THIS VIDEO LINK: • Pressure Sensor - Arduino
    *************************************************************************************
    BUY THE ITEMS IN THIS VIDEO (AMAZON.COM):
    Video Equipment:
    GoPro7: amzn.to/33FWCAW
    GoPro Accessory Kit: amzn.to/2Uehig4
    GoPro Stabilizer Gimbal: amzn.to/2UvX5Bz
    Arduino:
    Uno Starter Kit: amzn.to/2RfuEqq
    Pressure Transducer: amzn.to/2JJrZRP
    LCD screen: amzn.to/2Vatb60
    Multimeter: amzn.to/2wfh6nE
    *************************************************************************************
    BUY THE ITEMS IN THIS VIDEO (AMAZON.CA):
    Video Equipment:
    GoPro7: amzn.to/2UdHtnk
    GoPro Accessory Kit: amzn.to/3bl9wXy
    GoPro Stabilizer Gimbal: amzn.to/3dlBt3r
    Arduino:
    Uno Starter Kit: amzn.to/2Re5MPY
    Pressure Transducer: amzn.to/3aIJpdf
    LCD screen: amzn.to/2Xeqymg
    Multimeter: amzn.to/2JJrF5z
    **************************************************************************************
    CONTACT ME:
    E-Mail: tylerovens@me.com
    **************************************************************************************
    Code Start */
    /* This example demonstrates how to take a standard 3-wire pressure transducer
    * and read the analog signal, then convert the signal to a readable output and
    * display it onto an LCD screen.
    *
    * Contact Tyler at tylerovens@me.com if you have any questions
    */
    #include "Wire.h" //allows communication over i2c devices
    #include "LiquidCrystal_I2C.h" //allows interfacing with LCD screens
    const int pressureInput = A0; //select the analog input pin for the pressure transducer
    const int pressureZero = 102.4; //analog reading of pressure transducer at 0psi
    const int pressureMax = 921.6; //analog reading of pressure transducer at 100psi
    const int pressuretransducermaxPSI = 100; //psi value of transducer being used
    const int baudRate = 9600; //constant integer to set the baud rate for serial monitor
    const int sensorreadDelay = 250; //constant integer to set the sensor read delay in milliseconds
    float pressureValue = 0; //variable to store the value coming from the pressure transducer
    LiquidCrystal_I2C lcd(0x3f, 20, 4); //sets the LCD I2C communication address; format(address, columns, rows)
    void setup() //setup routine, runs once when system turned on or reset
    {
    Serial.begin(baudRate); //initializes serial communication at set baud rate bits per second
    lcd.begin(); //initializes the LCD screen
    }
    void loop() //loop routine runs over and over again forever
    {
    pressureValue = analogRead(pressureInput); //reads value from input pin and assigns to variable
    pressureValue = ((pressureValue-pressureZero)*pressuretransducermaxPSI)/(pressureMax-pressureZero); //conversion equation to convert analog reading to psi
    Serial.print(pressureValue, 1); //prints value from previous line to serial
    Serial.println("psi"); //prints label to serial
    lcd.setCursor(0,0); //sets cursor to column 0, row 0
    lcd.print("Pressure:"); //prints label
    lcd.print(pressureValue, 1); //prints pressure value to lcd screen, 1 digit on float
    lcd.print("psi"); //prints label after value
    lcd.print(" "); //to clear the display after large values or negatives
    delay(sensorreadDelay); //delay in milliseconds between read values
    }
    */ Code End
  • แนวปฏิบัติและการใช้ชีวิต

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

  • @OvensGarage
    @OvensGarage  4 ปีที่แล้ว +16

    At 10:57, the number is not a decimal because the analog input values only return whole integers, my mistake.

    • @siraitkreatifchanel
      @siraitkreatifchanel 4 ปีที่แล้ว +2

      can you share the new code ?

    • @OvensGarage
      @OvensGarage  4 ปีที่แล้ว +2

      @@siraitkreatifchanel Code doesn't change

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

      @@OvensGarage Great video! This helped me a ton. I'm not sure I'm understanding the 10:57 comment though. I think I understand the integer vs decimal part, but why is it reading 102psi instead of 0psi? Was this filmed before you added the "pressureValue = ((pressureValue-pressureZero)*pressuretransducermaxPSI)/(pressureMax-pressureZero); //conversion equation to convert analog reading to psi" line?
      Again, fantastic and very helpful video! I'm just trying to educate myself.

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

      please friend !!!
      help me with this code !!
      I need to print on the TM 1637 display !!!
      I can't help showing it!
      please, can you help me ?

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

      @@jondonlon1407 Actually if you read the code you can see that the 102 is not a PSI value, it is the value between 0 - 1024 converted by the Arduino (equivalent to 0-5V). That is printed because he has put the real PSI value in comment (the code line below the reading() line). If he uncomments that line of program you will see 0 PSI as value. So 102 is equivalent to 0 psi witch is the good value.

  • @claudiorosa3902
    @claudiorosa3902 3 หลายเดือนก่อน +1

    Clear and straight to the point. Congratulations!

  • @brandonflores7419
    @brandonflores7419 2 ปีที่แล้ว +6

    amazing vidoe man! I'm setting up an oil pressure guage in my car using an I2c display and this helped out a ton. I love that you go line by line explaining what each line of code does and you explain the math to back it up!

  • @jasony9950
    @jasony9950 3 ปีที่แล้ว +17

    Dude! This is by far the best video of pressure sensor I can find. Great job of explaining your code. Most videos just talk about the hardware yet forget about coding. I plan on using this video to setup pressure sensors for an air ride system.

    • @OvensGarage
      @OvensGarage  3 ปีที่แล้ว +4

      Glad it helped! I try to setup these vids so it's easy to understand for someone who has never done it before...I'm not an expert either! We are all learning together.

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

    Thanks for this instructional video. I thought it was well done and well reasoned. I pasted your code into my large sketch, made a minor change, eliminated the LCD, and it ran fine.

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

      can you teach me for my final year project. i really need your coding without LCD, hope you can help me

  • @62f100
    @62f100 2 ปีที่แล้ว +1

    Thanks for the video!! worked great. now trying to figure out how to do multiple.

  • @JacobKinsley
    @JacobKinsley 10 หลายเดือนก่อน

    I've spent the last few months on and off working on a project with a pressure sensor and I could not get it to work for the life of me (I could solve it instantly by paying twice the price of a component to have it shipped from america). This video has basically saved me because it's exactly what I want to achieve and can be found much easier.

  • @alexkohvaks4647
    @alexkohvaks4647 3 ปีที่แล้ว +2

    You my friend are a saint. Been looking all over for this.

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

    6:30; Thanks for the explainer of where the 0.5vdc came from!

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

      Cheers, thanks for watching!

  • @davidridley247
    @davidridley247 ปีที่แล้ว +3

    Great video & description. Was planning to use this type of sensor & a traditional gauge setup on my Jag but this approach is far more sophisticated. I also want to monitor battery voltage so your last comments are a big plus! FYI Oil pressure & battery voltage are big issues on modern Jags but JLR don't install these driver aids these days. Many folk on the Jag forums will be interested in your project, good luck & I'll watch out for updates. Many thanks Dave in the Wirral, UK . Subscribed!

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

      Thanks for the comment appreciate it!

  • @scrap-iron9561
    @scrap-iron9561 4 ปีที่แล้ว +1

    Fantastic man! I'm doing an air ride set up and wanted to flush my own screen in the dash. This is a great tutorial

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

      That's great, this should work perfect for your application. Glad I could help!

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

    Thank you, your video helped me a lot during my final year project

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

      Glad I could help!

  • @lobotomyy
    @lobotomyy 2 ปีที่แล้ว

    this guy deserves a medal

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

    Top video and description, it's pleasure to subscribe. Look forward to more like this.

    • @OvensGarage
      @OvensGarage  3 ปีที่แล้ว

      Thank you very much!

  • @lesterwhitt5709
    @lesterwhitt5709 4 ปีที่แล้ว +5

    Hi and thanks for this video, it helped get me on the right track for adding a fuel pressure sensor to my truck. I'm new to Arduino and writing code but I made a few changes in the calculations that seemed a bit easier (for me anyways). Here it is in case it'll help you or anyone else along the way when you start adding different sensors. I'm also going to add a pyrometer and a boost gauge and run them all (or try to anyway) off one arduino.
    Things I changed;
    -My display was different so I switched to LiquidCrystal
    -I didn't use the pressurezero, pressuremax, or max psi
    -I determined the linear rate of 5.45 for a 150psi sensor but since Arduino doesn't use decimals, I made it 545 and then divided by 100 later
    -In the pressure value, I subtracted 102 since .5v = 0 psi and 102 is the analog equivalent of .5v
    #include
    const int pressureInput = A1; //select the analog input pin for the pressure transducer
    //const int pressureZero = 102.4; //analog reading of pressure transducer at 0psi
    //const int pressureMax = 921.6; //analog reading of pressure transducer at 100psi
    //const int pressuretransducermaxPSI = 150; //psi value of transducer being used
    const int baudRate = 9600; //constant integer to set the baud rate for serial monitor
    const int sensorreadDelay = 250; //constant integer to set the sensor read delay in milliseconds
    const int linear = 545;
    float pressureValue = 3; //variable to store the value coming from the pressure transducer
    LiquidCrystal lcd(12,11,5,4,3,2); //sets the LCD I2C communication address; format(address, columns, rows)
    void setup() //setup routine, runs once when system turned on or reset
    {
    Serial.begin(baudRate); //initializes serial communication at set baud rate bits per second
    lcd.begin(16,2); //initializes the LCD screen
    }
    void loop() //loop routine runs over and over again forever
    {
    pressureValue = analogRead(pressureInput); //reads value from input pin and assigns to variable
    pressureValue = (((pressureValue-102)/linear)*100); //This seemed simpler to for me
    Serial.print(pressureValue, 1); //prints value from previous line to serial
    Serial.println("psi"); //prints label to serial
    lcd.setCursor(0,0); //sets cursor to column 0, row 0
    lcd.print("Pressure:"); //prints label
    lcd.print(pressureValue, 0); //prints pressure value to lcd screen, 0 digit on float so that it would all fit on the screen
    lcd.print(" psi"); //prints label after value
    lcd.print(" "); //to clear the display after large values or negatives
    delay(sensorreadDelay); //delay in milliseconds between read values
    }

    • @shadowpit19
      @shadowpit19 2 ปีที่แล้ว

      hello friend for a 200 psi sensor that needs to be configured

  • @JavierGonzalez-fe3lh
    @JavierGonzalez-fe3lh 10 หลายเดือนก่อน

    Thank you for this project! I'm starting at arduino language and it was easy for me to follow your explanation. I'm trying to make a water level indicator for my VW camper bus using this pressure level. I need to transform the analog reading values into percentage and liters so i can know how much water do i have left, i think with this code i can make it happen. :D

  • @fgiosa1
    @fgiosa1 2 ปีที่แล้ว

    I find the video very instructive, especially the time you take to explain each instruction in detail.
    My question is if you have done tests with negative pressure, that is, with depression, I would like to build a vacuum gauge and it seems to me that it could work.

    • @OvensGarage
      @OvensGarage  2 ปีที่แล้ว

      I have not done the test with an applied vacuum. I'm unsure if the sensors are designed to work that way. I would check the sensor manufacturer specs.

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

    Excellent commentary and tutorial. Thank you.

  • @JonHeaven
    @JonHeaven 4 ปีที่แล้ว +2

    Awesome brother, really cool project. Been wanting to delve into the Arudino world for quite some time. Thanks for the inspiration!

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

      Thanks, I'll be trying to make these electronic videos easy to understand and follow so anyone can replicate them if they want. Cheers.

    • @JonHeaven
      @JonHeaven 4 ปีที่แล้ว

      @@OvensGarage Looking forward to the next vids. I take to this fairly quickly as I used to be a programmer for a living. All the best!

    • @OvensGarage
      @OvensGarage  4 ปีที่แล้ว

      @@JonHeaven Maybe you will be able to teach me more than I know then haha, this is just a hobby for me so I am learning as a I go.

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

    Im working on a N2 generator, and I need to be able to monitor the pressure and flow rate, so this is going to help a lot. Thanks!

    • @OvensGarage
      @OvensGarage  11 หลายเดือนก่อน +1

      Glad it helped. Cheers

  • @GustavoPerez-yg7zr
    @GustavoPerez-yg7zr 10 หลายเดือนก่อน

    Hola. Muy buena la programación. La probé y excelente. Lo único que agregaría es que para transductores de 12 Mpa, como mi caso, el delay a usar debe ser de 1000 sino se torna bastante impreciso. Muchas gracias.

  • @marekhabel2493
    @marekhabel2493 3 ปีที่แล้ว

    Great video, thanks.
    Anything on absolute pressure sensor?
    I’m interested in reading vacuum.

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

    Dude this is awesome! Great video

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

      No problem glad it helped.

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

    excelente gracias!!! from Mendoza Argentina!

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

    Thanks man great video. I have a home heated by oil tank and I'm thinking it'd be a good first project to put an analog sensor to measure tank level. So it can alert me when the tank gets low, and I can check it remotely. As of now I have to walk over and it's in the back of my garage. But also thought if I log the data I can measure oil usage over periods of time. I have a Rasp PI 4 & Arduino UNO, going to buy that sensor you used and probably use the Pi so I can take the data and move it via Wifi somewhere I can access it remotely.

  • @Alex-tt9jx
    @Alex-tt9jx 3 ปีที่แล้ว +5

    This a great example, just a side not to your code, you could use the map() function to convert those voltage/input ranges as well. Keep up the great videos

    • @OvensGarage
      @OvensGarage  3 ปีที่แล้ว

      Thanks for watching and thanks for the tip!

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

    Thanks for sharing, I'll be interested in this project as I'm doing a similar one.

  • @texmjm5018
    @texmjm5018 3 ปีที่แล้ว

    Heya! Great video. Thanks! I am adapting your model for a pressure / depth sensor on my underwater ROV.

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

    Great video. Which lines would I change using a 200psi sensor? Would I only change the maximum?

  • @PaulWellner
    @PaulWellner 2 ปีที่แล้ว

    Great Video!! Thank you. I have a project where I want to send 5V until a given pressure is reached. The pressure would start out high then when the lower pressure is reached shut off the 5V output. Being new to programming would that be difficult to add to your code?

  • @gmpinto2
    @gmpinto2 17 วันที่ผ่านมา

    Great Video!

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

    Thank you so much, it worked!

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

    3:51 1.5 psi is 77.5mmHg, so your measurement is probably right. It is normal that the "vacuum" is a much larger number because you only have to remove the air. There's a lot of atmospheric pressure outside to push against, so you can "suck" a lot harder than "blow". Nice presentation, btw!

  • @HandyKindaGuyUK
    @HandyKindaGuyUK 2 ปีที่แล้ว

    I wonder if you could do this with multiple transducer sensors. I may use this for monitoring my well water, thankyou

  • @kikiandrean8522
    @kikiandrean8522 3 ปีที่แล้ว

    Very clear sir, thanks, I appreciated it..

  • @ManuelAndresFernandezRey
    @ManuelAndresFernandezRey 3 ปีที่แล้ว

    excellent tutorial, thank you very much.
    Good good really

    • @OvensGarage
      @OvensGarage  3 ปีที่แล้ว

      Glad it helped! Thanks for watching.

  • @almansour7829
    @almansour7829 2 ปีที่แล้ว

    Hi thank you for this great video
    Can you display the pressure value on a phone rather than than an LCD screen? What changes need to be done on the code?

  • @itzelvanessaalcantar2664
    @itzelvanessaalcantar2664 9 หลายเดือนก่อน

    Well explained, thank you! I am currently working with a 5000PSI pressure transducer (Output voltage 0.5V-4.5V) and the Arduino nano. Can I use this code changing the constants? and, what do I have to change or add to the circuit?

  • @dayarao1555
    @dayarao1555 3 หลายเดือนก่อน

    Thank you. Looking for more project..

  • @ho-bros186
    @ho-bros186 3 ปีที่แล้ว +1

    I have 4 of these exact transducers. When reading the unaltered analog value on the serial monitor, I get 87 for one of them and 102 for the others. Does this just indicate that that specific transducer is running at less than 0.5 V? When I calculate the low voltage from those numbers I get 0.42V which does seem reasonable. Am I missing something or do I just need to calibrate each program to the specific transducer it's using if it's not 102.6?

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

    where have you disappeared to ...Yo are by miles the best at teaching how to use not just Arduino but all these sensors.. I hated to use Arduino until I saw your videos

  • @maropengmphaho3527
    @maropengmphaho3527 2 หลายเดือนก่อน

    Hi Ovens, do you reckon I can use this to measure the water pressure in a borehole?

  • @tittan1500
    @tittan1500 5 หลายเดือนก่อน

    Good work man thanks

  • @paulelliott2459
    @paulelliott2459 5 หลายเดือนก่อน

    Hi awsome video ... Do you think this sensor would be sensitive enough to detect air flow in ducting .. We have a fan that extracts from an industrial laser ... I need to work a way to detect which way the air flow is going left or right from a bypass system .. Was hoping if this is sensitive enough I could fit one on each side .. And control indicator light to show the air flow direction .. Hope that makes sense ! .thank you
    Paul

  • @belevenisonderwijs
    @belevenisonderwijs 10 หลายเดือนก่อน +3

    I'm using this sensor, but be aware! Sensorvalue is also changing with temperature!

  • @acestu
    @acestu 2 ปีที่แล้ว

    If you adjust that blue potentiometer on your lcd piggy back you will be able to see the writing on the screen as it alters the contrast

  • @kelennaanyanwu5372
    @kelennaanyanwu5372 3 ปีที่แล้ว

    Great video, much appreciated

    • @OvensGarage
      @OvensGarage  3 ปีที่แล้ว

      Glad it was helpful!

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

    cool project. Going to make a smart water tank for my home.

    • @OvensGarage
      @OvensGarage  11 หลายเดือนก่อน +1

      Good luck!

  • @alessandromaffei8816
    @alessandromaffei8816 3 ปีที่แล้ว +3

    This is really a thorough video. Thank you very much. I would like to use this to control air pressure coming from a compressor, but I don't konw where to find prorammable air compressors, do you have an idea of any commercial model that I could connect to the arduino?

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

      hey, I too want to do the same. Got stuck with the same question u asked here. whether you got it..? or u have any alternative..?

  • @RakeshRoshan295
    @RakeshRoshan295 4 หลายเดือนก่อน +1

    Hi bro i have one question......if you have to your own mcu board then what will be interfacing circuit will be of analog pin.... de we need a resistor divider ckt with skotky diode with that?

  • @Muhindo_Altium
    @Muhindo_Altium 7 หลายเดือนก่อน

    Great video. Thank you sir!

  • @acestu
    @acestu 2 ปีที่แล้ว

    Hi, can you tell me which Liquidcrystal_i2c library you are using please as I am getting errors on compiling Thank you

  • @aznizaaziz3493
    @aznizaaziz3493 3 ปีที่แล้ว

    Hi i still new on arduino. Is it okay if i use esp32 to connect with transducer pressure? Is support 3.3v?

  • @danielelemia3668
    @danielelemia3668 2 ปีที่แล้ว

    Hi im very new to coding and arduino I was wondering what Lcd library you used.... i dont have a display on my lcd screen

  • @user-tf9ox6zz5w
    @user-tf9ox6zz5w ปีที่แล้ว

    Hello Mr if you can adding the temperature reading in LCD in same pressure sensor you can
    Thank you so much

  • @ricardovazquez2827
    @ricardovazquez2827 3 ปีที่แล้ว

    Hi, I got a question, I want to use it for measureing into a water container (1000 lt), the sensor could be in touch with the water,? my idea is at the bottom of the container in pipe line put it, thanks in advanced!!!!

  • @necipsahin8377
    @necipsahin8377 2 ปีที่แล้ว

    So how do you think to measure negatif pressure if you wanna use this transducer in vacum chamber?

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

    Is this applicable to pressurized water tank to replace the conventional water pressure switch?

  • @user-qf6nr1jp3g
    @user-qf6nr1jp3g 3 ปีที่แล้ว

    do these things work for measuring sub pressure tanks

  • @stevebahr7782
    @stevebahr7782 14 วันที่ผ่านมา

    If i want to turn a relay on or off at a certain pressure, would i add that code under yours?

  • @rodrigodiasmartins3884
    @rodrigodiasmartins3884 8 หลายเดือนก่อน

    Good Nigth friend, video show. I would like to know which source do you use in the Arduino IDE?

  • @antonellocalc
    @antonellocalc 3 ปีที่แล้ว

    thanks for your nice job!!!

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

    Good afternoon, excellent video, I have problems with the library that type of library I use, the one I have of "LiquidCrystal_I2C" throws me an error in "lcd.begin"

  • @bregaswahyumulia8479
    @bregaswahyumulia8479 2 ปีที่แล้ว

    what series of air pressure sensor do you use HK1100C? Or other

  • @rappadappado3499
    @rappadappado3499 4 ปีที่แล้ว

    Have you had any experience with I2C pressure sensors and making them work for an arduino? I am working on a project using an ABPDANN005PG2A3
    sensor by honeywell for reading a blood pressure cuff. I am stuck on how to get the sensor to read on my arduino mega and uno (Not at the same time). Do you have any tips or places besides the arduino forums to look?

    • @OvensGarage
      @OvensGarage  4 ปีที่แล้ว

      I have not used this type of sensor.

  • @sto2779
    @sto2779 3 ปีที่แล้ว

    This code worked, thanks!.

    • @hoskoned
      @hoskoned 3 ปีที่แล้ว

      Getting 2 white bars on lcd, how did you do it?

    • @OvensGarage
      @OvensGarage  3 ปีที่แล้ว

      You're welcome!

    • @hoskoned
      @hoskoned 3 ปีที่แล้ว

      Resolved by replacing the lcd library and address

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

    Excelente, good job!

  • @alexsiegel5529
    @alexsiegel5529 2 ปีที่แล้ว

    would this work for a vacuum sensor? any way you can help with a sensitive diy vacuum sensor that works down to the 1 mTorr level? they cost hundreds of dollars currently

  • @abanobashraf4193
    @abanobashraf4193 2 ปีที่แล้ว

    If the sensor supply voltage is 12v not 5v and its output voltage is 0-5 volt ..will this affect the reading on the ADC pin?

  • @abhigyar7
    @abhigyar7 4 ปีที่แล้ว

    Very detailed! Subscribing for more content👍🏻

  • @rcnacura
    @rcnacura 3 ปีที่แล้ว

    I have a 300 psi sensor which has the same 0.5v is zero - 300psi 5v. When I put in the code, I changed the max psi to 300 but when I run the serial monitor and have it hooked it, it shows on average -1.5psi. Is this correct or should it say 0.0psi?

  • @denilsonmpinheiro3415
    @denilsonmpinheiro3415 6 หลายเดือนก่อน

    Obrigado pelo video! Me ajudou muito!

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

    Great stuff, thanks a lot. Subscribed:-)

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

    Hi Ovens, How many pressure sensors can we can connect with this Adruino board ? in case I want to install 6 sensors on 1 board, How can I extend input port ?

  • @marinenav8
    @marinenav8 2 ปีที่แล้ว

    Do you have example towing sensor?

  • @drury2d8
    @drury2d8 2 ปีที่แล้ว

    is it the same for a strain gauge ?

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

    Hello, I am using a 300 psi pressure transducer. I used your code I am just confused what number to use for the analog signal. You the the number 1024 what will be the number I use. Or better question how do I determine that number?

  • @sayalijoshi5010
    @sayalijoshi5010 2 ปีที่แล้ว

    Can we interface CTX323B200 pressure transducer with arduino?

  • @fraid5508
    @fraid5508 2 ปีที่แล้ว

    Great video thx!

  • @aliasyraf7721
    @aliasyraf7721 2 ปีที่แล้ว

    Sir did you have coding for 150psi sensor ?

  • @shadaman8795
    @shadaman8795 2 ปีที่แล้ว

    It's useful for water bubble panel?

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

    I have a 200 PSI sensor wich value do i need to change.

  • @panamawebseller3784
    @panamawebseller3784 2 ปีที่แล้ว

    hi, this transducer work with nodemcu esp8266?

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

    What materials do you use?

  • @AzeusSindi
    @AzeusSindi 4 ปีที่แล้ว

    Great video! It was working fine with me till I messed up, I plugged my sensor output accidentally to the 5v of the Arduino while it was already in supply externally by a 5v power supply. Now i'm not getting any reading, do you think I jammed my sensor?

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

      I think you should be fine, try re-wiring and then re-setting the arduino and it should work.

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

    Hi bro is there a way to filter the noise at STP

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

    Thanks for sharing, is there any similar code for use with oled display? please excuse my ignore.. new one to this kind of programming..

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

      You can likely find example code with some OLED libraries in the IDE software.

  • @oswald42069
    @oswald42069 2 ปีที่แล้ว

    i skipped the lcd and read the value in the serial monitor, but with the exact same code my sensor (100psi) shows -2.2psi. does that mean it is broken?

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

    I'm new to all this and was wondering if I could use a Pressure Transmitter instead and is there limits on the max pressure? Does it matter within the code itself?

    • @OvensGarage
      @OvensGarage  4 ปีที่แล้ว

      Hi, I'm unsure what a pressure transmitter means that you are talking about. You can purchase these types of sensors from amazon in various pressure limits and very simple to adjust this code to them.

  • @user-ud1rl8ln1k
    @user-ud1rl8ln1k 2 ปีที่แล้ว

    Mine is 60psi. I change pressuretranducermaxPSI to 60 but at my serial monitor the prints without pressure are from -0.5 psi to 0.7 psi. Something going wrong with the sensor or some
    thing else?

  • @joshuacaldwell6509
    @joshuacaldwell6509 4 ปีที่แล้ว

    If I wanted to run two of that same sensor for oil and fuel pressure would I just duplicate the code underneath and change the input to A1? And to display the second reading under the oil pressure just change the colum row to (1,0)?

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

      Yes that would likely work!

  • @AE-us7bw
    @AE-us7bw ปีที่แล้ว +1

    Hello, thank you for your video.
    I've got a small question.
    If my sensor works with a 0-10V signal, can I use a voltage divider for the same code?
    thank you

  • @049-rizqipratama7
    @049-rizqipratama7 ปีที่แล้ว +1

    Thank you sir

  • @suhelmujawar5611
    @suhelmujawar5611 4 ปีที่แล้ว

    can i use above pressure transducer to the verical pipe having flammable fluid such as oil,petro or diesel etc.

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

      Probably, depending on the temperatures though it might alter your readings. You could have a long tube of some sort with some adaptors to still read the pressure at a distance to keep the temps away from the sensor.

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

    Hi there! can anyone help me please, what if I got a 174 psi (1.2 MPa) pressure tranducer ?? what should I change? I'm sorry, I'm not figuring out how to change that code for suitable with my pressure tranducer :(

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

    Thank you!!!!!

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

    Awesome video. I'm having one issue, when I use your equation and some portions of your code, for some reason my sensor readings flip to negative at 40PSI and as I increase the pressure, the negative starts dropping back to 0. Its a weird one I can't figure out.

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

      The variables that are part of the equation are declared as INT while The result the code is expexting is float. This will cause the system to put a negative sign in about 32 psi... The solution is simple: declare all variables that are part of the pressure equation as float and also define them as float (include a '.0' after the integer part). This should solve your issue

  • @garethjones9701
    @garethjones9701 3 ปีที่แล้ว

    Hi there.
    i have the same sensor, the same lcd and a Arduino Uno. i have copied your code and im not getting the same display. Is this line of code written as is or do you have to add numbers? "pressureValue = ((pressureValue-pressureZero)*pressuretransducermaxPSI)/(pressureMax-pressureZero);
    Thank you for taking the time to upload a great video.

  • @eulamieraz5297
    @eulamieraz5297 2 ปีที่แล้ว

    How can I convert it into Pascal and the initial value suppose to be is zero?

  • @SunilSharma-ii4dn
    @SunilSharma-ii4dn 7 หลายเดือนก่อน

    What should do if unit in bar.