Go to advanced search

by tuckie
Sun Sep 27, 2015 11:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

I came across this some hours back and thought it was heaven sent! (except.......!) I had been struggling with using code in the Adafruit library and whilst I have got my MAX31855 functioning and displaying temperature with their sample program it was far from ideal because it is Python2 based and ...
by tuckie
Sat Mar 08, 2014 5:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

IIRC, I also noticed similar behavior when I had issues with my CS line connections -- it would happen when one chip talked over another, so to speak. I tested the script for days without error in its current form. You could always try a MS pause between reads to see if that helps. An alternative wo...
by tuckie
Sun Mar 02, 2014 4:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

Every pin can be shared except the cs_pin. Take a look at the multi-chip example in the main file: https://github.com/Tuckie/max31855/blob ... 55.py#L146
by tuckie
Fri Nov 22, 2013 4:24 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

Readme has been updated! You can actually use either pin assignment, if GPIO.BOARD is your thing ;) For example: from max31855 import MAX31855, MAX31855Error cs_pin = 24 clock_pin = 23 data_pin = 22 units = "f" board = GPIO.BOARD thermocouple = MAX31855(cs_pin, clock_pin, data_pin, units, board) pri...
by tuckie
Fri Nov 22, 2013 4:11 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

JCanada wrote:What I didn't realize, is that the designated pins (24, 23, and 22) are NOT the pin number on the PI itself, but rather the GPIO pin number!
So sorry for the confusion on this! I'll update the readme to clarify things.
by tuckie
Wed Sep 18, 2013 1:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

awootton wrote:I got it from here:-
http://www.skpang.co.uk/catalog/quick2w ... -1170.html

and the company website:-
http://quick2wire.com/products/quick2wi ... board-kit/

thanks for your input, Andrew
So... where's the MAX31855?
by tuckie
Wed Sep 18, 2013 12:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

awootton wrote:its the Quick2Wire board that I assembled from a kit - which is why I have been a bit suspicious that I might have a dry solder joint
Sorry, I can't find the board you're refering to, could you include a link?
by tuckie
Tue Sep 17, 2013 2:55 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

Which breakout board are you using? I want to make sure that you don't have any wires/pins crossed.
by tuckie
Tue Sep 17, 2013 1:46 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

Apologies for my rudimentary python knowledge. I'm trying to work out whether I have a hardware or software problem. No problem. 1) is the OK message in test_max31855/py indication that hardware is all fine? That's just for testing the conversion function for converting the bits to the proper tempe...
by tuckie
Wed Sep 11, 2013 2:10 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

Heads up to anyone using this, or looking to use this. I've released a version 2.0 that has removed all dependencies but the GPIO lib. I've converted to SPI bitbanging so no fancy SPI config is needed and you can use whatever pins you want. This came a result of me wanting to use more than two MAX31...
by tuckie
Mon May 20, 2013 3:01 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

Re: MAX31855 Thermocouple driver

http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Independent_slave_SPI_configuration The Raspberry Pi has support for two spi devices via CE0 and CE1. In the wiki article, it is SS1 and SS2 one_probe = MAX31855(0, "f") another_probe = MAX31855(1, "f") Note, I haven't actually tested this...
by tuckie
Sat Sep 22, 2012 6:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MAX31855 Thermocouple driver
Replies: 43
Views: 24711

MAX31855 Thermocouple driver

Just finished this up for those that are interested: https://github.com/Tuckie/max31855

Edit: version 2.0 released. More chips. Less dependencies.

Go to advanced search