brycesub / silvia-pi

A Raspberry Pi modification to the Rancilio Silvia Espresso Machine implementing PID temperature control.
MIT License
140 stars 42 forks source link

MAX31855K to GPIO #10

Closed sebastian-alfers closed 7 years ago

sebastian-alfers commented 7 years ago

Hello, thanks for sharing your project.

Could go define how to connect the breakout to the GPIO? Not sure how to connect them proper.

Thanks

brycesub commented 7 years ago

Use these two pictures as a guide: http://i.imgur.com/cALY8cP.jpg http://i.imgur.com/niWjavD.jpg

Pinout for pi2 and pi3: https://az835927.vo.msecnd.net/sites/iot/Resources/images/PinMappings/RP2_Pinout.png

From the thermocouple breakout board to the Pi: GND -> Any ground pin (I used Pin 20) VCC -> 3.3v Power (Pin 17) SCK -> SPIO SCLK (Pin 23) SO -> SPIO MISO (Pin 21) NC -> No connection CS -> SPI0 CS0 (Pin 24)

From the Relay to the Pi: PLUS -> GPIO 26 (Pin 37) GPIO # can be configured in config.py (using GPIO numbering) MINUS -> Any ground pin (I used Pin 39)

Hope this helps! Let me know if you need any other info.

sebastian-alfers commented 7 years ago

@brycesub Thank you for your hints regarding GPIO. Got the thermostat running!

Sorry, just another quick question. Which output of the relay (1 and 2) needs to go to B1 and B2 in this picture http://i.imgur.com/gNaIdi8.jpg? Thanks!

brycesub commented 7 years ago

It actually doesn't matter, you can hook it up either way.