Updated LM75AD (markdown)

Michael Ingraham 2019-06-14 14:23:59 -04:00
parent 19fd630ac2
commit 903def0bae
1 changed files with 6 additions and 6 deletions

@ -1,10 +1,10 @@
## LM75AD I2C Temperature Sensor ## LM75AD I<sub>2</sub>C Temperature Sensor
### Features ### Features
* Pin-for-pin replacement for industry standard LM75 and offers improved temperature resolution of 0.125°C and Specification of a single part over power supply range from 2.8 V to 5.5 V * Pin-for-pin replacement for industry standard LM75 and offers improved temperature resolution of 0.125°C and Specification of a single part over power supply range from 2.8 V to 5.5 V
* Small 8-pin package types: SO8 and TSSOP8 * Small 8-pin package types: SO8 and TSSOP8
* I2C-bus interface with up to 8 devices on the same bus * I<sub>2</sub>C-bus interface with up to 8 devices on the same bus
* Power supply range from 2.8 V to 5.5 V _**(Note that for use the ESP8266 you must limit this to 3.3V as the GPIO pins of the ESP8266 are not 5V tolerant)**_ * Power supply range from 2.8 V to 5.5 V _**(Note that for use the ESP8266 you must limit this to 3.3V as the GPIO pins of the ESP8266 are not 5V tolerant)**_
* Temperatures range from 55°C to +125°C * Temperatures range from 55°C to +125°C
* 11-bit ADC that offers a temperature resolution of 0.125°C * 11-bit ADC that offers a temperature resolution of 0.125°C
@ -29,17 +29,17 @@ Can also be used standalone if soldered to a board given the diagram is used
![Circuit](https://github.com/andrethomas/images/raw/master/lm75ad/SimpleCircuit.png) ![Circuit](https://github.com/andrethomas/images/raw/master/lm75ad/SimpleCircuit.png)
R1 and R2 are pull-up resistors which are required by the I2C bus to operate properly. If you have other I2C sensors with pull-up resistors connected to the same I2C bus it's probably not necessary to have them. R1 and R2 are pull-up resistors which are required by the I<sub>2</sub>C bus to operate properly. If you have other I<sub>2</sub>C sensors with pull-up resistors connected to the same I<sub>2</sub>C bus it's probably not necessary to have them.
### Hardware Configuration ### Hardware Configuration
For connection to the ESP8266 I2C bus it is important to connect the SCL and SDA pins according to how the Sonoff firmware was configured. For connection to the ESP8266 I<sub>2</sub>C bus it is important to connect the SCL and SDA pins according to how the Sonoff firmware was configured.
The driver must be enabled in the firmware's user_config.h file by ensuring that the USE_I2C and USE_LM75AD lines are uncommented. The driver must be enabled in the firmware's my_user_config.h file by ensuring that the USE_I2C and USE_LM75AD lines are uncommented.
The driver currently only allows the use of a single LM75AD sensor on any of the addresses configurable through pins A0, A1 and A2 - These are usually conveniently broken out on a breakout board either as pins or as solderable joins as can be seen on the example breakout board provided in the images above. The driver currently only allows the use of a single LM75AD sensor on any of the addresses configurable through pins A0, A1 and A2 - These are usually conveniently broken out on a breakout board either as pins or as solderable joins as can be seen on the example breakout board provided in the images above.
These pins need to be either tied down to GND or VCC (3.3V) and the resulting I2C address will be set during power-up according to the datasheet as follows These pins need to be either tied down to GND or VCC (3.3V) and the resulting I<sub>2</sub>C address will be set during power-up according to the datasheet as follows
![Address MAP](https://github.com/andrethomas/images/raw/master/lm75ad/Address_Map.png) ![Address MAP](https://github.com/andrethomas/images/raw/master/lm75ad/Address_Map.png)