mirror of https://github.com/arendst/Tasmota.git
Updated LM75AD (markdown)
parent
849fb6fdae
commit
d65e7e0819
22
LM75AD.md
22
LM75AD.md
|
@ -1,18 +1,18 @@
|
|||
## LM75AD I<sub>2</sub>C Temperature Sensor
|
||||
## LM75AD I<sup>2</sup>C Temperature Sensor
|
||||
|
||||
### 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
|
||||
* Small 8-pin package types: SO8 and TSSOP8
|
||||
* I<sub>2</sub>C-bus interface with up to 8 devices on the same bus
|
||||
* I<sup>2</sup>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)**_
|
||||
* 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
|
||||
* Temperature accuracy of:
|
||||
* ±2°C from −25°C to +100°C
|
||||
* ±3°C from −55°C to +125°C
|
||||
* ±2°C from -25°C to +100°C
|
||||
* ±3°C from -55°C to +125°C
|
||||
* Programmable temperature threshold and hysteresis set points _**(Not used in the LM75AD driver at this stage)**_
|
||||
* Supply current of 3.5μA in shutdown mode for power conservation
|
||||
* Supply current of 3.5µA in shutdown mode for power conservation
|
||||
* Stand-alone operation as thermostat at power-up _**(Not used in the LM75AD driver at this stage)**_
|
||||
* ESD protection exceeds 2000 V HBM per JESD22-A114, 200 V MM per JESD22-A115 and 1000 V CDM per JESD22-C101
|
||||
* Latch-up testing is done to JEDEC Standard JESD78 which exceeds 100 mA
|
||||
|
@ -29,22 +29,20 @@ 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)
|
||||
|
||||
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.
|
||||
R1 and R2 are pull-up resistors which are required by the I<sup>2</sup>C bus to operate properly. If you have other I<sup>2</sup>C sensors with pull-up resistors connected to the same I<sup>2</sup>C bus it's probably not necessary to have them.
|
||||
|
||||
### Hardware Configuration
|
||||
|
||||
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.
|
||||
For connection to the ESP8266 I<sup>2</sup>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 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.
|
||||
|
||||
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
|
||||
These pins need to be either tied down to GND or VCC (3.3V) and the resulting I<sup>2</sup>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)
|
||||
|
||||
### Expected Behaviour
|
||||
|
||||
Once connected correctly (be it using a breakout board or just manually soldered) the Sonoff Tasmota firmware should detect the sensor automatically and start pushing out telemetry data.
|
||||
|
||||
|
||||
Once connected correctly (be it using a breakout board or just manually soldered) the Sonoff Tasmota firmware should detect the sensor automatically and start pushing out telemetry data.
|
Loading…
Reference in New Issue