MustafaMulla29/Arduino-uno-breakout

This code defines an 68.6mm by 53.3mm printed circuit board (PCB) featuring multiple pin headers for power, analog, digital, and ICSP connections, alongside an ATMEGA microcontroller ATMEGA328P in TQFP32 package with associated decoupling capacitor.

Version
0.0.1
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone MustafaMulla29/Arduino-uno-breakout  # download the package files into ./Arduino-uno-breakout
tsci add MustafaMulla29/Arduino-uno-breakout    # add it to your project as @tsci/MustafaMulla29.Arduino-uno-breakout

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

dist/index.cjs

'use strict';

var jsxRuntime = require('react/jsx-runtime');

var index = () => (jsxRuntime.jsxs("board", { width: "68.6mm", height: "53.3mm", children: [jsxRuntime.jsx("pinheader", { name: "J_PWR", pinCount: 8, footprint: "pinrow8", pinLabels: ["IOREF", "RESET", "3V3", "5V", "GND", "GND2", "VIN", "NC"], pcbX: 2.54, pcbY: -24.13 }), jsxRuntime.jsx("pinheader", { name: "J_A", pinCount: 6, footprint: "pinrow6", pinLabels: ["A0", "A1", "A2", "A3", "A4", "A5"], pcbX: 22.86, pcbY: -24.13 }), jsxRuntime.jsx("pinheader", { name: "J_D0", pinCount: 8, footprint: "pinrow8", pinLabels: ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"], pcbX: 20.32, pcbY: 24.13 }), jsxRuntime.jsx("pinheader", { name: "J_D1", pinCount: 10, footprint: "pinrow10", pinLabels: [
                "SCL",
                "SDA",
                "AREF",
                "GND",
                "D13",
                "D12",
                "D11",
                "D10",
                "D9",
                "D8",
            ], pcbX: -4.06, pcbY: 24.13 }), jsxRuntime.jsx("pinheader", { name: "J_ICSP", pinCount: 6, footprint: "pinrow6", pinLabels: ["MISO", "5V", "SCK", "MOSI", "RESET", "GND"], pcbX: 31.88, pcbY: 1.27, pcbRotation: 90 }), jsxRuntime.jsxs("breakout", { name: "ATMEGA_BREAKOUT", padding: "2mm", children: [jsxRuntime.jsx("chip", { name: "U1", footprint: "tqfp32", pinLabels: {
                        pin1: "PD3",
                        pin2: "PD4",
                        pin3: "GND3",
                        pin4: "VCC2",
                        pin5: "GND2",
                        pin6: "VCC1",
                        pin7: "PB6",
                        pin8: "PB7",
                        pin9: "PD5",
                        pin10: "PD6",
                        pin11: "PD7",
                        pin12: "PB0",
                        pin13: "PB1",
                        pin14: "PB2",
                        pin15: "PB3",
                        pin16: "PB4",
                        pin17: "PB5",
                        pin18: "AVCC",
                        pin19: "ADC6",
                        pin20: "AREF",
                        pin21: "GND1",
                        pin22: "ADC7",
                        pin23: "PC0",
                        pin24: "PC1",
                        pin25: "PC2",
                        pin26: "PC3",
                        pin27: "PC4",
                        pin28: "PC5",
                        pin29: "PC6",
                        pin30: "PD0",
                        pin31: "PD1",
                        pin32: "PD2",
                    }, pcbX: 10.295, pcbY: 0.1 }), jsxRuntime.jsx("capacitor", { name: "C_VCC", capacitance: "100nF", footprint: "0402", pcbX: 4.295, pcbY: 11.1, connections: { pin1: "U1.VCC1", pin2: "U1.GND1" } })] }), jsxRuntime.jsx("trace", { from: "J_D0.D0", to: "U1.PD0" }), jsxRuntime.jsx("trace", { from: "J_D0.D1", to: "U1.PD1" }), jsxRuntime.jsx("trace", { from: "J_D0.D2", to: "U1.PD2" }), jsxRuntime.jsx("trace", { from: "J_D0.D3", to: "U1.PD3" }), jsxRuntime.jsx("trace", { from: "J_D0.D4", to: "U1.PD4" }), jsxRuntime.jsx("trace", { from: "J_D0.D5", to: "U1.PD5" }), jsxRuntime.jsx("trace", { from: "J_D0.D6", to: "U1.PD6" }), jsxRuntime.jsx("trace", { from: "J_D0.D7", to: "U1.PD7" }), jsxRuntime.jsx("trace", { from: "J_D1.D8", to: "U1.PB0" }), jsxRuntime.jsx("trace", { from: "J_D1.D9", to: "U1.PB1" }), jsxRuntime.jsx("trace", { from: "J_D1.D10", to: "U1.PB2" }), jsxRuntime.jsx("trace", { from: "J_D1.D11", to: "U1.PB3" }), jsxRuntime.jsx("trace", { from: "J_D1.D12", to: "U1.PB4" }), jsxRuntime.jsx("trace", { from: "J_D1.D13", to: "U1.PB5" }), jsxRuntime.jsx("trace", { from: "J_A.A0", to: "U1.PC0" }), jsxRuntime.jsx("trace", { from: "J_A.A1", to: "U1.PC1" }), jsxRuntime.jsx("trace", { from: "J_A.A2", to: "U1.PC2" }), jsxRuntime.jsx("trace", { from: "J_A.A3", to: "U1.PC3" }), jsxRuntime.jsx("trace", { from: "J_A.A4", to: "U1.PC4" }), jsxRuntime.jsx("trace", { from: "J_A.A5", to: "U1.PC5" }), jsxRuntime.jsx("trace", { from: "J_D1.AREF", to: "U1.AREF" }), jsxRuntime.jsx("trace", { from: "J_PWR.RESET", to: "U1.PC6" }), jsxRuntime.jsx("trace", { from: "J_PWR.5V", to: "U1.VCC1" }), jsxRuntime.jsx("trace", { from: "J_PWR.5V", to: "U1.VCC2" }), jsxRuntime.jsx("trace", { from: "J_PWR.5V", to: "U1.AVCC" }), jsxRuntime.jsx("trace", { from: "J_PWR.GND", to: "U1.GND1" }), jsxRuntime.jsx("trace", { from: "J_PWR.GND2", to: "U1.GND2" }), jsxRuntime.jsx("trace", { from: "J_D1.GND", to: "U1.GND3" }), jsxRuntime.jsx("trace", { from: "J_D1.SDA", to: "J_A.A4" }), jsxRuntime.jsx("trace", { from: "J_D1.SCL", to: "J_A.A5" }), jsxRuntime.jsx("trace", { from: "J_ICSP.RESET", to: "J_PWR.RESET" }), jsxRuntime.jsx("trace", { from: "J_ICSP.5V", to: "J_PWR.5V" }), jsxRuntime.jsx("trace", { from: "J_ICSP.GND", to: "J_PWR.GND" }), jsxRuntime.jsx("trace", { from: "J_ICSP.MISO", to: "J_D1.D12" }), jsxRuntime.jsx("trace", { from: "J_ICSP.MOSI", to: "J_D1.D11" }), jsxRuntime.jsx("trace", { from: "J_ICSP.SCK", to: "J_D1.D13" })] }));

module.exports = index;