Skip to content

Provides an SPI based interface to the AD5724R, AD5734R, and the AD5754R Quad 12-/14-/16-Bit Unipolar/Bipolar Voltage Output DACs.

License

Notifications You must be signed in to change notification settings

janelia-arduino/AD57X4R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AD57X4R

Library Information

Name
AD57X4R
Version
5.0.1
License
BSD
URL
https://github.com/janelia-arduino/AD57X4R
Author
Peter Polidoro
Email
[email protected]

Description

Provides an SPI based interface to the AD5724R, AD5734R, and the AD5754R Quad 12-/14-/16-Bit Unipolar/Bipolar Voltage Output DACs.

The outputs can be set two ways, either by setting the analog value or by setting the voltage directly. The analog values are integers with the range determined by the resolution and whether the output is set to unipolar or bipolar. This is similar to Arduino analogWrite and this method is provided as an alternative name for convenience. Alternatively, the output voltages can be set directly. Voltages are floats with the minimum and maximum values determinded by the output range. By default, the outputs are updated immediately after they are set, but the outputs can be updated synchronously by using the simultaneous update methods.

Wiring

PINCONNECTION
SDINconnect to processor MOSI pin or SDO of previous daisy-chained chip
SDOconnect to processor MISO pin or SDIN of next daisy-chained chip
SCLKconnect to processor SCK pin
SYNCconnect to processor CS pin and set in constructor or setChipSelectPin method
BIN2SCOMPGND
LDACGND or connect to processor pin and use setLoadDacPin method
CLRDVCC or connect to processor pin and use setClearPin method

About

Provides an SPI based interface to the AD5724R, AD5734R, and the AD5754R Quad 12-/14-/16-Bit Unipolar/Bipolar Voltage Output DACs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published