Page 4 of 5
Re: New MCP690X Thermocouple Component.
Posted: Mon Dec 27, 2021 1:13 pm
by jgu1
Hi Martin!
Working perfect.
Jorgen.
Re: New MCP690X Thermocouple Component.
Posted: Mon Dec 27, 2021 1:22 pm
by medelec35
That's excellent Jorgen.
Thanks for letting us know.
Re: New MCP690X Thermocouple Component.
Posted: Tue May 14, 2024 3:35 pm
by stefan.erni
Hi Martin Hi Jorgen
I use the sparkfun MCP9600 screw terminal board and an ESP32.
If I use I2C Softwaremode I can read the temp from the sensor correct.
but the K element gives me also some value but in the wrong direction
when I increase the temperature, the MCP9600 measures less.
In ic2 channel1 mode, it's not working. Always get 1931 as value.
I am still doing something wrong?
Re: New MCP690X Thermocouple Component.
Posted: Wed May 15, 2024 6:02 pm
by jgu1
Hi Stefan Erni!
Sorry I have not mine connected up at the moment. I will try if I get time during the weekend. Could you please att. your project then I could give it a try.
Br jorgen
Re: New MCP690X Thermocouple Component.
Posted: Thu May 16, 2024 8:52 am
by stefan.erni
Hi Jorgen
I was able to solve one problem.
Until now, I always thought of the colour red as positive voltage and the colour yellow as ground, but not with the K-elements
The incorrect values are due to the different colours of the sensors wire. Red is not always the positive pin and yellow the negative.
So I have turned the sensor wires and the temperature is now measured in the correct direction.

- 2024-05-16_09-11-35.PNG (343.62 KiB) Viewed 5584 times
An info about Thermocouple;
a short description of my project:
My Board with a ESP32 and sd-card 4wire:

- 2024-05-16_09-35-19.PNG (652.99 KiB) Viewed 5584 times
a few sensors
I have not yet decided whether I will use it for screwing or plugging
screw:

- 2024-05-16_09-42-05.PNG (324.31 KiB) Viewed 5584 times
plug:

- 2024-05-16_09-43-11.PNG (355.16 KiB) Viewed 5584 times
i have not decided yet if i will change the board with the addresses or use a multiplexer

- 2024-05-16_09-36-43.PNG (465.27 KiB) Viewed 5584 times
I can give you parts of my software if you are interested
regards
Stefan
Re: New MCP690X Thermocouple Component.
Posted: Thu May 16, 2024 7:17 pm
by jgu1
Hi Stefan!
40cm error

nice it´s sometime so easy. Yes if not to much work, I will be happy to see what you have done in your program.
Jorgen
Re: New MCP690X Thermocouple Component.
Posted: Fri May 17, 2024 10:21 am
by medelec35
Hi Stefan.
I have just tested my MCP9600 on CH1 on Wroom-32 and is working as expected.
What pins are you using for data and clock?
Re: New MCP690X Thermocouple Component.
Posted: Fri May 17, 2024 10:29 am
by stefan.erni
Hi Martin
on the Wroom_32
SDA A21
SCL A22
I used channel 1

- 2024-05-17_11-25-05.PNG (25.16 KiB) Viewed 5552 times

- 2024-05-17_11-27-17.PNG (13.17 KiB) Viewed 5552 times
Re: New MCP690X Thermocouple Component.
Posted: Fri May 17, 2024 11:14 am
by medelec35
Thanks Stefan.
I have tried with CH1 on the Wroom-32 and with the same pins as you and it's working for me.
Re: New MCP690X Thermocouple Component.
Posted: Fri May 17, 2024 1:17 pm
by stefan.erni
Hi Martin
in the future i will create a simpler programme only with sensor i hope it will work for me too.
I think I'm on the right track to build a very good temperature logger with flowcode.
I have to build a logger which during 2 minutes
the temperature at 8 positions and record it.
During this time I measure with 10hz and expect a temperature of 20 degrees up to 50 degrees. I want to measure with a resolution of 0.1 degree
it's working at the moment. But there is still a small problem.
I do a simple test and touch the sensor
When I read out the 16 bit integer I get a resolution of 1 degree celsius. This is not useful.
If I read float I get much more accurate values. I use 10Hz samplerate
but even with float there are large jumps and the values remain the same during some measurements.
This MPC9600 has many settings. How can I adjust these or know what they are set to?
Samplerate and resolution:

- 2024-05-17_14-04-04.PNG (100.26 KiB) Viewed 5560 times
read 16bit:

- 2024-05-17_13-00-02.PNG (53.72 KiB) Viewed 5560 times
read Float:

- 2024-05-17_13-07-55.PNG (51.34 KiB) Viewed 5560 times