background image

High-Precision AD-DA User Manual 

 

 

Revision: 1.2. Date: October 30 2015. Author: Zhou Jie. Editor: Felix 

share awesome hardware

2.

 

Getting started 

The following API source codes should be run under the bcm2835 library, which can be downloaded 

from 

http://www.airspayce.com/mikem/bcm2835/

 

2.1.

 

Analog to digital conversion  

1)

 

Connect the High-Precision AD-DA Board to the Raspberry Pi. 

2)

 

Jumper settings: 

Set the Power Supply to 5V: connect the pin 5V and VCC. 

Set the Reference Input Voltage to 5V: connect the pin 5V and VREF. 

Set the Potentiometer output as an Analog Input: connect the pin ADJ and AD0. Make sure the 

left side Sensor Interface AD0 is disconnected. 

Set the LDR output as an Analog Input: connect the pin LDR and AD1. Make sure the left side 

Sensor Interface AD1 is disconnected. 

Connect AINCOM to AGND. When using AD for differential measurements, the common input 

AINCOM does not need to be tied to ground. 

3)

 

When using SSH for terminal control, please connect the network cable. The software PuTTY 

should be installed. See the section 1.2. 

4)

 

Power up. 

5)

 

Copy (using a USB drive as a carrier) the software directory, ADS1256, to the Raspbian OS. Note: 

the system will detect the USB drive directly under GUI, else if using SSH Connection, the USB 

drive cannot be operated until it is mounted to the Linux. Search the key words “Linux mount” 

for more details. 

6)

 

Make the files: 

Enter the directory ADS1256, and execute 

make

 to compile it. 

7)

 

Execute 

sudo ./ads1256_test 

Note: if it prompts 

command not found

, please use 

chmod +x ads1256_test

 to add 

execute permission. 

8)

 

Block the LDR from light and then the voltage of channel AD1 will be changed. 

9)

 

Turn the potentiometer and the voltage of channel AD0 will be changed. 

10)

 

In the end, press 

Ctrl+C

 to suspend the current process. 

2.2.

 

Digital to analog conversion 

1)

 

Connect the High-Precision AD-DA Board to the Raspberry Pi. 

Summary of Contents for High-Precision AD/DA Board

Page 1: ...functions to the Raspberry Pi Supported Pi Raspberry Pi 1 Model A Raspberry Pi 1 Model B Raspberry Pi 2 Model B Features Onboard ADS1256 8ch 24bit high precision ADC 4ch differential input 30ksps samp...

Page 2: ...easy to connect various analog sensor modules 4 7 68M crystal 5 LM285 2 5 provides reference voltage for the ADC chip 6 Photo resistor 7 LED output indicator 8 10K potentiometer 9 DAC8532 16bit high...

Page 3: ...can read the voltage output of LDR from the pin AD1 4 LEDA LEDB LED output indicator Tab 7 By connecting the jumper between LEDA LEDB and DAC0 DAC1 the voltage output of DAC0 DAC1 can be estimated ro...

Page 4: ...in used here should be more than 4GB In this operation a TF card reader is also required 4 Plug in the programmed TF card to the TF card socket on a Raspberry Pi and then power up to start the Raspbia...

Page 5: ...erential measurements the common input AINCOM does not need to be tied to ground 3 When using SSH for terminal control please connect the network cable The software PuTTY should be installed See the s...

Page 6: ...n using SSH for terminal control please connect the network cable The software PuTTY should be installed See the section 1 2 4 Power up 5 Copy using a USB drive as a carrier the software directory DAC...

Page 7: ...ower supply 5V 3 5 7 8 10 18 22 24 26 27 28 29 32 36 38 40 NC NC 6 9 14 20 25 30 34 39 GND Ground 11 DRDY ADS1256 data ready output low active 12 RESET ADS1256 reset input 13 PDWN ADS1256 sync power o...

Page 8: ...e October 30 2015 Author Zhou Jie Editor Felix share awesome hardware 4 Revision history Revision Changes Date 1 0 Initial release June 26 2015 1 1 Released English version manual Minor edits July 17...

Reviews: