Skip to content

Commit 465fc6d

Browse files
committed
2 parents f2b0c8b + 0b8013b commit 465fc6d

File tree

8 files changed

+78
-0
lines changed

8 files changed

+78
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ See the **[img/README.md file](img/README.md)** for a gallery of snapshot images
4343
#### Gadgets
4444

4545
* USB external hard disk 2.5" (Toshiba)
46+
* UBS 2.0 hub 7 ports, Amazon Basics
4647
* UBS 3.0 hub 4 ports, Amazon Basics (**WARNING**: does not work with the Raspberry Pi, VIA Labs chip, USB ID 2109:2811)
4748
* UGREEN USB Audio Adapter
4849
* Nano WiFi USB dongle by Edimax

img/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
![board_raspberrypi_model_a_plus_rev1_1](board_raspberrypi_model_a_plus_rev1_1.png "board_raspberrypi_model_a_plus_rev1_1")
99
![board_raspberrypi_model_b_v2](board_raspberrypi_model_b_v2.png "board_raspberrypi_model_b_v2")
1010
![coax_power_plug](coax_power_plug.png "coax_power_plug")
11+
![coax_power_plug_3p5](coax_power_plug_3p5.png "coax_power_plug_3p5")
1112
![coax_power_socket](coax_power_socket.png "coax_power_socket")
1213
![dupont_female](dupont_female.png "dupont_female")
1314
![lcd_1602a](lcd_1602a.png "lcd_1602a")
@@ -19,9 +20,11 @@
1920
![pin_right_angle_low_custom](pin_right_angle_low_custom.png "pin_right_angle_low_custom")
2021
![push_button](push_button.png "push_button")
2122
![rocker_switch](rocker_switch.png "rocker_switch")
23+
![usb2_hub_7p_amazon_basics](usb2_hub_7p_amazon_basics.png "usb2_hub_7p_amazon_basics")
2224
![usb_audio_adapter_ugreen](usb_audio_adapter_ugreen.png "usb_audio_adapter_ugreen")
2325
![usb_hard_disk_toshiba](usb_hard_disk_toshiba.png "usb_hard_disk_toshiba")
2426
![usb_hub_4p_amazon_basics](usb_hub_4p_amazon_basics.png "usb_hub_4p_amazon_basics")
2527
![usb_male_micro_b_connector](usb_male_micro_b_connector.png "usb_male_micro_b_connector")
2628
![usb_male_type_a_connector](usb_male_type_a_connector.png "usb_male_type_a_connector")
29+
![usb_male_type_b_connector](usb_male_type_b_connector.png "usb_male_type_b_connector")
2730
![wifi_usb_edimax](wifi_usb_edimax.png "wifi_usb_edimax")

img/coax_power_plug_3p5.png

4.11 KB
Loading

img/make_index

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
echo "# Parts Gallery"
4+
echo
5+
for file in *.png; do
6+
if [ "$file" = "gallery.png" ]; then
7+
continue
8+
fi
9+
module="$(echo ${file} | sed 's/\.png//')"
10+
echo "![${module}](${file} \"${module}\")"
11+
done

img/usb2_hub_7p_amazon_basics.png

6.84 KB
Loading

img/usb_male_type_b_connector.png

4.08 KB
Loading

misc_gadgets.scad

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,32 @@ module usb_hub_4p_amazon_basics() {
2424
translate([x + 1, 31, z/2]) rotate(a=270, v=[0, 0, 1]) coax_power_plug();
2525
}
2626

27+
//------------------------------------------------------------------------
28+
// Powered USB 2.0 Hub 7 ports, Amazon Basics.
29+
//------------------------------------------------------------------------
30+
module usb2_hub_7p_amazon_basics() {
31+
color([92/255, 92/255, 92/255]) {
32+
linear_extrude(height=24)
33+
union() {
34+
polygon(points=[[0,0],[68.5,0],[68.5,53.5],[42,83.3],[0,87.5],[0,82.5],[5,81],[5,6.5],[0,4.5]]);
35+
translate([68.5-30, 53.5]) circle(r=30, center=true, $fn=64);
36+
}
37+
translate([37.25,41.5,-5])
38+
linear_extrude(height=5.1)
39+
difference() {
40+
square([24.5,23],center=true);
41+
square([18,17],center=true);
42+
square([5.8,23.5],center=true);
43+
}
44+
}
45+
for (y_pos = [36, 45.25, 54.50, 63.75, 73])
46+
translate([3, y_pos, 14]) rotate(a=90, v=[0,0,1]) rotate(a=90, v=[0, 1, 0]) usb_male_type_a_connector();
47+
for (y_pos = [17.0, 26.25])
48+
translate([70.5, y_pos, 14]) rotate(a=270, v=[0,0,1]) rotate(a=90, v=[0, 1, 0]) usb_male_type_a_connector();
49+
translate([1.5, 16.5, 12.5]) rotate(a=90, v=[0,0,1]) usb_male_type_b_connector();
50+
translate([1.5, 28.0, 9.0]) rotate(a=90, v=[0, 0, 1]) coax_power_plug_3p5();
51+
}
52+
2753
//------------------------------------------------------------------------
2854
// UGREEN USB Audio Adapter.
2955
//------------------------------------------------------------------------

misc_parts.scad

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,23 @@ module coax_power_plug() {
4444
}
4545
}
4646

47+
//------------------------------------------------------------------------
48+
// Coaxial power plug 3.5 mm.
49+
//------------------------------------------------------------------------
50+
module coax_power_plug_3p5() {
51+
$fn = 32;
52+
rotate(a=270, v=[1, 0, 0]) {
53+
translate([0, 0, -4.5]) color("silver") cylinder(r=3.5/2, h=9, center=true);
54+
color([82/255, 82/255, 82/255]) {
55+
translate([0, 0, 6]) cylinder(r1=7/2, r2=10/2, h=12, center=true);
56+
translate([0, 0, 20]) cylinder(r1=10/2, r2=7/2, h=16, center=true);
57+
translate([0, 0, 35.5]) cylinder(r=4/2, h=15, center=true); // Cable
58+
translate([0, 0, -9.5]) cylinder(r=3.5/2, h=1, center=true); // Tip
59+
}
60+
}
61+
}
62+
63+
4764
//------------------------------------------------------------------------
4865
// Coaxial power plug socket, with 2.1 mm pin.
4966
//------------------------------------------------------------------------
@@ -244,6 +261,26 @@ module usb_male_micro_b_connector() {
244261
}
245262
}
246263

264+
//------------------------------------------------------------------------
265+
// USB male Type-B plug.
266+
//------------------------------------------------------------------------
267+
module usb_male_type_b_connector() {
268+
x1 = 8.0; y1 = 12.5; z1 = 7.5; // Metal part
269+
x2 = 12; y2 = 31; z2 = 11; // Plastic part
270+
r1 = 4; r2 = 3.5; h = 12; // Plastic cone part
271+
$fn = 32;
272+
color("silver") difference() {
273+
translate([0, -y1/2, 0]) cube([x1, y1, z1], center = true);
274+
translate([ x1/2, -y1/2, z1/2]) rotate(a=45, v=[0,1,0]) cube([2, y1 + 0.2, 2], center = true);
275+
translate([-x1/2, -y1/2, z1/2]) rotate(a=45, v=[0,1,0]) cube([2, y1 + 0.2, 2], center = true);
276+
}
277+
color([82/255, 82/255, 82/255]) {
278+
translate([0, y2/2, 0]) cube([x2, y2, z2], center = true);
279+
translate([0, y2 + h/2, 0]) rotate(a=270, v=[1, 0, 0]) cylinder(r1=r1, r2=r2, h=h, center=true);
280+
translate([0, y2 + h + 5, 0]) rotate(a=90, v=[1, 0, 0]) cylinder(r=4/2, h=10, center=true);
281+
}
282+
}
283+
247284
//------------------------------------------------------------------------
248285
// Nano WiFi USB dongle by Edimax (EW-7811UN).
249286
//------------------------------------------------------------------------

0 commit comments

Comments
 (0)