Jump to content
  • 0

Can MCC 134 be used with Raspberry Pi Pico using Arduino IDE?


GGu2024

Question

Hi Application engineers

I would like to know if  MCC 134: Thermocouple Measurement DAQ HAT for Raspberry Pi®  can work with Raspberry Pi Pico (https://www.digikey.ca/en/products/detail/raspberry-pi/SC0917/16608257) or an Arduino board using Arduino IDE?

 

Thanks,

Gu

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

Hi JRys,

The MCC134 has 20 pins, but not all pins are used for temperature measurement, it uses SPI/I2C protocol.

Can it work if the required SPI/I2C pins on MCC 134 are connected to respective SPI/I2C pins on Raspberry Pi Pico, which has its own operating system?

Could you please provide me a pin layout of the GPIO on MCC134 for SPI/I2C communication?

Thanks,

Gu

Edited by GGu2024
Link to comment
Share on other sites

  • 0

The electrical specification lists the GPIO assignments in the Interface section.

We don't provide support for this, but you could review mcc134.c and mcc134_adc.c in the driver library to get an idea of how to read the board. 

https://github.com/mccdaq/daqhats/tree/master/lib

For a different approach, a board based on the MAX31855 IC may be easier to adapt to a pico. Check out the following:

https://www.playingwithfusion.com/productview.php?pdid=75

https://www.adafruit.com/product/3263

 

Link to comment
Share on other sites

  • 0

Hi JRys,

Thank you for the info of links. I downloaded mcc134.c and mcc134_adc.c. They should be compatible with Arduino IDE after some changes. 

It would be better if you could provide a pinout of MCC 134 as the one attached for raspberry pi pico. I need to know 6 pins, SCK, TX, RX, CSn, GND and Vcc for SPI interfacing. The electronic spec listed the pins, but does not specify which are SCK, TX, RX, CSn, GND and Vcc

The MAX31855 is a 19-bit TC board, it would be better to use a 24-bit for high accuracy. I am developing an instrument, 8-channel scanning water analyzer,  for oil industry. I want to add temperature compensation for  the 8 channels, I need 8 thermocouples to do the temperature compensations individually. The temperature variation is from 20 to 35 degree C, so thermocouple mili-voltage is low at this range, a high accuracy thermocouple module is required.   

It is very helpful if you have a doc that describes the register address on the MCC 134 in details.

Regards,

Gu

Raspberry_Pi_Pico_Pinout.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...