This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

can lmp91000 be use withoutLMP91000 EVM to interface it with 3 lead electrochemical cell

Other Parts Discussed in Thread: LMP91000

Dear sir,

we are currently working on LMP91000 based point of care devices. we already had attached LMP91000 IC on PCB. we are using arduino megaADK for programming part.

The code which we had build is given below. 

// I2C Digital Potentiometer

 

#define TIACN 0x10

#define WRITE 0x00

#define READ  0x80

#define ADDRESS 0x48

#define REFCN 0x11

#define MODECN 0x12

#define STATUS 0x00

#define LOCK 0x01

#define MENB 13

 

#include <Wire.h>

byte stats=0;

void setup()

{Serial.begin(19200);

  Wire.begin();

 pinMode(MENB,OUTPUT); // join i2c bus (address optional for master)

 digitalWrite(13,LOW);

  Wire.beginTransmission(WRITE|ADDRESS);

  Wire.write(STATUS);      

  Wire.endTransmission();

  delay(500);

 

 

 Wire.requestFrom(READ|ADDRESS,1);

stats= Wire.read();

Serial.print(stats);

 

 

}

 

 

 

void loop()

{

if(stats==1)

{

  Wire.beginTransmission(WRITE|ADDRESS); // transmit to device #44 (0x2c)

  // device address is specified in datasheet

  Wire.write(byte(TIACN));            // sends instruction byte 

  Wire.write(byte(0x13));          // sends potentiometer value byte 

  Wire.endTransmission();     // stop transmitting

  delay(500);

  Wire.beginTransmission(WRITE|ADDRESS); // transmit to device #44 (0x2c)

  // device address is specified in datasheet

  Wire.write(byte(REFCN));            // sends instruction byte 

  Wire.write(byte(0x30));          // sends potentiometer value byte 

  Wire.endTransmission();     // stop transmitting

  delay(500);

  Wire.beginTransmission(WRITE|ADDRESS); // transmit to device #44 (0x2c)

  Wire.write(byte(MODECN));            // sends instruction byte 

  Wire.write(byte(0x03));          // sends potentiometer value byte 

  Wire.endTransmission();     // stop transmitting

  delay(500); 

  stats++;

  // fade out from max to min in increments of 5 points:

  Serial.println("status was 1 written all settings to SLAVE");

}

Serial.println(analogRead(A0));

delay(80);

 

}

 

 

## can we use this IC single itself or is it essential to use Evaluation Board ?