关键词: DS87C520, DS1803, digital pot, digitpot, epot, 2-wire, 8051, digital pots, potentiometers 関連製品
Controlling a DS1803 Digital Potentiometer Using an 8051 Microprocessor to Generate 2-Wire Signals
摘要 :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 chips 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.