Board-dat/STH/STH1029-dat/STH1029-dat.md
... ...
@@ -1,139 +1,142 @@
1
-# STH1029-dat
2
-
3
-
4
-## board
5
-
6
-[Heart Rate Monitor, ECG, Single Lead, AD8232](https://www.electrodragon.com/product/single-lead-heart-rate-monitor-ad8232/)
7
-
8
-
9
-
10
-
11
-## info
12
-
13
-- [[AD8232-dat]]
14
-
15
-[[sensor-bio-ECG-dat]] - [[sensor-bio-heart-rate-dat]] - [[sensor-bio-dat]]
16
-
17
-
18
-
19
-![](2026-01-17-14-49-33.png)
20
-
21
-FEATURES
22
-- Small Form Factor (1inch X 1inch)
23
-- Specially Designed For Microcontrollers
24
-- Adjustable Gain – Improved Ruggedness
25
-- New On‐board 3.5mm Cable Port
26
-- Pins Fit Easily on Standard Breadboards
27
-
28
-APPLICATIONS
29
-- Video games
30
-- Robots
31
-- Medical Devices
32
-- Wearable/Mobile Electronics
33
-- Powered Exoskeleton suits
34
-
35
-What is electromyography?
36
-
37
-Measuring muscle activation via electric potential, referred to as electromyography (EMG), has
38
-traditionally been used for medical research and diagnosis of neuromuscular disorders. However,
39
-with the advent of ever shrinking yet more powerful microcontrollers and integrated circuits, EMG
40
-circuits and sensors have found their way into prosthetics, robotics and other control systems.
41
-
42
-![](2026-01-17-14-51-12.png)
43
-
44
-
45
-
46
-1) Connect the power supply (two 9V batteries)
47
-- a. Connect the positive terminal of the first 9V battery to the +Vs pin on your sensor.
48
-- b. Connect the negative terminal of the first 9V battery to the positive terminal of the  second 9V battery. Then connect to the GND pin on your sensor.
49
-- c. Connect the negative terminal of the second 9V battery to the –Vs pin of your sensor.
50
-
51
-2) Connect the electrodes
52
-- a. After determining which muscle group you want to target (e.g. bicep, forearm, calf),  clean the skin thoroughly.
53
-- b. Place one electrode in the middle of the muscle body, connect this electrode to the  RED Cable’s snap connector.
54
-- c. Place a second electrode at one end of the muscle body, connect this electrode to  the Blue Cable’s snap connector. 
55
-- d. Place a third electrode on a bony or non‐muscular part of your body near the  targeted muscle, connect this electrode to the Black Cable’s snap connector.
56
-
57
-3) Connect to a Microcontroller (e.g. Arduino)
58
-- a. Connect the SIG pin of your sensor to an analog pin on the Arduino (e.g. A0)
59
-- b. Connect the GND pin of your sensor to a GND pin on the Arduino.
60
-
61
-![](2026-01-17-14-52-25.png)
62
-
63
-- [[TL08-dat]] - [[amplifier-dat]]
64
-
65
-## Electrical Specifications
66
-
67
-| Parameter | Min | TYP | Max |
68
-| -------------------------------------------- | --------------- | --------------- | ---------------- |
69
-| Power Supply Voltage (Vs) | ±3V | ±5V | ±30V |
70
-| Gain Setting, Gain = 207*(X /1 kΩ) | 0.01 Ω (0.002x) | 50 kΩ (10,350x) | 100 kΩ (20,700x) |
71
-| Output Signal Voltage (Rectified & Smoothed) | 0V | - | +Vs |
72
-| Differential Input Voltage | 0 mV | 2-5 mV | +Vs/Gain |
73
-
74
-## EMG
75
-
76
-![](2026-01-17-14-53-00.png)
77
-
78
-
79
-## AD8232 Sensor Module
80
-
81
-### Single-Lead Heart Rate Monitoring Front-End
82
-
83
-AD8232 is an integrated front-end designed for signal conditioning of cardiac bioelectric signals for heart rate monitoring.
84
-
85
-It is an integrated signal conditioning module for ECG and other bioelectric measurement applications. The device is designed to extract, amplify, and filter weak bioelectric signals in the presence of noise from motion or remote electrode placement. This design allows ultra-low power analog-to-digital converters (ADC) or embedded microcontrollers to easily acquire the output signal.
86
-
87
-AD8232 uses a two-pole high-pass filter to eliminate motion artifacts and electrode half-cell potentials. This filter is tightly coupled with the instrumentation amplifier structure to achieve single-stage high gain and high-pass filtering, thereby saving space and cost.
88
-
89
-AD8232 uses an unconstrained operational amplifier to create a three-pole low-pass filter, eliminating additional noise. Users can select the cutoff frequencies of all filters to meet the needs of different types of applications.
90
-
91
-To improve the common-mode rejection performance of system line frequency and other unwanted interference, AD8232 has a built-in amplifier for driven lead applications such as right leg drive (RLD).
92
-
93
-AD8232 includes a fast recovery feature that reduces the long settling tail of the high-pass filter. If the amplifier rail voltage experiences a signal glitch (such as lead-off), AD8232 will automatically adjust to a higher filter cutoff state. This feature allows AD8232 to achieve fast recovery, thus obtaining valid measurements as soon as possible after the leads are connected to the subject's electrodes.
94
-
95
-The guaranteed performance temperature range is 0°C to 70°C, and the operating temperature range is -40°C to +85°C.
96
-
97
-### Applications
98
-
99
-- Fitness and sports heart rate monitoring
100
-- Portable [[sensor-bio-ECG-dat]]
101
-- Remote health monitoring
102
-- Gaming peripherals
103
-- Bioelectric signal acquisition
104
-
105
-### Pin Descriptions
106
-
107
-| Number | Name | Description |
108
-| ------ | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
109
-| 1 | HPDRIVE | High-pass driver output. HPDRIVE should be connected to the capacitor in the first high-pass filter. AD8232 drives this pin to keep HPSENSE at the same level as the reference voltage. |
110
-| 2 | +IN | Instrumentation amplifier positive input. +IN is typically connected to the left arm (LA) electrode. |
111
-| 3 | −IN | Instrumentation amplifier negative input. −IN is typically connected to the right arm (RA) electrode. |
112
-| 4 | RLDFB | Right leg drive feedback input. RLDFB is the feedback pin for the right leg drive circuit. |
113
-| 5 | RLD | Right leg drive output. The drive electrode (usually right leg) should be connected to the RLD pin. |
114
-| 6 | SW | Fast recovery switch pin. This pin should be connected to the output of the second high-pass filter. |
115
-| 7 | OPAMP+ | Operational amplifier non-inverting input. |
116
-| 8 | REFOUT | Reference voltage buffer output. The instrumentation amplifier output references this potential. REFOUT should be used as a virtual ground for any point in the circuit that requires a reference signal. |
117
-| 9 | OPAMP− | Operational amplifier inverting input. |
118
-| 10 | OUT | Operational amplifier output. This output provides the fully conditioned heart rate signal. OUT can be connected to the input of an ADC. |
119
-| 11 | LOD− | Lead-off comparator output. In DC lead-off detection mode, LOD− is high when disconnected from the −IN electrode, otherwise low. In AC lead-off detection mode, LOD− is always low. |
120
-| 12 | LOD+ | Lead-off comparator output. In DC lead-off detection mode, LOD+ is high when disconnected from the +IN electrode, otherwise low. In AC lead-off detection mode, LOD+ is high when either −IN or +IN electrode is disconnected, low when both are connected. |
121
-| 13 | SDN | Shutdown control input. Driving SDN low enters low-power shutdown mode. |
122
-| 14 | AC/DC | Lead-off mode control input. For DC lead-off mode, drive AC/DC low. For AC lead-off mode, drive AC/DC high. |
123
-| 15 | FR | Fast recovery control input. Driving FR high enables fast recovery mode; otherwise, drive it low. |
124
-| 16 | GND | Power ground. |
125
-| 17 | +VS | Power supply pin. |
126
-| 18 | REFIN | Reference voltage buffer input. REFIN (high impedance input) can be used to set the level of the reference voltage buffer. |
127
-| 19 | IAOUT | Instrumentation amplifier output pin. |
128
-| 20 | HPSENSE | Instrumentation amplifier high-pass sense input. HPSENSE should be connected to the R and C node that sets the high-pass filter corner frequency. |
129
-| EP | Exposed Pad | Exposed pad. The exposed pad should be connected to GND or left unconnected. |
130
-
131
-
132
-## demo code
133
-
134
-- [[bitalino-android-example-master.zip]] - [[MuscleSensor_Arduino.zip]] - [[MuscleSensor_Processing.zip]]
135
-
136
-
137
-## ref
138
-
1
+# STH1029-dat
2
+
3
+
4
+## board
5
+
6
+[Heart Rate Monitor, ECG, Single Lead, AD8232](https://www.electrodragon.com/product/single-lead-heart-rate-monitor-ad8232/)
7
+
8
+
9
+
10
+## tech
11
+
12
+- [[AC-blocking-dat]] - [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]] - [[LC-circuits-dat]] - [[NE555-Astable-dat]] - [[HLW8012-dat]] - [[STH1029-dat]] - [[current-transformer-dat]]
13
+
14
+## in
15
+
16
+- [[AD8232-dat]]
17
+
18
+[[sensor-bio-ECG-dat]] - [[sensor-bio-heart-rate-dat]] - [[sensor-bio-dat]]
19
+
20
+
21
+
22
+![](2026-01-17-14-49-33.png)
23
+
24
+FEATURES
25
+- Small Form Factor (1inch X 1inch)
26
+- Specially Designed For Microcontrollers
27
+- Adjustable Gain – Improved Ruggedness
28
+- New On‐board 3.5mm Cable Port
29
+- Pins Fit Easily on Standard Breadboards
30
+
31
+APPLICATIONS
32
+- Video games
33
+- Robots
34
+- Medical Devices
35
+- Wearable/Mobile Electronics
36
+- Powered Exoskeleton suits
37
+
38
+What is electromyography?
39
+
40
+Measuring muscle activation via electric potential, referred to as electromyography (EMG), has
41
+traditionally been used for medical research and diagnosis of neuromuscular disorders. However,
42
+with the advent of ever shrinking yet more powerful microcontrollers and integrated circuits, EMG
43
+circuits and sensors have found their way into prosthetics, robotics and other control systems.
44
+
45
+![](2026-01-17-14-51-12.png)
46
+
47
+
48
+
49
+1) Connect the power supply (two 9V batteries)
50
+- a. Connect the positive terminal of the first 9V battery to the +Vs pin on your sensor.
51
+- b. Connect the negative terminal of the first 9V battery to the positive terminal of the  second 9V battery. Then connect to the GND pin on your sensor.
52
+- c. Connect the negative terminal of the second 9V battery to the –Vs pin of your sensor.
53
+
54
+2) Connect the electrodes
55
+- a. After determining which muscle group you want to target (e.g. bicep, forearm, calf),  clean the skin thoroughly.
56
+- b. Place one electrode in the middle of the muscle body, connect this electrode to the  RED Cable’s snap connector.
57
+- c. Place a second electrode at one end of the muscle body, connect this electrode to  the Blue Cable’s snap connector. 
58
+- d. Place a third electrode on a bony or non‐muscular part of your body near the  targeted muscle, connect this electrode to the Black Cable’s snap connector.
59
+
60
+3) Connect to a Microcontroller (e.g. Arduino)
61
+- a. Connect the SIG pin of your sensor to an analog pin on the Arduino (e.g. A0)
62
+- b. Connect the GND pin of your sensor to a GND pin on the Arduino.
63
+
64
+![](2026-01-17-14-52-25.png)
65
+
66
+- [[TL08-dat]] - [[amplifier-dat]]
67
+
68
+## Electrical Specifications
69
+
70
+| Parameter | Min | TYP | Max |
71
+| -------------------------------------------- | --------------- | --------------- | ---------------- |
72
+| Power Supply Voltage (Vs) | ±3V | ±5V | ±30V |
73
+| Gain Setting, Gain = 207*(X /1 kΩ) | 0.01 Ω (0.002x) | 50 kΩ (10,350x) | 100 kΩ (20,700x) |
74
+| Output Signal Voltage (Rectified & Smoothed) | 0V | - | +Vs |
75
+| Differential Input Voltage | 0 mV | 2-5 mV | +Vs/Gain |
76
+
77
+## EMG
78
+
79
+![](2026-01-17-14-53-00.png)
80
+
81
+
82
+## AD8232 Sensor Module
83
+
84
+### Single-Lead Heart Rate Monitoring Front-End
85
+
86
+AD8232 is an integrated front-end designed for signal conditioning of cardiac bioelectric signals for heart rate monitoring.
87
+
88
+It is an integrated signal conditioning module for ECG and other bioelectric measurement applications. The device is designed to extract, amplify, and filter weak bioelectric signals in the presence of noise from motion or remote electrode placement. This design allows ultra-low power analog-to-digital converters (ADC) or embedded microcontrollers to easily acquire the output signal.
89
+
90
+AD8232 uses a two-pole high-pass filter to eliminate motion artifacts and electrode half-cell potentials. This filter is tightly coupled with the instrumentation amplifier structure to achieve single-stage high gain and high-pass filtering, thereby saving space and cost.
91
+
92
+AD8232 uses an unconstrained operational amplifier to create a three-pole low-pass filter, eliminating additional noise. Users can select the cutoff frequencies of all filters to meet the needs of different types of applications.
93
+
94
+To improve the common-mode rejection performance of system line frequency and other unwanted interference, AD8232 has a built-in amplifier for driven lead applications such as right leg drive (RLD).
95
+
96
+AD8232 includes a fast recovery feature that reduces the long settling tail of the high-pass filter. If the amplifier rail voltage experiences a signal glitch (such as lead-off), AD8232 will automatically adjust to a higher filter cutoff state. This feature allows AD8232 to achieve fast recovery, thus obtaining valid measurements as soon as possible after the leads are connected to the subject's electrodes.
97
+
98
+The guaranteed performance temperature range is 0°C to 70°C, and the operating temperature range is -40°C to +85°C.
99
+
100
+### Applications
101
+
102
+- Fitness and sports heart rate monitoring
103
+- Portable [[sensor-bio-ECG-dat]]
104
+- Remote health monitoring
105
+- Gaming peripherals
106
+- Bioelectric signal acquisition
107
+
108
+### Pin Descriptions
109
+
110
+| Number | Name | Description |
111
+| ------ | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
112
+| 1 | HPDRIVE | High-pass driver output. HPDRIVE should be connected to the capacitor in the first high-pass filter. AD8232 drives this pin to keep HPSENSE at the same level as the reference voltage. |
113
+| 2 | +IN | Instrumentation amplifier positive input. +IN is typically connected to the left arm (LA) electrode. |
114
+| 3 | −IN | Instrumentation amplifier negative input. −IN is typically connected to the right arm (RA) electrode. |
115
+| 4 | RLDFB | Right leg drive feedback input. RLDFB is the feedback pin for the right leg drive circuit. |
116
+| 5 | RLD | Right leg drive output. The drive electrode (usually right leg) should be connected to the RLD pin. |
117
+| 6 | SW | Fast recovery switch pin. This pin should be connected to the output of the second high-pass filter. |
118
+| 7 | OPAMP+ | Operational amplifier non-inverting input. |
119
+| 8 | REFOUT | Reference voltage buffer output. The instrumentation amplifier output references this potential. REFOUT should be used as a virtual ground for any point in the circuit that requires a reference signal. |
120
+| 9 | OPAMP− | Operational amplifier inverting input. |
121
+| 10 | OUT | Operational amplifier output. This output provides the fully conditioned heart rate signal. OUT can be connected to the input of an ADC. |
122
+| 11 | LOD− | Lead-off comparator output. In DC lead-off detection mode, LOD− is high when disconnected from the −IN electrode, otherwise low. In AC lead-off detection mode, LOD− is always low. |
123
+| 12 | LOD+ | Lead-off comparator output. In DC lead-off detection mode, LOD+ is high when disconnected from the +IN electrode, otherwise low. In AC lead-off detection mode, LOD+ is high when either −IN or +IN electrode is disconnected, low when both are connected. |
124
+| 13 | SDN | Shutdown control input. Driving SDN low enters low-power shutdown mode. |
125
+| 14 | AC/DC | Lead-off mode control input. For DC lead-off mode, drive AC/DC low. For AC lead-off mode, drive AC/DC high. |
126
+| 15 | FR | Fast recovery control input. Driving FR high enables fast recovery mode; otherwise, drive it low. |
127
+| 16 | GND | Power ground. |
128
+| 17 | +VS | Power supply pin. |
129
+| 18 | REFIN | Reference voltage buffer input. REFIN (high impedance input) can be used to set the level of the reference voltage buffer. |
130
+| 19 | IAOUT | Instrumentation amplifier output pin. |
131
+| 20 | HPSENSE | Instrumentation amplifier high-pass sense input. HPSENSE should be connected to the R and C node that sets the high-pass filter corner frequency. |
132
+| EP | Exposed Pad | Exposed pad. The exposed pad should be connected to GND or left unconnected. |
133
+
134
+
135
+## demo code
136
+
137
+- [[bitalino-android-example-master.zip]] - [[MuscleSensor_Arduino.zip]] - [[MuscleSensor_Processing.zip]]
138
+
139
+
140
+## ref
141
+
139 142
- [[AD8232-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-HDK-dat/2026-07-15-16-29-39.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-HDK-dat/2026-07-15-16-29-39.png differ
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-HDK-dat/2026-07-15-16-45-54.png
... ...
Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-HDK-dat/2026-07-15-16-45-54.png differ
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-HDK-dat/ESP32-S3-HDK-dat.md
... ...
@@ -1,21 +1,30 @@
1
-
2
-# ESP32-S3-HDK-dat
3
-
4
-- [[ESP32-S3-WROOM-1-dat]] - [[ESP32-S3-module-dat]] - [[ESP32-S3-chip-dat]]
5
-
6
-- [[ESP32-S3-board-dat]]
7
-
8
-
9
-
10
-## strap pins
11
-
12
-![](2026-01-19-14-41-54.png)
13
-
14
-
15
-
16
-
17
-
18
-
19
-## ref
20
-
21
-- [[ESP32-S3-dat]]
1
+
2
+# ESP32-S3-HDK-dat
3
+
4
+- [[ESP32-S3-WROOM-1-dat]] - [[ESP32-S3-module-dat]] - [[ESP32-S3-chip-dat]]
5
+
6
+- [[ESP32-S3-board-dat]]
7
+
8
+- [[ESP32-HDK-dat]] - [[ESP32-S3-HDK-dat]] - [[ESP32-C3-HDK-dat]]
9
+
10
+## strap pins
11
+
12
+![](2026-01-19-14-41-54.png)
13
+
14
+
15
+## build
16
+
17
+- [[SPI-dat]] - [[serial-dat]] - [[ESP32-S3-HDK-dat]] - [[74HC4067-dat]] - [[LED-RGB-dat]]
18
+
19
+
20
+![](2026-07-15-16-29-39.png)
21
+
22
+
23
+### program
24
+
25
+![](2026-07-15-16-45-54.png)
26
+
27
+
28
+## ref
29
+
30
+- [[ESP32-S3-dat]]
Chip-cn-dat/HLW-dat/HLW8012-dat/HLW8012-dat.md
... ...
@@ -1,104 +1,104 @@
1
-
2
-# HLW8012-dat
3
-
4
-- [legacy wiki page ](https://w.electrodragon.com/w/HLW8012)
5
-
6
-## Chip Info
7
-
8
-![](2024-08-05-17-18-12.png)
9
-
10
-### Hardware Design Note
11
-* Board AC Mains is be NOT isolated.
12
-* Better use optical-coupler to send isolated signal to your MCU.
13
-* MCU better use seperated power supply to HLW8012.
14
-
15
-#### other note
16
-* Built-in crystal, 2.43V voltage reference source and power monitoring circuit
17
-* 5V single power supply, operating current less than 3mA
18
-
19
-## Application
20
-
21
-![](2024-08-05-17-20-03.png)
22
-
23
-As shown in Figure 3, the power supply the HLW8012 should be in parallel with two small capacitors to filter out the noise from the grid.
24
-
25
-- The signal of current channel is provided by the current diverter.
26
-- The signal of voltage channel is provided by the resistor network.
27
-
28
-CF, CF1, SEL connect to the input port of the MCU. MCU measure the pulse periods of CF and CF1, then calculate the active power, current RMS and voltageRMS
29
-
30
-
31
-#### Sample resistor
32
-
33
-* Sample Resistor is 0.002R, 2mR (diameter 2.5mm, rate current is 20A. space is 10mm, height 7.5mm, "door" shape).
34
-
35
-
36
-## Calculatoin
37
-
38
-![](2023-10-24-12-28-02.png)
39
-
40
-
41
-
42
- F_cf = (V1xV2x48)/(V_ref)^2 x (F_osc/128)
43
- F_cf1 = (V1x24)/(V_ref) x (F_osc/512)
44
- F_cfu = (V2x2)/V_ref x (F_osc/512)
45
-
46
-Note
47
-
48
-* Fcf = Power, Fcf1 = current, Fcfu = voltage
49
-* V1: Voltage signal on the current channel pin
50
-* V2: Voltage signal on voltage channel pin
51
-* Fosc: built-in crystal, the typical frequency of about 3.579MHz;
52
-* Vref: built-in reference source, the typical voltage is 2.43V
53
-
54
-## Use with ESP8266
55
-
56
-* The demo code will monitoring the power, current, voltage and frequency, you can monitor it via telnet to see remote debug output, same as serial output, but safe when AC main power connected.
57
-* Pin definition to esp8266 please see the comments in sketch
58
-* Also can calibrate the parameters, see the comments in sketch
59
-* Enter SSID and password in the sketch, run the demo code first to see IP address
60
-* Connect to AC main power, login remotely via telnet, in windows for example, command: telnet 192.168.0.100
61
-
62
-* [Demo code here](https://github.com/Edragon/esp8266_arduino/tree/master/HLW8012/remote_debug)
63
-
64
-
65
-## Establishing a Clean Ground for HLW8012 Power Meter IC
66
-
67
-To ensure accurate performance of the HLW8012 power meter IC in current shunt measurement, voltage measurement, analog (oversampling ADC) operations, and digital output interfaces, it is recommended to implement the following grounding strategy on the PCB:
68
-
69
-1. **Create a Ground Region**: Design a ground area beneath the IC that loops around the four analog pins on the left side. This ground encirclement should be formed using a 0.5-centimeter-wide copper trace.
70
-
71
-2. **Connect Key Components to the Ground Encirclement**:
72
- - The IC's ground pin.
73
- - The ground ends of the 0.033 µF capacitors associated with the current shunt. Ensure these PCB traces are symmetrical, balanced, and as short as possible.
74
- - The two capacitors used for the +5V VDD bypass filter.
75
-
76
-Additionally, some reference designs suggest inserting a 10-ohm resistor in the path from the +5V voltage regulator to these two capacitors and the IC's VDD pin. This configuration creates a low-pass filter that reduces EMI/RFI interference entering the IC, thereby preventing miscounts or unintended power-on resets. In professional designs requiring high robustness, circuits must withstand significant electric and magnetic fields from high-power transmitters and antennas without errors. Place the 10-ohm resistor close to the two capacitors to minimize potential antenna effects.
77
-
78
-By implementing this grounding approach, the HLW8012 IC can achieve precise and reliable power measurement.
79
-
80
-
81
-
82
-## Demo
83
-
84
-https://www.youtube.com/watch?v=0aiuwRB8Uic
85
-
86
-
87
-## DS
88
-
89
-- [[HLW8012-HLW-REV1.3.pdf]]
90
-
91
-## demo code
92
-
93
-- https://github.com/Edragon/arduino-main2/tree/main/tech/Sensor/1-Current/HLW8012
94
-- https://github.com/Edragon/arduino-esp8266/tree/master/Sketchbook/APP/HLW
95
-
96
-
97
-## ref
98
-
99
-- [[HLW8012-dat]] - [[HLW8032-dat]] - [[HLW-dat]] - [[ac-mains-dat]] - [[power-meter-dat]] - [[power-sensor-dat]]
100
-
101
-Boards - [[OPM1126-dat]]
102
-
103
-- [[OPM1126]] - [[HLW8012]]
104
-
1
+
2
+# HLW8012-dat
3
+
4
+- [legacy wiki page ](https://w.electrodragon.com/w/HLW8012)
5
+
6
+## Chip Info
7
+
8
+![](2024-08-05-17-18-12.png)
9
+
10
+### Hardware Design Note
11
+* Board AC Mains is be NOT isolated.
12
+* Better use optical-coupler to send isolated signal to your MCU.
13
+* MCU better use seperated power supply to HLW8012.
14
+
15
+#### other note
16
+* Built-in crystal, 2.43V voltage reference source and power monitoring circuit
17
+* 5V single power supply, operating current less than 3mA
18
+
19
+## Application
20
+
21
+![](2024-08-05-17-20-03.png)
22
+
23
+As shown in Figure 3, the power supply the HLW8012 should be in parallel with two small capacitors to filter out the noise from the grid.
24
+
25
+- The signal of current channel is provided by the current diverter.
26
+- The signal of voltage channel is provided by the resistor network.
27
+
28
+CF, CF1, SEL connect to the input port of the MCU. MCU measure the pulse periods of CF and CF1, then calculate the active power, current RMS and voltageRMS
29
+
30
+
31
+#### Sample resistor
32
+
33
+* Sample Resistor is 0.002R, 2mR (diameter 2.5mm, rate current is 20A. space is 10mm, height 7.5mm, "door" shape).
34
+
35
+
36
+## Calculatoin
37
+
38
+![](2023-10-24-12-28-02.png)
39
+
40
+
41
+
42
+ F_cf = (V1xV2x48)/(V_ref)^2 x (F_osc/128)
43
+ F_cf1 = (V1x24)/(V_ref) x (F_osc/512)
44
+ F_cfu = (V2x2)/V_ref x (F_osc/512)
45
+
46
+Note
47
+
48
+* Fcf = Power, Fcf1 = current, Fcfu = voltage
49
+* V1: Voltage signal on the current channel pin
50
+* V2: Voltage signal on voltage channel pin
51
+* Fosc: built-in crystal, the typical frequency of about 3.579MHz;
52
+* Vref: built-in reference source, the typical voltage is 2.43V
53
+
54
+## Use with ESP8266
55
+
56
+* The demo code will monitoring the power, current, voltage and frequency, you can monitor it via telnet to see remote debug output, same as serial output, but safe when AC main power connected.
57
+* Pin definition to esp8266 please see the comments in sketch
58
+* Also can calibrate the parameters, see the comments in sketch
59
+* Enter SSID and password in the sketch, run the demo code first to see IP address
60
+* Connect to AC main power, login remotely via telnet, in windows for example, command: telnet 192.168.0.100
61
+
62
+* [Demo code here](https://github.com/Edragon/esp8266_arduino/tree/master/HLW8012/remote_debug)
63
+
64
+
65
+## Establishing a Clean Ground for HLW8012 Power Meter IC
66
+
67
+To ensure accurate performance of the HLW8012 power meter IC in current shunt measurement, voltage measurement, analog (oversampling ADC) operations, and digital output interfaces, it is recommended to implement the following grounding strategy on the PCB:
68
+
69
+1. **Create a Ground Region**: Design a ground area beneath the IC that loops around the four analog pins on the left side. This ground encirclement should be formed using a 0.5-centimeter-wide copper trace.
70
+
71
+2. **Connect Key Components to the Ground Encirclement**:
72
+ - The IC's ground pin.
73
+ - The ground ends of the 0.033 µF capacitors associated with the current shunt. Ensure these PCB traces are symmetrical, balanced, and as short as possible.
74
+ - The two capacitors used for the +5V VDD bypass filter.
75
+
76
+Additionally, some reference designs suggest inserting a 10-ohm resistor in the path from the +5V voltage regulator to these two capacitors and the IC's VDD pin. This configuration creates a low-pass filter that reduces EMI/RFI interference entering the IC, thereby preventing miscounts or unintended power-on resets. In professional designs requiring high robustness, circuits must withstand significant electric and magnetic fields from high-power transmitters and antennas without errors. Place the 10-ohm resistor close to the two capacitors to minimize potential antenna effects.
77
+
78
+By implementing this grounding approach, the HLW8012 IC can achieve precise and reliable power measurement.
79
+
80
+- [[AC-blocking-dat]] - [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]] - [[LC-circuits-dat]] - [[NE555-Astable-dat]] - [[HLW8012-dat]]
81
+
82
+## Demo
83
+
84
+https://www.youtube.com/watch?v=0aiuwRB8Uic
85
+
86
+
87
+## DS
88
+
89
+- [[HLW8012-HLW-REV1.3.pdf]]
90
+
91
+## demo code
92
+
93
+- https://github.com/Edragon/arduino-main2/tree/main/tech/Sensor/1-Current/HLW8012
94
+- https://github.com/Edragon/arduino-esp8266/tree/master/Sketchbook/APP/HLW
95
+
96
+
97
+## ref
98
+
99
+- [[HLW8012-dat]] - [[HLW8032-dat]] - [[HLW-dat]] - [[ac-mains-dat]] - [[power-meter-dat]] - [[power-sensor-dat]]
100
+
101
+Boards - [[OPM1126-dat]]
102
+
103
+- [[OPM1126]] - [[HLW8012]]
104
+
Chip-dat/74xx-dat/74HC4067-dat/2026-07-15-16-28-03.png
... ...
Binary files /dev/null and b/Chip-dat/74xx-dat/74HC4067-dat/2026-07-15-16-28-03.png differ
Chip-dat/74xx-dat/74HC4067-dat/74HC4067-dat.md
... ...
@@ -0,0 +1,13 @@
1
+
2
+
3
+# 74HC4067-dat
4
+
5
+## SCH
6
+
7
+![](2026-07-15-16-28-03.png)
8
+
9
+- [[ESP32-S3-HDK-dat]] - [[74HC4067-dat]]
10
+
11
+
12
+## ref
13
+
Chip-dat/Analog-device-dat/AD-power-dat/AD-power-dat.md
... ...
@@ -2,6 +2,10 @@
2 2
3 3
# AD-power-dat
4 4
5
+
6
+- [[analog-device-dat]] - [[ADE7953-dat]]
7
+
8
+
5 9
- [[AD-power-dat]] - [[analog-device-dat]] - [[dcdc-down-dat]]
6 10
7 11
LT8609/LT8609A/LT8609B == 42V, 3A Synchronous Step-Down Regulator with 2.5µA Quiescent Current
Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-14-04-46.png
... ...
Binary files /dev/null and b/Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-14-04-46.png differ
Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-14-06-32.png
... ...
Binary files /dev/null and b/Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-14-06-32.png differ
Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-16-30-43.png
... ...
Binary files /dev/null and b/Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-16-30-43.png differ
Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-16-32-52.png
... ...
Binary files /dev/null and b/Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/2026-07-15-16-32-52.png differ
Chip-dat/Analog-device-dat/AD-power-dat/ADE7953-dat/ADE7953-dat.md
... ...
@@ -0,0 +1,57 @@
1
+
2
+
3
+# ADE7953-dat
4
+
5
+- [[analog-device-dat]] - [[ADE7953-dat]]
6
+
7
+- [[meter-energy-dat]] - [[sensor-energy-dat]] - [[meter-dat]]
8
+
9
+- [[current-transformer-dat]] - [[ADE7953-dat]]
10
+
11
+- [[ACDC-dat]] - [[meter-energy-dat]]
12
+
13
+Single Phase, Multifunction Metering IC with Neutral Current Measurement
14
+
15
+
16
+
17
+## APP SCH
18
+
19
+![](2026-07-15-14-06-32.png)
20
+
21
+SCH2
22
+
23
+- [[ESP32-S3-HDK-dat]] - [[74HC4067-dat]] - [[ADE7953-dat]]
24
+
25
+![](2026-07-15-16-30-43.png)
26
+
27
+channels INA and INB
28
+
29
+![](2026-07-15-16-32-52.png)
30
+
31
+
32
+## layout
33
+
34
+![](2026-07-15-14-04-46.png)
35
+
36
+LAYOUT GUIDELINES
37
+
38
+Figure 78 presents a basic schematic of the ADE7953 together with its surrounding circuitry, decoupling capacitors at pins VDD, VINTA, VINTD, and REF, and the 3.58 MHz crystal and its load capacitors. The rest of the pins are dependent on the particular application and are not shown here.
39
+
40
+Figure 77 presents a proposed layout of a printed circuit board (PCB) with two layers that have the components placed only on the top of the board. Following these layout guidelines will help in creating a low noise design with higher immunity to EMC influences.
41
+
42
+The VDD, VINTA, VINTD, and REF pins each have two decoupling capacitors, one of μF order and a ceramic one of 220 nF or 100 nF. These ceramic capacitors need to be placed closest to the ADE7953 as they decouple high frequency noises, while the μF ones need to be place in close proximity.
43
+
44
+The exposed pad of the ADE7953 is soldered to an equivalent pad on the PCB. The AGND, DGND, and PULL_LOW pins traces of the ADE7953 are then routed directly in to the PCB pad.
45
+
46
+The bottom layer is composed mainly of a ground plane surrounding as much as possible the through hole crystal pins.
47
+
48
+
49
+## extend
50
+
51
+- [[multiplexer-dat]]
52
+
53
+
54
+
55
+
56
+## ref
57
+
Chip-dat/Analog-device-dat/Analog-device-dat.md
... ...
@@ -2,6 +2,10 @@
2 2
# analog-device-dat.md
3 3
4 4
5
+
6
+- [[analog-device-dat]] - [[ADE7953-dat]]
7
+
8
+
5 9
- [[analog-device-dat]] - [[maxim-dat]]
6 10
7 11
Chip-dat/TI-dat/NE555-DAT/NE555-Astable-dat/NE555-Astable-dat.md
... ...
@@ -1,220 +1,222 @@
1
-
2
-# NE555-Astable-dat
3
-
4
-
5
-
6
-## ⚙️ Mode 1: Astable (Oscillator)
7
-
8
-### 🔁 Generates a continuous square wave
9
-
10
-### 🔧 Wiring:
11
-
12
-```
13
- VCC
14
- |
15
- [R1]
16
- |
17
- +------ Pin 7 (DIS)
18
- | |
19
- [R2] [C1]
20
- | |
21
- Pin 6 -----+ |
22
- Pin 2 -----|--+
23
- |
24
- GND
25
-
26
-- Pin 4 (RESET) → VCC
27
-- Pin 5 (CTRL) → 0.01µF to GND
28
-- Pin 3 = Output
29
-```
30
-
31
-### 🧮 Frequency & Duty Cycle:
32
-
33
-```
34
-T = 0.693 × (R1 + 2×R2) × C1
35
-f = 1 / T
36
-Duty Cycle ≈ (R1 + R2) / (R1 + 2×R2)
37
-```
38
-
39
----
40
-
41
-## example 1.
42
-
43
-This is a **PWM generator circuit** using a 555 Timer IC configured in **astable mode**, used to control a DC motor via a MOSFET. The duty cycle is adjustable using a potentiometer.
44
-
45
----
46
-
47
-## 📦 Circuit Summary
48
-
49
-| Pin | Name | Description |
50
-| --- | --------------- | ----------------------------------------------------------- |
51
-| 1 | GND | Connected to ground |
52
-| 2 | Trigger | Connected to timing capacitor C2 via noise filters (C3, C2) |
53
-| 3 | Output | PWM signal output to MOSFET gate |
54
-| 4 | Reset | Tied to VCC to avoid accidental reset |
55
-| 5 | Control Voltage | Decoupled with 0.01 µF (C4) for noise immunity |
56
-| 6 | Threshold | Connected to timing network |
57
-| 7 | Discharge | Discharges timing capacitor via R1 |
58
-| 8 | VCC | Power supply (with decoupling capacitor C1 = 220 µF) |
59
-
60
----
61
-
62
-## 🧩 Key Components
63
-
64
-| Component | Value | Function |
65
-| --------- | ---------- | ------------------------------------- |
66
-| R1 | 1 kΩ | Sets discharge time |
67
-| R2 | 100 kΩ pot | Sets charge time (duty cycle control) |
68
-| D1 | 1N4148 | Separates charge and discharge paths |
69
-| C1 | 220 µF | Power decoupling |
70
-| C2, C3 | 1 nF | Trigger debounce / noise filtering |
71
-| C4 | 0.01 µF | Filters pin 5 (control voltage) |
72
-| MOS | N-channel | PWM-driven motor control |
73
-
74
----
75
-
76
-## 🔄 Operation
77
-
78
-1. **C2 charges** through **R2** and **D1**.
79
-2. When voltage on C2 reaches 2/3 VCC → 555 output turns **LOW**.
80
-3. **C2 discharges** through **R1** and pin 7.
81
-4. When voltage drops below 1/3 VCC → 555 output goes **HIGH**.
82
-5. This loop creates a **PWM signal** at pin 3.
83
-6. PWM signal drives the **MOSFET**, which controls motor speed.
84
-
85
----
86
-
87
-## ⚙️ Features
88
-
89
-- Adjustable **duty cycle** via R2 (100k potentiometer)
90
-- Stable operation with **decoupling capacitors**
91
-- Simple and low-cost motor control solution
92
-- Output PWM can be used to drive **DC motors**, **LEDs**, or other loads via a **MOSFET**
93
-
94
----
95
-
96
-## ✅ Notes
97
-
98
-- Make sure the MOSFET is appropriate for your motor's voltage and current.
99
-- You can add a **flyback diode** across the motor for protection.
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-## example 2. ⚙️ NE555 as PWM Generator with Potentiometer
109
-
110
-### 📌 Purpose
111
-
112
-Generate a variable PWM (Pulse Width Modulated) signal using an NE555 timer. Adjust the duty cycle with a potentiometer to control devices like:
113
-- Motor speed
114
-- LED brightness
115
-- Servo-like applications (via low-pass filtering)
116
-
117
----
118
-
119
-### 📦 Parts Required
120
-
121
-| Part | Value |
122
-| -------------- | -------------------------------------------------------- |
123
-| NE555 Timer IC | 1× |
124
-| Potentiometer | 10kΩ or 100kΩ |
125
-| Diodes | 2× 1N4148 (or any fast switching diodes) |
126
-| Capacitor | 1× 1µF to 10µF (electrolytic or ceramic) |
127
-| Power Supply | 5V or 12V DC |
128
-| Load | Optional (e.g. LED + resistor, transistor + motor, etc.) |
129
-
130
----
131
-
132
-### 🔌 Schematic (Text Diagram)
133
-
134
-```
135
- VCC (+)
136
- |
137
- +------+
138
- | |
139
- [R] [D1]
140
- | |
141
- +------+
142
- | |
143
- [POT] [D2]
144
- | |
145
- +------+
146
- |
147
- Pin 7 (DIS)
148
- |
149
- [C1] to GND
150
- |
151
-Pin 6 --------+
152
-Pin 2 --------+
153
-Pin 4 → VCC
154
-Pin 5 → 0.01µF to GND
155
-Pin 1 → GND
156
-Pin 3 → PWM Output
157
-```
158
-
159
-#### Pin Functions
160
-- **Pin 3**: PWM output
161
-- **POT**: Varies charge/discharge ratio, changing duty cycle
162
-- **Diodes (D1/D2)**: Separate charge/discharge paths
163
-
164
----
165
-
166
-### ⚙️ How It Works
167
-
168
-- The NE555 is in **astable mode**.
169
-- The **two diodes** split the charge/discharge paths.
170
-- The **potentiometer** controls the ratio of charge to discharge time.
171
-- This changes the **duty cycle** while keeping frequency fairly stable.
172
-
173
----
174
-
175
-### 📐 Formulas (Approximate)
176
-
177
-#### Charge time (output HIGH):
178
-```
179
-T_high = 0.693 × (R1 + variable portion of POT) × C1
180
-```
181
-
182
-#### Discharge time (output LOW):
183
-```
184
-T_low = 0.693 × (fixed portion of POT) × C1
185
-```
186
-
187
-#### Frequency:
188
-```
189
-f = 1 / (T_high + T_low)
190
-```
191
-
192
-#### Duty Cycle:
193
-```
194
-Duty = T_high / (T_high + T_low)
195
-```
196
-
197
-By adjusting the potentiometer, you change the ratio between T_high and T_low → **controlling duty cycle**.
198
-
199
----
200
-
201
-### ✅ Tips
202
-
203
-- Use **small capacitor** (like 1µF) for higher frequency PWM (kHz range).
204
-- Add a **buffering transistor** on output if driving a motor or power load.
205
-- For smoother motor/LED control, consider adding a **low-pass filter** (R + C) on output to convert PWM to analog-like voltage.
206
-
207
----
208
-
209
-### 🧪 Use Case: DC Motor Speed Control
210
-
211
-1. NE555 PWM output → base of NPN transistor (e.g., 2N2222 or TIP120)
212
-2. Motor connected to collector and power supply
213
-3. Adjust POT → duty cycle changes → motor speed changes
214
-
215
-
216
-
217
-
218
-## ref
219
-
1
+
2
+# NE555-Astable-dat
3
+
4
+- [[AC-blocking-dat]] - [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]] - [[LC-circuits-dat]] - [[NE555-Astable-dat]]
5
+
6
+
7
+
8
+## ⚙️ Mode 1: Astable (Oscillator)
9
+
10
+### 🔁 Generates a continuous square wave
11
+
12
+### 🔧 Wiring:
13
+
14
+```
15
+ VCC
16
+ |
17
+ [R1]
18
+ |
19
+ +------ Pin 7 (DIS)
20
+ | |
21
+ [R2] [C1]
22
+ | |
23
+ Pin 6 -----+ |
24
+ Pin 2 -----|--+
25
+ |
26
+ GND
27
+
28
+- Pin 4 (RESET) → VCC
29
+- Pin 5 (CTRL) → 0.01µF to GND
30
+- Pin 3 = Output
31
+```
32
+
33
+### 🧮 Frequency & Duty Cycle:
34
+
35
+```
36
+T = 0.693 × (R1 + 2×R2) × C1
37
+f = 1 / T
38
+Duty Cycle ≈ (R1 + R2) / (R1 + 2×R2)
39
+```
40
+
41
+---
42
+
43
+## example 1.
44
+
45
+This is a **PWM generator circuit** using a 555 Timer IC configured in **astable mode**, used to control a DC motor via a MOSFET. The duty cycle is adjustable using a potentiometer.
46
+
47
+---
48
+
49
+## 📦 Circuit Summary
50
+
51
+| Pin | Name | Description |
52
+| --- | --------------- | ----------------------------------------------------------- |
53
+| 1 | GND | Connected to ground |
54
+| 2 | Trigger | Connected to timing capacitor C2 via noise filters (C3, C2) |
55
+| 3 | Output | PWM signal output to MOSFET gate |
56
+| 4 | Reset | Tied to VCC to avoid accidental reset |
57
+| 5 | Control Voltage | Decoupled with 0.01 µF (C4) for noise immunity |
58
+| 6 | Threshold | Connected to timing network |
59
+| 7 | Discharge | Discharges timing capacitor via R1 |
60
+| 8 | VCC | Power supply (with decoupling capacitor C1 = 220 µF) |
61
+
62
+---
63
+
64
+## 🧩 Key Components
65
+
66
+| Component | Value | Function |
67
+| --------- | ---------- | ------------------------------------- |
68
+| R1 | 1 kΩ | Sets discharge time |
69
+| R2 | 100 kΩ pot | Sets charge time (duty cycle control) |
70
+| D1 | 1N4148 | Separates charge and discharge paths |
71
+| C1 | 220 µF | Power decoupling |
72
+| C2, C3 | 1 nF | Trigger debounce / noise filtering |
73
+| C4 | 0.01 µF | Filters pin 5 (control voltage) |
74
+| MOS | N-channel | PWM-driven motor control |
75
+
76
+---
77
+
78
+## 🔄 Operation
79
+
80
+1. **C2 charges** through **R2** and **D1**.
81
+2. When voltage on C2 reaches 2/3 VCC → 555 output turns **LOW**.
82
+3. **C2 discharges** through **R1** and pin 7.
83
+4. When voltage drops below 1/3 VCC → 555 output goes **HIGH**.
84
+5. This loop creates a **PWM signal** at pin 3.
85
+6. PWM signal drives the **MOSFET**, which controls motor speed.
86
+
87
+---
88
+
89
+## ⚙️ Features
90
+
91
+- Adjustable **duty cycle** via R2 (100k potentiometer)
92
+- Stable operation with **decoupling capacitors**
93
+- Simple and low-cost motor control solution
94
+- Output PWM can be used to drive **DC motors**, **LEDs**, or other loads via a **MOSFET**
95
+
96
+---
97
+
98
+## ✅ Notes
99
+
100
+- Make sure the MOSFET is appropriate for your motor's voltage and current.
101
+- You can add a **flyback diode** across the motor for protection.
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+## example 2. ⚙️ NE555 as PWM Generator with Potentiometer
111
+
112
+### 📌 Purpose
113
+
114
+Generate a variable PWM (Pulse Width Modulated) signal using an NE555 timer. Adjust the duty cycle with a potentiometer to control devices like:
115
+- Motor speed
116
+- LED brightness
117
+- Servo-like applications (via low-pass filtering)
118
+
119
+---
120
+
121
+### 📦 Parts Required
122
+
123
+| Part | Value |
124
+| -------------- | -------------------------------------------------------- |
125
+| NE555 Timer IC | 1× |
126
+| Potentiometer | 10kΩ or 100kΩ |
127
+| Diodes | 2× 1N4148 (or any fast switching diodes) |
128
+| Capacitor | 1× 1µF to 10µF (electrolytic or ceramic) |
129
+| Power Supply | 5V or 12V DC |
130
+| Load | Optional (e.g. LED + resistor, transistor + motor, etc.) |
131
+
132
+---
133
+
134
+### 🔌 Schematic (Text Diagram)
135
+
136
+```
137
+ VCC (+)
138
+ |
139
+ +------+
140
+ | |
141
+ [R] [D1]
142
+ | |
143
+ +------+
144
+ | |
145
+ [POT] [D2]
146
+ | |
147
+ +------+
148
+ |
149
+ Pin 7 (DIS)
150
+ |
151
+ [C1] to GND
152
+ |
153
+Pin 6 --------+
154
+Pin 2 --------+
155
+Pin 4 → VCC
156
+Pin 5 → 0.01µF to GND
157
+Pin 1 → GND
158
+Pin 3 → PWM Output
159
+```
160
+
161
+#### Pin Functions
162
+- **Pin 3**: PWM output
163
+- **POT**: Varies charge/discharge ratio, changing duty cycle
164
+- **Diodes (D1/D2)**: Separate charge/discharge paths
165
+
166
+---
167
+
168
+### ⚙️ How It Works
169
+
170
+- The NE555 is in **astable mode**.
171
+- The **two diodes** split the charge/discharge paths.
172
+- The **potentiometer** controls the ratio of charge to discharge time.
173
+- This changes the **duty cycle** while keeping frequency fairly stable.
174
+
175
+---
176
+
177
+### 📐 Formulas (Approximate)
178
+
179
+#### Charge time (output HIGH):
180
+```
181
+T_high = 0.693 × (R1 + variable portion of POT) × C1
182
+```
183
+
184
+#### Discharge time (output LOW):
185
+```
186
+T_low = 0.693 × (fixed portion of POT) × C1
187
+```
188
+
189
+#### Frequency:
190
+```
191
+f = 1 / (T_high + T_low)
192
+```
193
+
194
+#### Duty Cycle:
195
+```
196
+Duty = T_high / (T_high + T_low)
197
+```
198
+
199
+By adjusting the potentiometer, you change the ratio between T_high and T_low → **controlling duty cycle**.
200
+
201
+---
202
+
203
+### ✅ Tips
204
+
205
+- Use **small capacitor** (like 1µF) for higher frequency PWM (kHz range).
206
+- Add a **buffering transistor** on output if driving a motor or power load.
207
+- For smoother motor/LED control, consider adding a **low-pass filter** (R + C) on output to convert PWM to analog-like voltage.
208
+
209
+---
210
+
211
+### 🧪 Use Case: DC Motor Speed Control
212
+
213
+1. NE555 PWM output → base of NPN transistor (e.g., 2N2222 or TIP120)
214
+2. Motor connected to collector and power supply
215
+3. Adjust POT → duty cycle changes → motor speed changes
216
+
217
+
218
+
219
+
220
+## ref
221
+
220 222
- [[NE555-dat]]
... ...
\ No newline at end of file
Circuits-dat/AC-blocking-dat/AC-blocking-dat.md
... ...
@@ -1,59 +1,63 @@
1
-
2
-# AC-blocking-dat
3
-
4
-## Types of AC Blocking Components
5
-
6
-**AC blocking components** are used to **prevent AC signals from passing** while **allowing DC** to flow. These are useful in filtering, power supply, and signal control applications.
7
-
8
----
9
-
10
-### 1. **Inductors (Coils) 🧲**
11
-
12
-- **Function:** Oppose changes in current, especially high-frequency AC.
13
-- **Blocks:** AC signals (especially high frequency), passes DC.
14
-- **Usage:**
15
- - Power supply filtering
16
- - Chokes in DC lines
17
- - EMI suppression
18
-
19
----
20
-
21
-### 2. **Ferrite Beads**
22
-
23
-- **Function:** Similar to inductors; resist high-frequency AC noise.
24
-- **Blocks:** High-frequency AC interference
25
-- **Passes:** DC and low-frequency signals
26
-- **Usage:** Noise filtering in power lines and signal lines
27
-
28
----
29
-
30
-### 3. **Low-Pass Filters (RC or LC)**
31
-
32
-- **Function:** Combine resistors and capacitors/inductors to block AC above a certain frequency.
33
-- **Blocks:** High-frequency AC
34
-- **Passes:** DC or low-frequency signals
35
-- **Usage:** Signal conditioning, analog circuits
36
-
37
----
38
-
39
-### 4. **Zener Diodes or TVS Diodes (for AC spikes)**
40
-
41
-- **Not direct AC blockers**, but suppress voltage spikes (AC noise).
42
-- **Usage:** Surge protection on DC lines.
43
-
44
----
45
-
46
-## Summary Table
47
-
48
-| Component | Blocks AC | Passes DC | Common Use Case |
49
-|------------------|-----------|-----------|--------------------------------|
50
-| Inductor | ✅ | ✅ | DC line filtering, power supply |
51
-| Ferrite Bead | ✅ | ✅ | High-frequency noise suppression |
52
-| Low-Pass Filter | ✅ (partial) | ✅ | Signal smoothing, power rails |
53
-| Zener/TVS Diode | ✅ (spikes) | ✅ | Surge protection |
54
-
55
-> 🧲 **Inductors** are the most direct and widely used components for **AC blocking** while passing DC.
56
-
57
-## ref
58
-
1
+
2
+# AC-blocking-dat
3
+
4
+
5
+- [[AC-blocking-dat]] - [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]]
6
+
7
+
8
+## Types of AC Blocking Components
9
+
10
+**AC blocking components** are used to **prevent AC signals from passing** while **allowing DC** to flow. These are useful in filtering, power supply, and signal control applications.
11
+
12
+---
13
+
14
+### 1. **Inductors (Coils) 🧲**
15
+
16
+- **Function:** Oppose changes in current, especially high-frequency AC.
17
+- **Blocks:** AC signals (especially high frequency), passes DC.
18
+- **Usage:**
19
+ - Power supply filtering
20
+ - Chokes in DC lines
21
+ - EMI suppression
22
+
23
+---
24
+
25
+### 2. **Ferrite Beads**
26
+
27
+- **Function:** Similar to inductors; resist high-frequency AC noise.
28
+- **Blocks:** High-frequency AC interference
29
+- **Passes:** DC and low-frequency signals
30
+- **Usage:** Noise filtering in power lines and signal lines
31
+
32
+---
33
+
34
+### 3. **Low-Pass Filters (RC or LC)**
35
+
36
+- **Function:** Combine resistors and capacitors/inductors to block AC above a certain frequency.
37
+- **Blocks:** High-frequency AC
38
+- **Passes:** DC or low-frequency signals
39
+- **Usage:** Signal conditioning, analog circuits
40
+
41
+---
42
+
43
+### 4. **Zener Diodes or TVS Diodes (for AC spikes)**
44
+
45
+- **Not direct AC blockers**, but suppress voltage spikes (AC noise).
46
+- **Usage:** Surge protection on DC lines.
47
+
48
+---
49
+
50
+## Summary Table
51
+
52
+| Component | Blocks AC | Passes DC | Common Use Case |
53
+|------------------|-----------|-----------|--------------------------------|
54
+| Inductor | ✅ | ✅ | DC line filtering, power supply |
55
+| Ferrite Bead | ✅ | ✅ | High-frequency noise suppression |
56
+| Low-Pass Filter | ✅ (partial) | ✅ | Signal smoothing, power rails |
57
+| Zener/TVS Diode | ✅ (spikes) | ✅ | Surge protection |
58
+
59
+> 🧲 **Inductors** are the most direct and widely used components for **AC blocking** while passing DC.
60
+
61
+## ref
62
+
59 63
- [[circuits-dat]]
... ...
\ No newline at end of file
Circuits-dat/LC-circuits-dat.md
... ...
@@ -1,46 +1,49 @@
1
-
2
-# LC-circuits-dat.md
3
-
4
-
5
-## What is an LC Circuit?
6
-
7
-An **LC circuit** is a resonant circuit made of:
8
-
9
-- **L (Inductor):** Stores energy in a magnetic field.
10
-- **C (Capacitor):** Stores energy in an electric field.
11
-
12
----
13
-
14
-### 🔁 How It Works
15
-The LC circuit continuously transfers energy back and forth:
16
-1. The capacitor discharges through the inductor.
17
-2. The inductor builds a magnetic field.
18
-3. The magnetic field collapses, recharging the capacitor with opposite polarity.
19
-4. The cycle repeats — this creates **oscillations**.
20
-
21
----
22
-
23
-### 📶 Resonance
24
-An LC circuit has a **natural resonant frequency**:
25
-
26
-\[
27
-f = \frac{1}{2\pi\sqrt{LC}}
28
-\]
29
-
30
-Where:
31
-- `f` = frequency (in Hz)
32
-- `L` = inductance (in henries)
33
-- `C` = capacitance (in farads)
34
-
35
----
36
-
37
-### 🧰 Common Uses
38
-- Radio tuners (to select a station)
39
-- Filters (high-pass, low-pass, band-pass)
40
-- Oscillators (to generate signals)
41
-- Impedance matching networks
42
-
43
----
44
-
45
-### 📷 Example
46
-An AM radio uses an LC circuit to **tune to a specific frequency**, like 1000 kHz, by adjusting `L` or `C`.
1
+
2
+# LC-circuits-dat.md
3
+
4
+
5
+- [[AC-blocking-dat]] - [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]] - [[LC-circuits-dat]]
6
+
7
+
8
+## What is an LC Circuit?
9
+
10
+An **LC circuit** is a resonant circuit made of:
11
+
12
+- **L (Inductor):** Stores energy in a magnetic field.
13
+- **C (Capacitor):** Stores energy in an electric field.
14
+
15
+---
16
+
17
+### 🔁 How It Works
18
+The LC circuit continuously transfers energy back and forth:
19
+1. The capacitor discharges through the inductor.
20
+2. The inductor builds a magnetic field.
21
+3. The magnetic field collapses, recharging the capacitor with opposite polarity.
22
+4. The cycle repeats — this creates **oscillations**.
23
+
24
+---
25
+
26
+### 📶 Resonance
27
+An LC circuit has a **natural resonant frequency**:
28
+
29
+\[
30
+f = \frac{1}{2\pi\sqrt{LC}}
31
+\]
32
+
33
+Where:
34
+- `f` = frequency (in Hz)
35
+- `L` = inductance (in henries)
36
+- `C` = capacitance (in farads)
37
+
38
+---
39
+
40
+### 🧰 Common Uses
41
+- Radio tuners (to select a station)
42
+- Filters (high-pass, low-pass, band-pass)
43
+- Oscillators (to generate signals)
44
+- Impedance matching networks
45
+
46
+---
47
+
48
+### 📷 Example
49
+An AM radio uses an LC circuit to **tune to a specific frequency**, like 1000 kHz, by adjusting `L` or `C`.
Circuits-dat/logic-dat/multiplexer-dat/multiplexer-dat.md
... ...
@@ -6,7 +6,7 @@
6 6
7 7
- [[Multiplexer-dat]] - [[74xx-dat]]
8 8
9
-
9
+- [[74HC4067-dat]]
10 10
11 11
74HC4051; 74HCT4051 - 8-channel analog multiplexer/demultiplexer
12 12
Sensor-dat/sensor-power-dat/sensor-current-dat/current-transformer-dat/2026-07-15-16-45-07.png
... ...
Binary files /dev/null and b/Sensor-dat/sensor-power-dat/sensor-current-dat/current-transformer-dat/2026-07-15-16-45-07.png differ
Sensor-dat/sensor-power-dat/sensor-current-dat/current-transformer-dat/current-transformer-dat.md
... ...
@@ -1,97 +1,108 @@
1
-# current-transformer-dat
2
-
3
-- [[current-sensor-dat]]
4
-
5
-
6
-
7
-## tech
8
-
9
-
10
-- [[ZMCT103-dat]] == 1000:1 [[current-dat]] - [[current-transformer-dat]]
11
-
12
-- [[ZMPT107-dat]] == 1000:1000 [[voltage-dat]] - [[ac-voltage-transformer-dat]]
13
-
14
-
15
-
16
-## boards
17
-
18
-- [[SVC1038-dat]] - [[SVC1042-dat]]
19
-
20
-
21
-## PCB Mount
22
-
23
-- [[zeming-dat]] - [[EDCT-dat]]
24
-
25
-- [[ZMCT103-dat]] == 1000:1 [[current-dat]] // - [[ZMPT107-dat]] == 1000:1000 [[voltage-dat]] || - [[current-transformer-dat]]
26
-
27
-## Open Split Core Current Transformer
28
-
29
-- [[YHDC-dat]]
30
-
31
-
32
-## BX-CT Specifications
33
-
34
-![](2025-06-11-15-45-27.png)
35
-
36
-| left | middle | right |
37
-| ------ | ------ | ----- |
38
-| 5A | 15A | 30A |
39
-| 2000:1 | 2000:1 | 1500: |
40
-
41
-
42
-## DL-CT08CL10-2000/1 = Specifications
43
-
44
-"Miniature current transformer, small AC through-core type, class 0.1 precision, high-frequency transformer, lead type, 1000:1"
45
-
46
-Here's a breakdown:
47
-
48
-微型电流互感器: miniature current transformer
49
-
50
-小型交流穿心式: small AC through-core type
51
-
52
-0.1级精密: class 0.1 precision
53
-
54
-高频互感器: high-frequency transformer
55
-
56
-引线式: lead type (with wire leads)
57
-
58
-1000:1: transformation ratio
59
-
60
-## Other Form
61
-
62
-![](2025-05-20-13-02-25.png)
63
-
64
-
65
-
66
-## ZHT103U
67
-
68
-ZHT103U series, current output type, with wire leads
69
-
70
-**Specifications:**
71
-- Accuracy class: 0.5
72
-- Case material: Engineering plastic, flame retardant
73
-- Dielectric strength: MQ / V/min
74
-- Features: Fully potted, strong environmental resistance, high accuracy, good consistency, flexible installation, wide linear range
75
-- Frequency range: KHz
76
-- Input type: Single pass-through input, secondary wire output
77
-- Insulation resistance: ≤35'32001000MQ / 500V/min
78
-- Linear range: 0~10A
79
-- Load resistance: 100Ω
80
-- Operating temperature: -35℃~+75℃
81
-- Output current (rated): 5mA
82
-- Output type: Lead wire
83
-- Rated input current: 5A
84
-- Storage temperature: -40℃~+80℃
85
-- Transformation ratio: 1000:1
86
-- Typical applications: Power network meters, power transmitters, ammeters, measurement and control devices, etc.
87
-
88
-![](2025-12-16-19-38-32.png)
89
-
90
-## ref
91
-
92
-
93
-- [[current-sensor-dat]]
94
-
95
-- [[current-transformer]]
96
-
1
+# current-transformer-dat
2
+
3
+- [[sensor-current-dat]]
4
+
5
+- [[current-transformer-dat]] - [[ADE7953-dat]]
6
+
7
+- [[filter-low-pass-dat]] - [[filter-dat]]
8
+
9
+== a low-pass filter (1 kΩ / 33 nF)
10
+
11
+## tech
12
+
13
+
14
+- [[ZMCT103-dat]] == 1000:1 [[current-dat]] - [[current-transformer-dat]]
15
+
16
+- [[ZMPT107-dat]] == 1000:1000 [[voltage-dat]] - [[ac-voltage-transformer-dat]]
17
+
18
+
19
+
20
+## boards
21
+
22
+- [[SVC1038-dat]] - [[SVC1042-dat]]
23
+
24
+
25
+## PCB Mount
26
+
27
+- [[zeming-dat]] - [[EDCT-dat]]
28
+
29
+- [[ZMCT103-dat]] == 1000:1 [[current-dat]] // - [[ZMPT107-dat]] == 1000:1000 [[voltage-dat]] || - [[current-transformer-dat]]
30
+
31
+## Open Split Core Current Transformer
32
+
33
+- [[YHDC-dat]]
34
+
35
+
36
+## BX-CT Specifications
37
+
38
+![](2025-06-11-15-45-27.png)
39
+
40
+| left | middle | right |
41
+| ------ | ------ | ----- |
42
+| 5A | 15A | 30A |
43
+| 2000:1 | 2000:1 | 1500: |
44
+
45
+
46
+## DL-CT08CL10-2000/1 = Specifications
47
+
48
+"Miniature current transformer, small AC through-core type, class 0.1 precision, high-frequency transformer, lead type, 1000:1"
49
+
50
+Here's a breakdown:
51
+
52
+微型电流互感器: miniature current transformer
53
+
54
+小型交流穿心式: small AC through-core type
55
+
56
+0.1级精密: class 0.1 precision
57
+
58
+高频互感器: high-frequency transformer
59
+
60
+引线式: lead type (with wire leads)
61
+
62
+1000:1: transformation ratio
63
+
64
+## Other Form
65
+
66
+![](2025-05-20-13-02-25.png)
67
+
68
+
69
+
70
+## ZHT103U
71
+
72
+ZHT103U series, current output type, with wire leads
73
+
74
+**Specifications:**
75
+- Accuracy class: 0.5
76
+- Case material: Engineering plastic, flame retardant
77
+- Dielectric strength: MQ / V/min
78
+- Features: Fully potted, strong environmental resistance, high accuracy, good consistency, flexible installation, wide linear range
79
+- Frequency range: KHz
80
+- Input type: Single pass-through input, secondary wire output
81
+- Insulation resistance: ≤35'32001000MQ / 500V/min
82
+- Linear range: 0~10A
83
+- Load resistance: 100Ω
84
+- Operating temperature: -35℃~+75℃
85
+- Output current (rated): 5mA
86
+- Output type: Lead wire
87
+- Rated input current: 5A
88
+- Storage temperature: -40℃~+80℃
89
+- Transformation ratio: 1000:1
90
+- Typical applications: Power network meters, power transmitters, ammeters, measurement and control devices, etc.
91
+
92
+![](2025-12-16-19-38-32.png)
93
+
94
+
95
+## SCH
96
+
97
+16 channels
98
+
99
+![](2026-07-15-16-45-07.png)
100
+
101
+## ref
102
+
103
+
104
+- [[current-sensor-dat]]
105
+
106
+- [[current-transformer]]
107
+
97 108
- [[AI]]
... ...
\ No newline at end of file
Tech-dat/filter-dat/filter-dat.md
... ...
@@ -3,9 +3,13 @@
3 3
4 4
- [[capacitor-dat]]
5 5
6
-- [[filter-dat]] - [[EMI-dat]] - [[filter-high-pass-dat]]
6
+- [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]]
7 7
8 8
9
+
10
+
11
+- [[EMI-dat]]
12
+
9 13
## FGDS
10 14
11 15
FGDS-10A-50V == MIL-STD-461 EMI INPUT FILTER
Tech-dat/filter-dat/filter-low-pass-data/filter-low-pass-data.md
... ...
@@ -0,0 +1,14 @@
1
+
2
+
3
+# filter-low-pass-data
4
+
5
+- [[AC-blocking-dat]] - [[filter-dat]] - [[filter-high-pass-dat]] - [[filter-low-pass-dat]] - [[low-pass-rc-filter-dat]] - [[LC-circuits-dat]]
6
+
7
+- [[NE555-Astable-dat]] - [[HLW8012-dat]] - [[STH1029-dat]] - [[current-transformer-dat]]
8
+
9
+
10
+## ref
11
+
12
+
13
+
14
+
Tech-dat/tech-dat.md
... ...
@@ -317,7 +317,7 @@
317 317
318 318
- [[fab-tools-dat]]
319 319
320
-- [[meter-dat]] - [[meter-resistance-dat]] - [[multimeter-dat]] - [[meter-current-dat]] - [[meter-voltage-dat]] - [[meter-voltage-current-dat]]
320
+- [[meter-dat]] - [[meter-resistance-dat]] - [[multimeter-dat]] - [[meter-current-dat]] - [[meter-voltage-dat]] - [[meter-voltage-current-dat]] - [[meter-energy-dat]]
321 321
322 322
- [[case-dat]]
323 323
fab-tools-dat/fab-tools-electronic-dat/meter-dat/meter-energy-dat/2026-07-15-16-42-09.png
... ...
Binary files /dev/null and b/fab-tools-dat/fab-tools-electronic-dat/meter-dat/meter-energy-dat/2026-07-15-16-42-09.png differ
fab-tools-dat/fab-tools-electronic-dat/meter-dat/meter-energy-dat/meter-energy-dat.md
... ...
@@ -0,0 +1,21 @@
1
+
2
+
3
+# meter-energy-dat
4
+
5
+- [[meter-energy-dat]] - [[sensor-energy-dat]] - [[meter-dat]]
6
+
7
+## tech
8
+
9
+- [[analog-device-dat]] - [[ADE7953-dat]]
10
+
11
+- [[ACDC-dat]] - [[meter-energy-dat]]
12
+
13
+- [[ESP32-S3-HDK-dat]]
14
+
15
+## ACDC
16
+
17
+![](2026-07-15-16-42-09.png)
18
+
19
+## ref
20
+
21
+
projects-dat/github-projects-dat/github-projects-dat.md
... ...
@@ -0,0 +1,13 @@
1
+
2
+
3
+# github-projects-dat
4
+
5
+- [[projects-dat]] - [[github-projects-dat]] - [[bilibili-projects-dat]] - [[youtube-projects-dat]]
6
+
7
+## open-source-hardware
8
+
9
+https://github.com/topics/open-source-hardware
10
+
11
+https://github.com/delftopenhardware/awesome-open-hardware
12
+
13
+
projects-dat/projects-dat.md
... ...
@@ -2,6 +2,10 @@
2 2
3 3
# projects-dat.md
4 4
5
+
6
+- [[projects-dat]] - [[github-projects-dat]] - [[bilibili-projects-dat]] - [[youtube-projects-dat]]
7
+
8
+
5 9
- [[robotic-project-list-dat]] - [[projects-dat]]
6 10
7 11
fun / learnable / popular projects, sort by date