Using analog output on UniPi 1

Home Tutorials Using analog output on UniPi 1 Back

Simple example of using analog output on UniPi 1

The analog output works as voltage regulator, that means it needs input voltage (connected to AOV) and its ground (connected to AOG).

After prooviding voltage to the analog output, make sure to adjust the output voltage using the on-board trimmer precisely. Otherwise the output voltage will not match your desired voltage. We recommend this steps:

  • Connect voltage and GND to AOV and AOG
  • Set desired voltage to eg. 7V (using your chosen software or PWM on the GPIO)
  • Using multimeter or UniPi's Analog Input and the on board trimmer, adjust the output voltage so it equals your desired voltage (e.g. 7V)

Please note that version UniPi 1.0 has inverted PWM function. That means that 0% PWM gives 10V and 100% PWM gives 0V. Versions 1.1 and up works as expected.

Below, see viring example of UniPi regulating its own 12V and measuring it using its Analog Input.

The 12V line is connected to the AOV. AI1- is the UniPi GND so it is connected to the AOG. AOV is the connector providing the Analog Output positive voltage which is connected to the AI1+. This way, you will see the your analog output directly on your analog input.


Our parts

UniPi 1.1
More than 20 items in stock

Add to cart
Subscribe to our newsletter