アプリケーションノート 410

Controlling a DS1804 Using an 8051-Compatible Microcontroller


要約: The DS1804 is a digital potentiometer with EEPROM memory with an interface designed primarily to be interfaced to a pushbutton (human interface). With careful consideration as to the functionality of these pushbutton controls, the DS1804 can also be interfaced directly to a microcontroller via the pushbutton pins. This application note describes how to do this with an example given using an 8051-type processor. Source code in assembly language is also given to simplify the design task for engineers trying to use the DS1804 in this type of application. Topics covered include:
  • How to change the potentiometer setting without updating the EEPROM.
  • How to change the potentiometer setting with changing the EEPROM.
  • How to write the current potentiometer setting into EEPROM memory.