Max Prokhorov
383d5a8a5d
DHTSensor: fix Si7021 compatibility ( #2000 )
* sensor: add DHT_CHIP_SI7021 references
* sensor: update DHT_TYPE definitions, use enum
* changelog
5 years ago
Maxim Prokhorov
08cfcbd2c1
sensor/dht: wait DHT_MIN_INTERVAL after initialization
5 years ago
Maxim Prokhorov
e1ed62af37
sensor/dht: set pin mode before digitalWrite
5 years ago
Maxim Prokhorov
5ae0eb88ac
sensor/dht: increase the delay per DHT22 datasheet
Operating specifications / Communication and signal
"Data-bus's free status is high voltage level. When communication
between MCU and DHT22 begin, program of MCU will transform data-bus's
voltage level from high to low level and this process must beyond at least
**1ms** to ensure DHT22 could detect MCU's signal, then MCU will wait 20-40us for
DHT22's response."
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
d2a4330511
Added support for DHT12 sensor (thanks to Altan Altay)
6 years ago
Maxim Prokhorov
8a0b3bca42
Fix compiler warnings
Add button definitions to the travis02 and travis03
IR_BUTTON should be uint32_t to properly work with new macro
eepromRotate return value is not used
6 years ago
Xose Pérez
8a999bb15a
Replacing delay with nice_delay
6 years ago
Xose Pérez
26a087dd7c
Check init status of sensors and re-init if they fail on boot ( #353 )
6 years ago
Xose Pérez
feffc290cc
Sensor type, value and slot methods should not set error values
6 years ago
Xose Pérez
c0215f0a16
Error reset on _pre for different sensors
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
170f0d543c
Option to publish address via MQTT for any sensor
6 years ago
Xose Pérez
c38911beae
Fix reference to sensor slot method
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
b9e158efe4
Using delay instead of delayMicroseconds on DHT warmup delay
7 years ago
Xose Pérez
6575f92df9
Fix timing for DHT11 sensor
7 years ago
Xose Pérez
e1baf48b9b
Option to disable completely new sensors module
7 years ago
Xose Pérez
3036676958
Check used GPIOs via locks
7 years ago
Xose Pérez
f3c494d5da
Support for ECH1560 energy monitor in new sensors, untested
7 years ago
Xose Pérez
956215eac5
Default slot method in BaseSensor class
7 years ago
Xose Pérez
6e839e3d72
Added sensor IDs
7 years ago
Xose Pérez
c975b11226
Tentative to sensor manifest
7 years ago
Xose Pérez
de4780efbc
Added getters for sensors
7 years ago
Xose Pérez
8728d55b7b
Change sensor API, force parameter-less constructors
7 years ago
Xose Pérez
ef04f72228
Headers for Sensor and Filter classes
7 years ago
Xose Pérez
7cc06d9892
Homogeneize sensor error codes
7 years ago
Xose Pérez
ebe0d5e410
Fixed DallasSensor
7 years ago
Xose Pérez
b2dd7e5b56
Migrate DS18B20 and counter to new sensor module
7 years ago
Xose Pérez
f6378d52e4
Some name refactoring
7 years ago
Xose Pérez
2299ce9bfd
Basic sensor scafolding, DHT 90% migrated
7 years ago