APPLICATION NOTE 408

Controlling a DS1803 Digital Potentiometer Using an 8051 Microprocessor to Generate 2-Wire Signals


Abstract: This article demonstrates a hardware and software solution for controlling the DS1803 using a Dallas Semiconductor 8051-compatible microprocessor, the DS87C520. It describes how to generate the 2-wire signaling required for communication via two port pins on the microcontroller. A basic schematic shows the necessary connections between the microprocessor and the DS1803, and 8051 assembler code provides a small application for controlling the chip’s two digital potentiometers using different write modes. After each write cycle, the application reads back the information from the DS1803 and displays it on a PC via a serial port to demonstrate a properly operational read function. Source code for the application described in this article is included.

Next Steps
EE-Mail Subscribe to EE-Mail and receive automatic notice of new documents in your areas of interest.
Download Download, PDF Format
© , Maxim Integrated Products, Inc.
The content on this webpage is protected by copyright laws of the United States and of foreign countries. For requests to copy this content, contact us.
APP 408:
APPLICATION NOTE 408,AN408, AN 408, APP408, Appnote408, Appnote 408