Help me in pressure sensor read from 0 - 10Vdc 0-250 bar

Pressure sensor (3-wire , Vcc=10VDC, COMM, Output). The output is 0-10VDC for a pressure range 0 – 250 bar (absolute) - Monitor the pressure and display its value (bar) on LCD - A yellow warning lamp is lit if the value drops below 25 bar - A red warning lamp and a buzzer are on when the value exceeds 200 bar - The system is operated by an ON/OFF switch

i want to know a sensor for 0-250 bar absolute in proteus to make the design all sensors about 150 kpa

Have you written any code for this or do you want it written for you ?
If the latter then Gigs & Collaborations is the place to ask.

If the former, then please post your program (all of it), a link to the measuring device and a circuit diagram showing how the Arduino. the device and the power supply are wired.

This here is going to be an issue.

The output is 0-10VDC for a pressure range 0 – 250 bar (absolute)

The Arduino can only handle an input voltage from 0 - 5VDC, you will burn it out once you go past 5 volts. So you will need to use a voltage divider to convert that 0-10VDC range to a safe 0-5VDC range for the Arduino.

In case you are not familiar with what a voltage divider circuit looks like, here is a LINK

As for your resistors, make sure both R1 and R2 are [u]the same values[/u], like 1K or 4.7K (probably better)

#include <LiquidCrystal.h>
int switc =6;
int buzzer =7;
int red_led =10;
int yellow_led =9;
int pressure_analog_pin =0; //pressure sensor connected to analog 0
int pressure_reading; //the analog reading from pressure sensor
float volt;
float pressure;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
pinMode(switc,INPUT);
pinMode(buzzer,OUTPUT);
pinMode(yellow_led,OUTPUT);
pinMode(red_led,OUTPUT);
lcd.begin(16, 2);
}

void loop() {
pressure_reading = analogRead(pressure_analog_pin);
volt=(pressure_reading5)/1023;
pressure= volt
31.3;
lcd.setCursor(0,0);
lcd.print(“pressure is=”);
lcd.setCursor(13,0);
lcd.print(pressure);
}

Did you make the voltage divider circuit and does it work now?

the problem not only volt it to display pressure from kpa to bar can u please check the code what is wrong

10 vdc is input for pressure sensnor

maximum pressure output of mpx4115 is 125 kpa

The pressure sensor needs 10v? What does it output then, I'm assuming more than 5v. If 125 Kpa is the max then with a little math 125/5 = 25, so why are you multiplying "volt" by 31.3, and not 25?