Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
pin1: ["pin1"],
pin2: ["ST"],
pin3: ["GND1"],
pin4: ["pin4"],
pin5: ["GND2"],
pin6: ["GND3"],
pin7: ["GND4"],
pin8: ["ZOUT"],
pin9: ["pin9"],
pin10: ["YOUT"],
pin11: ["pin11"],
pin12: ["XOUT"],
pin13: ["pin13"],
pin14: ["VS1"],
pin15: ["VS2"],
pin16: ["pin16"],
pin17: ["EP"],
} as const

export const ADXL335BCPZ_RL7 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
schWidth={1.6}
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: ["pin15", "pin14", "pin3", "pin5", "pin6", "pin7"],
},
rightSide: {
direction: "top-to-bottom",
pins: ["pin12", "pin10", "pin8", "pin2"],
},
}}
schPinStyle={{
pin14: { marginBottom: 0.3 },
pin8: { marginBottom: 0.7 },
}}
supplierPartNumbers={{
jlcpcb: ["C34439"],
}}
manufacturerPartNumber="ADXL335BCPZ_RL7"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-1.9784060000000636mm"
pcbY="0.9751060000000962mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="-1.9784060000000636mm"
pcbY="0.32486600000004273mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="-1.9784060000000636mm"
pcbY="-0.3251199999999699mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="-1.9784060000000636mm"
pcbY="-0.9751059999999825mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin5"]}
pcbX="-0.9751059999999825mm"
pcbY="-1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin6"]}
pcbX="-0.32512000000008356mm"
pcbY="-1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin7"]}
pcbX="0.32486600000004273mm"
pcbY="-1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin8"]}
pcbX="0.9751059999999825mm"
pcbY="-1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin9"]}
pcbX="1.9784060000001773mm"
pcbY="-0.9751059999999825mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin10"]}
pcbX="1.9784060000001773mm"
pcbY="-0.3251199999999699mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin11"]}
pcbX="1.9784060000001773mm"
pcbY="0.32486600000004273mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin12"]}
pcbX="1.9784060000001773mm"
pcbY="0.9751060000000962mm"
width="1.0070084mm"
height="0.3640074mm"
shape="rect"
/>
<smtpad
portHints={["pin13"]}
pcbX="0.9751059999999825mm"
pcbY="1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin14"]}
pcbX="0.32486600000004273mm"
pcbY="1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin15"]}
pcbX="-0.32512000000008356mm"
pcbY="1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin16"]}
pcbX="-0.9751059999999825mm"
pcbY="1.97840599999995mm"
width="0.3640074mm"
height="1.0070084mm"
shape="rect"
/>
<smtpad
portHints={["pin17"]}
pcbX="0mm"
pcbY="0mm"
width="1.7549875999999998mm"
height="1.7549875999999998mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: 1.3475969999999506, y: 2.076297600000089 },
{ x: 2.0762975999999753, y: 2.076297600000089 },
{ x: 2.0762975999999753, y: 1.3475970000000643 },
]}
/>
<silkscreenpath
route={[
{ x: 1.3475969999999506, y: -2.076145199999928 },
{ x: 2.0762975999999753, y: -2.076145199999928 },
{ x: 2.0762975999999753, y: -1.3474445999999034 },
]}
/>
<silkscreenpath
route={[
{ x: -1.347444600000017, y: 2.076297600000089 },
{ x: -2.0761452000000418, y: 2.076297600000089 },
{ x: -2.0761452000000418, y: 1.3475970000000643 },
]}
/>
<silkscreenpath
route={[
{ x: -1.347444600000017, y: -2.076145199999928 },
{ x: -2.0761452000000418, y: -2.076145199999928 },
{ x: -2.0761452000000418, y: -1.3474445999999034 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/download?uuid=68903396014e48fb91a97afa470c7888&pn=C34439",
rotationOffset: { x: 0, y: 0, z: 0 },
positionOffset: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SparkFun Triple Axis Accelerometer Breakout - ADXL335

For more information about this board, visit the official SparkFun product page:

[https://www.sparkfun.com/sparkfun-triple-axis-accelerometer-breakout-adxl335.html](https://www.sparkfun.com/sparkfun-triple-axis-accelerometer-breakout-adxl335.html)
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
import { ADXL335BCPZ_RL7 } from "./ADXL335"

export default () => (
<board width="17.78mm" height="15.24mm" routingDisabled>
<ADXL335BCPZ_RL7
name="U1"
schY={0}
pcbRotation={180}
pcbX={0.762}
connections={{
pin2: "net.ST",
pin3: "net.GND",
pin5: "net.GND",
pin6: "net.GND",
pin7: "net.GND",
}}
/>
<capacitor
capacitance={"0.1uF"}
name="C1"
connections={{ pin1: "U1.pin8", pin2: "net.GND" }}
schX={2}
schY={-1.5}
schRotation={-90}
pcbX={0.762}
pcbY={4.826}
pcbRotation={180}
footprint={"cap0603"}
/>
<capacitor
capacitance={"0.1uF"}
connections={{ pin1: "net.VCC", pin2: "net.GND" }}
schRotation={-90}
name="C2"
schX={-4}
schY={-0.5}
pcbX={1.65}
pcbY={-4.953}
footprint={"cap0603"}
/>
<capacitor
capacitance={"0.1uF"}
name="C3"
connections={{ pin1: "U1.pin10", pin2: "net.GND" }}
schX={3}
schY={0.45}
pcbX={-3.683}
pcbY={2.032}
pcbRotation={90}
footprint={"cap0603"}
/>
<capacitor
capacitance={"0.1uF"}
name="C4"
connections={{ pin1: "U1.pin12", pin2: "net.GND" }}
schRotation={90}
schX={1.5}
schY={1.4}
pcbX={-3.683}
pcbY={-2.032}
pcbRotation={90}
footprint={"cap0603"}
/>
<hole diameter={3.048} pcbY={5.08} pcbX={6.35} />
<hole diameter={3.048} pcbY={-5.08} pcbX={6.35} />
<silkscreentext text="ADXL335" pcbX={4.2} pcbY={5} pcbRotation={-90} />
<silkscreentext
text="Tri-Axis"
pcbX={3}
pcbY={0}
pcbRotation={-90}
layer={"bottom"}
/>
<silkscreentext
text="Accelerometer"
pcbX={1}
pcbY={0}
pcbRotation={-90}
layer={"bottom"}
/>

<jumper
cadModel={null}
schWidth={0.6}
schDirection="left"
name="JP1"
pinLabels={{
pin1: ["ST"],
pin2: ["Z"],
pin3: ["Y"],
pin4: ["X"],
pin5: ["GND"],
pin6: ["VCC"],
}}
schX={1}
schY={-3}
footprint={"pinrow6_id1.016mm_od1.88mm_p2.54mm_nosquareplating"}
connections={{
pin1: "net.ST",
pin2: "net.ZOUT",
pin3: "net.YOUT",
pin4: "net.XOUT",
pin5: "net.GND",
pin6: "net.VCC",
}}
pcbRotation={-90}
pcbY={0}
pcbX={-7.62}
/>

<netlabel
net="VCC"
connectsTo={["U1.pin14", "U1.pin15"]}
schX={-1.4}
schY={1}
anchorSide="bottom"
/>
</board>
)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading