Using Arduino UNO As 3-CH High Resolution DACs

by INHAOS YAKE in Circuits > Arduino

2033 Views, 1 Favorites, 0 Comments

Using Arduino UNO As 3-CH High Resolution DACs

DAC-3000-2.jpg
DAC-3000-3.jpg
DAC-3000-4.jpg
DAC-3000-6.jpg
DAC-3000-7.png
DAC-3000-5.jpg
DAC-3000-8.JPG
DAC-3000-1.jpg
  • In this application, we'll give a demo about how to build a high precision power supply using the DAC-3000 and a high precision reference source REF4096.

Step1:List of Material

eBay store address:

BUONO UNO R3
REF-4096+DAC-3000

UM-UNO (Unsoldered) or UM-UNO Assamblied

The following parts will be using to this application:

  • 1 x Arduino boards(Arduino UNO BUONO R3)
  • 1 x UM-UNO shield
  • 1 x REF4096
  • 1 x DAC-3000
  • 1 x Pin Header
  • 3 x Female Header Connector
  • A few of wires

Step2: Hardware Connections

Although not complicated, but it also need you to have some patience to complete the connections. Just do it, and have fun...

Step3:Arduino Codes Programming

As it using the serial port to make communication, the baud rate is 115200bps.

In order to set the voltage please using the command format: “DA0=xxxx”, ”DA1=xxxx” and ”DA2=xxxx”. xxxx is the voltage value, and its range: 0 to 4096. You can use “REF?” to read out your Vref and ”REF=xxxx” to set the Vref, it can Make your results more accurate.

Please note the ending chars are: "\r\n", that means you should enable the “SendNew” function of the serial tool. Otherwise the command will be ignored.

Step4: Enjoy!

After all the above works are finished, you can get the voltage on the corresponding pin by sending command via any serial tool.

This high precision power supply module can be integrated into any projects you needed. Even more, you can take it to anywhere.

STEP 5: The power supply accuracy test

Voltage value calculation formula:

1) Voltage to ADC

Test:

1. Chn0 Accuracy Test (8 bits DAC)

Number Setting Value Actual Value Voltage Rate(%)

1 500 484 -16 -3.20

2 1000 987 -13 -1.30

3 1500 1492 -8 -0.53

4 2000 2015 15 0.75

5 2500 2523 23 0.92

6 3000 3034 34 1.13

7 3500 3546 46 1.31

8 4000 4076 76 1.90

2. Chn1 Accuracy Test (15 bits DAC)

Number Setting Value Actual Value Voltage Rate(%)
1 500 508 8 3.6

2 1000 1004 4 0.4

3 1500 1501 1 0.07

4 2000 2000 0 0.00

5 2500 2501 1 0.04

6 3000 3003 3 0.10

7 3500 3507 7 0.20

8 4000 4013 13 0.33

3. Chn2 Accuracy Test (15 bits DAC)

Number Setting Value Actual Value Voltage Rate(%)

1 500 509 9 1.80

2 1000 1005 5 0.50

3 1500 1502 2 1.13

4 2000 2002 2 0.10

5 2500 2502 2 0.08

6 3000 3004 4 0.13

7 3500 3508 8 0.23

8 4000 4013 13 0.33