Read Temperature With One Digital Output And One Digital Input

March 4, 2002
Before the MAX6629/30/31/32 series of temperature sensors were available, all digital-output temperature sensors were I2C (alternatively called SMBus) sensors that had to be written to for addressing, before they were read. Prior SPI...

Before the MAX6629/30/31/32 series of temperature sensors were available, all digital-output temperature sensors were I2C (alternatively called SMBus) sensors that had to be written to for addressing, before they were read. Prior SPI sensors also required writing. Because the MAX66xx series sensors are read-only, data can be obtained by simply clocking them. But there's one tiny complication—they use a chip-select line.

You can get around the need for an additional logic line to drive the chip-select line with the circuit shown in Figure 1. Only one digital output and one digital input are necessary to communicate with a MAX66xx device by simply clocking it to retrieve the digital data.

Normally, serial-interface temperature sensors require three interface lines: --CS, SO, and SCK, the functions of which are depicted in the timing diagram in Figure 2. If only two lines are available, Clock and Data, this circuit makes it possible to communicate with the device without a separate --CS line. This method requires that the "rest" or quiescent state of the clock be high, modifying the above timing diagram accordingly.

The circuit operates by generating a --CS signal from the clock. When the clock initially goes low, it pulls down the --CS line via Schottky diode D1. Set the time constant of R1 and C1 so that the --CS line rises to no higher than 0.3 × VCC between clock pulses. The resultant slow rise of --CS must be greater than 0.7 × VCC for at least 0.5 s between reads to let the devices perform temperature-to-digital conversions.

Sponsored Recommendations

Board-Mount DC/DC Converters in Medical Applications

March 27, 2024
AC/DC or board-mount DC/DC converters provide power for medical devices. This article explains why isolation might be needed and which safety standards apply.

Use Rugged Multiband Antennas to Solve the Mobile Connectivity Challenge

March 27, 2024
Selecting and using antennas for mobile applications requires attention to electrical, mechanical, and environmental characteristics: TE modules can help.

Out-of-the-box Cellular and Wi-Fi connectivity with AWS IoT ExpressLink

March 27, 2024
This demo shows how to enroll LTE-M and Wi-Fi evaluation boards with AWS IoT Core, set up a Connected Health Solution as well as AWS AT commands and AWS IoT ExpressLink security...

How to Quickly Leverage Bluetooth AoA and AoD for Indoor Logistics Tracking

March 27, 2024
Real-time asset tracking is an important aspect of Industry 4.0. Various technologies are available for deploying Real-Time Location.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!