Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4929

FDC1004 Capacitance sensor interface with PIC16F877a

$
0
0
Hi,
I am using FDC1004 for capacitance measurement. I set configuration and FDC register through I2C but still, I am getting 255 in 0x00 and 0x01 Registers of FDC1004. I feel that FDC got saturated. Please look into the attachment for more details.

Code:

{
unsigned long data1,data2;
}

while(1)
{
i=1;
Lcd4_Clear();
Call_senor(); // FDC1004

result = data1; // 0x00 Reg
Lcd4_Set_Cursor(2,1);
send_data_to_LCD(result);
__delay_ms(2000);

result =...

FDC1004 Capacitance sensor interface with PIC16F877a

Viewing all articles
Browse latest Browse all 4929

Trending Articles