Skip to content
Open
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
Expand Up @@ -98,7 +98,7 @@ export const SM04B_SRSS_TB_LF__SN = (props: ChipProps<typeof pinLabels>) => {
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/download?uuid=96ff162c26934a308e7bbf01d083d593&pn=C160404",
rotationOffset: { x: 0, y: 0, z: 0 },
positionOffset: { x: -1.5, y: -0.5, z: 0 },
positionOffset: { x: 0, y: -1.5, z: 0 },
}}
{...props}
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
pin1: ["GND"],
pin2: ["VDD"],
pin3: ["SDA"],
pin4: ["SCL"],
} as const

export const SM04B_SRSS_TB_LF__SN2 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
schWidth={0.7}
pinLabels={pinLabels}
schPinArrangement={{
leftSide: {
direction: "top-to-bottom",
pins: ["SCL", "SDA", "VDD", "GND"],
},
}}
supplierPartNumbers={{
jlcpcb: ["C160404"],
}}
manufacturerPartNumber="SM04B_SRSS_TB_LF_SN"
footprint={
<footprint>
<smtpad
portHints={["pin2"]}
pcbX="-0.4998720000000958mm"
pcbY="2.0005166999999346mm"
width="0.5999987999999999mm"
height="1.5500095999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin1"]}
pcbX="-1.4998699999999872mm"
pcbY="2.0005166999999346mm"
width="0.5999987999999999mm"
height="1.5500095999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="1.5003779999999551mm"
pcbY="2.0000086999999667mm"
width="0.5999987999999999mm"
height="1.5500095999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="0.5003800000000638mm"
pcbY="2.0000086999999667mm"
width="0.5999987999999999mm"
height="1.5500095999999999mm"
shape="rect"
/>
<smtpad
portHints={["pin6"]}
pcbX="-2.800096000000053mm"
pcbY="-1.8750152999999727mm"
width="1.1999975999999999mm"
height="1.7999964mm"
shape="rect"
/>
<smtpad
portHints={["pin5"]}
pcbX="2.800096000000053mm"
pcbY="-1.8755233000000544mm"
width="1.1999975999999999mm"
height="1.7999964mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -2.019960400000059, y: -2.397467900000038 },
{ x: 1.8800063999999566, y: -2.397467900000038 },
]}
/>
<silkscreenpath
route={[
{ x: -1.9400266000000101, y: 1.8624676999997973 },
{ x: -3.019958400000064, y: 1.8624676999997973 },
{ x: -3.019958400000064, y: -0.7374763000001394 },
]}
/>
<silkscreenpath
route={[
{ x: 2.040000999999961, y: 1.8624676999997973 },
{ x: 2.9600143999999773, y: 1.8624676999997973 },
{ x: 2.9600143999999773, y: -0.7443089000000782 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/download?uuid=96ff162c26934a308e7bbf01d083d593&pn=C160404",
rotationOffset: { x: 0, y: 0, z: 0 },
positionOffset: { x: 0, y: 1.5, z: 0 },
}}
{...props}
/>
)
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { sel } from "tscircuit"
import { VEML7700 } from "./VEML7700"
import { SM04B_SRSS_TB_LF__SN } from "./SM04B_SRSS_TB_LF__SN"
import { SM04B_SRSS_TB_LF__SN2 } from "./SM04B_SRSS_TB_LF__SN2"

const jumperPinLabels = {
pin1: ["GND"],
Expand All @@ -18,7 +19,7 @@ export default () => (
schX={8}
schY={4}
/>
<SM04B_SRSS_TB_LF__SN
<SM04B_SRSS_TB_LF__SN2
name="JP2"
pcbX="-9.7"
pcbRotation={-90}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading