BOM-DAT/CONN-DAT/CONN-dat.md
... ...
@@ -19,6 +19,9 @@
19 19
20 20
- [[conn-cable-terminal-dat]]
21 21
22
+- [[conn-audio-dat]] - [[conn-video-dat]]
23
+
24
+
22 25
## BOM
23 26
24 27
- [[CCO3515-dat]] - [[CCO3612-dat]] - [[CCO3587-dat]]
BOM-DAT/CONN-DAT/conn-audio-dat/conn-audio-dat.md
... ...
@@ -6,4 +6,8 @@
6 6
7 7
- [[PJ342-dat]] - [[3F07-dat]]
8 8
9
-- [[RCA-dat]]
... ...
\ No newline at end of file
0
+- [[RCA-dat]]
1
+
2
+## ref
3
+
4
+- [[conn-dat]]
... ...
\ No newline at end of file
BOM-DAT/Resistor-Dat/Inrush-resistor-dat/Inrush-resistor-dat.md
... ...
@@ -0,0 +1,37 @@
1
+
2
+# Inrush-resistor-dat
3
+
4
+## ๐Ÿ” Purpose of 2W 300ฮฉ Resistor Before LM317 Input
5
+
6
+### ๐Ÿ”ง Common Use Cases
7
+
8
+#### 1. ๐Ÿ›ก๏ธ Inrush Current Limiting
9
+- **Function:** When power is first applied, capacitors (especially large filter caps) can draw a big inrush current.
10
+- **The 300ฮฉ resistor** slows the charging rate of the input capacitor.
11
+- Helps protect:
12
+ - Transformer
13
+ - Diodes (in rectifier)
14
+ - LM317 itself
15
+
16
+#### 2. ๐Ÿ”ฅ Power Dissipation / Pre-Regulation
17
+- **Drops excess voltage** before it hits the LM317
18
+- Reduces the **heat load on the LM317**, especially if there's a large **Vin โˆ’ Vout** difference.
19
+
20
+For example:
21
+```
22
+Vin = 24V, Vout = 12V, Load = 50mA
23
+โ†’ Voltage drop across LM317 = 12V
24
+โ†’ Power = 12V ร— 0.05A = 0.6W (hot!)
25
+
26
+Insert a 300ฮฉ resistor:
27
+ V = I ร— R = 0.05A ร— 300ฮฉ = 15V drop before LM317
28
+ New Vin = 24V โˆ’ 15V = 9V โ†’ not enough
29
+ So you may adjust value to drop just a few volts
30
+```
31
+
32
+- You must ensure **enough voltage remains** after the resistor so that LM317 operates normally (requires at least **Vin โ‰ˆ Vout + 2V**).
33
+
34
+
35
+## ref
36
+
37
+- [[resistor-dat]]
... ...
\ No newline at end of file
BOM-DAT/diode-dat/flyback-diode-dat/flyback-diode-dat.md
... ...
@@ -0,0 +1,100 @@
1
+
2
+# flyback-diode-dat
3
+
4
+## exaple == MBRF20100 == ๐Ÿ”ง Role of MBRF20100 in a Motor Driver
5
+
6
+### ๐Ÿ“˜ Component Overview
7
+
8
+| Parameter | Value |
9
+|------------------|--------------------------|
10
+| Part Number | MBRF20100 |
11
+| Type | Schottky Barrier Diode |
12
+| Max Voltage (VR) | 100V |
13
+| Max Current (IF) | 20A |
14
+| Package | TO-220AC (or similar) |
15
+| Forward Drop | ~0.75V (low Vf) |
16
+
17
+---
18
+
19
+### ๐Ÿ”Œ Purpose in Motor Driver Circuits
20
+
21
+#### 1. ๐Ÿ›ก๏ธ Flyback (Freewheeling) Diode
22
+
23
+**Motor coils are inductive.** When you suddenly switch off current, the collapsing magnetic field generates a **high voltage spike** (back-EMF) in the opposite direction.
24
+
25
+๐Ÿ” The MBRF20100 provides a **safe path** for this current to flow:
26
+- Prevents **voltage spikes**
27
+- Protects **MOSFETs / BJTs / ICs**
28
+- Helps motor **coast down smoothly** rather than abruptly stop
29
+
30
+> Usually placed **in parallel with the motor or across switching MOSFETs**, with reverse polarity.
31
+
32
+---
33
+
34
+#### 2. ๐Ÿ”„ Freewheeling Path in H-Bridge
35
+
36
+In an H-Bridge or half-bridge circuit:
37
+- When one MOSFET turns off, the inductor (motor winding) forces current to keep flowing.
38
+- MBRF20100 acts as a **freewheeling diode**, conducting the residual current until it dissipates.
39
+
40
+This helps:
41
+- Reduce switching losses
42
+- Avoid voltage spikes
43
+- Improve efficiency
44
+
45
+---
46
+
47
+### 3. โšก Reverse Polarity Protection
48
+
49
+Sometimes used as a **reverse polarity protection diode** at the power input stage:
50
+- Blocks current if polarity is reversed
51
+- Protects the entire driver circuit
52
+
53
+But note: This isnโ€™t its most common role โ€” it's more often used for **inductive load handling**.
54
+
55
+---
56
+
57
+### โœ… Why MBRF20100 Specifically?
58
+
59
+- **20A / 100V** rating suits many medium/high-power motors
60
+- **Schottky type** โ†’ fast switching, low forward voltage drop
61
+- **High efficiency** (less heat vs. regular diodes)
62
+- **TO-220** package โ†’ easy to heatsink for high current use
63
+
64
+---
65
+
66
+### ๐Ÿ“ Schematic Snippet (Freewheeling Example)
67
+
68
+```
69
+ V+ ---+
70
+ |
71
+ [Motor]
72
+ |
73
+ +++---+
74
+ | |
75
+ GND [MBRF20100]
76
+ | |
77
+ +-+
78
+ |
79
+ GND
80
+```
81
+
82
+- The MBRF20100 is in reverse-bias across the motor
83
+- When the motor coil releases energy, the diode **conducts** to safely dissipate it
84
+
85
+---
86
+
87
+### ๐Ÿงช Summary
88
+
89
+| Role | Description |
90
+|--------------------------|------------------------------------------------|
91
+| Flyback diode | Protects switch from inductive kickback |
92
+| Freewheeling diode | Allows current to circulate in bridge drivers |
93
+| Reverse polarity guard | Prevents damage on wrong power connection |
94
+| High current Schottky | Fast, efficient, and heat-manageable |
95
+
96
+
97
+
98
+## ref
99
+
100
+- [[diode-dat]]
... ...
\ No newline at end of file
BOM-DAT/mosfet-dat/mosfet-dat.md
... ...
@@ -177,6 +177,10 @@ A unique bipolar and MOSFET hybrid output stage in parallel also allows efficien
177 177
- [[NWI1126-dat]]
178 178
179 179
180
+
181
+
182
+
183
+
180 184
## ref
181 185
182 186
- [[vishay-dat]]
Board-dat/SCU/SCU1044-DAT/SCU1044-DAT.md
... ...
@@ -26,7 +26,8 @@ For example,
26 26
- default capacitor - 47uf
27 27
28 28
## Demos
29
-https://twitter.com/electro_phoenix/status/1658391696416321536
29
+
30
+- https://twitter.com/electro_phoenix/status/1658391696416321536
30 31
31 32
## ref
32 33
Chip-dat/TI-dat/NE555-DAT/NE555-Astable-dat/NE555-Astable-dat.md
... ...
@@ -0,0 +1,220 @@
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
+
220
+- [[NE555-dat]]
... ...
\ No newline at end of file
Chip-dat/TI-dat/NE555-DAT/NE555-DAT.md
... ...
@@ -1,13 +1,114 @@
1 1
2 2
# NE555 DAT
3 3
4
+partner: [[LM317-dat]]
5
+
6
+## Boards
7
+
8
+- [[SCU1044-dat]]
9
+
10
+## Function
11
+
12
+
13
+The NE555 timer IC can generate:
14
+
15
+- Delays (timing circuits)
16
+- Square waves (oscillators)
17
+- PWM signals
18
+- One-shot pulses (monostable mode)
19
+
20
+## It operates in three modes:
21
+
22
+| Mode | Use Case | Description |
23
+| ---------- | -------------- | ----------------------------------------------- |
24
+| Monostable | One-shot pulse | Output goes high for a fixed time after trigger |
25
+| Astable | Oscillator | Continuously generates square wave pulses |
26
+| Bistable | Flip-flop | Toggles output on each trigger |
27
+
28
+- [[NE555-monostable-dat]]
29
+
30
+- [[NE555-Astable-dat]]
31
+
32
+## info
33
+
34
+ +---+--+---+
35
+ 1 | GND VCC | 8
36
+ 2 | TRIG DIS | 7
37
+ 3 | OUT THR | 6
38
+ 4 | RESET CTRL | 5
39
+ +----------+
40
+
41
+
42
+| Pin | Name | Function |
43
+| --- | ----- | ------------------------------------------------- |
44
+| 1 | GND | Ground (0V) |
45
+| 2 | TRIG | Trigger input (active low) |
46
+| 3 | OUT | Output |
47
+| 4 | RESET | Reset (active low, connect to VCC) |
48
+| 5 | CTRL | Control voltage (optional, add 0.01ยตF cap to GND) |
49
+| 6 | THR | Threshold (used in timing) |
50
+| 7 | DIS | Discharge (used in timing) |
51
+| 8 | VCC | Power (4.5V to 15V) |
52
+
53
+
54
+
4 55
- input voltage up to 12 (16)V
5 56
6
-https://www.ti.com/lit/ds/symlink/ne555.pdf
57
+datasheet == https://www.ti.com/lit/ds/symlink/ne555.pdf
7 58
8 59
T = 1.1C = 1.1 * 500 000 * 0.000047 = 25.85 seconds
9 60
10 61
62
+
63
+
64
+## โš™๏ธ Mode 3: Bistable (Flip-Flop)
65
+
66
+### ๐Ÿ” Toggle output on/off with triggers
67
+
68
+### ๐Ÿ”ง Basic Wiring:
69
+
70
+- Trigger button to **Pin 2**
71
+- Reset button to **Pin 4**
72
+- Output toggles high/low
73
+
74
+---
75
+
76
+## โšก Applications
77
+
78
+| Application | Example Use |
79
+| ---------------------------- | -------------------------------- |
80
+| Timer | Delay off circuits |
81
+| Oscillator | LED flasher, tone generator |
82
+| Pulse Width Modulation (PWM) | Brightness/motor speed control |
83
+| Bistable Switch | Toggle button circuit |
84
+| Frequency Generator | Clock signals for logic circuits |
85
+
86
+
87
+## ๐Ÿ“˜ Example: LED Flasher Circuit (Astable Mode)
88
+
89
+
90
+ VCC (+)
91
+ |
92
+ [R1]
93
+ |
94
+ +-------+
95
+ | |
96
+ [R2] Pin 7
97
+ | |
98
+ [C1] |
99
+ | |
100
+ GND Pin 6
101
+ |
102
+ Pin 2
103
+ |
104
+ GND
105
+
106
+ Pin 3 (OUT) โ†’ LED + resistor โ†’ GND
107
+
108
+
109
+
110
+
111
+
11 112
## tuning pulse
12 113
13 114
![](2024-10-27-15-38-55.png)
Chip-dat/TI-dat/NE555-DAT/NE555-monostable-dat/2025-06-07-16-05-49.png
... ...
Binary files /dev/null and b/Chip-dat/TI-dat/NE555-DAT/NE555-monostable-dat/2025-06-07-16-05-49.png differ
Chip-dat/TI-dat/NE555-DAT/NE555-monostable-dat/NE555-monostable-dat.md
... ...
@@ -0,0 +1,104 @@
1
+
2
+# NE555-monostable-dat
3
+
4
+
5
+## โš™๏ธ Mode 2: Monostable (One-shot Pulse)
6
+
7
+### example 1. ๐Ÿ” Triggered pulse of fixed length
8
+
9
+#### ๐Ÿ”ง Wiring:
10
+
11
+```
12
+ VCC
13
+ |
14
+ [R1]
15
+ |
16
+ Pin 7 (DIS)
17
+ |
18
+ Pin 6 (THR) ------+
19
+ |
20
+ [C1]
21
+ |
22
+ GND
23
+
24
+- Button โ†’ Pin 2 (TRIG), pulled up to VCC
25
+- Pin 4 (RESET) โ†’ VCC
26
+- Pin 5 (CTRL) โ†’ 0.01ยตF to GND
27
+- Pin 3 = Output
28
+```
29
+
30
+#### ๐Ÿงฎ Pulse Time:
31
+
32
+```
33
+T = 1.1 ร— R1 ร— C1
34
+```
35
+
36
+---
37
+
38
+
39
+
40
+
41
+
42
+### example 2. ๐Ÿง  Circuit Function: Monostable Pulse Generator (One-Shot Timer)
43
+
44
+
45
+![](2025-06-07-16-05-49.png)
46
+
47
+#### ๐Ÿ” What it does:
48
+- When the button is pressed (SW1), the circuit triggers the **555 timer** to generate a **single output pulse**.
49
+- The **duration** of the pulse is set by the resistor PS1 (a potentiometer) and capacitor C1.
50
+- The output pin (pin 3) goes **high (ON)** for a fixed time, then returns low automatically.
51
+
52
+---
53
+
54
+#### ๐Ÿ” How it Works (Step-by-step)
55
+
56
+1. **Initial state**:
57
+ - The 555 timer waits for a **low signal** on the **Trigger (pin 2)**.
58
+ - The output (pin 3) is normally **LOW**.
59
+
60
+2. **Trigger event**:
61
+ - When SW1 is pressed, the capacitor C1 pulls the **Trigger pin (2)** low.
62
+ - This **activates** the 555 timer.
63
+
64
+3. **Timing begins**:
65
+ - Output (pin 3) goes **HIGH** immediately.
66
+ - The capacitor C1 starts charging through the potentiometer (PS1).
67
+
68
+4. **Pulse duration**:
69
+ - The high output duration `T` is determined by:
70
+ ```
71
+ T = 1.1 ร— R ร— C
72
+ Where:
73
+ R = resistance of PS1 (in ohms)
74
+ C = capacitance of C1 (in farads)
75
+ ```
76
+ In your case:
77
+ - PS1: adjustable potentiometer
78
+ - C1: 47ยตF
79
+ โ†’ So T is adjustable via the pot.
80
+
81
+5. **End of timing**:
82
+ - Once the capacitor reaches 2/3 of Vcc, the timer resets itself.
83
+ - Output (pin 3) goes **LOW** again.
84
+
85
+---
86
+
87
+#### ๐Ÿงฉ Other Components:
88
+
89
+| Component | Role |
90
+|-----------|----------------------------------------------|
91
+| **C2** | Power filter cap for stability |
92
+| **C3** | Controls pin noise on control voltage (pin 5)|
93
+| **PS2** | Potentiometer for fine adjustment of trigger |
94
+| **SW2** | Reset switch โ†’ forces timer to stop |
95
+
96
+---
97
+
98
+#### โœ… Typical Use Cases:
99
+
100
+- Delay timer
101
+- Pulse stretcher
102
+- Debouncing a switch
103
+- Timer for lights, relays, buzzers
104
+- Generating single-shot triggers for digital logic
... ...
\ No newline at end of file
Chip-dat/TI-dat/NE555-DAT/NE555-motor-driver-dat.md
... ...
@@ -0,0 +1,16 @@
1
+
2
+# NE555-motor-driver-dat
3
+
4
+partner:
5
+
6
+[[LM317-dat]] == [[LDO-dat]]
7
+
8
+[[Inrush-resistor-dat]]
9
+
10
+[[flyback-diode-dat]]
11
+
12
+[[NE555-dat]] - [[NE555-Astable-dat]]
13
+
14
+[[mosfet-dat]]
15
+
16
+
Chip-dat/TI-dat/TI-Power-dat/LM317-dat/LM317-dat.md
... ...
@@ -1,15 +1,50 @@
1 1
# LM317-dat
2 2
3
+partner: [[Inrush-resistor-dat]]
4
+
3 5
The LM317 device is an adjustable three-terminal positive-voltage regulator capable of supplying more than 1.5 A over an output-voltage range of 1.25 V to 37 V. I
4 6
7
+
8
+
5 9
## board
6 10
7 11
- [[OPM1087-dat]]
8 12
13
+
14
+
15
+
9 16
## 5V output
10 17
11 18
![](2025-02-16-18-09-32.png)
12 19
20
+
21
+## 12V output
22
+
23
+### ๐Ÿ”ง LM317 with R1 = 30kฮฉ and R2 = 290kฮฉ
24
+
25
+#### ๐Ÿ“˜ Output Voltage Formula
26
+
27
+```
28
+Vout = 1.25V ร— (1 + R2 / R1) + Iadj ร— R2
29
+```
30
+
31
+Where:
32
+- **1.25V** is the reference voltage
33
+- **R1 = 30,000ฮฉ**
34
+- **R2 = 290,000ฮฉ**
35
+- **Iadj** (adjust pin current) is ~50ยตA, often ignored for most calculations
36
+
37
+---
38
+
39
+#### ๐Ÿงฎ Calculating Output Voltage (ignoring Iadj):
40
+
41
+
42
+ Vout โ‰ˆ 1.25 ร— (1 + 290,000 / 30,000)
43
+ โ‰ˆ 1.25 ร— (1 + 9.667)
44
+ โ‰ˆ 1.25 ร— 10.667
45
+ โ‰ˆ 13.33V
46
+
47
+
13 48
## Specs
14 49
15 50
![](2025-03-14-16-29-21.png)
Tech-dat/acturator-dat/motor-driver-dat/CC-CCW-control-dat/CC-CCW-control-dat.md
... ...
@@ -0,0 +1,53 @@
1
+
2
+# CC-CCW-control-dat
3
+
4
+๐Ÿš€ Bidirectional (CW/CCW) Motor Control using GPIO and MOSFETs
5
+
6
+This guide explains how to use **GPIO** pins to control the **direction** of a DC motor using a MOSFET-based circuit, starting from your current schematic.
7
+
8
+---
9
+
10
+## โœ… Option 1: Use an H-Bridge (Recommended)
11
+
12
+Use **4 MOSFETs** or an **H-bridge IC** like:
13
+
14
+- L298N
15
+- DRV8871
16
+- BTS7960
17
+
18
+### Logic Table:
19
+| IN1 | IN2 | Motor Direction |
20
+|-----|-----|-----------------|
21
+| 1 | 0 | CW |
22
+| 0 | 1 | CCW |
23
+| 0 | 0 | Coast (OFF) |
24
+| 1 | 1 | Brake (Stop) |
25
+
26
+---
27
+
28
+## โœ… Option 2: Use Two MOSFETs (Discrete H-Bridge Half)
29
+
30
+Use two N-channel MOSFETs:
31
+
32
+```
33
+ +Vbat
34
+ |
35
+ Motor
36
+ |
37
+ A ---------> MOSFET1 --------> GND (CTRL1 = CW)
38
+ |
39
+ B ---------> MOSFET2 --------> GND (CTRL2 = CCW)
40
+```
41
+
42
+### Control Logic:
43
+| CTRL1 (CW) | CTRL2 (CCW) | Motor State |
44
+|------------|-------------|-------------|
45
+| HIGH | LOW | Spin CW |
46
+| LOW | HIGH | Spin CCW |
47
+| LOW | LOW | OFF |
48
+| HIGH | HIGH | ๐Ÿšซ Avoid! (Short) |
49
+
50
+
51
+## ref
52
+
53
+- [[motor-driver-dat]]
... ...
\ No newline at end of file
Tech-dat/acturator-dat/motor-driver-dat/motor-driver-dat.md
... ...
@@ -246,6 +246,11 @@ A DC motor reverses direction by reversing the polarity of the voltage applied t
246 246
| AMC8832 | 15A+ | Up to 50V | Full H-Bridge | Advanced high-efficiency |
247 247
248 248
249
+- [[NE555-motor-driver-dat]] - [[NE555-dat]]
250
+
251
+- [[motor-driver-dat]]
252
+
253
+
249 254
## ref
250 255
251 256
- [[motor-dat]]
Tech-dat/tech-dat.md
... ...
@@ -19,16 +19,11 @@
19 19
20 20
- [[antenna-dat]] - [[antenna-active-dat]] - [[antenna-passive-dat]]
21 21
22
-- [[app-dat]] - [[mechanics-dat]]
22
+- [[app-dat]] - [[mechanics-dat]] - [[BOM-dat]] - [[conn-dat]]
23 23
24 24
25 25
## Category
26 26
27
-
28
-### CONN
29
-
30
-- [[db9-dat]]
31
-
32 27
### MCU / CTRL / Processing
33 28
34 29
- [[mcu-dat]] - [[development-board-dat]]
power-dat/DC-dat/LDO-dat/LDO-dat.md
... ...
@@ -16,6 +16,9 @@
16 16
| XC6219 | | |
17 17
| LP2985 | | |
18 18
19
+- [[LM317-dat]]
20
+
21
+
19 22
## 9742
20 23
21 24
![](2024-01-18-18-11-53.png)