Devesh36/pocket-audio-player
A portable, rechargeable microSD audio player built around an RP2040, SPI flash, USB‑C charging/power management, LCD/button controls, PCM5102A I²S DAC, and TPA6132A headphone amplifier in a 3D‑printed enclosure.
- Version
- 1.0.12
- License
- unset
- Stars
- 0
imports/SKRPACE010.tsx
import type { PushButtonProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
} as const;
export const SKRPACE010 = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props;
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C139797"],
}}
manufacturerPartNumber="SKRPACE010"
footprint={
<footprint>
<smtpad
portHints={["pin1"]}
pcbX="-2.100072mm"
pcbY="1.074928mm"
width="1.0500106mm"
height="0.6999986mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="2.100072mm"
pcbY="1.074928mm"
width="1.0500106mm"
height="0.6999986mm"
shape="rect"
/>
<smtpad
portHints={["pin3"]}
pcbX="-2.100072mm"
pcbY="-1.074928mm"
width="1.0500106mm"
height="0.6999986mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="2.100072mm"
pcbY="-1.074928mm"
width="1.0500106mm"
height="0.6999986mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -0.5080000000000382, y: 1.0160000000000764 },
{ x: 0.5079999999999245, y: 1.0160000000000764 },
]}
/>
<silkscreenpath
route={[
{ x: -0.5080000000000382, y: -1.0159999999999627 },
{ x: 0.5079999999999245, y: -1.0159999999999627 },
]}
/>
<silkscreenpath
route={[
{ x: 2.199893999999972, y: 0.5438140000001113 },
{ x: 2.199893999999972, y: -0.5438139999999976 },
]}
/>
<silkscreenpath
route={[
{ x: 1.3664184000000432, y: 1.5238729999999805 },
{ x: -1.366418400000157, y: 1.5238729999999805 },
]}
/>
<silkscreenpath
route={[
{ x: -2.1998940000000857, y: 0.5438140000001113 },
{ x: -2.1998940000000857, y: -0.5438139999999976 },
]}
/>
<silkscreenpath
route={[
{ x: -1.3810995999999705, y: -1.5499079999999594 },
{ x: 1.3810995999998568, y: -1.5499079999999594 },
]}
/>
<silkscreenpath
route={[
{ x: 0.5079999999999245, y: 1.0160000000000764 },
{ x: 0.7511447149161086, y: 0.9864768865048745 },
{ x: 0.9801587427964478, y: 0.8996233220636896 },
{ x: 1.18173262077255, y: 0.7604869201419433 },
{ x: 1.3441516077479037, y: 0.5771537826788062 },
{ x: 1.4579765025682718, y: 0.36027856523526225 },
{ x: 1.516592216083609, y: 0.1224652671394324 },
{ x: 1.516592216083609, y: -0.1224652671394324 },
{ x: 1.4579765025682718, y: -0.36027856523514856 },
{ x: 1.3441516077479037, y: -0.5771537826788062 },
{ x: 1.18173262077255, y: -0.7604869201418296 },
{ x: 0.9801587427964478, y: -0.8996233220635759 },
{ x: 0.7511447149161086, y: -0.9864768865047608 },
{ x: 0.5079999999999245, y: -1.0159999999999627 },
]}
/>
<silkscreenpath
route={[
{ x: -0.5080000000000382, y: -1.0159999999999627 },
{ x: -0.7511447149162223, y: -0.9864768865047608 },
{ x: -0.9801587427965615, y: -0.8996233220635759 },
{ x: -1.1817326207726637, y: -0.7604869201418296 },
{ x: -1.3441516077480173, y: -0.5771537826788062 },
{ x: -1.4579765025684992, y: -0.36027856523514856 },
{ x: -1.5165922160837226, y: -0.1224652671394324 },
{ x: -1.5165922160837226, y: 0.1224652671394324 },
{ x: -1.4579765025684992, y: 0.36027856523526225 },
{ x: -1.3441516077480173, y: 0.5771537826788062 },
{ x: -1.1817326207726637, y: 0.7604869201419433 },
{ x: -0.9801587427965615, y: 0.8996233220636896 },
{ x: -0.7511447149162223, y: 0.9864768865048745 },
{ x: -0.5080000000000382, y: 1.0160000000000764 },
]}
/>
<silkscreentext
text="{NAME}"
pcbX="0.0127mm"
pcbY="2.6256mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -2.8750773000000436, y: 1.849869799999965 },
{ x: 2.87507729999993, y: 1.849869799999965 },
{ x: 2.87507729999993, y: -1.8501238000000058 },
{ x: -2.8750773000000436, y: -1.8501238000000058 },
{ x: -2.8750773000000436, y: 1.849869799999965 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C139797.obj?uuid=00d848a7e8384bbd9286566957e8bb9c",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C139797.step?uuid=00d848a7e8384bbd9286566957e8bb9c",
pcbRotationOffset: 0,
modelOriginPosition: {
x: 0.000012700000070253736,
y: 0.00012700000002041634,
z: -0.01,
},
}}
{...restProps}
/>
);
};