Hi Ben
I use the componeten MCP960X thermocouple to read the temperature.
I have 12 K-elements connected to the I2C bus and it works very well.
What I still need is to read or write the registers.
So that I know how the MCP9600 is configured and that I can change that.
Would it be possible to add read write registers commands like the others I2C components?
Add:
MCP960X thermocouple add read/write register
-
- Valued Contributor
- Posts: 1046
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 198 times
- Been thanked: 220 times
-
- Matrix Staff
- Posts: 2028
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 634 times
- Been thanked: 680 times
Re: MCP960X thermocouple add read/write register
Hi Stefan.
Can you see if the attached works for you.
Can you see if the attached works for you.
- Attachments
-
- MCP960X_Thermocouple.fcpx
- (5.88 KiB) Downloaded 277 times
Martin
-
- Valued Contributor
- Posts: 1046
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 198 times
- Been thanked: 220 times
Re: MCP960X thermocouple add read/write register
Hi Martin
Yes the commands are there, but I can not compile it on ESP32 wroom.
Here the msg file:
Yes the commands are there, but I can not compile it on ESP32 wroom.
Here the msg file:
-
- Matrix Staff
- Posts: 2028
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 634 times
- Been thanked: 680 times
Re: MCP960X thermocouple add read/write register
Thank Stefan, ESP is so fussy.
Can you try this version please.
Can you try this version please.
- Attachments
-
- MCP960X_Thermocouple.fcpx
- (5.89 KiB) Downloaded 268 times
Martin
-
- Valued Contributor
- Posts: 1046
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 198 times
- Been thanked: 220 times
Re: MCP960X thermocouple add read/write register
Hi Martin
Perfect! It's working fine.
I set in register 5 (SENSOR CONFIGURATION REGISTER) to value 6 (Filter Coefficient) then I read the register 5 and send it to USB C.
Even if i use two I2C multiplexer board it's working nice.
Program: result in a terminal program:
Perfect! It's working fine.
I set in register 5 (SENSOR CONFIGURATION REGISTER) to value 6 (Filter Coefficient) then I read the register 5 and send it to USB C.
Even if i use two I2C multiplexer board it's working nice.
Program: result in a terminal program:
-
- Matrix Staff
- Posts: 2028
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 634 times
- Been thanked: 680 times
Re: MCP960X thermocouple add read/write register
That's great, thanks for letting me know.
I will add the component to the release folder so it can be pushed to the update system.
I will add the component to the release folder so it can be pushed to the update system.
Martin