On my project, I'm using a pressure sensor, like this one.
Now, depending on the pressure received by the sensor, I need to regulate a voltage. In this case, I have a 12v battery, and I need as output voltage of the regulator a voltage that ranges between 12v and 15v, depending on the pressure. The more pressure the sensor gets, the less voltage I want to have as output of the regulator. As an example, if I work with a pressure range of 1-2 atmospheres: for 1 atm, I would need 15v as output, and for 2 atm I would need a output voltage of 12v, and the range in between just to behave linearly.
I've used step-up voltage regulators that have to be configured manually, but I don't know if there is any voltage regulator that can be controlled via arduino. Is there any way to do what I need for this project?
Thanks in advance