Compare commits

..

32 commits

Author SHA1 Message Date
75060bc8a8 stash
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-07 22:31:04 +02:00
15e4f6dfc7 stash 2022-07-04 21:08:20 +02:00
bc872fda5b stash 2022-07-04 21:08:20 +02:00
4fcdd35c41 stash 2022-07-04 21:08:20 +02:00
be54d8b8f7 stash 2022-07-04 21:08:20 +02:00
c31bff2b33 stash 2022-07-04 21:08:20 +02:00
cb1fd6e485 stash 2022-07-04 21:08:20 +02:00
0384453744 stash 2022-07-04 21:08:20 +02:00
a0e8c00c17 stash 2022-07-04 21:08:20 +02:00
9969738043 stash 2022-07-04 21:08:20 +02:00
e3e97ee96b stash 2022-07-04 21:08:20 +02:00
bbe1e523d1 stash 2022-07-04 21:08:20 +02:00
9592d40e91 stash 2022-07-04 21:08:20 +02:00
71f8df7fe9 stash 2022-07-04 21:08:20 +02:00
957f677ed3 update 3d models for inductors on cc48 pcb 2022-07-04 21:08:20 +02:00
5c73b55782 place testpoints on cc48 2022-07-04 21:08:20 +02:00
busti
100740464c add lcsc part numbers 2022-07-04 21:08:20 +02:00
busti
35707b3f94 add more test points 2022-07-04 21:08:20 +02:00
busti
d8e691237f replace precision reference 2022-07-04 21:08:20 +02:00
8966ca923e place and route new capacitors on cc48 pcb 2022-07-04 21:08:19 +02:00
busti
0c4ee7ee32 add switching noise filtering capacitor 2022-07-04 21:08:19 +02:00
e0eb67a060 reroute cc48 pcb after schamtic updates 2022-07-04 21:08:19 +02:00
busti
ae79f7038a change mosfet 2022-07-04 21:08:19 +02:00
busti
b6bf6ceb30 change cap values and add test points 2022-07-04 21:08:19 +02:00
busti
d9ac3ca083 add resistor in front of mosfet 2022-07-04 21:08:19 +02:00
busti
47f579e54d fix errors 2022-07-04 21:08:19 +02:00
busti
98ad11f934 switch out analog switch 2022-07-04 21:08:19 +02:00
busti
0aa6a8313c change default capacitor in channel driver 2022-07-04 21:08:19 +02:00
2e7342602e add cc48 pcb and CI target 2022-07-04 21:08:19 +02:00
18c30b1ec0 add cc48 schematic 2022-07-04 21:08:19 +02:00
7d35c34766 add kiplot config for cc48 2022-07-04 21:08:19 +02:00
c85dc416ed update to kicad6 2022-07-04 21:08:19 +02:00
31 changed files with 84781 additions and 7405 deletions

View file

@ -9,15 +9,13 @@ steps:
- name: submodules - name: submodules
image: alpine/git image: alpine/git
commands: commands:
- git submodule update --init --recursive --depth 1 - git submodule update --init --recursive
- name: firmware - name: firmware
image: docker-repo.service.intern.lab.or.it:5000/fiatlux-build-env image: docker-repo.service.intern.lab.or.it:5000/fiatlux-build-env
depends_on: [ submodules ] depends_on: [ submodules ]
commands: commands:
- export PATH=$(pwd)/modules/sdk/xtensa-lx106-elf/bin:$PATH - export PATH=$(pwd)/modules/sdk/xtensa-lx106-elf/bin:$PATH
- apt update
- apt install -y minify
- make firmware -j$(nproc) - make firmware -j$(nproc)
- name: pcb - name: pcb
@ -25,7 +23,8 @@ steps:
commands: commands:
- apt update - apt update
- apt install -y make zip - apt install -y make zip
- make pcb -j$(nproc) # - make pcb -j$(nproc) BOARD=fiatlux
- make pcb -j$(nproc) BOARD=fiatlux_cc48
- name: case - name: case
image: debian:sid image: debian:sid
@ -60,7 +59,8 @@ steps:
files: files:
- firmware/firmware/fiatlux.bin - firmware/firmware/fiatlux.bin
- firmware/otaflash.py - firmware/otaflash.py
- pcb/pcb.zip # - pcb/fiatlux_pcb.zip
- pcb/fiatlux_cc48_pcb.zip
checksum: checksum:
- sha512 - sha512
- md5 - md5

View file

@ -1,4 +1,5 @@
.PHONY: firmware flash firmware_docker case pcb
.PHONY: firmware flash firmware_docker flash_docker case pcb
all: firmware case pcb all: firmware case pcb
@ -22,7 +23,6 @@ flash_docker:
sh -c "docker build -t fiatlux_firmware_env docker/firmware" sh -c "docker build -t fiatlux_firmware_env docker/firmware"
sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware --device=/dev/ttyUSB0 fiatlux_firmware_env make -C firmware flash" sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware --device=/dev/ttyUSB0 fiatlux_firmware_env make -C firmware flash"
firmware_docker: firmware_docker:
sh -c "docker build -t fiatlux_firmware_env docker/firmware" sh -c "docker build -t fiatlux_firmware_env docker/firmware"
sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware fiatlux_firmware_env make -C firmware html all" sh -c "docker run --volume "$$(pwd)"/firmware:/app/firmware fiatlux_firmware_env make -C firmware html all"

View file

@ -1,12 +1,33 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM debian:sid #FROM debian:sid
RUN apt update && apt install -y make bash gawk g++ gcc libc6-dev flex bison automake autoconf gperf texinfo wget git bzip2 help2man libtool libtool-bin unrar-free unzip ncurses-dev libexpat-dev python-dev python3; mkdir /app; chown 1000:1000 /app; cd /app; useradd user; #RUN apt update && apt install -y make bash gawk g++ gcc libc6-dev flex bison automake autoconf gperf texinfo wget git bzip2 help2man libtool libtool-bin unrar-free unzip ncurses-dev python2-dev python2 && mkdir /app && chown 1000:1000 /app && cd /app && useradd user && usermod -aG dialout user
USER 1000 #USER 1000
RUN cd app; git clone --recursive https://github.com/SuperHouse/esp-open-rtos.git modules/rtos; git clone --recursive https://github.com/pfalcon/esp-open-sdk.git modules/sdk #RUN cd app && git clone --recursive https://github.com/SuperHouse/esp-open-rtos.git modules/rtos && git clone --recursive https://github.com/pfalcon/esp-open-sdk.git modules/sdk
RUN cd app; sed -i 's/GNU bash, version (3\\\.\[1-9\]|4)/GNU bash, version (3.[1-9]|4|5)/g' modules/sdk/crosstool-NG/configure.ac; mkdir -p modules/sdk/crosstool-NG/.build/tarballs; wget https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz -O modules/sdk/crosstool-NG/.build/tarballs/expat-2.1.0.tar.gz #RUN cd app \
RUN cd app/modules/sdk; export CT_EXPERIMENTAL=y; export CT_ALLOW_BUILD_AS_ROOT=y; export CT_ALLOW_BUILD_AS_ROOT_SURE=y; make standalone=y -j$(nproc); wget -N https://raw.githubusercontent.com/espressif/esptool/master/esptool.py -O xtensa-lx106-elf/bin/esptool.py # && sed -i 's/GNU bash, version (3\\\.\[1-9\]|4)/GNU bash, version (3.[1-9]|4|5)/g' modules/sdk/crosstool-NG/configure.ac \
# && mkdir -p modules/sdk/crosstool-NG/.build/tarballs \
# && wget https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz -O modules/sdk/crosstool-NG/.build/tarballs/expat-2.1.0.tar.gz \
# && wget https://libisl.sourceforge.io/isl-0.14.tar.bz2 -O modules/sdk/crosstool-NG/.build/tarballs/isl-0.14.tar.bz2 \
# && wget https://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2 -O modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar.bz2
#RUN cd app \
# && bzip2 -d modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar.bz2\
# && tar -xf modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar gcc-4.8.5/gcc/reload1.c \
# && sed -i 's/spill_indirect_levels++;/spill_indirect_levels = 1;/g' gcc-4.8.5/gcc/reload1.c \
# && tar -uf modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar gcc-4.8.5/gcc/reload1.c \
# && bzip2 -z1 modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar \
# && rm -rf gcc-4.8.5 modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar
#RUN cd app/modules/sdk && export CT_EXPERIMENTAL=y && export CT_ALLOW_BUILD_AS_ROOT=y && export CT_ALLOW_BUILD_AS_ROOT_SURE=y && make standalone=n -j$(nproc) || cat /app/modules/sdk/crosstool-NG/build.log #&& wget -N https://raw.githubusercontent.com/espressif/esptool/master/esptool.py -O xtensa-lx106-elf/bin/esptool.py
#RUN cd app && tar -xf modules/sdk/crosstool-NG/.build/tarballs/gcc-4.8.5.tar.bz2 gcc-4.8.5/gcc/reload1.c && grep spill_indirect_levels gcc-4.8.5/gcc/reload1.c
#USER 0
#RUN apt remove --purge -y python2 && apt autoremove --purge -y && apt install -y python3 python3-serial esptool
#RUN apt install -y --reinstall python-is-python3
#USER 1000
#WORKDIR /app
#ENV PATH=/app/modules/sdk/xtensa-lx106-elf/bin:$PATH
FROM docker-repo.service.intern.lab.or.it:5000/fiatlux-build-env
USER 0 USER 0
RUN apt remove --purge -y python2 && apt autoremove --purge -y && apt install -y python3 python3-serial RUN apt remove --purge -y python2 && apt autoremove --purge -y && apt install -y python3 python3-serial esptool
RUN apt install -y --reinstall python-is-python3 RUN apt install -y --reinstall python-is-python3
USER 1000 USER 1000
WORKDIR /app WORKDIR /app

View file

@ -0,0 +1,2 @@
FROM debian:sid
#steps taken from http://www.colecovision.eu/llvm+sdcc/

View file

@ -2,11 +2,11 @@ PROGRAM=fiatlux
EXTRA_CFLAGS=-O3 -Ibuild/gen -DLWIP_NETIF_HOSTNAME=1 EXTRA_CFLAGS=-O3 -Ibuild/gen -DLWIP_NETIF_HOSTNAME=1
EXTRA_COMPONENTS=extras/i2s_dma extras/ws2812_i2s extras/dhcpserver extras/rboot-ota extras/mbedtls extras/httpd extras/sntp extras/cpp_support extras/paho_mqtt_c EXTRA_COMPONENTS=extras/i2s_dma extras/ws2812_i2s extras/dhcpserver extras/rboot-ota extras/mbedtls extras/httpd extras/sntp extras/cpp_support
LIBS = hal m LIBS = hal m
FLASH_MODE = qio FLASH_MODE = dio
include ../modules/rtos/common.mk include ../modules/rtos/common.mk
@ -15,7 +15,7 @@ html: build/gen/fsdata.c
build/gen/fsdata.c: webdir/index.html webdir/404.html webdir/css/picnic.min.css webdir/css/style.css webdir/js/smoothie_min.js build/gen/fsdata.c: webdir/index.html webdir/404.html webdir/css/picnic.min.css webdir/css/style.css webdir/js/smoothie_min.js
@echo "Generating fsdata.." @echo "Generating fsdata.."
@mkdir -p $(dir $@) @mkdir -p $(dir $@)
@./mkwebfs.py --gzip --minify -o $@ $^ @./mkwebfs.py --gzip -o $@ $^
test: unittest systest test: unittest systest

View file

@ -4,6 +4,7 @@
#include "lux.h" #include "lux.h"
#include <stdio.h>
#include <string.h> #include <string.h>
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include <task.h> #include <task.h>
@ -13,20 +14,58 @@
const int signal_led_pin = 2; const int signal_led_pin = 2;
const int cs0 = 15; const int cs0 = 15;
const int gpio4 = 4; const int nint_pin = 4;
const int gpio5 = 5; const int init_pin = 5;
extern "C" void signal_led(bool state) { extern "C" void signal_led(bool state) {
gpio_write(signal_led_pin, !state); gpio_write(signal_led_pin, !state);
} }
void int_to_hex(uint8_t i, char buf[2]) {
uint8_t hex_charset[] = "0123456789ABCDEF";
buf[0] = hex_charset[i >> 4];
buf[1] = hex_charset[i & 0x0F];
}
const gpio_inttype_t int_type = GPIO_INTTYPE_EDGE_NEG;
void gpio_intr_handler(uint8_t gpio_num)
{
uint8_t buf[2];
spi_read(1, 0x0000, buf, 2, SPI_8BIT);
char hex[5] = {0};
int_to_hex(buf[0], hex);
int_to_hex(buf[1], hex + 2);
hex[4] = '\0';
printf("lux_task output: %s\n", hex);
}
extern "C" void lux_task(void *pvParameters) { extern "C" void lux_task(void *pvParameters) {
gpio_enable(signal_led_pin, GPIO_OUTPUT); gpio_enable(signal_led_pin, GPIO_OUTPUT);
gpio_enable(cs0, GPIO_OUTPUT); gpio_enable(cs0, GPIO_OUTPUT);
gpio_enable(gpio4, GPIO_OUTPUT); gpio_enable(nint_pin, GPIO_INPUT);
gpio_enable(gpio5, GPIO_OUTPUT); gpio_enable(init_pin, GPIO_OUTPUT);
spi_init(1, SPI_MODE0, SPI_FREQ_DIV_1M, 1, SPI_BIG_ENDIAN, 1); spi_init(1, SPI_MODE0, SPI_FREQ_DIV_1M, 1, SPI_BIG_ENDIAN, 1);
gpio_set_interrupt(nint_pin, int_type, gpio_intr_handler);
uint8_t charset[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
uint8_t cnt = 0;
while(1) {
uint8_t out[2];
out[1] = 0x0F;
out[0] = charset[cnt++];
spi_transfer_16(1, *(uint16_t*)out);
vTaskDelay(2000/portTICK_PERIOD_MS);
cnt %= sizeof(charset);
}
vTaskDelete(nullptr); vTaskDelete(nullptr);
} }

View file

@ -2,7 +2,6 @@
import os import os
import gzip import gzip
import argparse import argparse
import subprocess
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('-o', '--output', help='Output file name', default='stdout') parser.add_argument('-o', '--output', help='Output file name', default='stdout')
@ -10,9 +9,6 @@ parser.add_argument('-W', '--webroot', help='Output file name', default='webdir/
parser.add_argument('--gzip', dest='gzip', action='store_true') parser.add_argument('--gzip', dest='gzip', action='store_true')
parser.add_argument('--no-gzip', dest='gzip', action='store_false') parser.add_argument('--no-gzip', dest='gzip', action='store_false')
parser.set_defaults(gzip=False) parser.set_defaults(gzip=False)
parser.add_argument('--minify', dest='minify', action='store_true')
parser.add_argument('--no-minify', dest='minify', action='store_false')
parser.set_defaults(minify=False)
parser.add_argument('--header', dest='header', action='store_true') parser.add_argument('--header', dest='header', action='store_true')
parser.add_argument('--no-header', dest='header', action='store_false') parser.add_argument('--no-header', dest='header', action='store_false')
parser.set_defaults(header=True) parser.set_defaults(header=True)
@ -20,31 +16,6 @@ parser.add_argument('input', nargs='+', default=os.getcwd())
args = parser.parse_args() args = parser.parse_args()
def mimeFromName(name):
if name.endswith(".html") or name.endswith(".htm") or name.endswith(".shtml") or name.endswith(
".shtm") or name.endswith(".ssi"):
return "text/html"
if name.endswith(".js"):
return "application/x-javascript"
if name.endswith(".css"):
return "text/css"
if name.endswith(".ico"):
return "image/x-icon"
if name.endswith(".gif"):
return "image/gif"
if name.endswith(".png"):
return "image/png"
if name.endswith(".jpg"):
return "image/jpeg"
if name.endswith(".bmp"):
return "image/bmp"
if name.endswith(".class"):
return "application/octet-stream"
if name.endswith(".ram"):
return "audio/x-pn-realaudio"
return "text/plain"
def dumpBin2CHex(f, b): def dumpBin2CHex(f, b):
oStr = "\t" oStr = "\t"
n = 0 n = 0
@ -70,28 +41,40 @@ for file in httpFiles:
webPath = ("/" + file.removeprefix(args.webroot)).replace("//", "/") webPath = ("/" + file.removeprefix(args.webroot)).replace("//", "/")
print("{} > {}".format(file, webPath)) print("{} > {}".format(file, webPath))
mimeType = mimeFromName(file)
if args.header: if args.header:
if ("404" in file): if ("404" in file):
response = b'HTTP/1.0 404 File not found\r\n' response = b'HTTP/1.0 404 File not found\r\n'
else: else:
response = b'HTTP/1.0 200 OK\r\n' response = b'HTTP/1.0 200 OK\r\n'
response += b"lwIP/1.4.1 (http://savannah.nongnu.org/projects/lwip)\r\n" response += b"lwIP/1.4.1 (http://savannah.nongnu.org/projects/lwip)\r\n"
response += b'Content-type: ' + mimeType.encode() + b'\r\n' fext = file.split('.')[-1]
ctype = b'Content-type: text/plain\r\n'
if (fext.endswith("html") or fext.endswith("htm") or fext.endswith("shtml") or fext.endswith(
"shtm") or fext.endswith("ssi")):
ctype = b'Content-type: text/html\r\n'
if (fext.endswith("js")):
ctype = b'Content-type: application/x-javascript\r\n'
if (fext.endswith("css")):
ctype = b'Content-type: text/css\r\n'
if (fext.endswith("ico")):
ctype = b'Content-type: image/x-icon\r\n'
if (fext.endswith("gif")):
ctype = b'Content-type: image/gif\r\n'
if (fext.endswith("png")):
ctype = b'Content-type: image/png\r\n'
if(fext.endswith("jpg")):
ctype = b'Content-type: image/jpeg\r\n'
if(fext.endswith("bmp")):
ctype = b'Content-type: image/bmp\r\n'
if(fext.endswith("class")):
ctype = b'Content-type: application/octet-stream\r\n'
if(fext.endswith("ram")):
ctype = b'Content-type: audio/x-pn-realaudio\r\n'
response += ctype
binFile = open(file, 'rb') binFile = open(file, 'rb')
binData = binFile.read() binData = binFile.read()
compEff = False compEff = False
if args.minify:
p = subprocess.Popen(["minify", "--html-keep-document-tags", "--mime", mimeType], stdin=subprocess.PIPE,
stdout=subprocess.PIPE)
minData = p.communicate(binData)[0]
if len(minData) < len(binData):
print("- Minify: {} -> {}".format(len(binData), len(minData)))
compEff = True
binData = minData
if args.gzip: if args.gzip:
compData = gzip.compress(binData, 9) compData = gzip.compress(binData, 9)
if len(compData) < len(binData): if len(compData) < len(binData):
@ -120,8 +103,7 @@ for file in httpFiles:
f_fsdata_c.write("};\n\n") f_fsdata_c.write("};\n\n")
f_fsdata_c.write("const struct fsdata_file {}[] = {{{{\n {},\n {}, {} + {}, sizeof({}) - {}, 1 }}}};\n\n" f_fsdata_c.write("const struct fsdata_file {}[] = {{{{\n {},\n {}, {} + {}, sizeof({}) - {}, 1 }}}};\n\n"
.format(escFileFile, lastFileStruct, escFileData, escFileData, len(fnameBin), escFileData, .format(escFileFile, lastFileStruct, escFileData, escFileData, len(fnameBin), escFileData, len(fnameBin)))
len(fnameBin)))
# TODO: The last value is 1 if args.header == True # TODO: The last value is 1 if args.header == True
lastFileStruct = escFileFile lastFileStruct = escFileFile

@ -1 +1 @@
Subproject commit 7faa16b07ce0d606f9525a316990da5b58e61314 Subproject commit b56c7c8f8f1eb7e233af11357b1cf5d7bc873f2e

1
pcb/.gitignore vendored
View file

@ -16,6 +16,7 @@ _autosave-*
*-save.pro *-save.pro
*-save.kicad_pcb *-save.kicad_pcb
fp-info-cache fp-info-cache
*-backups/
# Netlist files (exported from Eeschema) # Netlist files (exported from Eeschema)
*.net *.net

View file

@ -1,52 +1,54 @@
.NOTPARALLEL: gen/fab/fiatlux-F_Cu.gbr gen/fab/fiatlux-B_Cu.gbr gen/fab/fiatlux-F_Mask.gbr gen/fab/fiatlux-B_Mask.gbr gen/fab/fiatlux-F_Paste.gbr gen/fab/fiatlux-B_Paste.gbr gen/fab/fiatlux-F_SilkS.gbr gen/fab/fiatlux-B_SilkS.gbr .NOTPARALLEL: gen/fab/$(BOARD)-F_Cu.gbr gen/fab/$(BOARD)-B_Cu.gbr gen/fab/$(BOARD)-F_Mask.gbr gen/fab/$(BOARD)-B_Mask.gbr gen/fab/$(BOARD)-F_Paste.gbr gen/fab/$(BOARD)-B_Paste.gbr gen/fab/$(BOARD)-F_SilkS.gbr gen/fab/$(BOARD)-B_SilkS.gbr
all: test fab doc pcb.zip all: test fab doc pcb
pcb.zip: fab doc test: gen/$(BOARD)-drc.txt gen/$(BOARD)-erc.txt
pcb: $(BOARD)_pcb.zip
doc: gen/$(BOARD).pdf gen/$(BOARD)-front.svg gen/$(BOARD)-back.svg
fab: test gen/$(BOARD)_fab.zip gen/$(BOARD).csv gen/$(BOARD)-top-pos.csv
$(BOARD)_pcb.zip: fab doc
@mkdir -p gen @mkdir -p gen
@cd gen; zip -r ../pcb.zip fab.zip fiatlux.csv fiatlux-top-pos.csv fiatlux-front.svg fiatlux-back.svg fiatlux.pdf cd gen; zip -r ../$(BOARD)_pcb.zip $(BOARD)_fab.zip $(BOARD).csv $(BOARD)-top-pos.csv $(BOARD)-front.svg $(BOARD)-back.svg $(BOARD).pdf
@cd gen; zip -r ../debug.zip . cd gen; zip -r ../$(BOARD)_debug.zip .
test: gen/fiatlux-drc.txt gen/fiatlux-erc.txt gen/$(BOARD)_fab.zip: gen/fab/$(BOARD)-F_Cu.gbr gen/fab/$(BOARD)-B_Cu.gbr gen/fab/$(BOARD)-F_Mask.gbr gen/fab/$(BOARD)-B_Mask.gbr
gen/$(BOARD)_fab.zip: gen/fab/$(BOARD)-F_Paste.gbr gen/fab/$(BOARD)-B_Paste.gbr gen/fab/$(BOARD)-F_SilkS.gbr gen/fab/$(BOARD)-B_SilkS.gbr
doc: gen/fiatlux.pdf gen/fiatlux-front.svg gen/fiatlux-back.svg
fab: test gen/fab.zip gen/fiatlux.csv gen/fiatlux-top-pos.csv
gen/fab.zip: gen/fab/fiatlux-F_Cu.gbr gen/fab/fiatlux-B_Cu.gbr gen/fab/fiatlux-F_Mask.gbr gen/fab/fiatlux-B_Mask.gbr
gen/fab.zip: gen/fab/fiatlux-F_Paste.gbr gen/fab/fiatlux-B_Paste.gbr gen/fab/fiatlux-F_SilkS.gbr gen/fab/fiatlux-B_SilkS.gbr
@mkdir -p gen/fab @mkdir -p gen/fab
@cd gen/fab; zip -r ../fab.zip *.gbr cd gen/fab; zip -r ../$(BOARD)_fab.zip *.gbr
gen/fiatlux-erc.txt: fiatlux.kiplot.yaml fiatlux.pro fiatlux.kicad_pcb gen/$(BOARD)-erc.txt: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
@mkdir -p gen @mkdir -p gen
kibot -d gen -c fiatlux.kiplot.yaml -s update_xml,run_drc -i kibot -d gen -c $(BOARD).kiplot.yaml -s update_xml,run_drc -i
gen/fiatlux-drc.txt: fiatlux.kiplot.yaml fiatlux.pro fiatlux.sch gen/$(BOARD)-drc.txt: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_sch
@mkdir -p gen @mkdir -p gen
kibot -d gen -c fiatlux.kiplot.yaml -s update_xml,run_erc -i kibot -d gen -c $(BOARD).kiplot.yaml -s update_xml,run_erc -i
gen/fab/%.gbr: fiatlux.kiplot.yaml fiatlux.pro fiatlux.kicad_pcb gen/fab/%.gbr: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
@mkdir -p gen @mkdir -p gen
kibot -d gen -c fiatlux.kiplot.yaml -s all print_front gerbers kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front gerbers
gen/fiatlux-top-pos.csv: fiatlux.kiplot.yaml fiatlux.pro fiatlux.kicad_pcb gen/$(BOARD)-top-pos.csv: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
@mkdir -p gen @mkdir -p gen
kibot -d gen -c fiatlux.kiplot.yaml -s all print_front position kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front position
gen/fiatlux.csv: fiatlux.kiplot.yaml fiatlux.pro fiatlux.kicad_pcb gen/$(BOARD).csv: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
@mkdir -p gen @mkdir -p gen
kibot -d gen -c fiatlux.kiplot.yaml -s all print_front bom kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front bom
gen/fiatlux.pdf: fiatlux.kiplot.yaml fiatlux.pro fiatlux.sch gen/$(BOARD).pdf: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_sch
@mkdir -p gen @mkdir -p gen
kibot -d gen -c fiatlux.kiplot.yaml -s run_drc,run_erc print_sch kibot -d gen -c $(BOARD).kiplot.yaml -s run_drc,run_erc print_sch
gen/fiatlux-front.svg: fiatlux.kicad_pcb gen/$(BOARD)-front.svg: $(BOARD).kicad_pcb
@mkdir -p gen @mkdir -p gen
pcbdraw --libs default $< $@ pcbdraw --libs default $< $@
gen/fiatlux-back.svg: fiatlux.kicad_pcb gen/$(BOARD)-back.svg: $(BOARD).kicad_pcb
@mkdir -p gen @mkdir -p gen
pcbdraw --libs default --back $< $@ pcbdraw --libs default --back $< $@

525
pcb/bus_node.kicad_sch Normal file
View file

@ -0,0 +1,525 @@
(kicad_sch (version 20211123) (generator eeschema)
(uuid 0a742bb2-0657-47bc-9dea-e70308e1113a)
(paper "A4")
(lib_symbols
(symbol "Device:C_Polarized" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
(property "Reference" "C" (id 0) (at 0.635 2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C_Polarized" (id 1) (at 0.635 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (id 2) (at 0.9652 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "cap capacitor" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Polarized capacitor" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "CP_*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_Polarized_0_1"
(rectangle (start -2.286 0.508) (end 2.286 1.016)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.778 2.286)
(xy -0.762 2.286)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.27 2.794)
(xy -1.27 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(rectangle (start 2.286 -0.508) (end -2.286 -1.016)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
)
(symbol "C_Polarized_1_1"
(pin passive line (at 0 3.81 270) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 2.794)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "MCU_ST_STM8:STM8S003F3U" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at 1.27 25.4 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "STM8S003F3U" (id 1) (at 1.27 22.86 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_DFN_QFN:ST_UFQFPN-20_3x3mm_P0.5mm" (id 2) (at 1.27 27.94 0)
(effects (font (size 1.27 1.27)) (justify left) hide)
)
(property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf" (id 3) (at -1.27 -10.16 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "STM8S Mainstream Value line 8-bit, 16MHz, 1k RAM, 128 EEPROM" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "16MHz, 8K Flash, 1K RAM, 128 EEPROM, USART, I²C, SPI, UFQFPN-20" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "ST?UFQFPN*3x3mm*P0.5mm*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "STM8S003F3U_0_1"
(rectangle (start -11.43 21.59) (end 11.43 -21.59)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "STM8S003F3U_1_1"
(pin input line (at -15.24 -15.24 0) (length 3.81)
(name "NRST" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 0 0) (length 3.81)
(name "PC3" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
(name "PC4" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
(name "PC5" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
(name "PC6" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
(name "PC7" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 15.24 7.62 180) (length 3.81)
(name "PD1" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 15.24 5.08 180) (length 3.81)
(name "PD2" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 15.24 2.54 180) (length 3.81)
(name "PD3" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 15.24 0 180) (length 3.81)
(name "PD4" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 15.24 -2.54 180) (length 3.81)
(name "PD5" (effects (font (size 1.27 1.27))))
(number "19" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 17.78 0) (length 3.81)
(name "PA1" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 15.24 -5.08 180) (length 3.81)
(name "PD6" (effects (font (size 1.27 1.27))))
(number "20" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 15.24 0) (length 3.81)
(name "PA2" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 -25.4 90) (length 3.81)
(name "VSS" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -15.24 -17.78 0) (length 3.81)
(name "VCAP" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 25.4 270) (length 3.81)
(name "VDD" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 12.7 0) (length 3.81)
(name "PA3" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 5.08 0) (length 3.81)
(name "PB5" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -15.24 7.62 0) (length 3.81)
(name "PB4" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:+3.3V" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3.3V" (id 1) (at 0 3.556 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"+3.3V\"" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "+3.3V_0_1"
(polyline
(pts
(xy -0.762 1.27)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 0)
(xy 0 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 2.54)
(xy 0.762 1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "+3.3V_1_1"
(pin power_in line (at 0 0 90) (length 0) hide
(name "+3V3" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(wire (pts (xy 87.63 105.41) (xy 85.09 105.41))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 05f67689-b87d-4a73-ba19-8cfc59729f07)
)
(wire (pts (xy 85.09 82.55) (xy 87.63 82.55))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 0b7fcc49-f420-4a1f-a4f0-7b5b5e0b0bc1)
)
(wire (pts (xy 85.09 95.25) (xy 87.63 95.25))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 1da291cc-3aa5-4632-8f99-7dae246a7f56)
)
(wire (pts (xy 85.09 87.63) (xy 87.63 87.63))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 238b4f36-a253-431c-a93e-34af7da002ac)
)
(wire (pts (xy 118.11 85.09) (xy 120.65 85.09))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 2e44eb9d-5214-4281-b589-6f1d5d809dae)
)
(wire (pts (xy 85.09 74.93) (xy 87.63 74.93))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 370b7821-636e-4f27-a8f2-d2d53fbbba42)
)
(wire (pts (xy 85.09 90.17) (xy 87.63 90.17))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 5193b92c-0f95-414f-9c12-4288fbf1289f)
)
(wire (pts (xy 85.09 105.41) (xy 85.09 107.95))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 5d8b52e3-6cf3-4957-a7be-c8e9a1edb540)
)
(wire (pts (xy 85.09 80.01) (xy 87.63 80.01))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6c96a492-fd30-430c-9630-288faba478b7)
)
(wire (pts (xy 118.11 87.63) (xy 120.65 87.63))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 716e5416-b330-423a-811f-046a4ee64f5e)
)
(wire (pts (xy 118.11 80.01) (xy 120.65 80.01))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 7af6484f-4c0f-4bb6-8c11-76d16aa0127b)
)
(wire (pts (xy 85.09 72.39) (xy 87.63 72.39))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 8f8e7df9-ebd4-4149-a71c-2a1b216fe3c1)
)
(wire (pts (xy 85.09 92.71) (xy 87.63 92.71))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9b4b514c-b288-40ab-af4d-fb8827371f01)
)
(wire (pts (xy 118.11 90.17) (xy 120.65 90.17))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ae93933d-bd7e-4401-b9d9-e5d7ebc1523c)
)
(wire (pts (xy 85.09 102.87) (xy 87.63 102.87))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ba684d7c-206a-4c98-b824-40bb57bcd818)
)
(wire (pts (xy 85.09 97.79) (xy 87.63 97.79))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid bbb56580-aa81-45cb-b1b7-ba0c984ed065)
)
(wire (pts (xy 118.11 92.71) (xy 120.65 92.71))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid f55b2315-ffcf-45cb-b8d5-dd0439b81933)
)
(wire (pts (xy 85.09 69.85) (xy 87.63 69.85))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid fcfb0e66-04da-4039-97d3-1a751d2a550d)
)
(wire (pts (xy 118.11 82.55) (xy 120.65 82.55))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ff8c2871-7c9b-4de3-baec-30db09fd1a6f)
)
(hierarchical_label "PD2_AIN3" (shape input) (at 120.65 82.55 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 06279e58-47a9-4b33-bb57-83d7a618b3cc)
)
(hierarchical_label "MISO" (shape output) (at 85.09 97.79 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 1c6e452a-3519-4b92-98f5-9c74f0717054)
)
(hierarchical_label "PD5_AIN5" (shape input) (at 120.65 90.17 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 360c2bbd-a0a3-46a6-a8fc-000e22263bb0)
)
(hierarchical_label "PD3_PWM" (shape bidirectional) (at 120.65 85.09 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 37b14c37-2c62-413c-9246-82d11641b9ae)
)
(hierarchical_label "PA3_PWM" (shape input) (at 85.09 74.93 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 6cfa3401-aa92-47e4-b58a-92f49c22748f)
)
(hierarchical_label "~{INT}" (shape output) (at 85.09 90.17 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 7e881b05-98b1-4290-99fa-d895271485f2)
)
(hierarchical_label "SCLK" (shape input) (at 85.09 92.71 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 8ef8ab63-d78b-49e0-89aa-d7de17fdbe74)
)
(hierarchical_label "PB5_SDA" (shape bidirectional) (at 85.09 82.55 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 9ca5b9da-e0dd-4955-969b-abbfe4ad2dd5)
)
(hierarchical_label "INIT_{OUT}" (shape output) (at 85.09 72.39 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 9d6f01bf-507b-4b70-82a7-182a04da9e3f)
)
(hierarchical_label "INIT_{IN}" (shape input) (at 85.09 69.85 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 9e8cf55f-aa42-463b-a91a-de04527fe165)
)
(hierarchical_label "PD6_AIN6" (shape input) (at 120.65 92.71 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid b06ad5b8-3b55-4295-ac00-2db4462d06a0)
)
(hierarchical_label "~{RST}" (shape input) (at 85.09 102.87 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid b146471c-fbe5-47f5-9d13-b2781f1eec8e)
)
(hierarchical_label "PD4_PWM" (shape bidirectional) (at 120.65 87.63 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid c01ad6db-1ab3-4d40-b0ea-5db91fd6ea3d)
)
(hierarchical_label "SWIM" (shape input) (at 120.65 80.01 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid c51b4129-c609-4071-9aee-8812a73e4fbf)
)
(hierarchical_label "MOSI" (shape input) (at 85.09 95.25 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid d868ec48-42f4-4608-baef-8e135bf87a69)
)
(hierarchical_label "PC3" (shape bidirectional) (at 85.09 87.63 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid db8938bd-2e17-432b-810d-99f0cc91dc9b)
)
(hierarchical_label "PB4_SCL" (shape bidirectional) (at 85.09 80.01 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid e7e056a6-601a-4b1f-b777-b87dc65cba1c)
)
(symbol (lib_id "power:GND") (at 102.87 113.03 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 3070e453-5a48-4337-bc8a-aaea9f0903c4)
(property "Reference" "#PWR?" (id 0) (at 102.87 119.38 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 102.997 117.4242 0))
(property "Footprint" "" (id 2) (at 102.87 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 102.87 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 476016a1-85a2-490a-9e22-631280b45f0e))
)
(symbol (lib_id "power:+3.3V") (at 102.87 62.23 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 89dba8ed-6d52-4248-8ebf-04e6c6c88d41)
(property "Reference" "#PWR?" (id 0) (at 102.87 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3.3V" (id 1) (at 104.14 58.42 0))
(property "Footprint" "" (id 2) (at 102.87 62.23 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 102.87 62.23 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid ba7b530d-9be0-4def-8454-8e16aafbce41))
)
(symbol (lib_id "MCU_ST_STM8:STM8S003F3U") (at 102.87 87.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 8cbb6c57-e33d-447e-ba35-edd9102428e5)
(property "Reference" "U1" (id 0) (at 104.8894 62.0735 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "STM8S003F3U" (id 1) (at 104.8894 64.8486 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_DFN_QFN:ST_UFQFPN-20_3x3mm_P0.5mm" (id 2) (at 104.14 59.69 0)
(effects (font (size 1.27 1.27)) (justify left) hide)
)
(property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf" (id 3) (at 101.6 97.79 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C35556" (id 4) (at 102.87 87.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 0868def6-5403-4cbf-93a7-6389dbc95ce3))
(pin "10" (uuid 79e03ae3-04c1-4136-9d11-edbf8450c5e6))
(pin "11" (uuid 8610c623-6e26-45d0-8346-2d01e6f540e2))
(pin "12" (uuid baa88fca-098c-4fc0-9b12-9583d4b93589))
(pin "13" (uuid e91f253b-96a6-44ee-96e3-20b404cccf96))
(pin "14" (uuid 946097a6-5de6-41e1-a2a9-3fde8f1e91e9))
(pin "15" (uuid d7070859-dedb-4e15-8c3c-a55445f4810e))
(pin "16" (uuid ce74344b-32a5-45f1-b0fc-6903c09e3eed))
(pin "17" (uuid c5449947-3eb6-438a-a259-9adb710c7987))
(pin "18" (uuid b7a2ae26-da33-4e81-a563-708d7b6972d1))
(pin "19" (uuid 3c5f9d0f-421a-4a95-82bb-a1d8b812a4c6))
(pin "2" (uuid af8379f6-aca4-4c68-88d2-144d961c43cd))
(pin "20" (uuid d0d3b33b-5670-48ba-8a91-62efcaa81f41))
(pin "3" (uuid 2ef496d7-ab49-4982-9d58-a0c76b781f8d))
(pin "4" (uuid c50bf281-2b66-459e-a9e3-1a9500cd5eb0))
(pin "5" (uuid 39682296-4e33-40ef-bab8-a76b04d018ef))
(pin "6" (uuid 953d45d5-e11a-4df6-a8ea-bd278753d364))
(pin "7" (uuid 6558fe1b-a3c8-432c-ad80-f285a01e900f))
(pin "8" (uuid 5492858d-1b8c-4f1a-b061-e929f40eed8a))
(pin "9" (uuid a9633d26-daae-48a7-b5dd-6c0f294c3c20))
)
(symbol (lib_id "power:GND") (at 85.09 115.57 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid a2512eb5-1205-4c98-854b-ff2f58d6be51)
(property "Reference" "#PWR?" (id 0) (at 85.09 121.92 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 85.217 119.9642 0))
(property "Footprint" "" (id 2) (at 85.09 115.57 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 85.09 115.57 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2b23d0e4-c3a2-4f0d-9455-e00e556f6b81))
)
(symbol (lib_id "Device:C_Polarized") (at 85.09 111.76 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid f0975aab-9018-4c2c-83a3-ecbae5bfb12a)
(property "Reference" "C3" (id 0) (at 88.011 109.9625 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "680nF" (id 1) (at 88.011 112.7376 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:CP_Elec_3x5.4" (id 2) (at 86.0552 115.57 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 85.09 111.76 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid ab4e121c-071f-4432-a221-b67e64d6ff8d))
(pin "2" (uuid 9fd9e8ec-fc98-4154-ad2e-11ac105668bf))
)
)

File diff suppressed because it is too large Load diff

435
pcb/fiatlux.kicad_pro Normal file
View file

@ -0,0 +1,435 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.09999999999999999,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.65,
"height": 0.65,
"width": 0.65
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"meta": {
"filename": "board_design_settings.json",
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rule_severitieslegacy_courtyards_overlap": true,
"rule_severitieslegacy_no_courtyard_defined": false,
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.049999999999999996,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.25,
0.5,
1.0,
2.0
],
"via_dimensions": [],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "fiatlux.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.127,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "fiatlux.net",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.25,
"pin_symbol_size": 0.0,
"text_offset_ratio": 0.08
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "Pcbnew",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"814763c2-92e5-4a2c-941c-9bbd073f6e87",
""
],
[
"00000000-0000-0000-0000-00006078273a",
"Power"
],
[
"704d02d9-6cb6-48ad-b961-61eafd0de7c6",
"Ext-IO"
]
],
"text_variables": {}
}

3822
pcb/fiatlux.kicad_sch Normal file

File diff suppressed because it is too large Load diff

View file

@ -8,6 +8,23 @@ preflight:
run_drc: true run_drc: true
check_zone_fills: false check_zone_fills: false
ignore_unconnected: false ignore_unconnected: false
filters:
- error: 'courtyards_overlap'
regex: '((?s)J4(.*)J13)|((?s)J13(.*)J21)|((?s)J2(.*)J15)|((?s)J2(.*)J4)'
- error: 'courtyards_overlap'
regex: '(?s)J3(.*)J12'
- error: 'clearance'
regex: '(.*)no net(.*) of J1'
global:
filters:
- error: 'courtyards_overlap'
regex: '((?s)J4(.*)J13)|((?s)J13(.*)J21)|((?s)J2(.*)J15)|((?s)J2(.*)J4)'
- error: 'courtyards_overlap'
regex: '(?s)J3(.*)J12'
- error: 'clearance'
regex: '(.*)no net(.*) of J1'
- error: 'silk_overlap'
# global: # global:
# kiauto_wait_start: 60 # kiauto_wait_start: 60

View file

@ -1,252 +0,0 @@
update=Mo 12 Jul 2021 16:48:53 CEST
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
[pcbnew]
version=1
PageLayoutDescrFile=
LastNetListRead=fiatlux.net
CopperLayerCount=2
BoardThickness=1.6
AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.25
TrackWidth2=0.25
TrackWidth3=0.5
TrackWidth4=1
TrackWidth5=2
ViaDiameter1=0.8
ViaDrill1=0.4
dPairWidth1=0.2
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.15
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.09999999999999999
CourtyardLineWidth=0.05
OthersLineWidth=0.15
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0
SolderMaskMinWidth=0
SolderPasteClearance=0
SolderPasteRatio=-0
[pcbnew/Layer.F.Cu]
Name=F.Cu
Type=0
Enabled=1
[pcbnew/Layer.In1.Cu]
Name=In1.Cu
Type=0
Enabled=0
[pcbnew/Layer.In2.Cu]
Name=In2.Cu
Type=0
Enabled=0
[pcbnew/Layer.In3.Cu]
Name=In3.Cu
Type=0
Enabled=0
[pcbnew/Layer.In4.Cu]
Name=In4.Cu
Type=0
Enabled=0
[pcbnew/Layer.In5.Cu]
Name=In5.Cu
Type=0
Enabled=0
[pcbnew/Layer.In6.Cu]
Name=In6.Cu
Type=0
Enabled=0
[pcbnew/Layer.In7.Cu]
Name=In7.Cu
Type=0
Enabled=0
[pcbnew/Layer.In8.Cu]
Name=In8.Cu
Type=0
Enabled=0
[pcbnew/Layer.In9.Cu]
Name=In9.Cu
Type=0
Enabled=0
[pcbnew/Layer.In10.Cu]
Name=In10.Cu
Type=0
Enabled=0
[pcbnew/Layer.In11.Cu]
Name=In11.Cu
Type=0
Enabled=0
[pcbnew/Layer.In12.Cu]
Name=In12.Cu
Type=0
Enabled=0
[pcbnew/Layer.In13.Cu]
Name=In13.Cu
Type=0
Enabled=0
[pcbnew/Layer.In14.Cu]
Name=In14.Cu
Type=0
Enabled=0
[pcbnew/Layer.In15.Cu]
Name=In15.Cu
Type=0
Enabled=0
[pcbnew/Layer.In16.Cu]
Name=In16.Cu
Type=0
Enabled=0
[pcbnew/Layer.In17.Cu]
Name=In17.Cu
Type=0
Enabled=0
[pcbnew/Layer.In18.Cu]
Name=In18.Cu
Type=0
Enabled=0
[pcbnew/Layer.In19.Cu]
Name=In19.Cu
Type=0
Enabled=0
[pcbnew/Layer.In20.Cu]
Name=In20.Cu
Type=0
Enabled=0
[pcbnew/Layer.In21.Cu]
Name=In21.Cu
Type=0
Enabled=0
[pcbnew/Layer.In22.Cu]
Name=In22.Cu
Type=0
Enabled=0
[pcbnew/Layer.In23.Cu]
Name=In23.Cu
Type=0
Enabled=0
[pcbnew/Layer.In24.Cu]
Name=In24.Cu
Type=0
Enabled=0
[pcbnew/Layer.In25.Cu]
Name=In25.Cu
Type=0
Enabled=0
[pcbnew/Layer.In26.Cu]
Name=In26.Cu
Type=0
Enabled=0
[pcbnew/Layer.In27.Cu]
Name=In27.Cu
Type=0
Enabled=0
[pcbnew/Layer.In28.Cu]
Name=In28.Cu
Type=0
Enabled=0
[pcbnew/Layer.In29.Cu]
Name=In29.Cu
Type=0
Enabled=0
[pcbnew/Layer.In30.Cu]
Name=In30.Cu
Type=0
Enabled=0
[pcbnew/Layer.B.Cu]
Name=B.Cu
Type=0
Enabled=1
[pcbnew/Layer.B.Adhes]
Enabled=1
[pcbnew/Layer.F.Adhes]
Enabled=1
[pcbnew/Layer.B.Paste]
Enabled=1
[pcbnew/Layer.F.Paste]
Enabled=1
[pcbnew/Layer.B.SilkS]
Enabled=1
[pcbnew/Layer.F.SilkS]
Enabled=1
[pcbnew/Layer.B.Mask]
Enabled=1
[pcbnew/Layer.F.Mask]
Enabled=1
[pcbnew/Layer.Dwgs.User]
Enabled=1
[pcbnew/Layer.Cmts.User]
Enabled=1
[pcbnew/Layer.Eco1.User]
Enabled=1
[pcbnew/Layer.Eco2.User]
Enabled=1
[pcbnew/Layer.Edge.Cuts]
Enabled=1
[pcbnew/Layer.Margin]
Enabled=1
[pcbnew/Layer.B.CrtYd]
Enabled=1
[pcbnew/Layer.F.CrtYd]
Enabled=1
[pcbnew/Layer.B.Fab]
Enabled=1
[pcbnew/Layer.F.Fab]
Enabled=1
[pcbnew/Layer.Rescue]
Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.127
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25

File diff suppressed because it is too large Load diff

29102
pcb/fiatlux_cc48.kicad_pcb Normal file

File diff suppressed because it is too large Load diff

460
pcb/fiatlux_cc48.kicad_pro Normal file
View file

@ -0,0 +1,460 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.09999999999999999,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.15,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 1.52,
"height": 3.0,
"width": 3.0
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.0,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.25,
1.0,
2.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "fiatlux_cc48.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.375,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.15
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"9538e4ed-27e6-4c37-b989-9859dc0d49e8",
""
],
[
"d33c1df4-7e91-4c8a-86ff-6749f0933357",
"fiatlux_cc48_channel_driver2"
],
[
"ec392c76-0785-4274-a56a-aeb995601b34",
"fiatlux_cc48_channel_driver1"
],
[
"0f2c710f-e0cf-4531-985d-317b699b8a1b",
"fiatlux_cc48_channel_driver3"
],
[
"a672b323-13f7-4347-a8ce-0a3f96c45d44",
"fiatlux_cc48_channel_driver5"
],
[
"a5f417c9-09b7-4103-a9bc-767ebcf97650",
"fiatlux_cc48_channel_driver4"
],
[
"41c6dc95-230a-4992-8ca4-7f36f4bdcf94",
"fiatlux_cc48_channel_driver6"
]
],
"text_variables": {}
}

4085
pcb/fiatlux_cc48.kicad_sch Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,139 @@
# Example KiPlot config file
kiplot:
version: 1
preflight:
run_erc: true
update_xml: true
run_drc: true
check_zone_fills: false
ignore_unconnected: false
# global:
# kiauto_wait_start: 60
# kiauto_time_out_scale: 2
filters:
- name: fix_rotation
comment: 'Adjust rotation for JLC'
type: rot_footprint
- name: only_jlc_parts
comment: 'Only parts with JLC code'
type: generic
include_only:
- column: 'LCSC#'
regex: '^C\d+'
variants:
- name: rotated
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: rotated
pre_transform: fix_rotation
outputs:
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: fiatlux_cc48.pdf
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
options:
output_name: fiatlux_cc48-top.pdf
layers:
- layer: B.Cu
- layer: F.SilkS
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: fab
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: true
use_gerber_net_attributes: true
layers:
- layer: F.Cu
suffix: F_Cu
- layer: B.Cu
suffix: B_Cu
- layer: F.SilkS
suffix: F_SilkS
- layer: B.SilkS
suffix: B_SilkS
- layer: F.Paste
suffix: F_Paste
- layer: B.Paste
suffix: B_Paste
- layer: F.Mask
suffix: F_Mask
- layer: B.Mask
suffix: B_Mask
- layer: Edge.Cuts
suffix: Edge_Cuts
- name: 'position'
comment: "Pick and place file, JLC style"
type: position
options:
variant: rotated
output: '%f-top-pos.%x'
format: CSV
units: millimeters
separate_files_for_front_and_back: false
only_smd: true
columns:
- id: Ref
name: Designator
- Val
- Package
- id: PosX
name: "Mid X"
- id: PosY
name: "Mid Y"
- id: Rot
name: Rotation
- id: Side
name: Layer
- name: 'bom'
comment: "BoM for JLC"
type: bom
options:
output: '%f.%x'
exclude_filter: 'only_jlc_parts'
ref_separator: ','
columns:
- field: Value
name: Comment
- field: References
name: Designator
- Footprint
- field: 'LCSC#'
name: 'LCSC Part #'
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true

File diff suppressed because it is too large Load diff

1920
pcb/fiatlux_cv24.kicad_pcb Normal file

File diff suppressed because it is too large Load diff

488
pcb/fiatlux_cv24.kicad_pro Normal file
View file

@ -0,0 +1,488 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.09999999999999999,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.0,
"height": 1.2,
"width": 2.2
},
"silk_line_width": 0.15,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"filename": "board_design_settings.json",
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rule_severitieslegacy_courtyards_overlap": true,
"rule_severitieslegacy_no_courtyard_defined": false,
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.049999999999999996,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.25,
0.5,
1.0,
2.0,
4.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "fiatlux_cv24.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.127,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Signal-Min",
"nets": [
"AIN3",
"AIN5",
"AIN6",
"BTN1",
"BTN2",
"BTN3",
"INIT_{IN}",
"INIT_{OUT}",
"MISO",
"MOSI",
"SCLK",
"SWIM",
"~{BUSRST}",
"~{INT}"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"via_diameter": 0.4,
"via_drill": 0.2,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "fiatlux_cv24.net",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.25,
"pin_symbol_size": 0.0,
"text_offset_ratio": 0.08
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "Pcbnew",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"d2de4093-1fc2-4bc1-94b6-4d0fe3426c6f",
""
],
[
"aee7520e-3bfc-435f-a66b-1dd1f5aa6a87",
"bus_node"
],
[
"7f5c5a33-bffa-44be-b723-f59e60ea9e4b",
"24V Channel Driver"
],
[
"cec94cd2-9700-4dd3-b9d2-4b72c629d4b7",
"24V Channel Driver1"
],
[
"15ee890d-f99a-48c2-aa9a-ca199c3f2de0",
"24V Channel Driver2"
]
],
"text_variables": {}
}

1865
pcb/fiatlux_cv24.kicad_sch Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,546 @@
(kicad_sch (version 20211123) (generator eeschema)
(uuid 658cbe5a-e7f5-4f80-bc14-54c2ecfeca7c)
(paper "A4")
(lib_symbols
(symbol "Device:LED_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
(property "Reference" "D" (id 0) (at -1.27 3.175 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "LED_Small" (id 1) (at -4.445 -2.54 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (id 2) (at 0 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "LED diode light-emitting-diode" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Light emitting diode, small symbol" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "LED_Small_0_1"
(polyline
(pts
(xy -0.762 -1.016)
(xy -0.762 1.016)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 1.016 0)
(xy -0.762 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 -1.016)
(xy -0.762 0)
(xy 0.762 1.016)
(xy 0.762 -1.016)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0 0.762)
(xy -0.508 1.27)
(xy -0.254 1.27)
(xy -0.508 1.27)
(xy -0.508 1.016)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.508 1.27)
(xy 0 1.778)
(xy 0.254 1.778)
(xy 0 1.778)
(xy 0 1.524)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "LED_Small_1_1"
(pin passive line (at -2.54 0 0) (length 1.778)
(name "K" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 0 180) (length 1.778)
(name "A" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:Q_NMOS_GDSD" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "Q" (id 0) (at 5.08 1.27 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "Q_NMOS_GDSD" (id 1) (at 5.08 -1.27 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (id 2) (at 5.08 2.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "transistor NMOS N-MOS N-MOSFET" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "N-MOSFET transistor, gate/drain/source, drain connected to mounting plane" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Q_NMOS_GDSD_0_1"
(polyline
(pts
(xy 0.254 0)
(xy -2.54 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.254 1.905)
(xy 0.254 -1.905)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 -1.27)
(xy 0.762 -2.286)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 0.508)
(xy 0.762 -0.508)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 2.286)
(xy 0.762 1.27)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 2.54 -2.54)
(xy 2.54 0)
(xy 0.762 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 5.08 2.54)
(xy 2.54 2.54)
(xy 2.54 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.762 -1.778)
(xy 3.302 -1.778)
(xy 3.302 1.778)
(xy 0.762 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 1.016 0)
(xy 2.032 0.381)
(xy 2.032 -0.381)
(xy 1.016 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
(polyline
(pts
(xy 2.794 0.508)
(xy 2.921 0.381)
(xy 3.683 0.381)
(xy 3.81 0.254)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 3.302 0.381)
(xy 2.921 -0.254)
(xy 3.683 -0.254)
(xy 3.302 0.381)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 1.651 0) (radius 2.794)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 2.54 -1.778) (radius 0.254)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
(circle (center 2.54 1.778) (radius 0.254)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type outline))
)
)
(symbol "Q_NMOS_GDSD_1_1"
(pin input line (at -5.08 0 0) (length 2.54)
(name "G" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54)
(name "D" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 -5.08 90) (length 2.54)
(name "S" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 5.08 270) (length 2.54)
(name "D" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (id 0) (at 2.032 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Value" "R" (id 1) (at 0 0 90)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at -1.778 0 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "R res resistor" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Resistor" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "R_*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "R_0_1"
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "R_1_1"
(pin passive line (at 0 3.81 270) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -3.81 90) (length 1.27)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 104.14 76.2) (diameter 0) (color 0 0 0 0)
(uuid 00bad39b-e2f3-43ed-bb68-b80ef85f0b29)
)
(junction (at 111.76 76.2) (diameter 0) (color 0 0 0 0)
(uuid 93538109-16e1-4cde-96ce-7c0802b2e238)
)
(junction (at 124.46 68.58) (diameter 0) (color 0 0 0 0)
(uuid c698abea-a780-4c15-939b-1bd03b379ab9)
)
(wire (pts (xy 121.92 71.12) (xy 121.92 68.58))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 12b2c4c3-d2d5-4469-95f8-28c2377f915b)
)
(wire (pts (xy 111.76 76.2) (xy 111.76 78.74))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 38b85f7f-8020-4a7c-a671-f1b825aa9d3d)
)
(wire (pts (xy 124.46 68.58) (xy 127 68.58))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 5d25158a-0f0c-4762-b2d3-4f1642e70431)
)
(wire (pts (xy 104.14 76.2) (xy 104.14 78.74))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6ae46c10-d334-4f3b-8139-fb8860a013fa)
)
(wire (pts (xy 121.92 68.58) (xy 124.46 68.58))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 7d8dbb1a-bb72-41dc-8ed2-807bc2eb0d2e)
)
(wire (pts (xy 114.3 76.2) (xy 111.76 76.2))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 909410c5-7e76-46a9-afc8-5efd686a200c)
)
(wire (pts (xy 121.92 81.28) (xy 121.92 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b05483dd-3114-4790-b2ac-ebeb336d89e3)
)
(wire (pts (xy 93.98 66.04) (xy 127 66.04))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid da726f9a-e54f-4ffb-8604-2db8d78ac9bf)
)
(wire (pts (xy 104.14 76.2) (xy 111.76 76.2))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid dc995e61-efb6-4833-bbd0-edd2aebbfa20)
)
(wire (pts (xy 104.14 86.36) (xy 104.14 91.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid e5fa9768-5247-43fc-8eab-c2f613f12c51)
)
(wire (pts (xy 101.6 76.2) (xy 104.14 76.2))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ea6ccf7c-821b-47a5-83af-2320a7de6ed7)
)
(wire (pts (xy 124.46 68.58) (xy 124.46 71.12))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ef522600-f568-4446-82f0-c702e4542a72)
)
(hierarchical_label "PWM" (shape input) (at 93.98 76.2 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 2bcbc6e8-93da-4d48-bed2-97e7b1583784)
)
(hierarchical_label "V_{OUT}+" (shape output) (at 127 66.04 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 5c8074eb-b699-437f-9f9a-b7d6f0379726)
)
(hierarchical_label "V_{OUT}-" (shape output) (at 127 68.58 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 6b9bec98-58ab-4553-81fa-098a51870452)
)
(hierarchical_label "V_{IN}" (shape input) (at 93.98 66.04 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid fa45c1e1-43e9-40df-880b-c199616a450e)
)
(symbol (lib_id "power:GND") (at 104.14 91.44 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 0c345e65-07ca-4ef9-99e2-cc5dd3caa7cd)
(property "Reference" "#PWR?" (id 0) (at 104.14 97.79 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 104.14 96.0025 0))
(property "Footprint" "" (id 2) (at 104.14 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 104.14 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid efb00120-20bf-4a55-addd-2dfd58d88fda))
)
(symbol (lib_id "Device:R") (at 97.79 76.2 90)
(in_bom yes) (on_board yes)
(uuid 10766508-fc22-4696-9225-e4be96a84ff3)
(property "Reference" "R8" (id 0) (at 98.9584 77.978 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "51Ohm" (id 1) (at 96.647 77.978 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (id 2) (at 97.79 77.978 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 97.79 76.2 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C23197" (id 4) (at 97.79 76.2 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid c03ce341-4266-44b0-a358-5b915747abc5))
(pin "2" (uuid 8717fab9-1ae9-42ca-bf66-705a24f88232))
)
(symbol (lib_id "Device:R") (at 104.14 82.55 180)
(in_bom yes) (on_board yes)
(uuid 27df373f-807a-41bc-a743-28be9deb04e6)
(property "Reference" "R9" (id 0) (at 109.3978 82.55 90))
(property "Value" "12kOhm" (id 1) (at 107.0864 82.55 90))
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (id 2) (at 105.918 82.55 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 104.14 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C22790" (id 4) (at 104.14 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 84d19078-b280-4d1d-a5d9-dcff48e8c1a7))
(pin "2" (uuid 4457130d-b077-4388-b42c-c74af2d9dee4))
)
(symbol (lib_id "power:GND") (at 111.76 91.44 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 29204964-a4cc-47a9-a63a-c6a59f5eaece)
(property "Reference" "#PWR?" (id 0) (at 111.76 97.79 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 111.76 96.0025 0))
(property "Footprint" "" (id 2) (at 111.76 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 111.76 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid cbfd2efb-2adb-4133-a5f5-b86d783e9407))
)
(symbol (lib_id "Device:R") (at 111.76 87.63 180)
(in_bom yes) (on_board yes)
(uuid 596997e0-0f64-4335-9c9b-75e9e2d0780c)
(property "Reference" "R10" (id 0) (at 117.0178 87.63 90))
(property "Value" "470Ohm" (id 1) (at 114.7064 87.63 90))
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (id 2) (at 113.538 87.63 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 111.76 87.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C23179" (id 4) (at 111.76 87.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 548bb468-a13e-41e7-a6b9-f73eb3b9ea63))
(pin "2" (uuid 81ed580a-8e27-406d-b7c9-133f47d2e76f))
)
(symbol (lib_id "Device:Q_NMOS_GDSD") (at 119.38 76.2 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 6356fe97-06cd-4a4b-b2f2-2e98498da4a1)
(property "Reference" "Q3" (id 0) (at 125.095 75.2915 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "Q_NMOS_GDSD" (id 1) (at 125.095 78.0666 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_TO_SOT_SMD:TO-252-3_TabPin4" (id 2) (at 124.46 73.66 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 119.38 76.2 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid f0305a19-1293-46c9-9810-aa49b8dab8a4))
(pin "2" (uuid 02bac189-ce88-4201-a986-e602f9553dc1))
(pin "3" (uuid 226e6848-5ca6-48e1-bb24-ee9637a3e720))
(pin "4" (uuid 45580b2c-f853-4bae-b48d-8b2b7a8c9649))
)
(symbol (lib_id "power:GND") (at 121.92 91.44 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 89d30dc5-826e-436b-acb9-f9172d6bf59d)
(property "Reference" "#PWR?" (id 0) (at 121.92 97.79 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 121.92 96.0025 0))
(property "Footprint" "" (id 2) (at 121.92 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 121.92 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid a70a6a3f-2724-48b3-b488-859475275951))
)
(symbol (lib_id "Device:LED_Small") (at 111.76 81.28 90)
(in_bom yes) (on_board yes)
(uuid ce7cb119-1df8-42ef-b2f2-2dae443be651)
(property "Reference" "D3" (id 0) (at 113.538 80.1116 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "RED" (id 1) (at 113.538 82.423 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "LED_SMD:LED_0603_1608Metric" (id 2) (at 111.76 81.28 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 111.76 81.28 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C2286" (id 4) (at 111.76 81.28 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 4fd135f0-38be-402a-9bc7-59f09498eddd))
(pin "2" (uuid 366b4e95-01fd-42ef-a705-8f901032e0c6))
)
)

60
pcb/library.kicad_sym Normal file
View file

@ -0,0 +1,60 @@
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
(symbol "BL1551B" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at 0 -1.27 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "BL1551B" (id 1) (at 0 1.27 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "BL1551B_0_1"
(rectangle (start 6.35 7.62) (end -6.35 -7.62)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type background))
)
(rectangle (start 10.16 -10.16) (end 10.16 -10.16)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type none))
)
(rectangle (start 10.16 -10.16) (end 10.16 -10.16)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type none))
)
(rectangle (start 10.16 -10.16) (end 10.16 -10.16)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "BL1551B_1_1"
(pin bidirectional line (at -8.89 3.81 0) (length 2.54)
(name "A1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 -10.16 90) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -8.89 -3.81 0) (length 2.54)
(name "A2" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 8.89 -3.81 180) (length 2.54)
(name "B" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 10.16 270) (length 2.54)
(name "VCC" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin input line (at 8.89 3.81 180) (length 2.54)
(name "ENB" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
)
)
)

File diff suppressed because it is too large Load diff

1708
pcb/power.kicad_sch Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,643 +0,0 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 2
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Regulator_Linear:AMS1117-3.3 U?
U 1 1 6078C93E
P 5650 2450
AR Path="/6078C93E" Ref="U?" Part="1"
AR Path="/6078273A/6078C93E" Ref="U3" Part="1"
F 0 "U3" H 5650 2692 50 0000 C CNN
F 1 "AMS1117-3.3" H 5650 2601 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" H 5650 2650 50 0001 C CNN
F 3 "http://www.advanced-monolithic.com/pdf/ds1117.pdf" H 5750 2200 50 0001 C CNN
F 4 "C6186" H 5650 2450 50 0001 C CNN "LCSC"
1 5650 2450
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 6078C94A
P 6250 3050
AR Path="/6078C94A" Ref="#PWR?" Part="1"
AR Path="/6078273A/6078C94A" Ref="#PWR0101" Part="1"
F 0 "#PWR0101" H 6250 2800 50 0001 C CNN
F 1 "GND" H 6255 2877 50 0000 C CNN
F 2 "" H 6250 3050 50 0001 C CNN
F 3 "" H 6250 3050 50 0001 C CNN
1 6250 3050
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 6078C950
P 5650 3050
AR Path="/6078C950" Ref="#PWR?" Part="1"
AR Path="/6078273A/6078C950" Ref="#PWR0102" Part="1"
F 0 "#PWR0102" H 5650 2800 50 0001 C CNN
F 1 "GND" H 5655 2877 50 0000 C CNN
F 2 "" H 5650 3050 50 0001 C CNN
F 3 "" H 5650 3050 50 0001 C CNN
1 5650 3050
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 6078C956
P 5050 3050
AR Path="/6078C956" Ref="#PWR?" Part="1"
AR Path="/6078273A/6078C956" Ref="#PWR0103" Part="1"
F 0 "#PWR0103" H 5050 2800 50 0001 C CNN
F 1 "GND" H 5055 2877 50 0000 C CNN
F 2 "" H 5050 3050 50 0001 C CNN
F 3 "" H 5050 3050 50 0001 C CNN
1 5050 3050
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 6078C95C
P 6250 2400
AR Path="/6078C95C" Ref="#PWR?" Part="1"
AR Path="/6078273A/6078C95C" Ref="#PWR0104" Part="1"
F 0 "#PWR0104" H 6250 2250 50 0001 C CNN
F 1 "+3.3V" H 6265 2573 50 0000 C CNN
F 2 "" H 6250 2400 50 0001 C CNN
F 3 "" H 6250 2400 50 0001 C CNN
1 6250 2400
1 0 0 -1
$EndComp
Wire Wire Line
5350 2450 5050 2450
Wire Wire Line
5050 2450 5050 2550
Wire Wire Line
6250 2400 6250 2450
Wire Wire Line
5950 2450 6250 2450
Connection ~ 6250 2450
Wire Wire Line
6250 2450 6250 2550
Wire Wire Line
6250 2850 6250 3050
$Comp
L Device:D_Schottky D?
U 1 1 6078C973
P 5050 2150
AR Path="/6078C973" Ref="D?" Part="1"
AR Path="/6078273A/6078C973" Ref="D1" Part="1"
F 0 "D1" H 5050 1933 50 0000 C CNN
F 1 "SS14" H 5050 2024 50 0000 C CNN
F 2 "Diode_SMD:D_SMA" H 5050 2025 50 0001 C CNN
F 3 "~" H 5050 2150 50 0001 C CNN
F 4 "C2480" H 5050 2150 50 0001 C CNN "LCSC"
1 5050 2150
0 -1 -1 0
$EndComp
$Comp
L Device:C C?
U 1 1 6078C989
P 5050 2700
AR Path="/6078C989" Ref="C?" Part="1"
AR Path="/6078273A/6078C989" Ref="C1" Part="1"
F 0 "C1" H 5165 2746 50 0000 L CNN
F 1 "10uF" H 5165 2655 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 5088 2550 50 0001 C CNN
F 3 "~" H 5050 2700 50 0001 C CNN
F 4 "C15850" H 5050 2700 50 0001 C CNN "LCSC"
1 5050 2700
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR0108
U 1 1 60793A86
P 7100 2400
F 0 "#PWR0108" H 7100 2250 50 0001 C CNN
F 1 "+3.3V" H 7115 2573 50 0000 C CNN
F 2 "" H 7100 2400 50 0001 C CNN
F 3 "" H 7100 2400 50 0001 C CNN
1 7100 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0109
U 1 1 6079401E
P 7100 3050
F 0 "#PWR0109" H 7100 2800 50 0001 C CNN
F 1 "GND" H 7105 2877 50 0000 C CNN
F 2 "" H 7100 3050 50 0001 C CNN
F 3 "" H 7100 3050 50 0001 C CNN
1 7100 3050
1 0 0 -1
$EndComp
$Comp
L Device:CP C3
U 1 1 60794539
P 7100 2700
F 0 "C3" H 7218 2746 50 0000 L CNN
F 1 "TAJB107K006RNJ" H 7218 2655 50 0000 L CNN
F 2 "Capacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-B" H 7138 2550 50 0001 C CNN
F 3 "~" H 7100 2700 50 0001 C CNN
F 4 "C16133" H 7100 2700 50 0001 C CNN "LCSC"
1 7100 2700
1 0 0 -1
$EndComp
Wire Wire Line
7100 2550 7100 2400
Wire Wire Line
7100 3050 7100 2850
$Comp
L Device:C C?
U 1 1 607B779D
P 5850 4100
AR Path="/607B779D" Ref="C?" Part="1"
AR Path="/6078273A/607B779D" Ref="C6" Part="1"
F 0 "C6" H 5965 4146 50 0000 L CNN
F 1 "100nF" H 5965 4055 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 5888 3950 50 0001 C CNN
F 3 "~" H 5850 4100 50 0001 C CNN
F 4 "C14663" H 5850 4100 50 0001 C CNN "LCSC"
1 5850 4100
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 607B7FBF
P 5050 3750
AR Path="/607B7FBF" Ref="#PWR?" Part="1"
AR Path="/6078273A/607B7FBF" Ref="#PWR0134" Part="1"
F 0 "#PWR0134" H 5050 3600 50 0001 C CNN
F 1 "+3.3V" H 5065 3923 50 0000 C CNN
F 2 "" H 5050 3750 50 0001 C CNN
F 3 "" H 5050 3750 50 0001 C CNN
1 5050 3750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0135
U 1 1 607B9620
P 5050 4450
F 0 "#PWR0135" H 5050 4200 50 0001 C CNN
F 1 "GND" H 5055 4277 50 0000 C CNN
F 2 "" H 5050 4450 50 0001 C CNN
F 3 "" H 5050 4450 50 0001 C CNN
1 5050 4450
1 0 0 -1
$EndComp
Wire Wire Line
5050 4450 5050 4350
Wire Wire Line
5850 4250 5850 4350
Wire Wire Line
5850 4350 5050 4350
Connection ~ 5050 4350
Wire Wire Line
5050 4350 5050 4250
Wire Wire Line
5850 3950 5850 3850
Wire Wire Line
5850 3850 5050 3850
Wire Wire Line
5050 3850 5050 3750
Wire Wire Line
5050 3950 5050 3850
Connection ~ 5050 3850
$Comp
L Device:C C?
U 1 1 607C2A6A
P 7900 4100
AR Path="/607C2A6A" Ref="C?" Part="1"
AR Path="/6078273A/607C2A6A" Ref="C8" Part="1"
F 0 "C8" H 8015 4146 50 0000 L CNN
F 1 "100nF" H 8015 4055 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 7938 3950 50 0001 C CNN
F 3 "~" H 7900 4100 50 0001 C CNN
F 4 "C14663" H 7900 4100 50 0001 C CNN "LCSC"
1 7900 4100
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0136
U 1 1 607C2A7C
P 7100 4450
F 0 "#PWR0136" H 7100 4200 50 0001 C CNN
F 1 "GND" H 7105 4277 50 0000 C CNN
F 2 "" H 7100 4450 50 0001 C CNN
F 3 "" H 7100 4450 50 0001 C CNN
1 7100 4450
1 0 0 -1
$EndComp
Wire Wire Line
7100 4450 7100 4350
Wire Wire Line
7900 4250 7900 4350
Wire Wire Line
7900 4350 7100 4350
Connection ~ 7100 4350
Wire Wire Line
7100 4350 7100 4250
Wire Wire Line
7900 3950 7900 3850
Wire Wire Line
7900 3850 7100 3850
Wire Wire Line
7100 3850 7100 3750
Wire Wire Line
7100 3950 7100 3850
Connection ~ 7100 3850
$Comp
L Device:D_Schottky D?
U 1 1 607C7255
P 4450 2150
AR Path="/607C7255" Ref="D?" Part="1"
AR Path="/6078273A/607C7255" Ref="D6" Part="1"
F 0 "D6" H 4450 1933 50 0000 C CNN
F 1 "SS14" H 4450 2024 50 0000 C CNN
F 2 "Diode_SMD:D_SMA" H 4450 2025 50 0001 C CNN
F 3 "~" H 4450 2150 50 0001 C CNN
F 4 "C2480" H 4450 2150 50 0001 C CNN "LCSC"
1 4450 2150
0 -1 -1 0
$EndComp
Wire Wire Line
5650 2750 5650 3050
Wire Wire Line
5050 2850 5050 3050
Wire Wire Line
5050 2300 5050 2450
Connection ~ 5050 2450
Wire Wire Line
4450 2300 4450 2450
Wire Wire Line
4450 2450 5050 2450
$Comp
L power:+12V #PWR0132
U 1 1 608DD823
P 4450 1850
F 0 "#PWR0132" H 4450 1700 50 0001 C CNN
F 1 "+12V" H 4465 2023 50 0000 C CNN
F 2 "" H 4450 1850 50 0001 C CNN
F 3 "" H 4450 1850 50 0001 C CNN
1 4450 1850
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR0133
U 1 1 608DE102
P 5050 1850
F 0 "#PWR0133" H 5050 1700 50 0001 C CNN
F 1 "+5V" H 5065 2023 50 0000 C CNN
F 2 "" H 5050 1850 50 0001 C CNN
F 3 "" H 5050 1850 50 0001 C CNN
1 5050 1850
1 0 0 -1
$EndComp
Wire Wire Line
4450 1850 4450 2000
Wire Wire Line
5050 1850 5050 2000
$Comp
L power:+5V #PWR0137
U 1 1 608E064A
P 7100 3750
F 0 "#PWR0137" H 7100 3600 50 0001 C CNN
F 1 "+5V" H 7115 3923 50 0000 C CNN
F 2 "" H 7100 3750 50 0001 C CNN
F 3 "" H 7100 3750 50 0001 C CNN
1 7100 3750
1 0 0 -1
$EndComp
$Comp
L Device:D_Zener D7
U 1 1 608E2DA3
P 8700 2700
F 0 "D7" V 8654 2780 50 0000 L CNN
F 1 "Z 5V" V 8745 2780 50 0000 L CNN
F 2 "Diode_SMD:D_MiniMELF" H 8700 2700 50 0001 C CNN
F 3 "~" H 8700 2700 50 0001 C CNN
1 8700 2700
0 1 1 0
$EndComp
$Comp
L Device:D_Zener D8
U 1 1 608E7242
P 9450 2700
F 0 "D8" V 9404 2780 50 0000 L CNN
F 1 "Z 12V" V 9495 2780 50 0000 L CNN
F 2 "Diode_SMD:D_MiniMELF" H 9450 2700 50 0001 C CNN
F 3 "~" H 9450 2700 50 0001 C CNN
1 9450 2700
0 1 1 0
$EndComp
$Comp
L power:+5V #PWR0138
U 1 1 608EA16E
P 8700 2400
F 0 "#PWR0138" H 8700 2250 50 0001 C CNN
F 1 "+5V" H 8715 2573 50 0000 C CNN
F 2 "" H 8700 2400 50 0001 C CNN
F 3 "" H 8700 2400 50 0001 C CNN
1 8700 2400
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0139
U 1 1 608EB6FB
P 9450 2400
F 0 "#PWR0139" H 9450 2250 50 0001 C CNN
F 1 "+12V" H 9465 2573 50 0000 C CNN
F 2 "" H 9450 2400 50 0001 C CNN
F 3 "" H 9450 2400 50 0001 C CNN
1 9450 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0142
U 1 1 608EC96E
P 8700 3050
F 0 "#PWR0142" H 8700 2800 50 0001 C CNN
F 1 "GND" H 8705 2877 50 0000 C CNN
F 2 "" H 8700 3050 50 0001 C CNN
F 3 "" H 8700 3050 50 0001 C CNN
1 8700 3050
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0143
U 1 1 608ED499
P 9450 3050
F 0 "#PWR0143" H 9450 2800 50 0001 C CNN
F 1 "GND" H 9455 2877 50 0000 C CNN
F 2 "" H 9450 3050 50 0001 C CNN
F 3 "" H 9450 3050 50 0001 C CNN
1 9450 3050
1 0 0 -1
$EndComp
Wire Wire Line
8700 2850 8700 3050
Wire Wire Line
9450 2850 9450 3050
Wire Wire Line
8700 2400 8700 2550
Wire Wire Line
9450 2400 9450 2550
Text Label 4750 2450 0 50 ~ 0
LDO_IN
$Comp
L Connector:Conn_01x01_Female J?
U 1 1 6094781B
P 2700 2200
AR Path="/6094781B" Ref="J?" Part="1"
AR Path="/6078273A/6094781B" Ref="J9" Part="1"
F 0 "J9" H 2728 2226 50 0000 L CNN
F 1 "Testpoint_3V3" H 2728 2135 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 2700 2200 50 0001 C CNN
F 3 "~" H 2700 2200 50 0001 C CNN
1 2700 2200
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 60947821
P 2500 2200
AR Path="/60947821" Ref="#PWR?" Part="1"
AR Path="/6078273A/60947821" Ref="#PWR0144" Part="1"
F 0 "#PWR0144" H 2500 2050 50 0001 C CNN
F 1 "+3.3V" H 2515 2373 50 0000 C CNN
F 2 "" H 2500 2200 50 0001 C CNN
F 3 "" H 2500 2200 50 0001 C CNN
1 2500 2200
0 -1 -1 0
$EndComp
$Comp
L Connector:Conn_01x01_Female J?
U 1 1 60947827
P 2700 2450
AR Path="/60947827" Ref="J?" Part="1"
AR Path="/6078273A/60947827" Ref="J10" Part="1"
F 0 "J10" H 2728 2476 50 0000 L CNN
F 1 "Testpoint_GND" H 2728 2385 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 2700 2450 50 0001 C CNN
F 3 "~" H 2700 2450 50 0001 C CNN
1 2700 2450
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 6094782D
P 2500 2450
AR Path="/6094782D" Ref="#PWR?" Part="1"
AR Path="/6078273A/6094782D" Ref="#PWR0145" Part="1"
F 0 "#PWR0145" H 2500 2200 50 0001 C CNN
F 1 "GND" H 2505 2277 50 0000 C CNN
F 2 "" H 2500 2450 50 0001 C CNN
F 3 "" H 2500 2450 50 0001 C CNN
1 2500 2450
0 1 1 0
$EndComp
$Comp
L Connector:Conn_01x01_Female J?
U 1 1 609480A1
P 3900 2450
AR Path="/609480A1" Ref="J?" Part="1"
AR Path="/6078273A/609480A1" Ref="J11" Part="1"
F 0 "J11" H 3792 2225 50 0000 C CNN
F 1 "Testpoint_LDO_IN" H 3792 2316 50 0000 C CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 3900 2450 50 0001 C CNN
F 3 "~" H 3900 2450 50 0001 C CNN
1 3900 2450
-1 0 0 1
$EndComp
Wire Wire Line
4100 2450 4450 2450
Connection ~ 4450 2450
$Comp
L Device:C C?
U 1 1 609C4CDD
P 6250 2700
AR Path="/609C4CDD" Ref="C?" Part="1"
AR Path="/6078273A/609C4CDD" Ref="C5" Part="1"
F 0 "C5" H 6365 2746 50 0000 L CNN
F 1 "10uF" H 6365 2655 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 6288 2550 50 0001 C CNN
F 3 "~" H 6250 2700 50 0001 C CNN
F 4 "C15850" H 6250 2700 50 0001 C CNN "LCSC"
1 6250 2700
1 0 0 -1
$EndComp
$Comp
L Device:C C?
U 1 1 609C54A2
P 5050 4100
AR Path="/609C54A2" Ref="C?" Part="1"
AR Path="/6078273A/609C54A2" Ref="C2" Part="1"
F 0 "C2" H 5165 4146 50 0000 L CNN
F 1 "10uF" H 5165 4055 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 5088 3950 50 0001 C CNN
F 3 "~" H 5050 4100 50 0001 C CNN
F 4 "C15850" H 5050 4100 50 0001 C CNN "LCSC"
1 5050 4100
1 0 0 -1
$EndComp
$Comp
L Device:C C?
U 1 1 609C5ABB
P 7100 4100
AR Path="/609C5ABB" Ref="C?" Part="1"
AR Path="/6078273A/609C5ABB" Ref="C7" Part="1"
F 0 "C7" H 7215 4146 50 0000 L CNN
F 1 "10uF" H 7215 4055 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 7138 3950 50 0001 C CNN
F 3 "~" H 7100 4100 50 0001 C CNN
F 4 "C15850" H 7100 4100 50 0001 C CNN "LCSC"
1 7100 4100
1 0 0 -1
$EndComp
Wire Wire Line
2300 4100 2300 4200
Wire Wire Line
2400 4100 2300 4100
$Comp
L power:GND #PWR0105
U 1 1 60929622
P 2300 4200
F 0 "#PWR0105" H 2300 3950 50 0001 C CNN
F 1 "GND" H 2305 4027 50 0000 C CNN
F 2 "" H 2300 4200 50 0001 C CNN
F 3 "" H 2300 4200 50 0001 C CNN
1 2300 4200
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x03_Male J5
U 1 1 60929628
P 2600 3650
F 0 "J5" H 2572 3582 50 0000 R CNN
F 1 "Conn_01x03_Male" H 2572 3673 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Horizontal" H 2600 3650 50 0001 C CNN
F 3 "~" H 2600 3650 50 0001 C CNN
1 2600 3650
-1 0 0 1
$EndComp
$Comp
L Connector:Conn_01x02_Male J12
U 1 1 6092962E
P 2600 4100
F 0 "J12" H 2572 3982 50 0000 R CNN
F 1 "Conn_01x02_Male" H 2572 4073 50 0000 R CNN
F 2 "TerminalBlock:TerminalBlock_bornier-2_P5.08mm" H 2600 4100 50 0001 C CNN
F 3 "~" H 2600 4100 50 0001 C CNN
1 2600 4100
-1 0 0 1
$EndComp
Text GLabel 2400 3650 0 50 Input ~ 0
VOUT
$Comp
L power:+12V #PWR0123
U 1 1 60929635
P 2400 4000
F 0 "#PWR0123" H 2400 3850 50 0001 C CNN
F 1 "+12V" V 2415 4128 50 0000 L CNN
F 2 "" H 2400 4000 50 0001 C CNN
F 3 "" H 2400 4000 50 0001 C CNN
1 2400 4000
0 -1 -1 0
$EndComp
$Comp
L power:+12V #PWR0124
U 1 1 6092963B
P 2400 3550
F 0 "#PWR0124" H 2400 3400 50 0001 C CNN
F 1 "+12V" V 2415 3678 50 0000 L CNN
F 2 "" H 2400 3550 50 0001 C CNN
F 3 "" H 2400 3550 50 0001 C CNN
1 2400 3550
0 -1 -1 0
$EndComp
$Comp
L power:+5V #PWR?
U 1 1 60929641
P 2400 3750
AR Path="/60929641" Ref="#PWR?" Part="1"
AR Path="/6078273A/60929641" Ref="#PWR0125" Part="1"
F 0 "#PWR0125" H 2400 3600 50 0001 C CNN
F 1 "+5V" V 2415 3878 50 0000 L CNN
F 2 "" H 2400 3750 50 0001 C CNN
F 3 "" H 2400 3750 50 0001 C CNN
1 2400 3750
0 -1 -1 0
$EndComp
Wire Wire Line
2250 4750 2250 4850
Wire Wire Line
2350 4750 2250 4750
$Comp
L power:GND #PWR0146
U 1 1 60929649
P 2250 4850
F 0 "#PWR0146" H 2250 4600 50 0001 C CNN
F 1 "GND" H 2255 4677 50 0000 C CNN
F 2 "" H 2250 4850 50 0001 C CNN
F 3 "" H 2250 4850 50 0001 C CNN
1 2250 4850
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x02_Male J3
U 1 1 6092964F
P 2550 4750
F 0 "J3" H 2522 4632 50 0000 R CNN
F 1 "Conn_01x02_Male" H 2522 4723 50 0000 R CNN
F 2 "TerminalBlock:TerminalBlock_bornier-2_P5.08mm" H 2550 4750 50 0001 C CNN
F 3 "~" H 2550 4750 50 0001 C CNN
1 2550 4750
-1 0 0 1
$EndComp
$Comp
L power:+5V #PWR?
U 1 1 60929655
P 2350 4650
AR Path="/60929655" Ref="#PWR?" Part="1"
AR Path="/6078273A/60929655" Ref="#PWR0147" Part="1"
F 0 "#PWR0147" H 2350 4500 50 0001 C CNN
F 1 "+5V" V 2365 4778 50 0000 L CNN
F 2 "" H 2350 4650 50 0001 C CNN
F 3 "" H 2350 4650 50 0001 C CNN
1 2350 4650
0 -1 -1 0
$EndComp
$Comp
L power:PWR_FLAG #FLG0101
U 1 1 60A9BE5E
P 1050 3800
F 0 "#FLG0101" H 1050 3875 50 0001 C CNN
F 1 "PWR_FLAG" H 1050 3973 50 0000 C CNN
F 2 "" H 1050 3800 50 0001 C CNN
F 3 "~" H 1050 3800 50 0001 C CNN
1 1050 3800
-1 0 0 1
$EndComp
$Comp
L power:+12V #PWR0149
U 1 1 60A9D3DB
P 1050 3800
F 0 "#PWR0149" H 1050 3650 50 0001 C CNN
F 1 "+12V" V 1065 3928 50 0000 L CNN
F 2 "" H 1050 3800 50 0001 C CNN
F 3 "" H 1050 3800 50 0001 C CNN
1 1050 3800
1 0 0 -1
$EndComp
$EndSCHEMATC

3
pcb/sym-lib-table Normal file
View file

@ -0,0 +1,3 @@
(sym_lib_table
(lib (name "library")(type "KiCad")(uri "${KIPRJMOD}/library.kicad_sym")(options "")(descr ""))
)