Commit Graph

23 Commits

Author SHA1 Message Date
SteWers bcf2bc5cf1
[SR04] fix mode 1 detection
Detection of sensors running in mode 1 fixed.
2022-02-17 19:16:24 +01:00
Theo Arends 101e787bb7 Fix SR04 sensor driver
Fix SR04 sensor driver regression from 2022.01.2
2022-02-04 14:53:42 +01:00
Theo Arends 3e555873f8 Fix US-100 serial detection
Fix US-100 serial detection (#14197)
2022-01-22 16:56:46 +01:00
Theo Arends 67ea8ddb6a Refactor SR04 driver
Refactor SR04 driver (#14197)
2022-01-20 13:37:48 +01:00
to-scho 6b8fc2d550 fix for wrong stupid logic 2022-01-18 15:42:45 +01:00
to-scho 0930f4679c fix mode 2 detection of sr04 2022-01-18 15:20:42 +01:00
Theo Arends 5a73aa1e1f Refactor serial config
Refactor serial config removing specific stopbit count and only support serial config constants (#14212)
2021-12-30 14:19:24 +01:00
Theo Arends b00b2708cb Fix HC-SR04 on ESP32
Fix HC-SR04 on ESP32 (#11507)
2021-03-30 17:58:29 +02:00
Theo Arends dd4f16526e Fix sensor coexistence 2021-03-23 12:57:56 +01:00
Theo Arends be46611f57 Increase SR04 max sensor detection distance
Increase SR04 max sensor detection distance to 500 (#11372)
2021-03-19 10:44:47 +01:00
Theo Arends ac054ea666 Refactor AddLog usage 2021-01-23 17:10:06 +01:00
Theo Arends 465ace923b Update xsns_22_sr04.ino
Fix compilation
2021-01-22 18:24:26 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
Theo Arends ae4ec4325d Change pin handling part 5 2020-04-27 17:16:52 +02:00
Theo Arends c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends 7dc0b153c4
Merge branch 'development' into development 2020-04-18 15:17:39 +02:00
Theo Arends 3a4cf26aba Enable single PIN mode for SR04 sensor
Enable single PIN mode for SR04 sensor (#8189)
2020-04-15 16:22:20 +02:00
VanillaFord 487f4a9191
if GPIO_SR04_TRIG is not configured use single PIN mode with GPIO_SR04_ECHO only
enable single PIN mode for SR04 sensor.
If pin GPIO_SR04_TRIG is not configured, use sensor interface in single PIN mode with GPIO_SR04_ECHO only
See as depicted in newping library, see:  https://bitbucket.org/teckel12/arduino-new-ping/wiki/Home#!single-pin-sketch
2020-04-15 09:36:23 +02:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
kristi5 b0a5479c3b JSN-SR04T add Mode 2 and Mode 3 2019-11-15 23:10:07 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00