Discussion Overview
The discussion revolves around concerns regarding data integrity when using long wires to connect temperature sensors to an Arduino board. Participants explore the implications of wire length on data transmission, particularly focusing on two specific sensors: the MLX90614 and the SainSmart Max6675. The conversation includes technical considerations related to communication protocols, voltage drop, and environmental factors affecting sensor performance.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
- Mathematical reasoning
- Experimental/applied
Main Points Raised
- Some participants suggest that using 24 AWG wire for a 5-foot connection should not cause significant voltage drop or data corruption, citing specific calculations related to the MLX90614 sensor.
- Concerns are raised about the impact of temperature on wire resistance and the need to avoid exceeding certain temperature thresholds.
- There is a discussion about the communication methods of the sensors, with the MLX90614 using PWM or SMBus and the SainSmart Max6675 using SPI, leading to questions about the suitability of each for long-distance connections.
- Some participants highlight the importance of noise in digital communications and suggest that significant noise could lead to confusion in data transmission.
- One participant mentions that I2C might be a better choice for connecting multiple sensors due to its slower data rate, while others note the challenges of using SPI over longer distances.
- Technical issues related to signal integrity, such as reflections and crosstalk, are discussed, with suggestions for mitigating these issues through the use of termination resistors and low-pass filters.
- Participants express uncertainty about the best practices for using Cat5e cables in this context and whether it is feasible to transmit data from the Arduino to a computer using such cables.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the best approach to take regarding sensor connections over long wires. Multiple competing views are presented about the suitability of I2C versus SPI, the impact of wire length on data integrity, and the effectiveness of various mitigation strategies for potential issues.
Contextual Notes
Participants mention various assumptions, such as the type of wire used and environmental conditions, which may affect the performance of the sensors. There are also unresolved questions regarding the practical implementation of suggested solutions, such as the use of termination resistors and the feasibility of using Cat5e cables.
Who May Find This Useful
This discussion may be useful for hobbyists and engineers working with Arduino projects involving temperature sensors, particularly those concerned with data transmission over longer distances and the technical challenges associated with it.