EasyManuals Logo

Waveshare High-Precision AD/DA Board User Manual

Waveshare High-Precision AD/DA Board
8 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #5 background imageLoading...
Page #5 background image
High-Precision AD-DA User Manual
5
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.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Waveshare High-Precision AD/DA Board and is the answer not in the manual?

Waveshare High-Precision AD/DA Board Specifications

General IconGeneral
BrandWaveshare
ModelHigh-Precision AD/DA Board
CategoryComputer Hardware
LanguageEnglish

Related product manuals