Skip to content

Commit 1acf435

Browse files
committed
update hw analog
1 parent 1a75251 commit 1acf435

File tree

23 files changed

+473
-200
lines changed

23 files changed

+473
-200
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- https://en.wikipedia.org/wiki/Seven-segment_display
2+
- 1903 (1970 Leds)
3+
- Multiple digit ones need to use multiplexing
4+
by alternating power between each digit.
5+
6+
#+CAPTION: in DIP-10 form + segment names
7+
#+ATTR_ORG: :width 150
8+
[[https://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Seven_segment_01_Pengo.jpg/485px-Seven_segment_01_Pengo.jpg]] [[https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/7_Segment_Display_with_Labeled_Segments.svg/225px-7_Segment_Display_with_Labeled_Segments.svg.png]]
9+
10+
- multiple digit:
11+
- 7 pins for each segment
12+
- 1 pin for each digit, connecting all the cathodes of each segment of a digit
13+
- you select the digit, draw, clear, move to next digit

hardware/analog/components/active/battery.org

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,24 @@
66
- different models have [[http://www.learningaboutelectronics.com/Articles/Battery-internal-resistance][different internal resistance]] with same voltage
77
- the bigger, the less iR and can give more current
88
|-----------+------+-------------+---------+----------|
9-
| | V | | mAh | Ω |
9+
| | <c> | | | |
10+
| | V | | mAh | Ω |
1011
|-----------+------+-------------+---------+----------|
11-
| button | 3 | lithium | 200 | |
12-
| PP3 | 9 | zinc carbon | | 35 |
13-
| PP3 | 9 | lithium | 1200 | 16 to 18 |
14-
| PP3 | 9 | Alkaline | 500 | 1 to 2 |
15-
| AAA | 1.5 | Alkaline | 800 | |
12+
| button | 3 | lithium | 200 | |
13+
| PP3 | 9 | zinc carbon | | 35 |
14+
| PP3 | 9 | lithium | 1200 | 16 to 18 |
15+
| PP3 | 9 | Alkaline | 500 | 1 to 2 |
16+
| AAA | 1.5 | Alkaline | 800 | |
1617
| AAA | 1.25 | NiMh | 750 | |
17-
| AA | 1.5 | Alkaline | 2000 | 0.15 |
18+
| AA | 1.5 | Alkaline | 2000 | 0.15 |
1819
| AA | 1.25 | NiMH | 2000 | 0.02 |
19-
| C | 1.5 | Alkaline | 6000 | |
20-
| D | 1.5 | Alkaline | 15000 | 0.1 |
20+
| C | 1.5 | Alkaline | 6000 | |
21+
| D | 1.5 | Alkaline | 15000 | 0.1 |
2122
| D | | NiCad | | 0.009 |
2223
| D | | SLA | | 0.006 |
23-
| flat cell | 3.7 | LiPo | 50-8000 | |
24-
| SLA | 6 | | 600 | |
25-
| SLA | 12 | | 8000 | |
24+
| flat cell | 3.7 | LiPo | 50-8000 | |
25+
| SLA | 6 | | 600 | |
26+
| SLA | 12 | | 8000 | |
2627
|-----------+------+-------------+---------+----------|
2728

2829
- charging
@@ -39,3 +40,11 @@
3940
[[https://slader-solution-uploads.s3.amazonaws.com/7ac459e3-99b6-430b-aa6a-d67b64279485-1672107598554093.png]]
4041

4142
- tip: double check if cable colors match polarity
43+
44+
* bipolar 9v+9v
45+
46+
#+CAPTION: circuit of two 9v batteries in series
47+
[[https://i.sstatic.net/1KokB.gif]]
48+
49+
- 2 in series
50+
- add 2x capacitors (220uF) to smooth out

hardware/analog/components/active/diode.org

Lines changed: 123 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,44 @@
1+
#+TITLE: Diode
2+
3+
#+CAPTION: diode's symbol, Anode(+) -> Cathode(-)
14
#+ATTR_ORG: :width 150
25
[[https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Diode_symbol.svg/320px-Diode_symbol.svg.png]]
36

47
- https://en.wikipedia.org/wiki/Diode
58

69
- one-way valves for electricity
10+
- polarized
711
- from Anode to Cathode (aka forward direction/biased)
8-
1) one carries current by electrons
12+
1) one carries *current* by electrons
913
2) another one through holes, where electrons are missing
1014

1115
- Specs
12-
- Forward Voltage: =Vf=
1316
- Max Switching Speed: in ns (eg: 4ns ~100Khz)
14-
- Breakdown: ~-50v
17+
- Breakdown: ~-50v =Vbr=
18+
- Forward Voltage: =Vf=
19+
- ~0.7v on Sillicon
20+
- ~0.3v on Germanium
21+
- ~2v on LEDs
1522

1623
- ideal diodes will
17-
- acts as an _opencircuit_ any and all current in reverse
18-
- acts as a _shortcircuit_ (no resistance) when current is forward
19-
- irl has a Vf (forward voltage drop) ~13% ~0.7v
24+
- acts as an _opencircuit_ any and all *current* in reverse
25+
- acts as a _shortcircuit_ (no resistance) when *current* is forward
26+
- irl has a Vf (forward voltage drop) ~13%
2027
- aka don't conduct below a certain threshold input *voltage* (~0.7v)
2128
- Power (in watts) = =Vf= (in Volts) * I (in amps)
2229
- as such, is not reliable to put diodes in parallel (1 does all the work)
2330

24-
- operating regions of a diode
25-
1) Forward: voltage is positive, greater than Vf, current run through
26-
2) Reverse: =Vbr= > voltage > =Vf=
27-
3) Breakdown: voltage is negative
28-
#+ATTR_ORG: :width 300
29-
[[https://upload.wikimedia.org/wikipedia/commons/thumb/2/2a/Diode_current_wiki.png/628px-Diode_current_wiki.png]]
31+
* Operating regions
32+
33+
1) Forward (bias):
34+
- voltage is positive, greater than Vf, current run through
35+
2) Reverse (bias): =Vbr= > voltage > =Vf=
36+
- diode is off, current mostly blocked
37+
3) Breakdown: voltage is negative
38+
39+
#+CAPTION: real diode's voltage/current relationship
40+
#+ATTR_ORG: :width 300
41+
[[https://upload.wikimedia.org/wikipedia/commons/thumb/2/2a/Diode_current_wiki.png/628px-Diode_current_wiki.png]]
3042

3143
* Diode IV Equation (for positive voltage)
3244

@@ -75,6 +87,8 @@
7587

7688
** [[https://en.wikipedia.org/wiki/Snubber][snubber]] / [[https://en.wikipedia.org/wiki/Flyback_diode][flyback]] / commutating / freewheeling / supressor / clamp / catch
7789

90+
- aka reverse bias diode
91+
- aka antiparallel diode
7892
- aka to suppress transient voltages
7993
- aka reverse voltage protection
8094
- to eliminate flyback (aka sudden voltage spikes) of an inductor/motor/solenoid (eg: when switching off)
@@ -103,43 +117,104 @@
103117

104118
* Types
105119

106-
- Small Signal: for low electrical current
120+
** Power diodes / Rectifiers
121+
122+
- epoxy
123+
- the common ones
124+
- large PN junction
125+
- high forward current (~100KA)
126+
- high revere blocking voltage (~1KV)
127+
- not suitable for high frequency (+1MHz)
128+
129+
- https://www.inventable.eu/2017/09/04/los-diodos-1n4000/
130+
- https://en.wikipedia.org/wiki/1N400x_rectifier_diode
131+
- 1N400x (1A, 30us)
132+
- 1N54xx (3A)
133+
134+
** Small Signal
135+
136+
- characteristics
137+
- lower max current
138+
- lower max voltages (poor power dissipation)
139+
- for high frequency applications
140+
141+
- form factor
142+
- crystal
143+
- black band on the Cathode(-)
144+
145+
- [[https://en.wikipedia.org/wiki/1N4148_signal_diode][1N4148]] (glass red, switching 4ns, 200mA, 100v)
107146
- https://www.inventable.eu/2018/03/21/diodo-1n4148/
108-
- 1N740
109-
- 1N1100
110-
- [[https://en.wikipedia.org/wiki/1N4148_signal_diode][1N4148]] (glass red, switching 4ns, 200mA, 100v)
111-
- 1N5236B
112-
- Rectifier: epoxy, high electric current, +voltage drop
113-
- https://www.inventable.eu/2017/09/04/los-diodos-1n4000/
114-
- https://en.wikipedia.org/wiki/1N400x_rectifier_diode
115-
- 1N400x (1A, 30us)
116-
- 1N54xx (3A)
117-
- Schottky, -voltage drop
118-
- [[https://en.wikipedia.org/wiki/List_of_1N58xx_Schottky_diodes][1N58xx]] (Vf=0.3v,10ns)
119-
- Zener
120-
- low breakdown voltage
121-
- in reverse due "zener breakdown"
122-
- maintains constant voltage
123-
[[https://www.digikey.be/-/media/MakerIO/Images/blogs/zener-diode-basic-operation-fig5.JPG]]
124-
125-
- PhotoVoltaic Cell
147+
- 1N740
148+
- 1N1100
149+
- 1N5236B
150+
151+
** Schottky
152+
153+
- epoxy
154+
- lower voltage drop (Vf) than normal diodes
155+
- low power
156+
- fast switching speed (PWM +1Khz)
157+
- uses: rectification, signal conditioning & TTL-CMOS switching
158+
- [[https://en.wikipedia.org/wiki/List_of_1N58xx_Schottky_diodes][1N58xx]] (Vf=0.3v,10ns)
159+
160+
** Avalanche
161+
162+
- https://en.wikipedia.org/wiki/Avalanche_diode
163+
- designed to avalanche/breakdown at a specific rev voltage https://en.wikipedia.org/wiki/Avalanche_breakdown
164+
- optimized for it, smaller voltage drops on it
165+
166+
** Zener
167+
168+
- https://en.wikipedia.org/wiki/Zener_diode
169+
- https://en.wikipedia.org/wiki/Zener_effect
170+
- https://en.wikipedia.org/wiki/Quantum_tunnelling
171+
- https://en.wikipedia.org/wiki/Noise_generator#Zener_diode
172+
- glass
173+
- low breakdown voltage
174+
- in reverse due "zener breakdown" =Vz=
175+
- _maintains constant voltage_ beyond breakdown
176+
- usage: on voltage regulators
177+
[[https://www.digikey.be/-/media/MakerIO/Images/blogs/zener-diode-basic-operation-fig5.JPG]]
178+
179+
** TSV - Transient Voltage Supression
180+
181+
- https://en.wikipedia.org/wiki/Transient-voltage-suppression_diode
182+
- form factors
183+
- in 6 pin package with 4 diodes inside
184+
- aka transil, transorb, thyrector, aka [[https://en.wikipedia.org/wiki/Trisil][trisil]]
185+
- protects electronics from voltage spikes
186+
187+
** PhotoVoltaic Cell
188+
126189
- have a thin N-type layer
127190
- takes light in and produces electricity
128191

129-
- LED
130-
- have a thin P-type layer
131-
- light is created at the junction
132-
- tip: find led resistor
133-
- supply voltage = Vs
134-
- led forward voltage = Vf (in datasheet)
135-
- led forward current = If (in datasheet)
136-
- R = (Vs-Vf) / If (R is in omhms)
137-
- common Vf values by led color
138-
|-----+--------------|
139-
| Vf | color |
140-
|-----+--------------|
141-
| 1.6 | red |
142-
| 2.5 | yellow/green |
143-
| 3 | blue/white |
144-
|-----+--------------|
145-
- ~20mA needed
192+
** LED - Light Emitting Diode
193+
194+
- have a thin P-type layer
195+
- light is created at the junction
196+
- Anode(+): longer leg
197+
- Cathode(-): flat face on the body
198+
- tip: find led resistor
199+
- supply voltage = Vs
200+
- led forward voltage = Vf (in datasheet)
201+
- led forward current = If (in datasheet)
202+
- R = (Vs-Vf) / If (R is in omhms)
203+
- common Vf values by led color
204+
|-----+--------------|
205+
| Vf | color |
206+
|-----+--------------|
207+
| 1.6 | red |
208+
| 2.5 | yellow/green |
209+
| 3 | blue/white |
210+
|-----+--------------|
211+
- ~20mA needed
212+
213+
** High-Power LED
214+
215+
- for illumination
216+
- replaced arrays of normal LEDs
217+
- on a heatsink
218+
- +1W
219+
- constant current
220+
- you need a MOSFET and a Voltage Regulator to drive them with GPIO
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- https://en.wikipedia.org/wiki/Brushless_DC_electric_motor
2+
- BLDC
3+
- synchronous
4+
- DC
5+
- intended for continuos rotation
Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1-
* BJT (Bipolar Junction Transistors)
1+
#+TITLE: BJT (Bipolar Junction Transistors)
22

33
#+CAPTION: BJT types: NPN and PNP
44
[[https://www.schoolphysics.co.uk/age16-19/Electronics/Transistors/text/Transistor_/images/1.png]]
55

66
- https://en.wikipedia.org/wiki/Bipolar_junction_transistor
77
- http://r-luis.xbot.es/edigital/qnpn_pnp.html
8+
89
- The most common
9-
- Uses both *electrons* and *electron holes* as charge carriers.
1010
- =current= controlled switch
1111
- _voltage drop_ of 0.5v
12-
- Multiplies (~100x) current (the Betha)
13-
- Most transistors operate at: 0mV < Vbe < 700mV
12+
- multiplies/amplifies current by a Betha (~100x) (aka the Current Gain)
13+
- Betha = Collector_Current / Base_Current
14+
1415
- Legs: emitter, collector, base
15-
- There are 2 current that could flow through a transistor
16-
- ~Ib~ Base Current
17-
- ~Ic~ Collector Current
18-
- Allows ~Ic~ to flow, when a small ~Ib~ flows
19-
- Similar to a *diode* (aka PN), but with an extra element
16+
17+
- Characteristics:
18+
- ~Vbe~ base-emitter voltage
19+
- Most transistors operate at: 0mV < Vbe < 700mV
20+
- ~Vce~ collector-emitter voltage
21+
- There are 2 current that could flow through a transistor
22+
- ~Ib~ Base Current
23+
- ~Ic~ Collector Current
24+
- Allows ~Ic~ to flow, when a small ~Ib~ flows
25+
2026
- Types
2127
- NPN: small current from from B to E, triggers a large current from C to E
2228
- PNP: a small current from E to B, triggers a bigger current from E to C
29+
2330
- Features
2431
- +power consumption
2532
- lower density (harder to fit on a space)
@@ -31,3 +38,32 @@
3138

3239
#+CAPTION: operating regions of BJT at different base currents Ib
3340
[[https://toshiba.semicon-storage.com/content/dam/toshiba-ss-v3/master/en/semiconductor/knowledge/faq/mosfet_brt/are-transistors-driven-by-current-or-voltage_1_en.jpg]]
41+
42+
* ics
43+
44+
- BC327/BC337 https://www.inventable.eu/2018/04/18/los-transistores-bc327-y-bc337/
45+
- PNP/NPN
46+
- max 800mA
47+
- max 45v
48+
49+
** BC548
50+
51+
- https://en.wikipedia.org/wiki/BC548
52+
- https://www.inventable.eu/2017/07/09/transistor-bc548/
53+
- https://www.radiomuseum.org/tubes/tube_bc548.html
54+
55+
- NPN BJT
56+
- TO-92
57+
- Substitute and successor of BC108/148/238
58+
- GainGroups: A/B/C with 180/300/600 current gains repectively
59+
60+
** 2N2222
61+
62+
- https://en.wikipedia.org/wiki/2N2222
63+
- https://www.inventable.eu/2020/11/30/transistor-2n2222/
64+
65+
- 1960
66+
- NPN BJT
67+
- TO-92 (TO-18 antes)
68+
- Equivalente a BC337/BC548
69+
- maximo 800mA corriente de colector

hardware/analog/components/active/transistors/fet.org

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@
3131

3232
* MOSFET (Metal-Oxide-Semiconductor FET)
3333

34+
#+CAPTION: a metal gate layer above a insulating oxide layer, controls flow of an electric field
35+
#+ATTR_ORG: :width 200
36+
[[https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Lateral_mosfet.svg/800px-Lateral_mosfet.svg.png]]
37+
3438
- https://en.wikipedia.org/wiki/MOSFET
3539
- threshold/gate voltage:
3640
- generics 2-4v
3741
- logic-level ones <2v
42+
- max of ~15v
43+
3844
- types
3945
- n-channel
4046
- more common
@@ -44,7 +50,3 @@
4450
closing the circuit
4551
- p-channel
4652
- inverse behaviour
47-
48-
#+CAPTION: a metal gate layer above a insulating oxide layer, controls flow of an electric field
49-
#+ATTR_ORG: :width 200
50-
[[https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/Lateral_mosfet.svg/800px-Lateral_mosfet.svg.png]]

0 commit comments

Comments
 (0)