0
\$\begingroup\$

raspberry pi schematics relay schematics (the relays are flipped in the actual board) schematics of the thermocouple reader, its actually just a header connection and the traces are not populated I have 6 3V reed relays SIL03-1A72-71D that connect to a raspberry pi pico directly via gpio pins 11, 12, 13, 14, 15, 18, and 19 on a custom pcb. The connections to the relays are: 1 is connected to 12V, 3 is connected to the pico, and 5 and 7 are grounded to a ground plane. The relays are meant to actuate a pinch valve (the schematic is flipped because I found that the way I drew it was wrong). The pico is also connected to two Sparkfun MAX31855K thermocouple readers via spi using pins 2, 3, 5, and 6.

Currently, I can read from the thermocouple readers normally, but when I turn the 12V power on, the temperature that is read slowly drops from 21 to 0 and then 4091. The pinch valves still actuate normally and everything, but I cannot read the thermocouples normally. When I turn the 12V power off, the thermocouple immediately goes back to normal. What could be happening here?

I checked for continuity all over the board and didn't see any shorts. There is no direct connection between the relays and the thermocouples. The setup actually worked sometimes when not all of the pinch valves were plugged in but then it went back to not working when I looked at it again. Two issues I think there could be are that maybe the relays overheated when I soldered it and broke or that there is some EMF being generated that is messing with the SPI output. I am not an electrical engineer but have been working with microcontrollers and robotics for awhile.

\$\endgroup\$
4
  • \$\begingroup\$ please add a schematic diagram of your circuit \$\endgroup\$
    – jsotola
    Commented Dec 11, 2023 at 21:43
  • \$\begingroup\$ Oh sorry, I just added them to the post \$\endgroup\$
    – notanickel
    Commented Dec 11, 2023 at 22:32
  • \$\begingroup\$ Did you verify the power connections to your reed relays? The datasheet seems to show pin 3 as being the high side and 5 being the low side, (per the diode direction in the layout diagram). Your schematic shows the opposite. \$\endgroup\$
    – Nedd
    Commented Dec 11, 2023 at 23:17
  • \$\begingroup\$ Oh yeah, I noticed that as well and flipped the relay on the actual board \$\endgroup\$
    – notanickel
    Commented Dec 12, 2023 at 1:27

1 Answer 1

1
\$\begingroup\$

I was able to figure it out, it seems to be a power supply issue where it is generating an emf that interferes with the thermocouple and makes the thermocouple reader read another value entirely.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.