From 8353e4c9b85b791f30032556c04f1afde2f748e8 Mon Sep 17 00:00:00 2001 From: moritzmhmk Date: Fri, 7 May 2021 22:03:51 +0200 Subject: [PATCH 1/6] add ultrasonic distance sensor "us-100" --- core/US-100.fzp | 129 ++++++++++++++++++ svg/core/breadboard/US-100_breadboard.svg | 153 +++++++++++++++++++++ svg/core/icon/US-100_icon.svg | 154 ++++++++++++++++++++++ svg/core/pcb/US-100_pcb.svg | 25 ++++ svg/core/schematic/US-100_schematic.svg | 40 ++++++ 5 files changed, 501 insertions(+) create mode 100644 core/US-100.fzp create mode 100644 svg/core/breadboard/US-100_breadboard.svg create mode 100644 svg/core/icon/US-100_icon.svg create mode 100644 svg/core/pcb/US-100_pcb.svg create mode 100644 svg/core/schematic/US-100_schematic.svg diff --git a/core/US-100.fzp b/core/US-100.fzp new file mode 100644 index 000000000..2d2eee608 --- /dev/null +++ b/core/US-100.fzp @@ -0,0 +1,129 @@ + + + Moritz Kanemeier + 1 + US-100 Ultrasonic Distance Sensor + + + 2021-05-06 + Ultrasonic distance sensor with a detection range of 2cm to 450cm and an operating voltage range of 2.4V to 5V. + + us-100 + ultrasonic + distance sensor + range + ultrasonic distance sensor + + + distance sensor + ultrasonic distance sensor + US-100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + VCC + + +

+ + +

+ + +

+

+ + + + + Trig/Tx + + +

+ + +

+ + +

+

+ + + + + Echo/Rx + + +

+ + +

+ + +

+

+ + + + + GND + + +

+ + +

+ + +

+

+ + + + + GND + + +

+ + +

+ + +

+

+ + + + + + + + + + + diff --git a/svg/core/breadboard/US-100_breadboard.svg b/svg/core/breadboard/US-100_breadboard.svg new file mode 100644 index 000000000..e0e6b7461 --- /dev/null +++ b/svg/core/breadboard/US-100_breadboard.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + US-100 + + Y401 + + T + R + + + + + + 3.200 + + + + + + + + + + + + VCC + + + + + + + + Trig/Tx + + + + + + + + Echo/Rx + + + + + + + + GND + + + + + + + + GND + + + + diff --git a/svg/core/icon/US-100_icon.svg b/svg/core/icon/US-100_icon.svg new file mode 100644 index 000000000..d3ecacf47 --- /dev/null +++ b/svg/core/icon/US-100_icon.svg @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + US-100 + + Y401 + + T + R + + + + + + 3.200 + + + + + + + + + + + + VCC + + + + + + + + Trig/Tx + + + + + + + + Echo/Rx + + + + + + + + GND + + + + + + + + GND + + + + diff --git a/svg/core/pcb/US-100_pcb.svg b/svg/core/pcb/US-100_pcb.svg new file mode 100644 index 000000000..5be9ad909 --- /dev/null +++ b/svg/core/pcb/US-100_pcb.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + diff --git a/svg/core/schematic/US-100_schematic.svg b/svg/core/schematic/US-100_schematic.svg new file mode 100644 index 000000000..9095fc3dd --- /dev/null +++ b/svg/core/schematic/US-100_schematic.svg @@ -0,0 +1,40 @@ + + + + + + US-100 + + + + VCC + + + + Trig/Tx + + + + Echo/Rx + + + + GND + + + + From 665ec1eb535a562566283d90565ed04cab1121ae Mon Sep 17 00:00:00 2001 From: moritzmhmk Date: Sat, 8 May 2021 00:13:24 +0200 Subject: [PATCH 2/6] change label; add url; reduce connector distance; add terminals --- core/US-100.fzp | 6 +++--- svg/core/schematic/US-100_schematic.svg | 14 +++++++++----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/core/US-100.fzp b/core/US-100.fzp index 2d2eee608..23bbea375 100644 --- a/core/US-100.fzp +++ b/core/US-100.fzp @@ -3,8 +3,8 @@ Moritz Kanemeier 1 US-100 Ultrasonic Distance Sensor - - + https://www.adafruit.com/product/4019 + 2021-05-06 Ultrasonic distance sensor with a detection range of 2cm to 450cm and an operating voltage range of 2.4V to 5V. @@ -111,7 +111,7 @@

-

+

diff --git a/svg/core/schematic/US-100_schematic.svg b/svg/core/schematic/US-100_schematic.svg index 9095fc3dd..0b5404f66 100644 --- a/svg/core/schematic/US-100_schematic.svg +++ b/svg/core/schematic/US-100_schematic.svg @@ -5,7 +5,7 @@ baseProfile="tiny" width="0.7in" height="0.6in" - viewBox="0 0 700 600" + viewBox="0 0 700 500" > - - + + US-100 + VCC + Trig/Tx - + + Echo/Rx - + + GND From 766eca0ae3e5e569cee6b73886b807aeab90c5dd Mon Sep 17 00:00:00 2001 From: moritzmhmk Date: Sat, 8 May 2021 12:02:26 +0200 Subject: [PATCH 3/6] Update .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 10c4fbb8c..5d9414c77 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ # Parts database parts.db + +# macOS +.DS_Store From 2c5fa2bdfdc0ef934c281184e4c40af41cb2e14d Mon Sep 17 00:00:00 2001 From: moritzmhmk Date: Sat, 8 May 2021 12:02:40 +0200 Subject: [PATCH 4/6] update US-100 distance sensor --- ... => US-100_ultrasonic-distance-sensor.fzp} | 77 ++++++++++++------- ...ultrasonic-distance-sensor_breadboard.svg} | 7 +- ...S-100_ultrasonic-distance-sensor_icon.svg} | 0 ...US-100_ultrasonic-distance-sensor_pcb.svg} | 9 ++- ..._ultrasonic-distance-sensor_schematic.svg} | 58 ++++++++++---- 5 files changed, 100 insertions(+), 51 deletions(-) rename core/{US-100.fzp => US-100_ultrasonic-distance-sensor.fzp} (59%) rename svg/core/breadboard/{US-100_breadboard.svg => US-100_ultrasonic-distance-sensor_breadboard.svg} (95%) rename svg/core/icon/{US-100_icon.svg => US-100_ultrasonic-distance-sensor_icon.svg} (100%) rename svg/core/pcb/{US-100_pcb.svg => US-100_ultrasonic-distance-sensor_pcb.svg} (76%) rename svg/core/schematic/{US-100_schematic.svg => US-100_ultrasonic-distance-sensor_schematic.svg} (50%) diff --git a/core/US-100.fzp b/core/US-100_ultrasonic-distance-sensor.fzp similarity index 59% rename from core/US-100.fzp rename to core/US-100_ultrasonic-distance-sensor.fzp index 23bbea375..367674e48 100644 --- a/core/US-100.fzp +++ b/core/US-100_ultrasonic-distance-sensor.fzp @@ -1,4 +1,4 @@ - + Moritz Kanemeier 1 @@ -6,7 +6,10 @@ https://www.adafruit.com/product/4019 2021-05-06 - Ultrasonic distance sensor with a detection range of 2cm to 450cm and an operating voltage range of 2.4V to 5V. + + Ultrasonic distance sensor with a detection range of 2cm to 450cm and an + operating voltage range of 2.4V to 5V. + us-100 ultrasonic @@ -21,37 +24,43 @@ - - + + - - + + - - + + - - - - + + + + - + VCC -

+

-

+

@@ -59,14 +68,18 @@ - + Trig/Tx -

+

-

+

@@ -74,14 +87,18 @@ - + Echo/Rx -

+

-

+

@@ -89,14 +106,18 @@ - + GND -

+

-

+

@@ -104,11 +125,11 @@ - + GND -

+

@@ -121,9 +142,9 @@ - + - + diff --git a/svg/core/breadboard/US-100_breadboard.svg b/svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg similarity index 95% rename from svg/core/breadboard/US-100_breadboard.svg rename to svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg index e0e6b7461..5f5fab4d0 100644 --- a/svg/core/breadboard/US-100_breadboard.svg +++ b/svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg @@ -1,4 +1,4 @@ - + - - - - - diff --git a/svg/core/icon/US-100_icon.svg b/svg/core/icon/US-100_ultrasonic-distance-sensor_icon.svg similarity index 100% rename from svg/core/icon/US-100_icon.svg rename to svg/core/icon/US-100_ultrasonic-distance-sensor_icon.svg diff --git a/svg/core/pcb/US-100_pcb.svg b/svg/core/pcb/US-100_ultrasonic-distance-sensor_pcb.svg similarity index 76% rename from svg/core/pcb/US-100_pcb.svg rename to svg/core/pcb/US-100_ultrasonic-distance-sensor_pcb.svg index 5be9ad909..3b1065e6e 100644 --- a/svg/core/pcb/US-100_pcb.svg +++ b/svg/core/pcb/US-100_ultrasonic-distance-sensor_pcb.svg @@ -1,4 +1,4 @@ - + - + - - + + + diff --git a/svg/core/schematic/US-100_schematic.svg b/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg similarity index 50% rename from svg/core/schematic/US-100_schematic.svg rename to svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg index 0b5404f66..39da3a4d0 100644 --- a/svg/core/schematic/US-100_schematic.svg +++ b/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg @@ -1,11 +1,11 @@ - + - - + + US-100 - - + + VCC - - + + Trig/Tx - - + + Echo/Rx - - + + GND From 346af3c30b1d96b923e76f16cb0e1f14e926699e Mon Sep 17 00:00:00 2001 From: moritzmhmk Date: Sat, 8 May 2021 19:21:24 +0200 Subject: [PATCH 5/6] refactor; fix width --- ...0_ultrasonic-distance-sensor_schematic.svg | 104 +++++++++++++++--- 1 file changed, 90 insertions(+), 14 deletions(-) diff --git a/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg b/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg index 39da3a4d0..876724401 100644 --- a/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg +++ b/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg @@ -3,9 +3,9 @@ xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" - width="0.7in" + width="0.71in" height="0.31in" - viewBox="-5 -5 710 310" + viewBox="-105 -5 710 310" > - - + + US-100 - + - VCC + + VCC + + + 1 + - - + + - Trig/Tx + + Trig/Tx + + + 2 + - - + + - Echo/Rx + + Echo/Rx + + + 3 + - + - GND + + GND + + + 4 + From 9850101b975b6469e3a1f832d0a9779e52db2e99 Mon Sep 17 00:00:00 2001 From: moritzmhmk Date: Sat, 8 May 2021 21:22:46 +0200 Subject: [PATCH 6/6] do not use def; use viewport position of zero; fix terminals; fix hybrid pin --- ..._ultrasonic-distance-sensor_breadboard.svg | 57 ++++++++-------- ...US-100_ultrasonic-distance-sensor_icon.svg | 65 +++++++++---------- .../US-100_ultrasonic-distance-sensor_pcb.svg | 6 +- ...0_ultrasonic-distance-sensor_schematic.svg | 21 ++++-- 4 files changed, 77 insertions(+), 72 deletions(-) diff --git a/svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg b/svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg index 5f5fab4d0..b1ed8d0f9 100644 --- a/svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg +++ b/svg/core/breadboard/US-100_ultrasonic-distance-sensor_breadboard.svg @@ -5,36 +5,37 @@ baseProfile="tiny" width="44mm" height="26mm" - viewBox="-22 0 44 26" + viewBox="0 0 44 26" > - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - + @@ -15,7 +15,7 @@ - + diff --git a/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg b/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg index 876724401..0d83435f0 100644 --- a/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg +++ b/svg/core/schematic/US-100_ultrasonic-distance-sensor_schematic.svg @@ -5,7 +5,7 @@ baseProfile="tiny" width="0.71in" height="0.31in" - viewBox="-105 -5 710 310" + viewBox="0 0 710 310" > @@ -22,7 +23,7 @@ - +