selenaalpha77-sketch/arduino-nano
This code defines the physical hardware layout of an Arduino Nano-compatible board, incorporating key components such as the ATmega328P microcontroller, CH340C USB-to-serial converter, AMS1117 voltage regulators, and USB connector with their associated footprints and pin configurations.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
lib/NanoPowerSection.tsx
import { AMS1117_5_0 } from "../imports/AMS1117_5_0"
export const NanoPowerSection = () => (
<group name="power_section">
{/* AMS1117-5.0 voltage regulator (VIN -> 5V) */}
<AMS1117_5_0
name="U4"
pcbX="15mm"
pcbY="6mm"
schX={10}
schY={-20}
connections={{
pin1: "net.GND",
pin2: "net.V5",
VIN: "net.VIN",
TAB: "net.V5",
}}
/>
{/* Input bulk capacitor */}
<capacitor
name="C11"
capacitance="47uF"
footprint="1206"
pcbX="18mm"
pcbY="6mm"
schX={16}
schY={-20}
connections={{
pin1: "net.VIN",
pin2: "net.GND",
}}
/>
{/* Output bulk capacitor */}
<capacitor
name="C12"
capacitance="47uF"
footprint="1206"
pcbX="12mm"
pcbY="6mm"
schX={4}
schY={-20}
connections={{
pin1: "net.V5",
pin2: "net.GND",
}}
/>
</group>
)