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 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 |
| Viewing vonHippelAnalogDemo | Link |
2 Comments |
|
jamit said on January 13th, 2010 08:20:22 PM



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