How to simulate a pot?

Hi there!!!

I have a doubt about arduino and hardware.
I have a device tha has a potentiometer and I would like to control that pot with an arduino.

The pot voltages are not the common 0v to 5v. The variation is actually 5v but the range is from 2.5v in one pin and 7.5v in the other pin and the signal varies between those two values.

How can I control these voltages with an arduino with maximum resolution possible? Is there an IC that does it?

Thank you

Kind regards

There are IC's that will do that called "digital potentiometer".

Maxim Digital Potentiometers
Microchip Digital Potentiometers
Mouser Digital Potentiometers All manufacturers
Digikey Digital Potentiometers All Manufacturers