vonHippelAnalogDemo

App Image

 Download Latest Version 

This application uses:
Bugview Bugvonhippel 
   January 4th, 2010   ·   419 views  /  190 downloads

Admin Administrators: jamit
Collaborator Collaborators: Bug Labs teamkgilmer, Bug Labs teamjconnolly

Category: Tutorials    Maturity: Beta    API version: 1.4.3
Tags: VonHippel  ADC  DAC 

This is a small app showing how to set the DAC channels and read the ADC on the vonHippel module.

Some hints:
Before using the DAC the DAC needs to be powered up by sending the suitable command to the DAC chip (MAX4820M ).
e.g. writeDAC(0×0CF0) will wake up both channels

The app shows how to operate the ADC in single ended mode. The voltage input range is 0 .. 2.5V.

The writeDAC() and writeADC() methods send data directly to the chips. Be aware of the byte order in Java. The data is sent lobyte first. i.e. writeDAC(0×1234) will send 0×34 first then 0×12.

Information about the ADC (LTC2487) and DAC (MAX5820M) can be found in the datasheets.


Download Download Latest Version

Version Date Uploaded by Notes  
Version 3 January 13th, 2010 jamit  Bugfix: Added 0x8000 to writeADC() in measureADC(). After temperature is... (more) Bugfix: Added 0x8000 to writeADC() in measureADC(). After temperature is measured, the ADC needs to be set back to normal operation. (collapse) download
Version 2 January 12th, 2010 jamit  Added measurement of the temperature sensor in the ADC chip. (more) Added measurement of the temperature sensor in the ADC chip. (collapse) download
Version 1 January 4th, 2010 jamit  This is a small demo program showing how to set... (more) This is a small demo program showing how to set the DAC and read the ADC on the vonHippel module. (collapse) download

This application is licensed under the GPL Version 2 license agreements.

Viewing vonHippelAnalogDemo   Link

2 Comments

Comment_icon Login to add comment

gagnerargent

gagnerargent said on January 12th, 2010 03:43:30 PM

I need more information about the ADC and DAC.

jamit

jamit said on January 13th, 2010 08:20:22 PM

Have a look at the wiki site describing the vonHippel module. Complete schematics, a hardware design sprec and the dtasheets can be downloaded there. http://www.bugcommunity.com/wiki/index.php/BUGvonHippel