Skip to content
Snippets Groups Projects
Commit 1bd6d397 authored by fxk8y's avatar fxk8y :spider:
Browse files

Killing 5x3W version; Adding hexagonal 6x3W verion with ⬢ outline

parent 1121066f
No related branches found
No related tags found
No related merge requests found
File moved
This diff is collapsed.
File moved
......@@ -126,10 +126,10 @@ Wire Wire Line
6350 2750 6350 3150
Connection ~ 6500 2750
$Comp
L Device:D_Schottky D2
L Device:D_Schottky D1
U 1 1 60FD9D56
P 7600 3000
F 0 "D2" V 7554 3080 50 0000 L CNN
F 0 "D1" V 7554 3080 50 0000 L CNN
F 1 "SK36A" V 7645 3080 50 0000 L CNN
F 2 "TripwireHook_Diode:SMA" H 7600 3000 50 0001 C CNN
F 3 "~" H 7600 3000 50 0001 C CNN
......@@ -333,14 +333,14 @@ Wire Wire Line
6750 3700 6650 3700
Connection ~ 6750 3600
$Comp
L Device:LED D1
L Device:LED D2
U 1 1 60FDD5EC
P 6000 4350
F 0 "D1" H 6000 4150 50 0000 C CNN
F 1 "LED" H 6000 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 6000 4350 50 0001 C CNN
F 3 "~" H 6000 4350 50 0001 C CNN
1 6000 4350
P 5700 4350
F 0 "D2" H 5700 4150 50 0000 C CNN
F 1 "LED" H 5700 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 5700 4350 50 0001 C CNN
F 3 "~" H 5700 4350 50 0001 C CNN
1 5700 4350
-1 0 0 1
$EndComp
$Comp
......@@ -391,23 +391,23 @@ Wire Wire Line
$Comp
L Device:LED D3
U 1 1 611BEFC6
P 6500 4350
F 0 "D3" H 6500 4150 50 0000 C CNN
F 1 "LED" H 6500 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 6500 4350 50 0001 C CNN
F 3 "~" H 6500 4350 50 0001 C CNN
1 6500 4350
P 6200 4350
F 0 "D3" H 6200 4150 50 0000 C CNN
F 1 "LED" H 6200 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 6200 4350 50 0001 C CNN
F 3 "~" H 6200 4350 50 0001 C CNN
1 6200 4350
-1 0 0 1
$EndComp
$Comp
L Device:LED D4
U 1 1 611BF800
P 7000 4350
F 0 "D4" H 7000 4150 50 0000 C CNN
F 1 "LED" H 7000 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 7000 4350 50 0001 C CNN
F 3 "~" H 7000 4350 50 0001 C CNN
1 7000 4350
P 6700 4350
F 0 "D4" H 6700 4150 50 0000 C CNN
F 1 "LED" H 6700 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 6700 4350 50 0001 C CNN
F 3 "~" H 6700 4350 50 0001 C CNN
1 6700 4350
-1 0 0 1
$EndComp
Connection ~ 6750 3700
......@@ -415,152 +415,186 @@ Connection ~ 7150 3700
$Comp
L Device:R R2
U 1 1 611C4FB0
P 6000 4500
F 0 "R2" V 6100 4550 50 0000 L CNN
F 1 "0Ω" V 6100 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 5930 4500 50 0001 C CNN
F 3 "~" H 6000 4500 50 0001 C CNN
1 6000 4500
P 5700 4500
F 0 "R2" V 5800 4550 50 0000 L CNN
F 1 "0Ω" V 5800 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 5630 4500 50 0001 C CNN
F 3 "~" H 5700 4500 50 0001 C CNN
1 5700 4500
0 1 1 0
$EndComp
$Comp
L Device:R R3
U 1 1 611C5EA2
P 6500 4500
F 0 "R3" V 6600 4550 50 0000 L CNN
F 1 "0Ω" V 6600 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 6430 4500 50 0001 C CNN
F 3 "~" H 6500 4500 50 0001 C CNN
1 6500 4500
P 6200 4500
F 0 "R3" V 6300 4550 50 0000 L CNN
F 1 "0Ω" V 6300 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 6130 4500 50 0001 C CNN
F 3 "~" H 6200 4500 50 0001 C CNN
1 6200 4500
0 1 1 0
$EndComp
$Comp
L Device:R R4
U 1 1 611C60A1
P 7000 4500
F 0 "R4" V 7100 4550 50 0000 L CNN
F 1 "0Ω" V 7100 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 6930 4500 50 0001 C CNN
F 3 "~" H 7000 4500 50 0001 C CNN
1 7000 4500
P 6700 4500
F 0 "R4" V 6800 4550 50 0000 L CNN
F 1 "0Ω" V 6800 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 6630 4500 50 0001 C CNN
F 3 "~" H 6700 4500 50 0001 C CNN
1 6700 4500
0 1 1 0
$EndComp
Wire Wire Line
6150 4350 6250 4350
5850 4350 5950 4350
Wire Wire Line
6150 4500 6250 4500
5850 4500 5950 4500
Wire Wire Line
6250 4500 6250 4350
Connection ~ 6250 4500
5950 4500 5950 4350
Connection ~ 5950 4500
Wire Wire Line
6250 4500 6350 4500
Connection ~ 6250 4350
5950 4500 6050 4500
Connection ~ 5950 4350
Wire Wire Line
6250 4350 6350 4350
5950 4350 6050 4350
Wire Wire Line
6650 4350 6750 4350
6350 4350 6450 4350
Wire Wire Line
6650 4500 6750 4500
6350 4500 6450 4500
Wire Wire Line
6750 4500 6750 4350
Connection ~ 6750 4500
6450 4500 6450 4350
Connection ~ 6450 4500
Wire Wire Line
6750 4500 6850 4500
Connection ~ 6750 4350
6450 4500 6550 4500
Connection ~ 6450 4350
Wire Wire Line
6750 4350 6850 4350
6450 4350 6550 4350
Wire Wire Line
5850 4500 5750 4500
5550 4500 5450 4500
Wire Wire Line
5750 4500 5750 4350
5450 4500 5450 4350
Wire Wire Line
5850 4350 5750 4350
5550 4350 5450 4350
Wire Wire Line
7150 4500 7250 4500
6850 4500 6950 4500
Wire Wire Line
7250 4500 7250 4350
6950 4500 6950 4350
Wire Wire Line
7150 4350 7250 4350
6850 4350 6950 4350
$Comp
L Device:LED D5
U 1 1 611E5EA6
P 7500 4350
F 0 "D5" H 7500 4150 50 0000 C CNN
F 1 "LED" H 7500 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 7500 4350 50 0001 C CNN
F 3 "~" H 7500 4350 50 0001 C CNN
1 7500 4350
P 7200 4350
F 0 "D5" H 7200 4150 50 0000 C CNN
F 1 "LED" H 7200 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 7200 4350 50 0001 C CNN
F 3 "~" H 7200 4350 50 0001 C CNN
1 7200 4350
-1 0 0 1
$EndComp
$Comp
L Device:LED D6
U 1 1 611E5EAC
P 8000 4350
F 0 "D6" H 8000 4150 50 0000 C CNN
F 1 "LED" H 8000 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 8000 4350 50 0001 C CNN
F 3 "~" H 8000 4350 50 0001 C CNN
1 8000 4350
P 7700 4350
F 0 "D6" H 7700 4150 50 0000 C CNN
F 1 "LED" H 7700 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 7700 4350 50 0001 C CNN
F 3 "~" H 7700 4350 50 0001 C CNN
1 7700 4350
-1 0 0 1
$EndComp
$Comp
L Device:R R5
U 1 1 611E5EB2
P 7500 4500
F 0 "R5" V 7600 4550 50 0000 L CNN
F 1 "0Ω" V 7600 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 7430 4500 50 0001 C CNN
F 3 "~" H 7500 4500 50 0001 C CNN
1 7500 4500
P 7200 4500
F 0 "R5" V 7300 4550 50 0000 L CNN
F 1 "0Ω" V 7300 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 7130 4500 50 0001 C CNN
F 3 "~" H 7200 4500 50 0001 C CNN
1 7200 4500
0 1 1 0
$EndComp
$Comp
L Device:R R6
U 1 1 611E5EB8
P 8000 4500
F 0 "R6" V 8100 4550 50 0000 L CNN
F 1 "0Ω" V 8100 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 7930 4500 50 0001 C CNN
F 3 "~" H 8000 4500 50 0001 C CNN
1 8000 4500
P 7700 4500
F 0 "R6" V 7800 4550 50 0000 L CNN
F 1 "0Ω" V 7800 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 7630 4500 50 0001 C CNN
F 3 "~" H 7700 4500 50 0001 C CNN
1 7700 4500
0 1 1 0
$EndComp
Wire Wire Line
7650 4350 7750 4350
7350 4350 7450 4350
Wire Wire Line
7650 4500 7750 4500
7350 4500 7450 4500
Wire Wire Line
7750 4500 7750 4350
Connection ~ 7750 4500
7450 4500 7450 4350
Connection ~ 7450 4500
Wire Wire Line
7750 4500 7850 4500
Connection ~ 7750 4350
7450 4500 7550 4500
Connection ~ 7450 4350
Wire Wire Line
7750 4350 7850 4350
7450 4350 7550 4350
Wire Wire Line
5750 4350 5750 4050
Wire Wire Line
5750 4050 6750 4050
Connection ~ 5750 4350
5450 4350 5450 4050
Connection ~ 5450 4350
Wire Wire Line
6750 3700 6750 4050
Wire Wire Line
7150 4050 8250 4050
7950 4350 7850 4350
Wire Wire Line
7150 3700 7150 4050
Wire Wire Line
8250 4050 8250 4350
7950 4350 7950 4500
Wire Wire Line
8250 4350 8150 4350
7950 4500 7850 4500
Wire Wire Line
7150 3700 7150 4050
6950 4500 7050 4500
Connection ~ 6950 4500
Wire Wire Line
7050 4350 6950 4350
Connection ~ 6950 4350
$Comp
L Device:LED D7
U 1 1 611E65AB
P 8200 4350
F 0 "D7" H 8200 4150 50 0000 C CNN
F 1 "LED" H 8200 4250 50 0000 C CNN
F 2 "TripwireHook_Diode:3W_LED" H 8200 4350 50 0001 C CNN
F 3 "~" H 8200 4350 50 0001 C CNN
1 8200 4350
-1 0 0 1
$EndComp
$Comp
L Device:R R7
U 1 1 611E65B1
P 8200 4500
F 0 "R7" V 8300 4550 50 0000 L CNN
F 1 "0Ω" V 8300 4400 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric" V 8130 4500 50 0001 C CNN
F 3 "~" H 8200 4500 50 0001 C CNN
1 8200 4500
0 1 1 0
$EndComp
Wire Wire Line
8450 4350 8350 4350
Wire Wire Line
8450 4350 8450 4500
Wire Wire Line
8450 4500 8350 4500
Wire Wire Line
5450 4050 6750 4050
Wire Wire Line
8250 4350 8250 4500
8450 4050 8450 4350
Wire Wire Line
8250 4500 8150 4500
Connection ~ 8250 4350
7150 4050 8450 4050
Connection ~ 8450 4350
Wire Wire Line
7250 4500 7350 4500
Connection ~ 7250 4500
7950 4350 8050 4350
Connection ~ 7950 4350
Wire Wire Line
7350 4350 7250 4350
Connection ~ 7250 4350
7950 4500 8050 4500
Connection ~ 7950 4500
$EndSCHEMATC
File moved
#!/usr/bin/env nix-shell
#!nix-shell -p python3 -i python
import json
import math
off = (80, 80)
r = 20
cnt = 6
out = {}
def rect(r, theta):
x = r * math.cos(math.radians(theta))
y = r * math.sin(math.radians(theta))
return x, y
i = 1
for theta in range(0, 360, int(360/cnt)):
dx, dy = rect(r, theta - 90)
d = {'x': dx + off[0], 'y': dy + off[1], 'rot': -theta}
dx2 = -(dy / 10)
dy2 = dx / 10
# l = math.sqrt(dx2**2 + dy2**2)
# cx = dx + (dx2/l * 2.5)
# cy = dy + (dy2/l * 2.5)
cx, cy = rect(r - 5.4, theta - 90)
c = {'x': cx + off[0], 'y': cy + off[1], 'rot': -theta}
out_name = 'D' + str(i + 1)
out[out_name] = d
# out_name = 'C' + str(i)
# out[out_name] = c
i = i + 1
with open('/home/fxk8y/placement.json', 'w') as f:
f.write(json.dumps(out))
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment