Not bad, I tried this one and it worked, had problems with the LCD grounding but the code was good, this code is also suitable for many other temp sensors.
Not bad, I tried this one and it worked, had problems with the LCD grounding but the code was good, this code is also suitable for many other temp sensors.
It's possible to pull the i2c bus and put the mcp9803 temp sensor far away from controller ?(Around 2 meters by using shielded cable)
Thanks.
Hello *
I connect MCP9801 to the PIC and i put the 3 Adressline to VCC (A0,A1,A2)
So i change onliy the 2 Lines of the Programm above:
adr_R con %10011111 ;adr mpc9803 read Adresse 111
adr_W CON %10011110 ;adr mpc9803 write Adresse 111
I get always 16.0 C on the display.
Thank for feedback.
Rolf
Bookmarks