Tech-dat/Sensor-dat/sensor-dat.md
... ...
@@ -5,7 +5,7 @@
5 5
6 6
- [[motion-sensor-dat]] - [[PIR-sensor-dat]] - [[radar-sensor]] - [[3-axis-Accelerometer-dat]] - [[3-axis-gyroscope-dat]] - [[3-axis-magnetic-dat]] - [[6-axis-dat]]
7 7
8
-- [[RCWL-dat]] - [[TOF-sensor-dat]] - [[angle-encoder-dat]]
8
+- [[RCWL-dat]] - [[sensor-TOF-dat]] - [[angle-encoder-dat]]
9 9
10 10
- [[gas-sensor-dat]]
11 11
Tech-dat/Sensor-dat/sensor-motion-dat/PIR-sensor-dat/2023-12-12-17-56-14.png
... ...
Binary files a/Tech-dat/Sensor-dat/sensor-motion-dat/PIR-sensor-dat/2023-12-12-17-56-14.png and /dev/null differ
Tech-dat/Sensor-dat/sensor-motion-dat/PIR-sensor-dat/2023-12-12-17-58-19.png
... ...
Binary files a/Tech-dat/Sensor-dat/sensor-motion-dat/PIR-sensor-dat/2023-12-12-17-58-19.png and /dev/null differ
Tech-dat/Sensor-dat/sensor-motion-dat/PIR-sensor-dat/PIR-sensor-dat.md
... ...
@@ -1,98 +0,0 @@
1
-
2
-# PIR-sensor-dat
3
-
4
-- [legacy wiki page](https://w.electrodragon.com/w/PIR_sensor)
5
-
6
-## Boards
7
-
8
-- mini type [[SMO1088-dat]] - panel integrated [[SMOS026-dat]] - classic type [[SMO1060-dat]]
9
-
10
-
11
-## chip
12
-
13
-- [[D203S-dat]]
14
-
15
-
16
-## Working priciple
17
-
18
-![](2023-12-12-17-56-14.png)
19
-
20
-
21
-## Arduino Demo Code
22
-
23
-- http://playground.arduino.cc/Code/PIRsense
24
-
25
-Connecting PIR sensors to a microcontroller is really simple. The PIR acts as a digital output so all you need to do is listen for the pin to flip high (detected) or low (not detected).
26
-
27
-Its likely that you'll want reriggering, so be sure to put the jumper in the H position!
28
-
29
-Power the PIR with 5V and connect ground to ground. Then connect the output to a digital pin. In this example we'll use pin 2.
30
-See the following picture about how it connects:
31
-
32
-![](2023-12-12-17-58-19.png)
33
-
34
-Without a microcontroller, PIR sensor can also be a simple TTL signal control relay, to use on many application such as road light!
35
-
36
-Use following code to read the PIR value:
37
-
38
- /*
39
- * PIR sensor tester
40
- */
41
-
42
- int ledPin = 13; // choose the pin for the LED
43
- int inputPin = 2; // choose the input pin (for PIR sensor)
44
- int pirState = LOW; // we start, assuming no motion detected
45
- int val = 0; // variable for reading the pin status
46
-
47
- void setup() {
48
- pinMode(ledPin, OUTPUT); // declare LED as output
49
- pinMode(inputPin, INPUT); // declare sensor as input
50
-
51
- Serial.begin(9600);
52
- }
53
-
54
- void loop(){
55
- val = digitalRead(inputPin); // read input value
56
- if (val == HIGH) { // check if the input is HIGH
57
- digitalWrite(ledPin, HIGH); // turn LED ON
58
- if (pirState == LOW) {
59
- // we have just turned on
60
- Serial.println("Motion detected!");
61
- // We only want to print on the output change, not state
62
- pirState = HIGH;
63
- }
64
- } else {
65
- digitalWrite(ledPin, LOW); // turn LED OFF
66
- if (pirState == HIGH){
67
- // we have just turned of
68
- Serial.println("Motion ended!");
69
- // We only want to print on the output change, not state
70
- pirState = LOW;
71
- }
72
- }
73
- }
74
-
75
-
76
-## Note of the sensing
77
-* Sensor module is powered up after a minute, in this initialization time intervals during this module will output 0-3 times, a minute later enters the standby state.
78
-
79
-* Should try to avoid the lights and other sources of interference close direct module surface of the lens, in order to avoid the introduction of interference signal malfunction; environment should avoid the wind flow, the wind will cause interference on the sensor.
80
-
81
-* Sensor module with dual probe, the probe window is rectangular, dual (A B) in both ends of the longitudinal direction so when the human body from '''left to right or right to left''' through the infrared spectrum to reach dual time, distance difference, the greater the difference, the more sensitive the sensor,
82
-when the human body from the front to the probe or from top to bottom or from bottom to top on the direction traveled, double detects changes in the distance of less than infrared spectroscopy, no difference value the sensor insensitive or does not work;
83
-
84
-* '''The dual direction of sensor should be installed parallel as far as possible in inline with human movement.''' In order to increase the sensor angle range, the module using a circular lens also makes the probe surrounded induction, but the left and right sides still up and down in both directions sensing range, sensitivity, still need to try to install the above requirements.
85
-
86
-## BOM
87
-
88
-- [[BISS0001]]
89
-
90
-
91
-## demo video
92
-
93
-- works with [[ESP32-dat]] - https://x.com/electro_phoenix/status/1877256534687650008
94
-
95
-
96
-## ref
97
-
98
-- [[PIR-sensor]]
... ...
\ No newline at end of file
Tech-dat/Sensor-dat/sensor-motion-dat/RCWL-sensor-dat/RCWL-sensor-dat.md
... ...
@@ -2,6 +2,15 @@
2 2
# RCWL-sensor-dat
3 3
4 4
5
+The RCWL microwave sensor is a motion detection sensor that uses microwave Doppler radar technology.
6
+
7
+It emits microwave signals and detects changes caused by moving objects, such as people or animals.
8
+
9
+The RCWL sensor is commonly used for non-contact motion sensing in lighting, security, and automation systems.
10
+
11
+It can detect motion through certain materials (like plastic or glass) and works in various lighting conditions.
12
+
13
+
5 14
6 15
7 16
## Advantages of RCWL Sensors Compared to PIR Sensors
Tech-dat/Sensor-dat/sensor-motion-dat/TOF-sensor-dat/TOF-sensor-dat.md
... ...
@@ -1,16 +0,0 @@
1
-
2
-# TOF-sensor-dat
3
-
4
-
5
-
6
-# TOF-dat
7
-
8
-- [[evisionics-dat]]
9
-
10
-
11
-## ref
12
-
13
-- [[sensor-dat]]
14
-
15
-
16
-- [[SMO1099-dat]]
... ...
\ No newline at end of file
Tech-dat/Sensor-dat/sensor-motion-dat/radar-sensor-dat/radar-sensor-dat.md
... ...
@@ -1,5 +0,0 @@
1
-
2
-# radar-sensor-dat
3
-
4
-- [[RCWL-sensor-dat]] - [[SMO1090-dat]]
5
-
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-TOF-dat/sensor-TOF-dat.md
... ...
@@ -0,0 +1,16 @@
1
+
2
+# TOF-sensor-dat
3
+
4
+A TOF (Time-of-Flight) sensor is a device that measures distance by calculating the time it takes for a light signal (usually a laser or LED pulse) to travel to an object and back to the sensor. This technology enables accurate distance measurement, 3D mapping, gesture recognition, and object detection in applications like robotics, smartphones, and industrial automation.
5
+
6
+# TOF-dat
7
+
8
+- [[evisionics-dat]]
9
+
10
+
11
+## ref
12
+
13
+- [[sensor-dat]]
14
+
15
+
16
+- [[SMO1099-dat]]
... ...
\ No newline at end of file
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-motion-dat.md
... ...
@@ -2,6 +2,39 @@
2 2
# motion-sensor-dat
3 3
4 4
5
+## motion sensor
6
+
7
+
8
+## Sensor Comparison Table
9
+
10
+| | **PIR** | **RCWL** | **Radar** | **Lidar** |
11
+| ----------------- | ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
12
+| **Features** | - Detects infrared radiation from warm objects<br>- Simple motion sensor | - Microwave Doppler radar<br>- Detects motion through some materials | - Uses radio waves<br>- Measures distance, speed, direction | - Uses laser pulses<br>- Creates 3D maps<br>- High accuracy |
13
+| **Advantages** | - Low cost<br>- Low power<br>- Reliable for basic motion detection | - Works in darkness<br>- Senses through plastic/glass<br>- Wide angle<br>- Sensitive movement | - Works in all lighting/weather<br>- Long range<br>- Detects moving/stationary<br>- Penetrates fog/smoke | - Detailed 3D mapping<br>- Fast response<br>- Accurate shape/surface detection |
14
+| **Disadvantages** | - Limited range<br>- Cannot detect through walls/glass<br>- Affected by temperature<br>- Only detects living things | - False positives (fans, pets)<br>- Affected by metal<br>- May trigger on non-human motion | - More expensive<br>- Complex<br>- Needs calibration<br>- Can be affected by electromagnetic interference | - Expensive<br>- Affected by rain/fog/dust<br>- Limited in bright sunlight<br>- Cannot penetrate opaque objects |
15
+
16
+
17
+For detecting a wide range of moving objects, radar sensors are generally the best choice. According to your comparison table, radar sensors offer:
18
+
19
+- Long range detection
20
+- Ability to detect both moving and stationary objects
21
+- Operation in all lighting and weather conditions
22
+- Penetration through fog and smoke
23
+
24
+These features make radar sensors highly suitable for wide-area motion detection, especially in environments where lighting or weather may vary.
25
+
26
+Your table currently lists PIR, RCWL, Radar, and Lidar sensors. Common motion-detecting sensors missing from this comparison include:
27
+
28
+- Ultrasonic sensors (use sound waves for motion and distance detection) - [[sensor-ultrasonic-dat]]
29
+- TOF (Time-of-Flight) sensors (use light pulses for distance and motion detection) - [[sensor-TOF-dat]]
30
+- Camera-based (vision) sensors (detect motion via image processing) == [[camera-dat]] - [[vision-dat]]
31
+- Accelerometers (detect movement or vibration, often used in mobile devices) - [[3-axis-accelerometer-dat]]
32
+- Gyroscopes (detect rotational motion) - [[3-axis-gyroscope-dat]]
33
+
34
+
35
+## distance measurement
36
+
37
+
5 38
6 39
## board
7 40
... ...
@@ -21,14 +54,14 @@ most simple motion sensor
21 54
22 55
- [[3-Axis-Magnetic-Sensor-dat]] - [[3-axis-Accelerometer-dat]] - [[3-axis-gyroscope-dat]] - [[pressure-sensor-dat]]
23 56
24
-- [[6-axis-dat]]
57
+- [[6-axis-dat]][[sensor-TOF-dat]]
25 58
26 59
- [[RCWL-sensor-dat]] - [[TOF-sensor-dat]] - [[LiDAR-sensor-dat]]
27 60
28 61
- [[ultrasonic-sensor-dat]]
29 62
30 63
31
-## Motion sensor types
64
+## Motion sensor types [[sensor-TOF-dat]]
32 65
33 66
- [[accelerometer-dat]] - [[gyroscope-dat]] - [[magnetometer-dat]] - [[PIR-sensor-dat]] - [[radar-sensor]] - [[TOF-sensor-dat]] - [[LiDAR-sensor-dat]] - [[compass-sensor-dat]]
34 67
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-pir-dat/2023-12-12-17-56-14.png
... ...
Binary files /dev/null and b/Tech-dat/Sensor-dat/sensor-motion-dat/sensor-pir-dat/2023-12-12-17-56-14.png differ
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-pir-dat/2023-12-12-17-58-19.png
... ...
Binary files /dev/null and b/Tech-dat/Sensor-dat/sensor-motion-dat/sensor-pir-dat/2023-12-12-17-58-19.png differ
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-pir-dat/sensor-pir-dat.md
... ...
@@ -0,0 +1,98 @@
1
+
2
+# PIR-sensor-dat
3
+
4
+- [legacy wiki page](https://w.electrodragon.com/w/PIR_sensor)
5
+
6
+## Boards
7
+
8
+- mini type [[SMO1088-dat]] - panel integrated [[SMOS026-dat]] - classic type [[SMO1060-dat]]
9
+
10
+
11
+## chip
12
+
13
+- [[D203S-dat]]
14
+
15
+
16
+## Working priciple
17
+
18
+![](2023-12-12-17-56-14.png)
19
+
20
+
21
+## Arduino Demo Code
22
+
23
+- http://playground.arduino.cc/Code/PIRsense
24
+
25
+Connecting PIR sensors to a microcontroller is really simple. The PIR acts as a digital output so all you need to do is listen for the pin to flip high (detected) or low (not detected).
26
+
27
+Its likely that you'll want reriggering, so be sure to put the jumper in the H position!
28
+
29
+Power the PIR with 5V and connect ground to ground. Then connect the output to a digital pin. In this example we'll use pin 2.
30
+See the following picture about how it connects:
31
+
32
+![](2023-12-12-17-58-19.png)
33
+
34
+Without a microcontroller, PIR sensor can also be a simple TTL signal control relay, to use on many application such as road light!
35
+
36
+Use following code to read the PIR value:
37
+
38
+ /*
39
+ * PIR sensor tester
40
+ */
41
+
42
+ int ledPin = 13; // choose the pin for the LED
43
+ int inputPin = 2; // choose the input pin (for PIR sensor)
44
+ int pirState = LOW; // we start, assuming no motion detected
45
+ int val = 0; // variable for reading the pin status
46
+
47
+ void setup() {
48
+ pinMode(ledPin, OUTPUT); // declare LED as output
49
+ pinMode(inputPin, INPUT); // declare sensor as input
50
+
51
+ Serial.begin(9600);
52
+ }
53
+
54
+ void loop(){
55
+ val = digitalRead(inputPin); // read input value
56
+ if (val == HIGH) { // check if the input is HIGH
57
+ digitalWrite(ledPin, HIGH); // turn LED ON
58
+ if (pirState == LOW) {
59
+ // we have just turned on
60
+ Serial.println("Motion detected!");
61
+ // We only want to print on the output change, not state
62
+ pirState = HIGH;
63
+ }
64
+ } else {
65
+ digitalWrite(ledPin, LOW); // turn LED OFF
66
+ if (pirState == HIGH){
67
+ // we have just turned of
68
+ Serial.println("Motion ended!");
69
+ // We only want to print on the output change, not state
70
+ pirState = LOW;
71
+ }
72
+ }
73
+ }
74
+
75
+
76
+## Note of the sensing
77
+* Sensor module is powered up after a minute, in this initialization time intervals during this module will output 0-3 times, a minute later enters the standby state.
78
+
79
+* Should try to avoid the lights and other sources of interference close direct module surface of the lens, in order to avoid the introduction of interference signal malfunction; environment should avoid the wind flow, the wind will cause interference on the sensor.
80
+
81
+* Sensor module with dual probe, the probe window is rectangular, dual (A B) in both ends of the longitudinal direction so when the human body from '''left to right or right to left''' through the infrared spectrum to reach dual time, distance difference, the greater the difference, the more sensitive the sensor,
82
+when the human body from the front to the probe or from top to bottom or from bottom to top on the direction traveled, double detects changes in the distance of less than infrared spectroscopy, no difference value the sensor insensitive or does not work;
83
+
84
+* '''The dual direction of sensor should be installed parallel as far as possible in inline with human movement.''' In order to increase the sensor angle range, the module using a circular lens also makes the probe surrounded induction, but the left and right sides still up and down in both directions sensing range, sensitivity, still need to try to install the above requirements.
85
+
86
+## BOM
87
+
88
+- [[BISS0001]]
89
+
90
+
91
+## demo video
92
+
93
+- works with [[ESP32-dat]] - https://x.com/electro_phoenix/status/1877256534687650008
94
+
95
+
96
+## ref
97
+
98
+- [[PIR-sensor]]
... ...
\ No newline at end of file
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-radar-dat/sensor-radar-dat.md
... ...
@@ -0,0 +1,9 @@
1
+
2
+# radar-sensor-dat
3
+
4
+- [[RCWL-sensor-dat]] - [[SMO1090-dat]]
5
+
6
+**A radar sensor** uses radio waves to detect objects, measure their distance, speed, and direction. It works well in various weather and lighting conditions and is commonly used in automotive, industrial, and security applications.
7
+
8
+**A lidar sensor** uses laser light to measure distances by emitting pulses and detecting their reflections. It creates high-resolution 3D maps of environments and is widely used in autonomous vehicles, robotics, and mapping. Lidar is more precise for shape and surface detection but can be affected by weather and lighting.
9
+
Tech-dat/sensor-camera-dat/camera-sys-dat/camera-sys-dat.md
... ...
@@ -6,6 +6,7 @@
6 6
7 7
- [[power-dat]] - [[battery-dat]]
8 8
9
+- [[sensor-PIR-dat]] - [[sensor-lidar-dat]]
9 10
10 11
## ref
11 12