Computer application to output voltages on different pins

For my project, I would like to write a program to control an arduino to output voltages on different pins. The device would be used for tuning an ecu where values between 0 and 5 vdc will change values in the fuel map on the ecu. the connection is made with 6 pins, a ground and a 5v power from the ecu, and 4 pins to write voltages on. I would like to write a program to do this, so it can be achieved in real time.

The actual coding part should be easy as i have experience with that, but this would be my first arduino project and would like guidance or overview on what would have to be done.

You can do it with DACs (Digital to Analog Converters) or by low pass filtering PWM outputs. The analogWrite function sets the PWM duty cycle.

Im just not sure how I would go about making a GUI to run the whole mess

So you are wanting an application on the PC that sends commands to the Arduino that adjusts the voltage outputs?

Hi,
Welcome to the forum.

If you need a GUI, consider using a program for the PC called "Processing", it has several examples of how to communicate with Arduino controller and how to draw your own GUI.

Tom... :slight_smile: