Skip to content

Commit a2d4f96

Browse files
author
Tobias Lange
committed
V1.0
1 parent baad53a commit a2d4f96

File tree

84 files changed

+93304
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+93304
-0
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#pycharm
2+
.idea/
3+
#python stuff
4+
__pycache__/
5+
.venv/
6+
7+
# debug data
8+
log_data
9+
10+
# notes
11+
todo.md

Concept.odg

14.3 KB
Binary file not shown.

Datasheet/CP2102-9.pdf

2.07 MB
Binary file not shown.

Datasheet/SFH 309 FA_EN.pdf

770 KB
Binary file not shown.
Binary file not shown.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 vich-667
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
EESchema-LIBRARY Version 2.4
2+
#encoding utf-8
3+
#
4+
# Connector_Conn_01x03_Female
5+
#
6+
DEF Connector_Conn_01x03_Female J 0 40 Y N 1 F N
7+
F0 "J" 0 200 50 H V C CNN
8+
F1 "Connector_Conn_01x03_Female" 0 -200 50 H V C CNN
9+
F2 "" 0 0 50 H I C CNN
10+
F3 "" 0 0 50 H I C CNN
11+
$FPLIST
12+
Connector*:*_1x??_*
13+
$ENDFPLIST
14+
DRAW
15+
A 0 -100 20 901 -901 1 1 6 N 0 -80 0 -120
16+
A 0 0 20 901 -901 1 1 6 N 0 20 0 -20
17+
A 0 100 20 901 -901 1 1 6 N 0 120 0 80
18+
P 2 1 1 6 -50 -100 -20 -100 N
19+
P 2 1 1 6 -50 0 -20 0 N
20+
P 2 1 1 6 -50 100 -20 100 N
21+
X Pin_1 1 -200 100 150 R 50 50 1 1 P
22+
X Pin_2 2 -200 0 150 R 50 50 1 1 P
23+
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
24+
ENDDRAW
25+
ENDDEF
26+
#
27+
# Connector_Conn_01x03_Male
28+
#
29+
DEF Connector_Conn_01x03_Male J 0 40 Y N 1 F N
30+
F0 "J" 0 200 50 H V C CNN
31+
F1 "Connector_Conn_01x03_Male" 0 -200 50 H V C CNN
32+
F2 "" 0 0 50 H I C CNN
33+
F3 "" 0 0 50 H I C CNN
34+
$FPLIST
35+
Connector*:*_1x??_*
36+
$ENDFPLIST
37+
DRAW
38+
S 34 -95 0 -105 1 1 6 F
39+
S 34 5 0 -5 1 1 6 F
40+
S 34 105 0 95 1 1 6 F
41+
P 2 1 1 6 50 -100 34 -100 N
42+
P 2 1 1 6 50 0 34 0 N
43+
P 2 1 1 6 50 100 34 100 N
44+
X Pin_1 1 200 100 150 L 50 50 1 1 P
45+
X Pin_2 2 200 0 150 L 50 50 1 1 P
46+
X Pin_3 3 200 -100 150 L 50 50 1 1 P
47+
ENDDRAW
48+
ENDDEF
49+
#
50+
# Connector_Conn_01x06_Male
51+
#
52+
DEF Connector_Conn_01x06_Male J 0 40 Y N 1 F N
53+
F0 "J" 0 300 50 H V C CNN
54+
F1 "Connector_Conn_01x06_Male" 0 -400 50 H V C CNN
55+
F2 "" 0 0 50 H I C CNN
56+
F3 "" 0 0 50 H I C CNN
57+
$FPLIST
58+
Connector*:*_1x??_*
59+
$ENDFPLIST
60+
DRAW
61+
S 34 -295 0 -305 1 1 6 F
62+
S 34 -195 0 -205 1 1 6 F
63+
S 34 -95 0 -105 1 1 6 F
64+
S 34 5 0 -5 1 1 6 F
65+
S 34 105 0 95 1 1 6 F
66+
S 34 205 0 195 1 1 6 F
67+
P 2 1 1 6 50 -300 34 -300 N
68+
P 2 1 1 6 50 -200 34 -200 N
69+
P 2 1 1 6 50 -100 34 -100 N
70+
P 2 1 1 6 50 0 34 0 N
71+
P 2 1 1 6 50 100 34 100 N
72+
P 2 1 1 6 50 200 34 200 N
73+
X Pin_1 1 200 200 150 L 50 50 1 1 P
74+
X Pin_2 2 200 100 150 L 50 50 1 1 P
75+
X Pin_3 3 200 0 150 L 50 50 1 1 P
76+
X Pin_4 4 200 -100 150 L 50 50 1 1 P
77+
X Pin_5 5 200 -200 150 L 50 50 1 1 P
78+
X Pin_6 6 200 -300 150 L 50 50 1 1 P
79+
ENDDRAW
80+
ENDDEF
81+
#
82+
# Device_C
83+
#
84+
DEF Device_C C 0 10 N Y 1 F N
85+
F0 "C" 25 100 50 H V L CNN
86+
F1 "Device_C" 25 -100 50 H V L CNN
87+
F2 "" 38 -150 50 H I C CNN
88+
F3 "" 0 0 50 H I C CNN
89+
$FPLIST
90+
C_*
91+
$ENDFPLIST
92+
DRAW
93+
P 2 0 1 20 -80 -30 80 -30 N
94+
P 2 0 1 20 -80 30 80 30 N
95+
X ~ 1 0 150 110 D 50 50 1 1 P
96+
X ~ 2 0 -150 110 U 50 50 1 1 P
97+
ENDDRAW
98+
ENDDEF
99+
#
100+
# Device_CP
101+
#
102+
DEF Device_CP C 0 10 N Y 1 F N
103+
F0 "C" 25 100 50 H V L CNN
104+
F1 "Device_CP" 25 -100 50 H V L CNN
105+
F2 "" 38 -150 50 H I C CNN
106+
F3 "" 0 0 50 H I C CNN
107+
$FPLIST
108+
CP_*
109+
$ENDFPLIST
110+
DRAW
111+
S -90 20 90 40 0 1 0 N
112+
S 90 -20 -90 -40 0 1 0 F
113+
P 2 0 1 0 -70 90 -30 90 N
114+
P 2 0 1 0 -50 110 -50 70 N
115+
X ~ 1 0 150 110 D 50 50 1 1 P
116+
X ~ 2 0 -150 110 U 50 50 1 1 P
117+
ENDDRAW
118+
ENDDEF
119+
#
120+
# Device_R
121+
#
122+
DEF Device_R R 0 0 N Y 1 F N
123+
F0 "R" 80 0 50 V V C CNN
124+
F1 "Device_R" 0 0 50 V V C CNN
125+
F2 "" -70 0 50 V I C CNN
126+
F3 "" 0 0 50 H I C CNN
127+
$FPLIST
128+
R_*
129+
$ENDFPLIST
130+
DRAW
131+
S -40 -100 40 100 0 1 10 N
132+
X ~ 1 0 150 50 D 50 50 1 1 P
133+
X ~ 2 0 -150 50 U 50 50 1 1 P
134+
ENDDRAW
135+
ENDDEF
136+
#
137+
# Diode_BAT42
138+
#
139+
DEF Diode_BAT42 D 0 40 N N 1 F N
140+
F0 "D" 0 100 50 H V C CNN
141+
F1 "Diode_BAT42" 0 -100 50 H V C CNN
142+
F2 "Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal" 0 -175 50 H I C CNN
143+
F3 "" 0 0 50 H I C CNN
144+
ALIAS BAT41 BAT42 BAT43 BAT46 BAT48RL BAT85 BAT86S BAT86 1N5711 1N5712 1N6857 1N6858 DSB5712 DSB2810
145+
$FPLIST
146+
D*DO?35*
147+
$ENDFPLIST
148+
DRAW
149+
P 2 0 1 0 50 0 -50 0 N
150+
P 4 0 1 10 50 50 50 -50 -50 0 50 50 N
151+
P 6 0 1 10 -75 25 -75 50 -50 50 -50 -50 -25 -50 -25 -25 N
152+
X K 1 -150 0 100 R 50 50 1 1 P
153+
X A 2 150 0 100 L 50 50 1 1 P
154+
ENDDRAW
155+
ENDDEF
156+
#
157+
# LED_SFH480
158+
#
159+
DEF LED_SFH480 D 0 40 N N 1 F N
160+
F0 "D" 20 70 50 H V L CNN
161+
F1 "LED_SFH480" -40 -110 50 H V C CNN
162+
F2 "Package_TO_SOT_THT:TO-18-2_Window" 0 175 50 H I C CNN
163+
F3 "" -50 0 50 H I C CNN
164+
ALIAS SFH480
165+
$FPLIST
166+
TO?18*Window*
167+
$ENDFPLIST
168+
DRAW
169+
P 2 0 1 10 -100 50 -100 -50 N
170+
P 2 0 1 0 0 0 -100 0 N
171+
P 2 0 1 0 15 125 -5 125 N
172+
P 3 0 1 0 -45 65 15 125 15 105 N
173+
P 4 0 1 10 0 50 0 -50 -100 0 0 50 N
174+
P 5 0 1 0 -95 65 -35 125 -35 105 -35 125 -55 125 N
175+
X K 1 -200 0 100 R 50 50 1 1 P
176+
X A 2 100 0 100 L 50 50 1 1 P
177+
ENDDRAW
178+
ENDDEF
179+
#
180+
# Sensor_Optical_SFH309
181+
#
182+
DEF Sensor_Optical_SFH309 Q 0 0 Y N 1 F N
183+
F0 "Q" 200 50 50 H V L CNN
184+
F1 "Sensor_Optical_SFH309" 200 -50 50 H V L CNN
185+
F2 "LED_THT:LED_D3.0mm_Clear" 480 -140 50 H I C CNN
186+
F3 "" 0 0 50 H I C CNN
187+
ALIAS BPW42 BPW85 BPW85A BPW85B BPW85C TEPT4400
188+
$FPLIST
189+
LED*3.0mm*Clear*
190+
$ENDFPLIST
191+
DRAW
192+
C 50 0 111 0 1 10 N
193+
P 2 0 1 0 -75 50 -100 50 N
194+
P 2 0 1 0 -50 100 -75 100 N
195+
P 2 0 1 0 25 25 100 100 N
196+
P 3 0 1 0 -150 125 -75 50 -75 75 N
197+
P 3 0 1 0 -125 175 -50 100 -50 125 N
198+
P 3 0 1 0 25 -25 100 -100 100 -100 N
199+
P 3 0 1 20 25 75 25 -75 25 -75 N
200+
P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
201+
X C 1 100 200 100 D 50 50 1 1 P
202+
X E 2 100 -200 100 U 50 50 1 1 P
203+
ENDDRAW
204+
ENDDEF
205+
#
206+
# Transistor_BJT_BC547
207+
#
208+
DEF Transistor_BJT_BC547 Q 0 0 Y N 1 F N
209+
F0 "Q" 200 75 50 H V L CNN
210+
F1 "Transistor_BJT_BC547" 200 0 50 H V L CNN
211+
F2 "Package_TO_SOT_THT:TO-92_Inline" 200 -75 50 H I L CIN
212+
F3 "" 0 0 50 H I L CNN
213+
ALIAS BC546 BC548 BC549 BC550 BC337 BC338
214+
$FPLIST
215+
TO?92*
216+
$ENDFPLIST
217+
DRAW
218+
C 50 0 111 0 1 10 N
219+
P 2 0 1 0 0 0 25 0 N
220+
P 2 0 1 0 25 25 100 100 N
221+
P 3 0 1 0 25 -25 100 -100 100 -100 N
222+
P 3 0 1 20 25 75 25 -75 25 -75 N
223+
P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
224+
X C 1 100 200 100 D 50 50 1 1 P
225+
X B 2 -200 0 200 R 50 50 1 1 I
226+
X E 3 100 -200 100 U 50 50 1 1 P
227+
ENDDRAW
228+
ENDDEF
229+
#
230+
# power_+3.3V
231+
#
232+
DEF power_+3.3V #PWR 0 0 Y Y 1 F P
233+
F0 "#PWR" 0 -150 50 H I C CNN
234+
F1 "power_+3.3V" 0 140 50 H V C CNN
235+
F2 "" 0 0 50 H I C CNN
236+
F3 "" 0 0 50 H I C CNN
237+
ALIAS +3.3V
238+
DRAW
239+
P 2 0 1 0 -30 50 0 100 N
240+
P 2 0 1 0 0 0 0 100 N
241+
P 2 0 1 0 0 100 30 50 N
242+
X +3V3 1 0 0 0 U 50 50 1 1 W N
243+
ENDDRAW
244+
ENDDEF
245+
#
246+
# power_GND
247+
#
248+
DEF power_GND #PWR 0 0 Y Y 1 F P
249+
F0 "#PWR" 0 -250 50 H I C CNN
250+
F1 "power_GND" 0 -150 50 H V C CNN
251+
F2 "" 0 0 50 H I C CNN
252+
F3 "" 0 0 50 H I C CNN
253+
DRAW
254+
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
255+
X GND 1 0 0 0 D 50 50 1 1 W N
256+
ENDDRAW
257+
ENDDEF
258+
#
259+
#End Library

0 commit comments

Comments
 (0)