Finish PCB Layout and add 3d printable housing

This commit is contained in:
Mario Hüttel 2021-02-08 19:22:40 +01:00
parent 5112d5cfa0
commit 823fd1752d
6 changed files with 108807 additions and 2300 deletions

1
housing/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.FCStd?

BIN
housing/housing.FCStd Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +0,0 @@
#!/bin/python
import numpy as np
import pandas as pd
led_count = 30
ring_diameter = 74
hole_center_coords = (70, 70)
led_footprint_rotation = 180
df = pd.DataFrame({'x': [], 'y': [], 'angle': []})
pd.set_option('display.float_format', lambda x: '%.3f' % x)
for led in range(led_count):
led_angle = led / led_count * 2 * np.pi
x_coord = np.cos(led_angle) * ring_diameter / 2 + hole_center_coords[0]
y_coord = -np.sin(led_angle) * ring_diameter / 2 + hole_center_coords[1]
df = df.append({'x': x_coord, 'y':y_coord, 'angle': (led_angle / np.pi * 180 + led_footprint_rotation) % 360}, ignore_index=True)
print(df)

File diff suppressed because it is too large Load Diff

View File

@ -584,7 +584,7 @@ U 1 1 600CCA72
P 2050 6550 P 2050 6550
F 0 "SW1" H 2050 6917 50 0000 C CNN F 0 "SW1" H 2050 6917 50 0000 C CNN
F 1 "Rotary_Encoder_Switch" H 2050 6826 50 0000 C CNN F 1 "Rotary_Encoder_Switch" H 2050 6826 50 0000 C CNN
F 2 "Rotary_Encoder:RotaryEncoder_Alps_EC12E-Switch_Vertical_H20mm" H 1900 6710 50 0001 C CNN F 2 "shimatta_switch:EN11-VSM" H 1900 6710 50 0001 C CNN
F 3 "~" H 2050 6810 50 0001 C CNN F 3 "~" H 2050 6810 50 0001 C CNN
1 2050 6550 1 2050 6550
1 0 0 -1 1 0 0 -1
@ -1226,8 +1226,8 @@ L Switch:SW_SPDT SW2
U 1 1 601264C2 U 1 1 601264C2
P 1950 1200 P 1950 1200
F 0 "SW2" H 1950 875 50 0000 C CNN F 0 "SW2" H 1950 875 50 0000 C CNN
F 1 "TSM102C3" H 1950 966 50 0000 C CNN F 1 "5FS1S102M6QE " H 1950 966 50 0000 C CNN
F 2 "shimatta_switch:NINIGI-TSM1XXC3" H 1950 1200 50 0001 C CNN F 2 "shimatta_switch:NINIGI-5FS1S102M6QE" H 1950 1200 50 0001 C CNN
F 3 "~" H 1950 1200 50 0001 C CNN F 3 "~" H 1950 1200 50 0001 C CNN
1 1950 1200 1 1950 1200
1 0 0 1 1 0 0 1
@ -1332,4 +1332,15 @@ F 3 "" H 6050 4750 50 0001 C CNN
1 6050 4750 1 6050 4750
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp
L Mechanical:MountingHole H2
U 1 1 6021B3E3
P 3700 7550
F 0 "H2" H 3800 7596 50 0000 L CNN
F 1 "MountingHole" H 3800 7505 50 0000 L CNN
F 2 "MountingHole:MountingHole_3.2mm_M3" H 3700 7550 50 0001 C CNN
F 3 "~" H 3700 7550 50 0001 C CNN
1 3700 7550
1 0 0 -1
$EndComp
$EndSCHEMATC $EndSCHEMATC