gokul/fieldkit-usb
USB-C-powered ESP32-S3 Wi-Fi/Bluetooth handheld with an SMD 128x32 OLED, six navigation buttons, USB-C power/data, complete checked routing, and four native schematic sheets.
- Version
- 0.4.2
- License
- UNLICENSED
- Stars
- 0
sections/display.tsx
import { MT3608L } from "../imports/MT3608L"
import { SS34 } from "../imports/SS34"
import { TPS22810DBVR } from "../imports/TPS22810DBVR"
import { WPN4020H4R7MT } from "../imports/WPN4020H4R7MT"
import { X150_2828KSWKG01_H25 } from "../imports/X150_2828KSWKG01_H25"
import { Cap, Res } from "../lib/passives"
export const Display = () => <>
<schematicsection name="display" displayName="128 x 128 I2C OLED" />
<X150_2828KSWKG01_H25
schSectionName="display"
showPinAliases
name="U9"
pcbX={-11}
pcbY={3}
pcbRotation={180}
connections={{
VSS1: "net.GND", VCC1: "net.OLED_VCC", VCOMH: "net.OLED_VCOMH",
VDD: "net.V3_3", BS1: "net.V3_3", BS2: "net.GND", VSS2: "net.GND",
IREF: "net.OLED_IREF", N_CS: "net.GND", N_RES: "net.OLED_RST", C: "net.GND",
N_WR: "net.GND", N_RD: "net.GND", D0: "net.OLED_SCL", D1: "net.OLED_SDA",
D2: "net.GND", D3: "net.GND", D4: "net.GND", D5: "net.GND",
D6: "net.GND", D7: "net.GND", VCC2: "net.OLED_VCC", VSS3: "net.GND",
}}
noConnect={["NC1", "NC2"]}
/>
<Cap schSectionName="display" name="C30" capacitance="100nF" pcbX={-17} pcbY={-18} connections={{ pin1: "net.V3_3", pin2: "net.GND" }} />
<Cap schSectionName="display" name="C31" capacitance="4.7uF" pcbX={-13} pcbY={-18} connections={{ pin1: "net.V3_3", pin2: "net.GND" }} />
<Cap schSectionName="display" name="C32" capacitance="4.7uF" pcbX={-9} pcbY={-18} connections={{ pin1: "net.OLED_VCOMH", pin2: "net.GND" }} />
<Res schSectionName="display" name="R30" resistance="910k" pcbX={-5} pcbY={-18} connections={{ pin1: "net.OLED_IREF", pin2: "net.GND" }} />
<Res schSectionName="display" name="R31" resistance="4.7k" pcbX={-1} pcbY={-18} connections={{ pin1: "net.OLED_SCL", pin2: "net.V3_3" }} />
<Res schSectionName="display" name="R32" resistance="4.7k" pcbX={3} pcbY={-18} connections={{ pin1: "net.OLED_SDA", pin2: "net.V3_3" }} />
<Res schSectionName="display" name="R33" resistance="47k" pcbX={7} pcbY={-18} connections={{ pin1: "net.OLED_RST", pin2: "net.V3_3" }} />
<schematicsection name="display_power" displayName="12 V OLED supply and switch" />
<WPN4020H4R7MT schSectionName="display_power" name="L2" pcbX={25} pcbY={-25} connections={{ pin1: "net.V5", pin2: "net.OLED_SW" }} />
<MT3608L schSectionName="display_power" showPinAliases name="U10" pcbX={30} pcbY={-22}
connections={{ SW: "net.OLED_SW", GND: "net.GND", FB: "net.OLED_FB", EN: "net.V5", VIN: "net.V5" }} noConnect={["OC"]} />
<SS34 schSectionName="display_power" name="D3" pcbX={35.5} pcbY={-25} connections={{ anode: "net.OLED_SW", cathode: "net.OLED_12V" }} />
<Cap schSectionName="display_power" name="C33" capacitance="22uF" pcbX={24} pcbY={-20} connections={{ pin1: "net.V5", pin2: "net.GND" }} />
<Cap schSectionName="display_power" name="C34" capacitance="4.7uF" pcbX={41} pcbY={-26} connections={{ pin1: "net.OLED_12V", pin2: "net.GND" }} />
<Res schSectionName="display_power" name="R34" resistance="100k" pcbX={36} pcbY={-20} connections={{ pin1: "net.OLED_12V", pin2: "net.OLED_FB_TOP" }} />
<Res schSectionName="display_power" name="R35" resistance="91k" pcbX={40} pcbY={-20} connections={{ pin1: "net.OLED_FB_TOP", pin2: "net.OLED_FB" }} />
<Res schSectionName="display_power" name="R36" resistance="10k" pcbX={43} pcbY={-22} pcbRotation={90} connections={{ pin1: "net.OLED_FB", pin2: "net.GND" }} />
<TPS22810DBVR schSectionName="display_power" showPinAliases schWidth={2.5} name="U11" pcbX={15} pcbY={-22}
connections={{ VIN: "net.OLED_12V", GND: "net.GND", UVLO: "net.OLED_PWR", CT: "net.OLED_CT", QOD: "net.OLED_VCC", VOUT: "net.OLED_VCC" }} />
<Cap schSectionName="display_power" name="C35" capacitance="4.7uF" pcbX={11} pcbY={-25} connections={{ pin1: "net.OLED_12V", pin2: "net.GND" }} />
<Cap schSectionName="display_power" name="C36" capacitance="4.7uF" pcbX={20.5} pcbY={-27} connections={{ pin1: "net.OLED_VCC", pin2: "net.GND" }} />
<Cap schSectionName="display_power" name="C37" capacitance="100nF" pcbX={18} pcbY={-19} connections={{ pin1: "net.OLED_VCC", pin2: "net.GND" }} />
<Res schSectionName="display_power" name="R37" resistance="47k" pcbX={11} pcbY={-20} connections={{ pin1: "net.OLED_PWR", pin2: "net.GND" }} />
<Cap schSectionName="display_power" name="C38" capacitance="100nF" pcbX={16} pcbY={-27} connections={{ pin1: "net.OLED_CT", pin2: "net.GND" }} />
</>