├── .gitignore ├── Makefile ├── README.md ├── hardware ├── C_0805_100nF_HandSoldering.kicad_mod ├── IRLML6401-SOT-23_Handsoldering.kicad_mod ├── MICROUSB_SIMPLE.kicad_mod ├── R_0805_10K_HandSoldering.kicad_mod ├── SD_Slot.kicad_mod ├── SW_SPST_EVQPE1.kicad_mod ├── fp-lib-table ├── microSD-Receptacle-SelfEject.kicad_mod ├── sd_locker-cache.lib ├── sd_locker-rescue.lib ├── sd_locker.kicad_pcb ├── sd_locker.pro ├── sd_locker.sch ├── sd_slot.STEP └── sym-lib-table ├── hardware_smol ├── C_0805_100nF_HandSoldering.kicad_mod ├── IRLML6401-SOT-23_Handsoldering.kicad_mod ├── R_0805_10K_HandSoldering.kicad_mod ├── SW_SPST_EVQPE1.kicad_mod ├── fp-lib-table ├── microSD-Receptacle-SelfEject.kicad_mod ├── programming_adapter │ ├── connectors.pretty │ │ ├── Side_2x5_Connector_SMD.kicad_mod │ │ ├── sdcard_pad_narrow.kicad_mod │ │ ├── strip_2x4_1.27.kicad_mod │ │ └── usd.kicad_mod │ ├── fp-lib-table │ ├── sym-lib-table │ ├── usd-adapter-cache.lib │ ├── usd-adapter.kicad_pcb │ ├── usd-adapter.pro │ ├── usd-adapter.sch │ ├── usd-adapter.sch-bak │ ├── usd-plug.dcm │ └── usd-plug.lib ├── sd_locker-cache.lib ├── sd_locker-rescue.lib ├── sd_locker.kicad_pcb ├── sd_locker.pro ├── sd_locker.sch ├── sd_locker.sch-bak ├── sd_locker.step ├── sd_slot.STEP └── sym-lib-table ├── sdlocker-tiny.cpp └── sdlocker-tiny.hex /.gitignore: -------------------------------------------------------------------------------- 1 | *.elf 2 | *.lst 3 | *.o 4 | *.obj 5 | *.swp 6 | 7 | # For PCBs designed using KiCad: http://www.kicad-pcb.org/ : 8 | 9 | # Temporary files 10 | *.000 11 | *.bak 12 | *.bck 13 | *.kicad_pcb-bak 14 | *~ 15 | _autosave-* 16 | _saved_* 17 | *.tmp 18 | 19 | # Netlist files (exported from Eeschema) 20 | *.net 21 | 22 | # Autorouter files (exported from Pcbnew) 23 | .dsn 24 | 25 | # Exported BOM files 26 | # *.xml 27 | # *.csv 28 | Thumbs.db 29 | gerbers/ 30 | 31 | # Archive files 32 | *.zip 33 | *.rar 34 | 35 | # Rendered schematics 36 | *.svg 37 | *.pdf 38 | 39 | # Position files for pick&placing 40 | *.pos 41 | 42 | #Some useless cache file 43 | fp-info-cache 44 | 45 | # "rescue" backup files 46 | rescue-backup/ -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for avr-gcc, avrdude 2 | 3 | SRC=sdlocker-tiny 4 | BAUD=32 5 | PRGDEV=/dev/ttyACM0 6 | PRGTYPE=usbasp-clone 7 | AVRTYPE=attiny85 8 | AVRTYPESHORT=t85 9 | AVRFREQ=8000000 10 | CFLAGS=-g -DF_CPU=$(AVRFREQ) -Wall -Os -Werror -Wextra 11 | 12 | all : $(SRC).hex 13 | 14 | program : $(SRC).hex 15 | avrdude -c $(PRGTYPE) -p $(AVRTYPESHORT) -v -e -U flash:w:$(SRC).hex -U lfuse:w:0xe2:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m -B 1 16 | 17 | $(SRC).o : $(SRC).cpp 18 | avr-gcc $(CFLAGS) -O2 -mmcu=$(AVRTYPE) -Wa,-ahlmns=$(SRC).lst -c -o $(SRC).o $(SRC).cpp 19 | 20 | $(SRC).elf : $(SRC).o 21 | avr-gcc $(CFLAGS) -O2 -mmcu=$(AVRTYPE) -o $(SRC).elf $(SRC).o 22 | 23 | $(SRC).hex : $(SRC).elf 24 | avr-objcopy -j .text -j .data -O ihex $(SRC).elf $(SRC).hex 25 | 26 | clean : 27 | rm -f *.hex *.obj *.o *.lst *.elf 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | sdlocker-tiny 2 | ============= 3 | **Attiny85**-based device to **enable** and **disable write-protection** on **any SD card**. 4 | [![sdlocker-tiny built inside the shell of an old PlayStation Memory Card](https://raw.githubusercontent.com/Nephiel/sdlocker-tiny/gh-pages/img/sdlocker-tiny-sm.jpg "sdlocker-tiny built inside the shell of an old PlayStation Memory Card")](https://raw.githubusercontent.com/Nephiel/sdlocker-tiny/gh-pages/img/sdlocker-tiny.jpg) 5 | Based on **sdlocker** by ***Karl Lunt***, see http://www.seanet.com/~karllunt/sdlocker.html 6 | 7 | 8 | I routinely use **USB drives** loaded with software tools and benchmarks to diagnose and fix computers. I wanted a way to protect those drives from viruses, malware, filesystem corruption and accidental erase. 9 | 10 | USB drives with a **write-protect switch** do exist, but are hard to find and expensive. Full-sized SD cards have a slider tab to write-protect them, but **it actually does** ***nothing*** - it's up to the card reader to report it to the OS, and it's up to the OS to decide whether to comply and mount the card read-only or not. Most of them simply ignore it, so **SD cards may be overwritten regardless of the write-protect tab**. 11 | 12 | The **sdlocker** allows me to ***truly* write-protect any SD card** by toggling the TMP\_WRITE\_PROTECT bit on the flash memory controller of the card itself. Together with a USB card reader, this write-protected card **can then be used as a read-only USB drive**. 13 | 14 | This is my own fork of the original sdlocker, tailored to suit my needs - smaller, simpler, and USB-powered. 15 | 16 | 17 | Changes from original sdlocker 18 | ------------------------------ 19 | 20 | - Ported from **Atmega328** to **Attiny85** 21 | - Removed all the **UART code** and **unused functions** 22 | - Rewrote the **user interface** (1 button, 1 LED) 23 | 24 | 25 | Device Usage 26 | ------------ 27 | 28 | The **LED** shows the **state of the inserted card** at all times: 29 | - **Steady off:** card is unlocked (writable) 30 | - **Steady on:** card is locked (write-protected) 31 | - **Blinking, fast:** device is reading the card 32 | - **Blinking, slow:** card is faulty or not properly inserted 33 | 34 | **Holding the button** down (over half a second) **toggles** the write-protection of the inserted card. 35 | 36 | 37 | Schematic 38 | --------- 39 | 40 | - See *sdlocker-tiny.cpp* for ASCII schematic. 41 | 42 | - The button and LED share the same pin on the Attiny. 43 | 44 | - The RESET pin on the Attiny is left unconnected. It could be turned into another I/O pin by changing the appropiate fuse, but flashing the chip after that (even to change the fuse back) would require a HV programmer. 45 | 46 | - The SD card socket has a card-detect switch that shorts a pin to ground when a card is inserted. 47 | I used this pin as ground to cut the power to the device while there is no card. 48 | 49 | - To turn the 5V from USB into 3.3V, I used a Texas Instruments LM3940 + 2 capacitors 50 | (see the LM3940 datasheet, *Typical application*) 51 | 52 | - Both the Attiny85 and the SD card **run on 3.3V**. **Do *not* power them with 5V** from USB! 53 | The Attiny can take it, but the card will be destroyed. 54 | 55 | 56 | Compiling and Flashing 57 | ---------------------- 58 | 59 | The provided makefile uses **avr-gcc** and **avrdude**. Edit it to match your programmer. 60 | Run *make* to compile and *make program* to flash. 61 | 62 | -------------------------------------------------------------------------------- /hardware/C_0805_100nF_HandSoldering.kicad_mod: -------------------------------------------------------------------------------- 1 | (module C_0805_100nF_HandSoldering (layer F.Cu) (tedit 5AAAF83D) 2 | (descr "Capacitor SMD 0805, hand soldering") 3 | (tags "capacitor 0805") 4 | (attr smd) 5 | (fp_text reference C13 (at 0 -1.75) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value 100nF (at 0 1.75) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user C (at 0 0) (layer F.SilkS) 12 | (effects (font (size 0.9 0.9) (thickness 0.15))) 13 | ) 14 | (fp_text user %R (at 0 -1.75) (layer F.Fab) 15 | (effects (font (size 1 1) (thickness 0.15))) 16 | ) 17 | (fp_line (start -1 0.62) (end -1 -0.62) (layer F.Fab) (width 0.1)) 18 | (fp_line (start 1 0.62) (end -1 0.62) (layer F.Fab) (width 0.1)) 19 | (fp_line (start 1 -0.62) (end 1 0.62) (layer F.Fab) (width 0.1)) 20 | (fp_line (start -1 -0.62) (end 1 -0.62) (layer F.Fab) (width 0.1)) 21 | (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.12)) 22 | (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.12)) 23 | (fp_line (start -2.25 -0.88) (end 2.25 -0.88) (layer F.CrtYd) (width 0.05)) 24 | (fp_line (start -2.25 -0.88) (end -2.25 0.87) (layer F.CrtYd) (width 0.05)) 25 | (fp_line (start 2.25 0.87) (end 2.25 -0.88) (layer F.CrtYd) (width 0.05)) 26 | (fp_line (start 2.25 0.87) (end -2.25 0.87) (layer F.CrtYd) (width 0.05)) 27 | (pad 1 smd rect (at -1.25 0) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd rect (at 1.25 0) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask)) 29 | (model Capacitors_SMD.3dshapes/C_0805.wrl 30 | (at (xyz 0 0 0)) 31 | (scale (xyz 1 1 1)) 32 | (rotate (xyz 0 0 0)) 33 | ) 34 | ) 35 | -------------------------------------------------------------------------------- /hardware/IRLML6401-SOT-23_Handsoldering.kicad_mod: -------------------------------------------------------------------------------- 1 | (module IRLML6401-SOT-23_Handsoldering (layer F.Cu) (tedit 5A865854) 2 | (descr "SOT-23, Handsoldering") 3 | (tags SOT-23) 4 | (attr smd) 5 | (fp_text reference Q1 (at 0 -2.5) (layer F.SilkS) hide 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value IRLML6401 (at 0 2.5) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user F (at 0 0) (layer F.SilkS) 12 | (effects (font (size 1 1) (thickness 0.15))) 13 | ) 14 | (fp_line (start -0.2 -1.52) (end -0.7 -1.02) (layer F.Fab) (width 0.1)) 15 | (fp_line (start 0.76 1.58) (end 0.76 0.65) (layer F.SilkS) (width 0.12)) 16 | (fp_line (start 0.76 -1.58) (end 0.76 -0.65) (layer F.SilkS) (width 0.12)) 17 | (fp_line (start 0.7 -1.52) (end 0.7 1.52) (layer F.Fab) (width 0.1)) 18 | (fp_line (start -0.7 1.52) (end 0.7 1.52) (layer F.Fab) (width 0.1)) 19 | (fp_line (start -2.7 -1.75) (end 2.7 -1.75) (layer F.CrtYd) (width 0.05)) 20 | (fp_line (start 2.7 -1.75) (end 2.7 1.75) (layer F.CrtYd) (width 0.05)) 21 | (fp_line (start 2.7 1.75) (end -2.7 1.75) (layer F.CrtYd) (width 0.05)) 22 | (fp_line (start -2.7 1.75) (end -2.7 -1.75) (layer F.CrtYd) (width 0.05)) 23 | (fp_line (start 0.76 -1.58) (end -2.4 -1.58) (layer F.SilkS) (width 0.12)) 24 | (fp_line (start -0.2 -1.52) (end 0.7 -1.52) (layer F.Fab) (width 0.1)) 25 | (fp_line (start -0.7 -1.02) (end -0.7 1.52) (layer F.Fab) (width 0.1)) 26 | (fp_line (start 0.76 1.58) (end -0.7 1.58) (layer F.SilkS) (width 0.12)) 27 | (pad 1 smd rect (at -1.5 -0.95) (size 1.9 0.8) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd rect (at -1.5 0.95) (size 1.9 0.8) (layers F.Cu F.Paste F.Mask)) 29 | (pad 3 smd rect (at 1.5 0) (size 1.9 0.8) (layers F.Cu F.Paste F.Mask)) 30 | (model TO_SOT_Packages_SMD.3dshapes/SOT-23.wrl 31 | (at (xyz 0 0 0)) 32 | (scale (xyz 1 1 1)) 33 | (rotate (xyz 0 0 0)) 34 | ) 35 | ) 36 | -------------------------------------------------------------------------------- /hardware/MICROUSB_SIMPLE.kicad_mod: -------------------------------------------------------------------------------- 1 | (module MICROUSB_SIMPLE (layer F.Cu) (tedit 5DC28831) 2 | (zone_connect 2) 3 | (fp_text reference J1 (at -2.75 2) (layer F.SilkS) hide 4 | (effects (font (size 1 1) (thickness 0.15))) 5 | ) 6 | (fp_text value USB_OTG (at -0.75 -5) (layer F.Fab) 7 | (effects (font (size 1 1) (thickness 0.15))) 8 | ) 9 | (fp_line (start -4 -4) (end 4 -4) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start 4 0.25) (end 4 -1.25) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 1.75 0.25) (end 4 0.25) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -4 -1.25) (end -4 0.25) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -1.75 0.25) (end -4 0.25) (layer F.SilkS) (width 0.15)) 14 | (pad 1 smd rect (at 1.25 0.25) (size 0.4 2) (layers F.Cu F.Paste F.Mask) 15 | (zone_connect 2)) 16 | (pad 5 smd rect (at -1.25 0.25) (size 0.4 2) (layers F.Cu F.Paste F.Mask) 17 | (zone_connect 2)) 18 | (pad 6 smd rect (at -1.1 -2.5) (size 1.8 1.8) (layers F.Cu F.Paste F.Mask) 19 | (zone_connect 2)) 20 | (pad 6 smd rect (at 1.1 -2.5) (size 1.8 1.8) (layers F.Cu F.Paste F.Mask) 21 | (zone_connect 2)) 22 | (pad 6 smd rect (at 3.8 -2.6) (size 2.7 2) (layers F.Cu F.Paste F.Mask) 23 | (zone_connect 2)) 24 | (pad 6 smd rect (at -3.8 -2.6) (size 2.7 2) (layers F.Cu F.Paste F.Mask) 25 | (zone_connect 2)) 26 | (pad "" np_thru_hole circle (at 2 -0.6) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask) 27 | (zone_connect 2)) 28 | (pad "" np_thru_hole circle (at -2 -0.6) (size 0.6 0.6) (drill 0.6) (layers *.Cu *.Mask) 29 | (zone_connect 2)) 30 | (pad 6 smd rect (at 3.9 0) (size 1.8 1.8) (layers F.Cu F.Paste F.Mask) 31 | (zone_connect 2)) 32 | (pad 6 smd rect (at -4.1 0) (size 1.8 1.8) (layers F.Cu F.Paste F.Mask) 33 | (zone_connect 2)) 34 | (model ${KISYS3DMOD}/Connector_USB.3dshapes/USB_Micro-B_Molex_47346-0001.step 35 | (offset (xyz 0 1.5 0)) 36 | (scale (xyz 1 1 1)) 37 | (rotate (xyz 0 0 180)) 38 | ) 39 | ) 40 | -------------------------------------------------------------------------------- /hardware/R_0805_10K_HandSoldering.kicad_mod: -------------------------------------------------------------------------------- 1 | (module R_0805_10K_HandSoldering (layer F.Cu) (tedit 5A301636) 2 | (descr "Resistor SMD 0805, hand soldering") 3 | (tags "resistor 0805") 4 | (attr smd) 5 | (fp_text reference R13 (at 0 -2.1) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value 10K (at 0 2.1) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user R (at 0 0) (layer F.SilkS) 12 | (effects (font (size 1 1) (thickness 0.15))) 13 | ) 14 | (fp_line (start -1 0.625) (end -1 -0.625) (layer F.Fab) (width 0.1)) 15 | (fp_line (start 1 0.625) (end -1 0.625) (layer F.Fab) (width 0.1)) 16 | (fp_line (start 1 -0.625) (end 1 0.625) (layer F.Fab) (width 0.1)) 17 | (fp_line (start -1 -0.625) (end 1 -0.625) (layer F.Fab) (width 0.1)) 18 | (fp_line (start -2.4 -1) (end 2.4 -1) (layer F.CrtYd) (width 0.05)) 19 | (fp_line (start -2.4 1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) 20 | (fp_line (start -2.4 -1) (end -2.4 1) (layer F.CrtYd) (width 0.05)) 21 | (fp_line (start 2.4 -1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) 22 | (fp_line (start 0.6 0.875) (end -0.6 0.875) (layer F.SilkS) (width 0.15)) 23 | (fp_line (start -0.6 -0.875) (end 0.6 -0.875) (layer F.SilkS) (width 0.15)) 24 | (pad 1 smd rect (at -1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask)) 25 | (pad 2 smd rect (at 1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask)) 26 | (model Resistors_SMD.3dshapes/R_0805.wrl 27 | (at (xyz 0 0 0)) 28 | (scale (xyz 1 1 1)) 29 | (rotate (xyz 0 0 0)) 30 | ) 31 | ) 32 | -------------------------------------------------------------------------------- /hardware/SD_Slot.kicad_mod: -------------------------------------------------------------------------------- 1 | (module SD_Slot (layer F.Cu) (tedit 5DCC76BE) 2 | (fp_text reference J4 (at 0.85 0.5) (layer F.SilkS) hide 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value SD_Card (at 0.85 -0.5) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_line (start 13.15 4.6) (end 13.15 -11.75) (layer F.SilkS) (width 0.15)) 9 | (fp_line (start -11.05 4.75) (end 13.15 4.6) (layer F.SilkS) (width 0.15)) 10 | (fp_line (start -11.05 -0.95) (end -11.05 4.75) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start -13.2 -3.2) (end -11.05 -0.95) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start -13.2 -11.8) (end -13.2 -3.2) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -9.45 -11.8) (end -13.2 -11.8) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -7.35 -6.5) (end -9.45 -11.8) (layer F.SilkS) (width 0.15)) 15 | (fp_line (start 7.5 -6.5) (end -7.35 -6.5) (layer F.SilkS) (width 0.15)) 16 | (fp_line (start 9.65 -11.8) (end 7.5 -6.5) (layer F.SilkS) (width 0.15)) 17 | (fp_line (start 13.15 -11.8) (end 9.65 -11.8) (layer F.SilkS) (width 0.15)) 18 | (pad 12 smd rect (at -11.75 3.55 180) (size 1.3 2.4) (layers F.Cu F.Paste F.Mask)) 19 | (pad 13 smd rect (at -13.75 -10.9 180) (size 1.6 2.6) (layers F.Cu F.Paste F.Mask)) 20 | (pad 13 smd rect (at 13.6 -10.95 180) (size 1.6 2.6) (layers F.Cu F.Paste F.Mask)) 21 | (pad 12 smd rect (at 13.65 3.6 180) (size 1.6 2.6) (layers F.Cu F.Paste F.Mask)) 22 | (pad 1 smd rect (at -6.95 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 23 | (pad 2 smd rect (at -4.45 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 24 | (pad 3 smd rect (at -1.95 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 25 | (pad 4 smd rect (at 0.55 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 26 | (pad 5 smd rect (at 3.15 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 27 | (pad 6 smd rect (at 5.65 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 28 | (pad 7 smd rect (at 8.25 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 29 | (pad 8 smd rect (at 9.85 5.4 180) (size 1 1.7) (layers F.Cu F.Paste F.Mask)) 30 | (pad 10 smd rect (at 11.25 5.4 180) (size 0.6 1.7) (layers F.Cu F.Paste F.Mask)) 31 | (pad "" np_thru_hole circle (at 11.5 2) (size 1.5 1.5) (drill 1.5) (layers *.Cu *.Mask)) 32 | (pad "" np_thru_hole circle (at -9 2) (size 2.5 2.5) (drill 2.5) (layers *.Cu *.Mask)) 33 | (model ${KIPRJMOD}/sd_slot.STEP 34 | (offset (xyz -30 16.5 -1.5)) 35 | (scale (xyz 1 1.0001 1)) 36 | (rotate (xyz -90 0 90)) 37 | ) 38 | ) 39 | -------------------------------------------------------------------------------- /hardware/SW_SPST_EVQPE1.kicad_mod: -------------------------------------------------------------------------------- 1 | (module SW_SPST_EVQPE1 (layer F.Cu) (tedit 58865D9C) 2 | (descr "Light Touch Switch") 3 | (attr smd) 4 | (fp_text reference REF** (at -0.9 -2.7) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value SW_SPST_EVQPE1 (at 0 3) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start -1.4 -0.7) (end 1.4 -0.7) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 1.4 -0.7) (end 1.4 0.7) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 1.4 0.7) (end -1.4 0.7) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -1.4 0.7) (end -1.4 -0.7) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -3.95 -2) (end 3.95 -2) (layer F.CrtYd) (width 0.05)) 15 | (fp_line (start 3.95 -2) (end 3.95 2) (layer F.CrtYd) (width 0.05)) 16 | (fp_line (start 3.95 2) (end -3.95 2) (layer F.CrtYd) (width 0.05)) 17 | (fp_line (start -3.95 2) (end -3.95 -2) (layer F.CrtYd) (width 0.05)) 18 | (fp_line (start 3 -1.75) (end 3 -1.1) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 3 1.75) (end 3 1.1) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start -3 1.1) (end -3 1.75) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start -3 -1.75) (end -3 -1.1) (layer F.SilkS) (width 0.15)) 22 | (fp_line (start 3 -1.75) (end -3 -1.75) (layer F.SilkS) (width 0.15)) 23 | (fp_line (start -3 1.75) (end 3 1.75) (layer F.SilkS) (width 0.15)) 24 | (pad 2 smd rect (at 3.81 0) (size 2 1.6) (layers F.Cu F.Paste F.Mask)) 25 | (pad 1 smd rect (at -3.81 0) (size 2 1.6) (layers F.Cu F.Paste F.Mask)) 26 | ) 27 | -------------------------------------------------------------------------------- /hardware/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name sd_locker)(type KiCad)(uri "$(KIPRJMOD)")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /hardware/microSD-Receptacle-SelfEject.kicad_mod: -------------------------------------------------------------------------------- 1 | (module microSD-Receptacle-SelfEject (layer F.Cu) (tedit 55B42C39) 2 | (descr TFP09-2-12B) 3 | (tags "SD TF TransFlash Card") 4 | (fp_text reference REF** (at 0.05 -5) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value MicroSD (at 0.05 17.5) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start 9.2 15) (end 9.2 -1.3) (layer F.CrtYd) (width 0.05)) 11 | (fp_line (start 9.2 -1.3) (end -8.85 -1.3) (layer F.CrtYd) (width 0.05)) 12 | (fp_line (start -8.85 -1.3) (end -8.85 15) (layer F.CrtYd) (width 0.05)) 13 | (fp_line (start -8.85 15) (end 9.2 15) (layer F.CrtYd) (width 0.05)) 14 | (fp_line (start 7.35 0) (end -7.35 0) (layer Cmts.User) (width 0.05)) 15 | (fp_line (start -7.35 0) (end -7.35 14.5) (layer Cmts.User) (width 0.05)) 16 | (fp_line (start -7.35 14.5) (end 7.35 14.5) (layer Cmts.User) (width 0.05)) 17 | (fp_line (start 7.35 14.5) (end 7.35 0) (layer Cmts.User) (width 0.05)) 18 | (fp_line (start 2.25 10.5) (end -4 10.5) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 0 -3.85) (end 0 29.95) (layer F.SilkS) (width 0.15)) 20 | (pad 11 smd rect (at -7.75 10.5 180) (size 1.2 2.2) (layers F.Cu F.Paste F.Mask)) 21 | (pad 1 smd rect (at 2.25 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 22 | (pad 2 smd rect (at 1.15 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 23 | (pad 3 smd rect (at 0.05 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 24 | (pad 4 smd rect (at -1.05 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 25 | (pad 5 smd rect (at -2.15 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 26 | (pad 6 smd rect (at -3.25 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 27 | (pad 7 smd rect (at -4.35 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 28 | (pad 8 smd rect (at -5.45 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 29 | (pad 10 smd rect (at -6.55 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 30 | (pad 11 smd rect (at -7.75 0.5 180) (size 1.2 1.4) (layers F.Cu F.Paste F.Mask)) 31 | (pad 11 smd rect (at 6.85 0.5 180) (size 1.6 1.4) (layers F.Cu F.Paste F.Mask)) 32 | (pad 11 smd rect (at 8.1 10.85 180) (size 1.2 2.2) (layers F.Cu F.Paste F.Mask)) 33 | (pad "" np_thru_hole circle (at 3.05 10.5 180) (size 1 1) (drill 1) (layers *.Cu *.Mask F.SilkS)) 34 | (pad "" np_thru_hole circle (at -4.93 10.5 180) (size 1 1) (drill 1) (layers *.Cu *.Mask F.SilkS)) 35 | ) 36 | -------------------------------------------------------------------------------- /hardware/sd_locker-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # Connector_Micro_SD_Card_Det 5 | # 6 | DEF Connector_Micro_SD_Card_Det J 0 40 Y Y 1 F N 7 | F0 "J" -650 700 50 H V C CNN 8 | F1 "Connector_Micro_SD_Card_Det" 650 700 50 H V R CNN 9 | F2 "" 2050 700 50 H I C CNN 10 | F3 "" 0 100 50 H I C CNN 11 | ALIAS Micro_SD_Card_Det_Hirose_DM3AT 12 | $FPLIST 13 | microSD* 14 | $ENDFPLIST 15 | DRAW 16 | S -300 -275 -200 -325 0 1 0 F 17 | S -300 -175 -200 -225 0 1 0 F 18 | S -300 -75 -200 -125 0 1 0 F 19 | S -300 25 -200 -25 0 1 0 F 20 | S -300 125 -200 75 0 1 0 F 21 | S -300 225 -200 175 0 1 0 F 22 | S -300 325 -200 275 0 1 0 F 23 | S -300 425 -200 375 0 1 0 F 24 | P 6 0 1 10 650 600 650 650 -750 650 -750 -650 650 -650 650 -350 N 25 | P 11 0 1 10 -350 -350 -350 450 -50 450 100 600 150 600 150 550 250 550 300 600 800 600 800 -350 -350 -350 f 26 | X DAT2 1 -900 400 150 R 50 50 1 1 B 27 | X DET_A 10 -900 -400 150 R 50 50 1 1 P 28 | X SHIELD 11 800 -500 150 L 50 50 1 1 P 29 | X DAT3/CD 2 -900 300 150 R 50 50 1 1 B 30 | X CMD 3 -900 200 150 R 50 50 1 1 I 31 | X VDD 4 -900 100 150 R 50 50 1 1 W 32 | X CLK 5 -900 0 150 R 50 50 1 1 I 33 | X VSS 6 -900 -100 150 R 50 50 1 1 W 34 | X DAT0 7 -900 -200 150 R 50 50 1 1 B 35 | X DAT1 8 -900 -300 150 R 50 50 1 1 B 36 | X DET_B 9 -900 -500 150 R 50 50 1 1 P 37 | ENDDRAW 38 | ENDDEF 39 | # 40 | # Mechanical_Fiducial 41 | # 42 | DEF Mechanical_Fiducial FID 0 20 Y Y 1 F N 43 | F0 "FID" 0 200 50 H V C CNN 44 | F1 "Mechanical_Fiducial" 0 125 50 H V C CNN 45 | F2 "" 0 0 50 H I C CNN 46 | F3 "" 0 0 50 H I C CNN 47 | $FPLIST 48 | Fiducial* 49 | $ENDFPLIST 50 | DRAW 51 | C 0 0 50 0 1 20 f 52 | ENDDRAW 53 | ENDDEF 54 | # 55 | # power_+3.3V 56 | # 57 | DEF power_+3.3V #PWR 0 0 Y Y 1 F P 58 | F0 "#PWR" 0 -150 50 H I C CNN 59 | F1 "power_+3.3V" 0 140 50 H V C CNN 60 | F2 "" 0 0 50 H I C CNN 61 | F3 "" 0 0 50 H I C CNN 62 | ALIAS +3.3V 63 | DRAW 64 | P 2 0 1 0 -30 50 0 100 N 65 | P 2 0 1 0 0 0 0 100 N 66 | P 2 0 1 0 0 100 30 50 N 67 | X +3V3 1 0 0 0 U 50 50 1 1 W N 68 | ENDDRAW 69 | ENDDEF 70 | # 71 | # power_+5V 72 | # 73 | DEF power_+5V #PWR 0 0 Y Y 1 F P 74 | F0 "#PWR" 0 -150 50 H I C CNN 75 | F1 "power_+5V" 0 140 50 H V C CNN 76 | F2 "" 0 0 50 H I C CNN 77 | F3 "" 0 0 50 H I C CNN 78 | DRAW 79 | P 2 0 1 0 -30 50 0 100 N 80 | P 2 0 1 0 0 0 0 100 N 81 | P 2 0 1 0 0 100 30 50 N 82 | X +5V 1 0 0 0 U 50 50 1 1 W N 83 | ENDDRAW 84 | ENDDEF 85 | # 86 | # power_GND 87 | # 88 | DEF power_GND #PWR 0 0 Y Y 1 F P 89 | F0 "#PWR" 0 -250 50 H I C CNN 90 | F1 "power_GND" 0 -150 50 H V C CNN 91 | F2 "" 0 0 50 H I C CNN 92 | F3 "" 0 0 50 H I C CNN 93 | DRAW 94 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 95 | X GND 1 0 0 0 D 50 50 1 1 W N 96 | ENDDRAW 97 | ENDDEF 98 | # 99 | # power_VBUS 100 | # 101 | DEF power_VBUS #PWR 0 0 Y Y 1 F P 102 | F0 "#PWR" 0 -150 50 H I C CNN 103 | F1 "power_VBUS" 0 150 50 H V C CNN 104 | F2 "" 0 0 50 H I C CNN 105 | F3 "" 0 0 50 H I C CNN 106 | DRAW 107 | P 2 0 1 0 -30 50 0 100 N 108 | P 2 0 1 0 0 0 0 100 N 109 | P 2 0 1 0 0 100 30 50 N 110 | X VBUS 1 0 0 0 U 50 50 1 1 W N 111 | ENDDRAW 112 | ENDDEF 113 | # 114 | # sd_locker-rescue_AP1117-33 115 | # 116 | DEF sd_locker-rescue_AP1117-33 U 0 10 Y Y 1 F N 117 | F0 "U" -150 125 50 H V C CNN 118 | F1 "sd_locker-rescue_AP1117-33" 0 125 50 H V L CNN 119 | F2 "TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2" 0 200 50 H I C CNN 120 | F3 "" 100 -250 50 H I C CNN 121 | $FPLIST 122 | SOT?223*TabPin2* 123 | $ENDFPLIST 124 | DRAW 125 | S -200 -200 200 75 0 1 10 f 126 | X GND 1 0 -300 100 U 50 50 1 1 W 127 | X VO 2 300 0 100 L 50 50 1 1 P 128 | X VI 3 -300 0 100 R 50 50 1 1 W 129 | ENDDRAW 130 | ENDDEF 131 | # 132 | # sd_locker-rescue_ATTINY85-20SU 133 | # 134 | DEF sd_locker-rescue_ATTINY85-20SU U 0 40 Y Y 1 F N 135 | F0 "U" -1150 400 50 H V C CNN 136 | F1 "sd_locker-rescue_ATTINY85-20SU" 1000 -400 50 H V C CNN 137 | F2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" 950 0 50 H I C CIN 138 | F3 "" 0 0 50 H I C CNN 139 | DRAW 140 | S -1200 350 1200 -350 0 1 10 f 141 | X PB5(~RESET~/dW/ADC0/PCINT5) 1 -1350 -250 150 R 40 40 1 1 B 142 | X PB3(XTAL1/CLKI/~OC1B~/ADC3/PCINT3) 2 -1350 -50 150 R 40 40 1 1 B 143 | X PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4) 3 -1350 -150 150 R 40 40 1 1 B 144 | X GND 4 1350 -250 150 L 40 40 1 1 W 145 | X PB0(MOSI/DI/SDA/AIN0/OC0A/~OC1A~/AREF/PCINT0) 5 -1350 250 150 R 40 40 1 1 B 146 | X PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1) 6 -1350 150 150 R 40 40 1 1 B 147 | X PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2) 7 -1350 50 150 R 40 40 1 1 B 148 | X VCC 8 1350 250 150 L 40 40 1 1 W 149 | ENDDRAW 150 | ENDDEF 151 | # 152 | # sd_locker-rescue_C_Small 153 | # 154 | DEF sd_locker-rescue_C_Small C 0 10 N N 1 F N 155 | F0 "C" 10 70 50 H V L CNN 156 | F1 "sd_locker-rescue_C_Small" 10 -80 50 H V L CNN 157 | F2 "" 0 0 50 H I C CNN 158 | F3 "" 0 0 50 H I C CNN 159 | $FPLIST 160 | C_* 161 | $ENDFPLIST 162 | DRAW 163 | P 2 0 1 13 -60 -20 60 -20 N 164 | P 2 0 1 12 -60 20 60 20 N 165 | X ~ 1 0 100 80 D 50 50 1 1 P 166 | X ~ 2 0 -100 80 U 50 50 1 1 P 167 | ENDDRAW 168 | ENDDEF 169 | # 170 | # sd_locker-rescue_Conn_01x02 171 | # 172 | DEF sd_locker-rescue_Conn_01x02 J 0 40 Y N 1 F N 173 | F0 "J" 0 100 50 H V C CNN 174 | F1 "sd_locker-rescue_Conn_01x02" 0 -200 50 H V C CNN 175 | F2 "" 0 0 50 H I C CNN 176 | F3 "" 0 0 50 H I C CNN 177 | $FPLIST 178 | Connector*:*_??x*mm* 179 | Connector*:*1x??x*mm* 180 | Pin?Header?Straight?1X* 181 | Pin?Header?Angled?1X* 182 | Socket?Strip?Straight?1X* 183 | Socket?Strip?Angled?1X* 184 | $ENDFPLIST 185 | DRAW 186 | S -50 -95 0 -105 1 1 6 N 187 | S -50 5 0 -5 1 1 6 N 188 | S -50 50 50 -150 1 1 10 f 189 | X Pin_1 1 -200 0 150 R 50 50 1 1 P 190 | X Pin_2 2 -200 -100 150 R 50 50 1 1 P 191 | ENDDRAW 192 | ENDDEF 193 | # 194 | # sd_locker-rescue_LED 195 | # 196 | DEF sd_locker-rescue_LED D 0 40 Y N 1 F N 197 | F0 "D" 0 100 50 H V C CNN 198 | F1 "sd_locker-rescue_LED" 0 -100 50 H V C CNN 199 | F2 "" 0 0 50 H I C CNN 200 | F3 "" 0 0 50 H I C CNN 201 | $FPLIST 202 | LED* 203 | $ENDFPLIST 204 | DRAW 205 | P 2 0 1 8 -50 -50 -50 50 N 206 | P 2 0 1 0 -50 0 50 0 N 207 | P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N 208 | P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N 209 | P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N 210 | X K 1 -150 0 100 R 50 50 1 1 P 211 | X A 2 150 0 100 L 50 50 1 1 P 212 | ENDDRAW 213 | ENDDEF 214 | # 215 | # sd_locker-rescue_Q_PMOS_GSD 216 | # 217 | DEF sd_locker-rescue_Q_PMOS_GSD Q 0 0 Y N 1 F N 218 | F0 "Q" 200 50 50 H V L CNN 219 | F1 "sd_locker-rescue_Q_PMOS_GSD" 200 -50 50 H V L CNN 220 | F2 "" 200 100 50 H I C CNN 221 | F3 "" 0 0 50 H I C CNN 222 | DRAW 223 | C 65 0 111 0 1 10 N 224 | C 100 -70 11 0 1 0 F 225 | C 100 70 11 0 1 0 F 226 | P 2 0 1 0 2 0 10 0 N 227 | P 2 0 1 0 30 -70 100 -70 N 228 | P 2 0 1 10 30 -50 30 -90 N 229 | P 2 0 1 0 30 0 100 0 N 230 | P 2 0 1 10 30 20 30 -20 N 231 | P 2 0 1 0 30 70 100 70 N 232 | P 2 0 1 10 30 90 30 50 N 233 | P 2 0 1 0 100 -70 100 -100 N 234 | P 2 0 1 0 100 -70 100 0 N 235 | P 2 0 1 0 100 100 100 70 N 236 | P 3 0 1 10 10 75 10 -75 10 -75 N 237 | P 4 0 1 0 90 0 50 -15 50 15 90 0 F 238 | P 4 0 1 0 100 -70 130 -70 130 70 100 70 N 239 | P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N 240 | P 4 0 1 0 130 -15 115 10 145 10 130 -15 N 241 | X G 1 -200 0 200 R 50 50 1 1 I 242 | X S 2 100 -200 100 U 50 50 1 1 P 243 | X D 3 100 200 100 D 50 50 1 1 P 244 | ENDDRAW 245 | ENDDEF 246 | # 247 | # sd_locker-rescue_R_Small 248 | # 249 | DEF sd_locker-rescue_R_Small R 0 10 N N 1 F N 250 | F0 "R" 30 20 50 H V L CNN 251 | F1 "sd_locker-rescue_R_Small" 30 -40 50 H V L CNN 252 | F2 "" 0 0 50 H I C CNN 253 | F3 "" 0 0 50 H I C CNN 254 | $FPLIST 255 | R_* 256 | $ENDFPLIST 257 | DRAW 258 | S -30 70 30 -70 0 1 8 N 259 | X ~ 1 0 100 30 D 50 50 1 1 P 260 | X ~ 2 0 -100 30 U 50 50 1 1 P 261 | ENDDRAW 262 | ENDDEF 263 | # 264 | # sd_locker-rescue_SD_Card 265 | # 266 | DEF sd_locker-rescue_SD_Card J 0 40 Y Y 1 F N 267 | F0 "J" -650 550 50 H V C CNN 268 | F1 "sd_locker-rescue_SD_Card" 600 -550 50 H V C CNN 269 | F2 "10067847-001" 200 350 50 H I C CNN 270 | F3 "" 0 0 50 H I C CNN 271 | $FPLIST 272 | SD_Card_Receptacle 273 | $ENDFPLIST 274 | DRAW 275 | S -350 -375 -250 -425 0 1 0 F 276 | S -350 -275 -250 -325 0 1 0 F 277 | S -350 -175 -250 -225 0 1 0 F 278 | S -350 -75 -250 -125 0 1 0 F 279 | S -350 25 -250 -25 0 1 0 F 280 | S -350 125 -250 75 0 1 0 F 281 | S -350 225 -250 175 0 1 0 F 282 | S -350 325 -250 275 0 1 0 F 283 | S -300 425 -200 375 0 1 0 F 284 | P 6 0 1 0 -400 350 -300 450 800 450 800 -450 -400 -450 -400 350 f 285 | P 6 0 1 0 650 450 650 500 -800 500 -800 -500 650 -500 650 -450 N 286 | X CD/DAT3 1 -900 300 100 R 50 50 1 1 I 287 | X CARD_DETECT 10 900 200 100 L 50 50 1 1 I 288 | X WRITE_PROTECT 11 900 100 100 L 50 50 1 1 I 289 | X SHELL1 12 900 -100 100 L 50 50 1 1 I 290 | X SHELL2 13 900 -200 100 L 50 50 1 1 I 291 | X CMD 2 -900 200 100 R 50 50 1 1 I 292 | X VSS 3 -900 100 100 R 50 50 1 1 I 293 | X VDD 4 -900 0 100 R 50 50 1 1 I 294 | X CLK 5 -900 -100 100 R 50 50 1 1 I 295 | X VSS 6 -900 -200 100 R 50 50 1 1 I 296 | X DAT0 7 -900 -300 100 R 50 50 1 1 I 297 | X DAT1 8 -900 -400 100 R 50 50 1 1 I 298 | X DAT2 9 -900 400 100 R 50 50 1 1 I 299 | ENDDRAW 300 | ENDDEF 301 | # 302 | # sd_locker-rescue_SW_Push 303 | # 304 | DEF sd_locker-rescue_SW_Push SW 0 40 N N 1 F N 305 | F0 "SW" 50 100 50 H V L CNN 306 | F1 "sd_locker-rescue_SW_Push" 0 -60 50 H V C CNN 307 | F2 "" 0 200 50 H I C CNN 308 | F3 "" 0 200 50 H I C CNN 309 | DRAW 310 | C -80 0 20 0 1 0 N 311 | C 80 0 20 0 1 0 N 312 | P 2 0 1 0 0 50 0 120 N 313 | P 2 0 1 0 100 50 -100 50 N 314 | X 1 1 -200 0 100 R 50 50 0 1 P 315 | X 2 2 200 0 100 L 50 50 0 1 P 316 | ENDDRAW 317 | ENDDEF 318 | # 319 | # sd_locker-rescue_USB_OTG 320 | # 321 | DEF sd_locker-rescue_USB_OTG J 0 40 Y Y 1 F N 322 | F0 "J" -200 450 50 H V L CNN 323 | F1 "sd_locker-rescue_USB_OTG" -200 350 50 H V L CNN 324 | F2 "" 150 -50 50 H I C CNN 325 | F3 "" 150 -50 50 H I C CNN 326 | $FPLIST 327 | USB* 328 | $ENDFPLIST 329 | DRAW 330 | C -150 85 25 0 1 10 F 331 | C -25 135 15 0 1 10 F 332 | S -200 -300 200 300 0 1 10 f 333 | S -5 -300 5 -270 0 1 0 N 334 | S 10 50 -20 20 0 1 10 F 335 | S 200 -205 170 -195 0 1 0 N 336 | S 200 -105 170 -95 0 1 0 N 337 | S 200 -5 170 5 0 1 0 N 338 | S 200 195 170 205 0 1 0 N 339 | P 2 0 1 10 -75 85 25 85 N 340 | P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N 341 | P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N 342 | P 4 0 1 10 25 110 25 60 75 85 25 110 F 343 | P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F 344 | P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N 345 | X VBUS 1 300 200 100 L 50 50 1 1 W 346 | X D- 2 300 -100 100 L 50 50 1 1 P 347 | X D+ 3 300 0 100 L 50 50 1 1 P 348 | X ID 4 300 -200 100 L 50 50 1 1 P 349 | X GND 5 0 -400 100 U 50 50 1 1 W 350 | X Shield 6 -100 -400 100 U 50 50 1 1 P 351 | ENDDRAW 352 | ENDDEF 353 | # 354 | #End Library 355 | -------------------------------------------------------------------------------- /hardware/sd_locker-rescue.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # AP1117-33 5 | # 6 | DEF AP1117-33 U 0 10 Y Y 1 F N 7 | F0 "U" -150 125 50 H V C CNN 8 | F1 "AP1117-33" 0 125 50 H V L CNN 9 | F2 "TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2" 0 200 50 H I C CNN 10 | F3 "" 100 -250 50 H I C CNN 11 | $FPLIST 12 | SOT?223*TabPin2* 13 | $ENDFPLIST 14 | DRAW 15 | S -200 -200 200 75 0 1 10 f 16 | X GND 1 0 -300 100 U 50 50 1 1 W 17 | X VO 2 300 0 100 L 50 50 1 1 P 18 | X VI 3 -300 0 100 R 50 50 1 1 W 19 | ENDDRAW 20 | ENDDEF 21 | # 22 | # ATTINY85-20SU 23 | # 24 | DEF ATTINY85-20SU U 0 40 Y Y 1 F N 25 | F0 "U" -1150 400 50 H V C CNN 26 | F1 "ATTINY85-20SU" 1000 -400 50 H V C CNN 27 | F2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" 950 0 50 H I C CIN 28 | F3 "" 0 0 50 H I C CNN 29 | DRAW 30 | S -1200 350 1200 -350 0 1 10 f 31 | X PB5(~RESET~/dW/ADC0/PCINT5) 1 -1350 -250 150 R 40 40 1 1 B 32 | X PB3(XTAL1/CLKI/~OC1B~/ADC3/PCINT3) 2 -1350 -50 150 R 40 40 1 1 B 33 | X PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4) 3 -1350 -150 150 R 40 40 1 1 B 34 | X GND 4 1350 -250 150 L 40 40 1 1 W 35 | X PB0(MOSI/DI/SDA/AIN0/OC0A/~OC1A~/AREF/PCINT0) 5 -1350 250 150 R 40 40 1 1 B 36 | X PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1) 6 -1350 150 150 R 40 40 1 1 B 37 | X PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2) 7 -1350 50 150 R 40 40 1 1 B 38 | X VCC 8 1350 250 150 L 40 40 1 1 W 39 | ENDDRAW 40 | ENDDEF 41 | # 42 | # C_Small 43 | # 44 | DEF C_Small C 0 10 N N 1 F N 45 | F0 "C" 10 70 50 H V L CNN 46 | F1 "C_Small" 10 -80 50 H V L CNN 47 | F2 "" 0 0 50 H I C CNN 48 | F3 "" 0 0 50 H I C CNN 49 | $FPLIST 50 | C_* 51 | $ENDFPLIST 52 | DRAW 53 | P 2 0 1 13 -60 -20 60 -20 N 54 | P 2 0 1 12 -60 20 60 20 N 55 | X ~ 1 0 100 80 D 50 50 1 1 P 56 | X ~ 2 0 -100 80 U 50 50 1 1 P 57 | ENDDRAW 58 | ENDDEF 59 | # 60 | # Conn_01x02 61 | # 62 | DEF Conn_01x02 J 0 40 Y N 1 F N 63 | F0 "J" 0 100 50 H V C CNN 64 | F1 "Conn_01x02" 0 -200 50 H V C CNN 65 | F2 "" 0 0 50 H I C CNN 66 | F3 "" 0 0 50 H I C CNN 67 | $FPLIST 68 | Connector*:*_??x*mm* 69 | Connector*:*1x??x*mm* 70 | Pin?Header?Straight?1X* 71 | Pin?Header?Angled?1X* 72 | Socket?Strip?Straight?1X* 73 | Socket?Strip?Angled?1X* 74 | $ENDFPLIST 75 | DRAW 76 | S -50 -95 0 -105 1 1 6 N 77 | S -50 5 0 -5 1 1 6 N 78 | S -50 50 50 -150 1 1 10 f 79 | X Pin_1 1 -200 0 150 R 50 50 1 1 P 80 | X Pin_2 2 -200 -100 150 R 50 50 1 1 P 81 | ENDDRAW 82 | ENDDEF 83 | # 84 | # LED 85 | # 86 | DEF LED D 0 40 Y N 1 F N 87 | F0 "D" 0 100 50 H V C CNN 88 | F1 "LED" 0 -100 50 H V C CNN 89 | F2 "" 0 0 50 H I C CNN 90 | F3 "" 0 0 50 H I C CNN 91 | $FPLIST 92 | LED* 93 | $ENDFPLIST 94 | DRAW 95 | P 2 0 1 8 -50 -50 -50 50 N 96 | P 2 0 1 0 -50 0 50 0 N 97 | P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N 98 | P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N 99 | P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N 100 | X K 1 -150 0 100 R 50 50 1 1 P 101 | X A 2 150 0 100 L 50 50 1 1 P 102 | ENDDRAW 103 | ENDDEF 104 | # 105 | # Q_PMOS_GSD 106 | # 107 | DEF Q_PMOS_GSD Q 0 0 Y N 1 F N 108 | F0 "Q" 200 50 50 H V L CNN 109 | F1 "Q_PMOS_GSD" 200 -50 50 H V L CNN 110 | F2 "" 200 100 50 H I C CNN 111 | F3 "" 0 0 50 H I C CNN 112 | DRAW 113 | C 65 0 111 0 1 10 N 114 | C 100 -70 11 0 1 0 F 115 | C 100 70 11 0 1 0 F 116 | P 2 0 1 0 2 0 10 0 N 117 | P 2 0 1 0 30 -70 100 -70 N 118 | P 2 0 1 10 30 -50 30 -90 N 119 | P 2 0 1 0 30 0 100 0 N 120 | P 2 0 1 10 30 20 30 -20 N 121 | P 2 0 1 0 30 70 100 70 N 122 | P 2 0 1 10 30 90 30 50 N 123 | P 2 0 1 0 100 -70 100 -100 N 124 | P 2 0 1 0 100 -70 100 0 N 125 | P 2 0 1 0 100 100 100 70 N 126 | P 3 0 1 10 10 75 10 -75 10 -75 N 127 | P 4 0 1 0 90 0 50 -15 50 15 90 0 F 128 | P 4 0 1 0 100 -70 130 -70 130 70 100 70 N 129 | P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N 130 | P 4 0 1 0 130 -15 115 10 145 10 130 -15 N 131 | X G 1 -200 0 200 R 50 50 1 1 I 132 | X S 2 100 -200 100 U 50 50 1 1 P 133 | X D 3 100 200 100 D 50 50 1 1 P 134 | ENDDRAW 135 | ENDDEF 136 | # 137 | # R_Small 138 | # 139 | DEF R_Small R 0 10 N N 1 F N 140 | F0 "R" 30 20 50 H V L CNN 141 | F1 "R_Small" 30 -40 50 H V L CNN 142 | F2 "" 0 0 50 H I C CNN 143 | F3 "" 0 0 50 H I C CNN 144 | $FPLIST 145 | R_* 146 | $ENDFPLIST 147 | DRAW 148 | S -30 70 30 -70 0 1 8 N 149 | X ~ 1 0 100 30 D 50 50 1 1 P 150 | X ~ 2 0 -100 30 U 50 50 1 1 P 151 | ENDDRAW 152 | ENDDEF 153 | # 154 | # SD_Card 155 | # 156 | DEF SD_Card J 0 40 Y Y 1 F N 157 | F0 "J" -650 550 50 H V C CNN 158 | F1 "SD_Card" 600 -550 50 H V C CNN 159 | F2 "10067847-001" 200 350 50 H I C CNN 160 | F3 "" 0 0 50 H I C CNN 161 | $FPLIST 162 | SD_Card_Receptacle 163 | $ENDFPLIST 164 | DRAW 165 | S -350 -375 -250 -425 0 1 0 F 166 | S -350 -275 -250 -325 0 1 0 F 167 | S -350 -175 -250 -225 0 1 0 F 168 | S -350 -75 -250 -125 0 1 0 F 169 | S -350 25 -250 -25 0 1 0 F 170 | S -350 125 -250 75 0 1 0 F 171 | S -350 225 -250 175 0 1 0 F 172 | S -350 325 -250 275 0 1 0 F 173 | S -300 425 -200 375 0 1 0 F 174 | P 6 0 1 0 -400 350 -300 450 800 450 800 -450 -400 -450 -400 350 f 175 | P 6 0 1 0 650 450 650 500 -800 500 -800 -500 650 -500 650 -450 N 176 | X CD/DAT3 1 -900 300 100 R 50 50 1 1 I 177 | X CARD_DETECT 10 900 200 100 L 50 50 1 1 I 178 | X WRITE_PROTECT 11 900 100 100 L 50 50 1 1 I 179 | X SHELL1 12 900 -100 100 L 50 50 1 1 I 180 | X SHELL2 13 900 -200 100 L 50 50 1 1 I 181 | X CMD 2 -900 200 100 R 50 50 1 1 I 182 | X VSS 3 -900 100 100 R 50 50 1 1 I 183 | X VDD 4 -900 0 100 R 50 50 1 1 I 184 | X CLK 5 -900 -100 100 R 50 50 1 1 I 185 | X VSS 6 -900 -200 100 R 50 50 1 1 I 186 | X DAT0 7 -900 -300 100 R 50 50 1 1 I 187 | X DAT1 8 -900 -400 100 R 50 50 1 1 I 188 | X DAT2 9 -900 400 100 R 50 50 1 1 I 189 | ENDDRAW 190 | ENDDEF 191 | # 192 | # SW_Push 193 | # 194 | DEF SW_Push SW 0 40 N N 1 F N 195 | F0 "SW" 50 100 50 H V L CNN 196 | F1 "SW_Push" 0 -60 50 H V C CNN 197 | F2 "" 0 200 50 H I C CNN 198 | F3 "" 0 200 50 H I C CNN 199 | DRAW 200 | C -80 0 20 0 1 0 N 201 | C 80 0 20 0 1 0 N 202 | P 2 0 1 0 0 50 0 120 N 203 | P 2 0 1 0 100 50 -100 50 N 204 | X 1 1 -200 0 100 R 50 50 0 1 P 205 | X 2 2 200 0 100 L 50 50 0 1 P 206 | ENDDRAW 207 | ENDDEF 208 | # 209 | # USB_OTG 210 | # 211 | DEF USB_OTG J 0 40 Y Y 1 F N 212 | F0 "J" -200 450 50 H V L CNN 213 | F1 "USB_OTG" -200 350 50 H V L CNN 214 | F2 "" 150 -50 50 H I C CNN 215 | F3 "" 150 -50 50 H I C CNN 216 | $FPLIST 217 | USB* 218 | $ENDFPLIST 219 | DRAW 220 | C -150 85 25 0 1 10 F 221 | C -25 135 15 0 1 10 F 222 | S -200 -300 200 300 0 1 10 f 223 | S -5 -300 5 -270 0 1 0 N 224 | S 10 50 -20 20 0 1 10 F 225 | S 200 -205 170 -195 0 1 0 N 226 | S 200 -105 170 -95 0 1 0 N 227 | S 200 -5 170 5 0 1 0 N 228 | S 200 195 170 205 0 1 0 N 229 | P 2 0 1 10 -75 85 25 85 N 230 | P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N 231 | P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N 232 | P 4 0 1 10 25 110 25 60 75 85 25 110 F 233 | P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F 234 | P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N 235 | X VBUS 1 300 200 100 L 50 50 1 1 W 236 | X D- 2 300 -100 100 L 50 50 1 1 P 237 | X D+ 3 300 0 100 L 50 50 1 1 P 238 | X ID 4 300 -200 100 L 50 50 1 1 P 239 | X GND 5 0 -400 100 U 50 50 1 1 W 240 | X Shield 6 -100 -400 100 U 50 50 1 1 P 241 | ENDDRAW 242 | ENDDEF 243 | # 244 | #End Library 245 | -------------------------------------------------------------------------------- /hardware/sd_locker.pro: -------------------------------------------------------------------------------- 1 | update=14-Nov-19 03:20:07 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [general] 8 | version=1 9 | [eeschema] 10 | version=1 11 | LibDir= 12 | [pcbnew] 13 | version=1 14 | PageLayoutDescrFile= 15 | LastNetListRead= 16 | CopperLayerCount=2 17 | BoardThickness=1.6 18 | AllowMicroVias=0 19 | AllowBlindVias=0 20 | RequireCourtyardDefinitions=0 21 | ProhibitOverlappingCourtyards=1 22 | MinTrackWidth=0.2 23 | MinViaDiameter=0.4 24 | MinViaDrill=0.3 25 | MinMicroViaDiameter=0.2 26 | MinMicroViaDrill=0.09999999999999999 27 | MinHoleToHole=0.25 28 | TrackWidth1=0.25 29 | TrackWidth2=0.2 30 | TrackWidth3=0.4 31 | TrackWidth4=0.6 32 | TrackWidth5=0.8 33 | TrackWidth6=1 34 | ViaDiameter1=0.6 35 | ViaDrill1=0.4 36 | dPairWidth1=0.2 37 | dPairGap1=0.25 38 | dPairViaGap1=0.25 39 | SilkLineWidth=0.15 40 | SilkTextSizeV=1 41 | SilkTextSizeH=1 42 | SilkTextSizeThickness=0.15 43 | SilkTextItalic=0 44 | SilkTextUpright=1 45 | CopperLineWidth=0.2 46 | CopperTextSizeV=1.5 47 | CopperTextSizeH=1.5 48 | CopperTextThickness=0.3 49 | CopperTextItalic=0 50 | CopperTextUpright=1 51 | EdgeCutLineWidth=0.15 52 | CourtyardLineWidth=0.05 53 | OthersLineWidth=0.15 54 | OthersTextSizeV=1 55 | OthersTextSizeH=1 56 | OthersTextSizeThickness=0.15 57 | OthersTextItalic=0 58 | OthersTextUpright=1 59 | SolderMaskClearance=0.2 60 | SolderMaskMinWidth=0.25 61 | SolderPasteClearance=0 62 | SolderPasteRatio=-0 63 | [pcbnew/Layer.F.Cu] 64 | Name=F.Cu 65 | Type=0 66 | Enabled=1 67 | [pcbnew/Layer.In1.Cu] 68 | Name=In1.Cu 69 | Type=0 70 | Enabled=0 71 | [pcbnew/Layer.In2.Cu] 72 | Name=In2.Cu 73 | Type=0 74 | Enabled=0 75 | [pcbnew/Layer.In3.Cu] 76 | Name=In3.Cu 77 | Type=0 78 | Enabled=0 79 | [pcbnew/Layer.In4.Cu] 80 | Name=In4.Cu 81 | Type=0 82 | Enabled=0 83 | [pcbnew/Layer.In5.Cu] 84 | Name=In5.Cu 85 | Type=0 86 | Enabled=0 87 | [pcbnew/Layer.In6.Cu] 88 | Name=In6.Cu 89 | Type=0 90 | Enabled=0 91 | [pcbnew/Layer.In7.Cu] 92 | Name=In7.Cu 93 | Type=0 94 | Enabled=0 95 | [pcbnew/Layer.In8.Cu] 96 | Name=In8.Cu 97 | Type=0 98 | Enabled=0 99 | [pcbnew/Layer.In9.Cu] 100 | Name=In9.Cu 101 | Type=0 102 | Enabled=0 103 | [pcbnew/Layer.In10.Cu] 104 | Name=In10.Cu 105 | Type=0 106 | Enabled=0 107 | [pcbnew/Layer.In11.Cu] 108 | Name=In11.Cu 109 | Type=0 110 | Enabled=0 111 | [pcbnew/Layer.In12.Cu] 112 | Name=In12.Cu 113 | Type=0 114 | Enabled=0 115 | [pcbnew/Layer.In13.Cu] 116 | Name=In13.Cu 117 | Type=0 118 | Enabled=0 119 | [pcbnew/Layer.In14.Cu] 120 | Name=In14.Cu 121 | Type=0 122 | Enabled=0 123 | [pcbnew/Layer.In15.Cu] 124 | Name=In15.Cu 125 | Type=0 126 | Enabled=0 127 | [pcbnew/Layer.In16.Cu] 128 | Name=In16.Cu 129 | Type=0 130 | Enabled=0 131 | [pcbnew/Layer.In17.Cu] 132 | Name=In17.Cu 133 | Type=0 134 | Enabled=0 135 | [pcbnew/Layer.In18.Cu] 136 | Name=In18.Cu 137 | Type=0 138 | Enabled=0 139 | [pcbnew/Layer.In19.Cu] 140 | Name=In19.Cu 141 | Type=0 142 | Enabled=0 143 | [pcbnew/Layer.In20.Cu] 144 | Name=In20.Cu 145 | Type=0 146 | Enabled=0 147 | [pcbnew/Layer.In21.Cu] 148 | Name=In21.Cu 149 | Type=0 150 | Enabled=0 151 | [pcbnew/Layer.In22.Cu] 152 | Name=In22.Cu 153 | Type=0 154 | Enabled=0 155 | [pcbnew/Layer.In23.Cu] 156 | Name=In23.Cu 157 | Type=0 158 | Enabled=0 159 | [pcbnew/Layer.In24.Cu] 160 | Name=In24.Cu 161 | Type=0 162 | Enabled=0 163 | [pcbnew/Layer.In25.Cu] 164 | Name=In25.Cu 165 | Type=0 166 | Enabled=0 167 | [pcbnew/Layer.In26.Cu] 168 | Name=In26.Cu 169 | Type=0 170 | Enabled=0 171 | [pcbnew/Layer.In27.Cu] 172 | Name=In27.Cu 173 | Type=0 174 | Enabled=0 175 | [pcbnew/Layer.In28.Cu] 176 | Name=In28.Cu 177 | Type=0 178 | Enabled=0 179 | [pcbnew/Layer.In29.Cu] 180 | Name=In29.Cu 181 | Type=0 182 | Enabled=0 183 | [pcbnew/Layer.In30.Cu] 184 | Name=In30.Cu 185 | Type=0 186 | Enabled=0 187 | [pcbnew/Layer.B.Cu] 188 | Name=B.Cu 189 | Type=0 190 | Enabled=1 191 | [pcbnew/Layer.B.Adhes] 192 | Enabled=1 193 | [pcbnew/Layer.F.Adhes] 194 | Enabled=1 195 | [pcbnew/Layer.B.Paste] 196 | Enabled=1 197 | [pcbnew/Layer.F.Paste] 198 | Enabled=1 199 | [pcbnew/Layer.B.SilkS] 200 | Enabled=1 201 | [pcbnew/Layer.F.SilkS] 202 | Enabled=1 203 | [pcbnew/Layer.B.Mask] 204 | Enabled=1 205 | [pcbnew/Layer.F.Mask] 206 | Enabled=1 207 | [pcbnew/Layer.Dwgs.User] 208 | Enabled=1 209 | [pcbnew/Layer.Cmts.User] 210 | Enabled=1 211 | [pcbnew/Layer.Eco1.User] 212 | Enabled=1 213 | [pcbnew/Layer.Eco2.User] 214 | Enabled=1 215 | [pcbnew/Layer.Edge.Cuts] 216 | Enabled=1 217 | [pcbnew/Layer.Margin] 218 | Enabled=1 219 | [pcbnew/Layer.B.CrtYd] 220 | Enabled=1 221 | [pcbnew/Layer.F.CrtYd] 222 | Enabled=1 223 | [pcbnew/Layer.B.Fab] 224 | Enabled=1 225 | [pcbnew/Layer.F.Fab] 226 | Enabled=1 227 | [pcbnew/Layer.Rescue] 228 | Enabled=0 229 | [pcbnew/Netclasses] 230 | [pcbnew/Netclasses/Default] 231 | Name=Default 232 | Clearance=0.2 233 | TrackWidth=0.25 234 | ViaDiameter=0.6 235 | ViaDrill=0.4 236 | uViaDiameter=0.3 237 | uViaDrill=0.1 238 | dPairWidth=0.2 239 | dPairGap=0.25 240 | dPairViaGap=0.25 241 | -------------------------------------------------------------------------------- /hardware/sd_locker.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 4 2 | EELAYER 30 0 3 | EELAYER END 4 | $Descr A4 11693 8268 5 | encoding utf-8 6 | Sheet 1 1 7 | Title "" 8 | Date "" 9 | Rev "" 10 | Comp "" 11 | Comment1 "" 12 | Comment2 "" 13 | Comment3 "" 14 | Comment4 "" 15 | $EndDescr 16 | $Comp 17 | L sd_locker-rescue:ATTINY85-20SU U2 18 | U 1 1 5BA87E84 19 | P 4550 3750 20 | F 0 "U2" H 3400 4150 50 0000 C CNN 21 | F 1 "ATTINY85-20SU" H 5200 3350 50 0000 C CNN 22 | F 2 "Housings_SOIC:SOIJ-8_5.3x5.3mm_Pitch1.27mm" H 5500 3750 50 0001 C CIN 23 | F 3 "" H 4550 3750 50 0001 C CNN 24 | 1 4550 3750 25 | 1 0 0 -1 26 | $EndComp 27 | $Comp 28 | L power:+3.3V #PWR01 29 | U 1 1 5BA87EDA 30 | P 5900 3500 31 | F 0 "#PWR01" H 5900 3350 50 0001 C CNN 32 | F 1 "+3.3V" H 5900 3640 50 0000 C CNN 33 | F 2 "" H 5900 3500 50 0001 C CNN 34 | F 3 "" H 5900 3500 50 0001 C CNN 35 | 1 5900 3500 36 | 1 0 0 -1 37 | $EndComp 38 | $Comp 39 | L power:GND #PWR02 40 | U 1 1 5BA87EF0 41 | P 5900 4000 42 | F 0 "#PWR02" H 5900 3750 50 0001 C CNN 43 | F 1 "GND" H 5900 3850 50 0000 C CNN 44 | F 2 "" H 5900 4000 50 0001 C CNN 45 | F 3 "" H 5900 4000 50 0001 C CNN 46 | 1 5900 4000 47 | 1 0 0 -1 48 | $EndComp 49 | $Comp 50 | L sd_locker-rescue:R_Small R1 51 | U 1 1 5BA87F13 52 | P 3100 4200 53 | F 0 "R1" H 3130 4220 50 0000 L CNN 54 | F 1 "10K" H 3130 4160 50 0000 L CNN 55 | F 2 "sd_locker:R_0805_10K_HandSoldering" H 3100 4200 50 0001 C CNN 56 | F 3 "" H 3100 4200 50 0001 C CNN 57 | 1 3100 4200 58 | -1 0 0 1 59 | $EndComp 60 | $Comp 61 | L power:+3.3V #PWR03 62 | U 1 1 5BA87F40 63 | P 3100 4400 64 | F 0 "#PWR03" H 3100 4250 50 0001 C CNN 65 | F 1 "+3.3V" H 3100 4540 50 0000 C CNN 66 | F 2 "" H 3100 4400 50 0001 C CNN 67 | F 3 "" H 3100 4400 50 0001 C CNN 68 | 1 3100 4400 69 | -1 0 0 1 70 | $EndComp 71 | Wire Wire Line 72 | 3200 4000 3100 4000 73 | Wire Wire Line 74 | 3100 4000 3100 4100 75 | Wire Wire Line 76 | 3100 4300 3100 4400 77 | Text GLabel 3200 3900 0 60 Input ~ 0 78 | LEDSW 79 | Text GLabel 3550 2450 0 60 Input ~ 0 80 | LEDSW 81 | Text GLabel 4400 2100 2 60 Input ~ 0 82 | LEDSW 83 | $Comp 84 | L sd_locker-rescue:LED D1 85 | U 1 1 5BA87FE0 86 | P 3800 2100 87 | F 0 "D1" H 3800 2200 50 0000 C CNN 88 | F 1 "LED" H 3800 2000 50 0000 C CNN 89 | F 2 "LEDs:LED_0805_HandSoldering" H 3800 2100 50 0001 C CNN 90 | F 3 "" H 3800 2100 50 0001 C CNN 91 | 1 3800 2100 92 | -1 0 0 1 93 | $EndComp 94 | $Comp 95 | L sd_locker-rescue:R_Small R3 96 | U 1 1 5BA8801D 97 | P 4200 2100 98 | F 0 "R3" V 4200 2050 50 0000 L CNN 99 | F 1 "300" V 4100 2050 50 0000 L CNN 100 | F 2 "Resistors_SMD:R_0603_HandSoldering" H 4200 2100 50 0001 C CNN 101 | F 3 "" H 4200 2100 50 0001 C CNN 102 | 1 4200 2100 103 | 0 1 1 0 104 | $EndComp 105 | $Comp 106 | L power:+3.3V #PWR04 107 | U 1 1 5BA88084 108 | P 3500 2100 109 | F 0 "#PWR04" H 3500 1950 50 0001 C CNN 110 | F 1 "+3.3V" V 3600 2200 50 0000 C CNN 111 | F 2 "" H 3500 2100 50 0001 C CNN 112 | F 3 "" H 3500 2100 50 0001 C CNN 113 | 1 3500 2100 114 | 0 -1 -1 0 115 | $EndComp 116 | Wire Wire Line 117 | 3500 2100 3650 2100 118 | Wire Wire Line 119 | 3950 2100 4100 2100 120 | Wire Wire Line 121 | 4300 2100 4400 2100 122 | $Comp 123 | L sd_locker-rescue:R_Small R2 124 | U 1 1 5BA880F6 125 | P 3800 2450 126 | F 0 "R2" V 3800 2400 50 0000 L CNN 127 | F 1 "300" V 3700 2400 50 0000 L CNN 128 | F 2 "Resistors_SMD:R_0603_HandSoldering" H 3800 2450 50 0001 C CNN 129 | F 3 "" H 3800 2450 50 0001 C CNN 130 | 1 3800 2450 131 | 0 1 1 0 132 | $EndComp 133 | Wire Wire Line 134 | 3550 2450 3700 2450 135 | Text GLabel 3200 3800 0 60 Input ~ 0 136 | CS 137 | Text GLabel 3200 3700 0 60 Input ~ 0 138 | SCK 139 | Text GLabel 3200 3600 0 60 Input ~ 0 140 | MISO 141 | Text GLabel 3200 3500 0 60 Input ~ 0 142 | MOSI 143 | $Comp 144 | L sd_locker-rescue:SD_Card J4 145 | U 1 1 5BA881DD 146 | P 7300 2300 147 | F 0 "J4" H 6650 2850 50 0000 C CNN 148 | F 1 "SD_Card" H 7900 1750 50 0000 C CNN 149 | F 2 "sd_locker:SD_Slot" H 7500 2650 50 0001 C CNN 150 | F 3 "" H 7300 2300 50 0001 C CNN 151 | 1 7300 2300 152 | 1 0 0 -1 153 | $EndComp 154 | $Comp 155 | L power:+3.3V #PWR05 156 | U 1 1 5BA88278 157 | P 6400 2300 158 | F 0 "#PWR05" H 6400 2150 50 0001 C CNN 159 | F 1 "+3.3V" V 6400 2550 50 0000 C CNN 160 | F 2 "" H 6400 2300 50 0001 C CNN 161 | F 3 "" H 6400 2300 50 0001 C CNN 162 | 1 6400 2300 163 | 0 -1 -1 0 164 | $EndComp 165 | $Comp 166 | L power:GND #PWR06 167 | U 1 1 5BA882AD 168 | P 6400 2200 169 | F 0 "#PWR06" H 6400 1950 50 0001 C CNN 170 | F 1 "GND" V 6400 2000 50 0000 C CNN 171 | F 2 "" H 6400 2200 50 0001 C CNN 172 | F 3 "" H 6400 2200 50 0001 C CNN 173 | 1 6400 2200 174 | 0 1 1 0 175 | $EndComp 176 | $Comp 177 | L power:GND #PWR07 178 | U 1 1 5BA882ED 179 | P 6400 2500 180 | F 0 "#PWR07" H 6400 2250 50 0001 C CNN 181 | F 1 "GND" V 6400 2300 50 0000 C CNN 182 | F 2 "" H 6400 2500 50 0001 C CNN 183 | F 3 "" H 6400 2500 50 0001 C CNN 184 | 1 6400 2500 185 | 0 1 1 0 186 | $EndComp 187 | Text GLabel 6400 2400 0 60 Input ~ 0 188 | SCK 189 | Text GLabel 6400 2100 0 60 Input ~ 0 190 | MOSI 191 | Text GLabel 6400 2600 0 60 Input ~ 0 192 | MISO 193 | Text GLabel 6400 2000 0 60 Input ~ 0 194 | CS 195 | NoConn ~ 6400 1900 196 | $Comp 197 | L power:GND #PWR08 198 | U 1 1 5BA883BF 199 | P 8200 2500 200 | F 0 "#PWR08" H 8200 2250 50 0001 C CNN 201 | F 1 "GND" V 8200 2300 50 0000 C CNN 202 | F 2 "" H 8200 2500 50 0001 C CNN 203 | F 3 "" H 8200 2500 50 0001 C CNN 204 | 1 8200 2500 205 | 0 -1 -1 0 206 | $EndComp 207 | $Comp 208 | L power:GND #PWR09 209 | U 1 1 5BA883DC 210 | P 8200 2400 211 | F 0 "#PWR09" H 8200 2150 50 0001 C CNN 212 | F 1 "GND" V 8200 2200 50 0000 C CNN 213 | F 2 "" H 8200 2400 50 0001 C CNN 214 | F 3 "" H 8200 2400 50 0001 C CNN 215 | 1 8200 2400 216 | 0 -1 -1 0 217 | $EndComp 218 | NoConn ~ 8200 2200 219 | $Comp 220 | L sd_locker-rescue:USB_OTG J1 221 | U 1 1 5BA8841C 222 | P 1900 2800 223 | F 0 "J1" H 1700 3250 50 0000 L CNN 224 | F 1 "USB_OTG" H 1700 3150 50 0000 L CNN 225 | F 2 "sd_locker:MICROUSB_SIMPLE" H 2050 2750 50 0001 C CNN 226 | F 3 "" H 2050 2750 50 0001 C CNN 227 | 1 1900 2800 228 | 1 0 0 -1 229 | $EndComp 230 | $Comp 231 | L power:+5V #PWR010 232 | U 1 1 5BA884A2 233 | P 5600 1200 234 | F 0 "#PWR010" H 5600 1050 50 0001 C CNN 235 | F 1 "+5V" H 5600 1340 50 0000 C CNN 236 | F 2 "" H 5600 1200 50 0001 C CNN 237 | F 3 "" H 5600 1200 50 0001 C CNN 238 | 1 5600 1200 239 | 1 0 0 -1 240 | $EndComp 241 | Wire Wire Line 242 | 2200 2600 2250 2600 243 | $Comp 244 | L power:GND #PWR011 245 | U 1 1 5BA884FC 246 | P 1800 3200 247 | F 0 "#PWR011" H 1800 2950 50 0001 C CNN 248 | F 1 "GND" H 1800 3050 50 0000 C CNN 249 | F 2 "" H 1800 3200 50 0001 C CNN 250 | F 3 "" H 1800 3200 50 0001 C CNN 251 | 1 1800 3200 252 | 1 0 0 -1 253 | $EndComp 254 | $Comp 255 | L power:GND #PWR012 256 | U 1 1 5BA8853F 257 | P 1900 3350 258 | F 0 "#PWR012" H 1900 3100 50 0001 C CNN 259 | F 1 "GND" H 1900 3200 50 0000 C CNN 260 | F 2 "" H 1900 3350 50 0001 C CNN 261 | F 3 "" H 1900 3350 50 0001 C CNN 262 | 1 1900 3350 263 | 1 0 0 -1 264 | $EndComp 265 | Wire Wire Line 266 | 1900 3350 1900 3200 267 | NoConn ~ 2200 2800 268 | NoConn ~ 2200 2900 269 | NoConn ~ 2200 3000 270 | $Comp 271 | L sd_locker-rescue:C_Small C3 272 | U 1 1 5BA885F6 273 | P 5900 3750 274 | F 0 "C3" H 5910 3820 50 0000 L CNN 275 | F 1 "100nF" H 5910 3670 50 0000 L CNN 276 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 5900 3750 50 0001 C CNN 277 | F 3 "" H 5900 3750 50 0001 C CNN 278 | 1 5900 3750 279 | 1 0 0 -1 280 | $EndComp 281 | Wire Wire Line 282 | 5900 3500 5900 3650 283 | Wire Wire Line 284 | 5900 4000 5900 3850 285 | Connection ~ 5900 4000 286 | Connection ~ 5900 3500 287 | $Comp 288 | L sd_locker-rescue:AP1117-33 U1 289 | U 1 1 5BA88706 290 | P 3900 1250 291 | F 0 "U1" H 3750 1375 50 0000 C CNN 292 | F 1 "AP1117-33" H 3900 1375 50 0000 L CNN 293 | F 2 "TO_SOT_Packages_SMD:SOT-223-3_TabPin2" H 3900 1450 50 0001 C CNN 294 | F 3 "" H 4000 1000 50 0001 C CNN 295 | 1 3900 1250 296 | 1 0 0 -1 297 | $EndComp 298 | $Comp 299 | L power:+3.3V #PWR013 300 | U 1 1 5BA8877E 301 | P 4200 1250 302 | F 0 "#PWR013" H 4200 1100 50 0001 C CNN 303 | F 1 "+3.3V" V 4300 1350 50 0000 C CNN 304 | F 2 "" H 4200 1250 50 0001 C CNN 305 | F 3 "" H 4200 1250 50 0001 C CNN 306 | 1 4200 1250 307 | 0 1 1 0 308 | $EndComp 309 | $Comp 310 | L power:+5V #PWR014 311 | U 1 1 5BA887A4 312 | P 3600 1250 313 | F 0 "#PWR014" H 3600 1100 50 0001 C CNN 314 | F 1 "+5V" V 3450 1350 50 0000 C CNN 315 | F 2 "" H 3600 1250 50 0001 C CNN 316 | F 3 "" H 3600 1250 50 0001 C CNN 317 | 1 3600 1250 318 | 0 -1 -1 0 319 | $EndComp 320 | $Comp 321 | L power:GND #PWR015 322 | U 1 1 5BA88814 323 | P 3900 1550 324 | F 0 "#PWR015" H 3900 1300 50 0001 C CNN 325 | F 1 "GND" H 3900 1400 50 0000 C CNN 326 | F 2 "" H 3900 1550 50 0001 C CNN 327 | F 3 "" H 3900 1550 50 0001 C CNN 328 | 1 3900 1550 329 | 1 0 0 -1 330 | $EndComp 331 | $Comp 332 | L sd_locker-rescue:C_Small C2 333 | U 1 1 5BA88833 334 | P 4600 1400 335 | F 0 "C2" H 4610 1470 50 0000 L CNN 336 | F 1 "100nF" H 4610 1320 50 0000 L CNN 337 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 4600 1400 50 0001 C CNN 338 | F 3 "" H 4600 1400 50 0001 C CNN 339 | 1 4600 1400 340 | 1 0 0 -1 341 | $EndComp 342 | $Comp 343 | L power:+3.3V #PWR016 344 | U 1 1 5BA8889E 345 | P 4600 1300 346 | F 0 "#PWR016" H 4600 1150 50 0001 C CNN 347 | F 1 "+3.3V" H 4600 1440 50 0000 C CNN 348 | F 2 "" H 4600 1300 50 0001 C CNN 349 | F 3 "" H 4600 1300 50 0001 C CNN 350 | 1 4600 1300 351 | 1 0 0 -1 352 | $EndComp 353 | $Comp 354 | L power:GND #PWR017 355 | U 1 1 5BA888C7 356 | P 4600 1500 357 | F 0 "#PWR017" H 4600 1250 50 0001 C CNN 358 | F 1 "GND" H 4600 1350 50 0000 C CNN 359 | F 2 "" H 4600 1500 50 0001 C CNN 360 | F 3 "" H 4600 1500 50 0001 C CNN 361 | 1 4600 1500 362 | 1 0 0 -1 363 | $EndComp 364 | $Comp 365 | L sd_locker-rescue:C_Small C1 366 | U 1 1 5BA888F0 367 | P 3050 1400 368 | F 0 "C1" H 3060 1470 50 0000 L CNN 369 | F 1 "100nF" H 3060 1320 50 0000 L CNN 370 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 3050 1400 50 0001 C CNN 371 | F 3 "" H 3050 1400 50 0001 C CNN 372 | 1 3050 1400 373 | 1 0 0 -1 374 | $EndComp 375 | $Comp 376 | L power:GND #PWR018 377 | U 1 1 5BA8899E 378 | P 3050 1500 379 | F 0 "#PWR018" H 3050 1250 50 0001 C CNN 380 | F 1 "GND" H 3050 1350 50 0000 C CNN 381 | F 2 "" H 3050 1500 50 0001 C CNN 382 | F 3 "" H 3050 1500 50 0001 C CNN 383 | 1 3050 1500 384 | 1 0 0 -1 385 | $EndComp 386 | $Comp 387 | L power:+5V #PWR019 388 | U 1 1 5BA889C1 389 | P 3050 1300 390 | F 0 "#PWR019" H 3050 1150 50 0001 C CNN 391 | F 1 "+5V" H 3050 1440 50 0000 C CNN 392 | F 2 "" H 3050 1300 50 0001 C CNN 393 | F 3 "" H 3050 1300 50 0001 C CNN 394 | 1 3050 1300 395 | 1 0 0 -1 396 | $EndComp 397 | $Comp 398 | L sd_locker-rescue:SW_Push SW1 399 | U 1 1 5BCD1502 400 | P 4100 2450 401 | F 0 "SW1" H 4150 2550 50 0000 L CNN 402 | F 1 "SW_Push" H 4100 2390 50 0000 C CNN 403 | F 2 "sd_locker:SW_SPST_EVQPE1" H 4100 2650 50 0001 C CNN 404 | F 3 "" H 4100 2650 50 0001 C CNN 405 | 1 4100 2450 406 | 1 0 0 -1 407 | $EndComp 408 | $Comp 409 | L power:GND #PWR020 410 | U 1 1 5BCD15AD 411 | P 4300 2450 412 | F 0 "#PWR020" H 4300 2200 50 0001 C CNN 413 | F 1 "GND" V 4300 2250 50 0000 C CNN 414 | F 2 "" H 4300 2450 50 0001 C CNN 415 | F 3 "" H 4300 2450 50 0001 C CNN 416 | 1 4300 2450 417 | 0 -1 -1 0 418 | $EndComp 419 | $Comp 420 | L sd_locker-rescue:Q_PMOS_GSD Q1 421 | U 1 1 5BCD173E 422 | P 6050 1300 423 | F 0 "Q1" H 6250 1350 50 0000 L CNN 424 | F 1 "Q_PMOS_GSD" V 6400 1100 50 0000 L CNN 425 | F 2 "sd_locker:IRLML6401-SOT-23_Handsoldering" H 6250 1400 50 0001 C CNN 426 | F 3 "" H 6050 1300 50 0001 C CNN 427 | 1 6050 1300 428 | 0 -1 -1 0 429 | $EndComp 430 | Text GLabel 8200 2100 2 60 Input ~ 0 431 | CD 432 | Text GLabel 5850 1600 0 60 Input ~ 0 433 | CD 434 | $Comp 435 | L power:VBUS #PWR021 436 | U 1 1 5BCD1988 437 | P 2550 2550 438 | F 0 "#PWR021" H 2550 2400 50 0001 C CNN 439 | F 1 "VBUS" H 2550 2700 50 0000 C CNN 440 | F 2 "" H 2550 2550 50 0001 C CNN 441 | F 3 "" H 2550 2550 50 0001 C CNN 442 | 1 2550 2550 443 | 1 0 0 -1 444 | $EndComp 445 | $Comp 446 | L power:VBUS #PWR022 447 | U 1 1 5BCD1A23 448 | P 6400 1150 449 | F 0 "#PWR022" H 6400 1000 50 0001 C CNN 450 | F 1 "VBUS" H 6400 1300 50 0000 C CNN 451 | F 2 "" H 6400 1150 50 0001 C CNN 452 | F 3 "" H 6400 1150 50 0001 C CNN 453 | 1 6400 1150 454 | 1 0 0 -1 455 | $EndComp 456 | $Comp 457 | L sd_locker-rescue:R_Small R4 458 | U 1 1 5BCD1ACA 459 | P 6350 1450 460 | F 0 "R4" V 6350 1400 50 0000 L CNN 461 | F 1 "10K" V 6250 1400 50 0000 L CNN 462 | F 2 "sd_locker:R_0805_10K_HandSoldering" H 6350 1450 50 0001 C CNN 463 | F 3 "" H 6350 1450 50 0001 C CNN 464 | 1 6350 1450 465 | -1 0 0 1 466 | $EndComp 467 | Wire Wire Line 468 | 6250 1200 6350 1200 469 | Wire Wire Line 470 | 6400 1200 6400 1150 471 | Wire Wire Line 472 | 6350 1200 6350 1350 473 | Connection ~ 6350 1200 474 | Wire Wire Line 475 | 6050 1500 6050 1600 476 | Wire Wire Line 477 | 5850 1600 6050 1600 478 | Wire Wire Line 479 | 6350 1600 6350 1550 480 | Connection ~ 6050 1600 481 | Wire Wire Line 482 | 5600 1200 5850 1200 483 | $Comp 484 | L sd_locker-rescue:Conn_01x02 J2 485 | U 1 1 5BCD1E4F 486 | P 2050 1200 487 | F 0 "J2" H 2050 1300 50 0000 C CNN 488 | F 1 "3V3" H 2050 1000 50 0000 C CNN 489 | F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 2050 1200 50 0001 C CNN 490 | F 3 "" H 2050 1200 50 0001 C CNN 491 | 1 2050 1200 492 | -1 0 0 1 493 | $EndComp 494 | $Comp 495 | L power:+3.3V #PWR023 496 | U 1 1 5BCD1F2A 497 | P 2250 1100 498 | F 0 "#PWR023" H 2250 950 50 0001 C CNN 499 | F 1 "+3.3V" V 2250 1350 50 0000 C CNN 500 | F 2 "" H 2250 1100 50 0001 C CNN 501 | F 3 "" H 2250 1100 50 0001 C CNN 502 | 1 2250 1100 503 | 0 1 1 0 504 | $EndComp 505 | $Comp 506 | L power:GND #PWR024 507 | U 1 1 5BCD1F62 508 | P 2250 1200 509 | F 0 "#PWR024" H 2250 950 50 0001 C CNN 510 | F 1 "GND" V 2250 1000 50 0000 C CNN 511 | F 2 "" H 2250 1200 50 0001 C CNN 512 | F 3 "" H 2250 1200 50 0001 C CNN 513 | 1 2250 1200 514 | 0 -1 -1 0 515 | $EndComp 516 | $Comp 517 | L sd_locker-rescue:Conn_01x02 J3 518 | U 1 1 5BCD1F9A 519 | P 2050 1600 520 | F 0 "J3" H 2050 1700 50 0000 C CNN 521 | F 1 "VIN" H 2050 1400 50 0000 C CNN 522 | F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 2050 1600 50 0001 C CNN 523 | F 3 "" H 2050 1600 50 0001 C CNN 524 | 1 2050 1600 525 | -1 0 0 1 526 | $EndComp 527 | $Comp 528 | L power:GND #PWR026 529 | U 1 1 5BCD20B5 530 | P 2250 1600 531 | F 0 "#PWR026" H 2250 1350 50 0001 C CNN 532 | F 1 "GND" V 2250 1400 50 0000 C CNN 533 | F 2 "" H 2250 1600 50 0001 C CNN 534 | F 3 "" H 2250 1600 50 0001 C CNN 535 | 1 2250 1600 536 | 0 -1 -1 0 537 | $EndComp 538 | $Comp 539 | L sd_locker-rescue:C_Small C4 540 | U 1 1 5BCD1967 541 | P 4950 1400 542 | F 0 "C4" H 4960 1470 50 0000 L CNN 543 | F 1 "100nF" H 4960 1320 50 0000 L CNN 544 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 4950 1400 50 0001 C CNN 545 | F 3 "" H 4950 1400 50 0001 C CNN 546 | 1 4950 1400 547 | 1 0 0 -1 548 | $EndComp 549 | $Comp 550 | L power:GND #PWR027 551 | U 1 1 5BCD19B0 552 | P 4950 1500 553 | F 0 "#PWR027" H 4950 1250 50 0001 C CNN 554 | F 1 "GND" H 4950 1350 50 0000 C CNN 555 | F 2 "" H 4950 1500 50 0001 C CNN 556 | F 3 "" H 4950 1500 50 0001 C CNN 557 | 1 4950 1500 558 | 1 0 0 -1 559 | $EndComp 560 | $Comp 561 | L power:+3.3V #PWR028 562 | U 1 1 5BCD19EE 563 | P 4950 1300 564 | F 0 "#PWR028" H 4950 1150 50 0001 C CNN 565 | F 1 "+3.3V" H 4950 1440 50 0000 C CNN 566 | F 2 "" H 4950 1300 50 0001 C CNN 567 | F 3 "" H 4950 1300 50 0001 C CNN 568 | 1 4950 1300 569 | 1 0 0 -1 570 | $EndComp 571 | Wire Wire Line 572 | 6350 1200 6400 1200 573 | Wire Wire Line 574 | 6050 1600 6350 1600 575 | $Comp 576 | L power:VBUS #PWR0101 577 | U 1 1 5DBE9517 578 | P 2250 1500 579 | F 0 "#PWR0101" H 2250 1350 50 0001 C CNN 580 | F 1 "VBUS" V 2250 1700 50 0000 C CNN 581 | F 2 "" H 2250 1500 50 0001 C CNN 582 | F 3 "" H 2250 1500 50 0001 C CNN 583 | 1 2250 1500 584 | 0 1 1 0 585 | $EndComp 586 | $Comp 587 | L sd_locker-rescue:R_Small R5 588 | U 1 1 5DBE97F2 589 | P 2350 2600 590 | F 0 "R5" V 2350 2550 50 0000 L CNN 591 | F 1 "0" V 2250 2550 50 0000 L CNN 592 | F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 2350 2600 50 0001 C CNN 593 | F 3 "" H 2350 2600 50 0001 C CNN 594 | 1 2350 2600 595 | 0 1 1 0 596 | $EndComp 597 | Wire Wire Line 598 | 2450 2600 2550 2600 599 | Wire Wire Line 600 | 2550 2600 2550 2550 601 | $Comp 602 | L Mechanical:Fiducial FID1 603 | U 1 1 5DCCB5E6 604 | P 1150 1000 605 | F 0 "FID1" H 1235 1046 50 0000 L CNN 606 | F 1 "Fiducial" H 1235 955 50 0000 L CNN 607 | F 2 "Fiducial:Fiducial_1.5mm_Mask3mm" H 1150 1000 50 0001 C CNN 608 | F 3 "~" H 1150 1000 50 0001 C CNN 609 | 1 1150 1000 610 | 1 0 0 -1 611 | $EndComp 612 | Text GLabel 7000 4350 0 60 Input ~ 0 613 | CD 614 | $Comp 615 | L Connector:Micro_SD_Card_Det J5 616 | U 1 1 5DCD5886 617 | P 7900 3950 618 | F 0 "J5" H 7850 4767 50 0000 C CNN 619 | F 1 "Micro_SD_Card_Det" H 7850 4676 50 0000 C CNN 620 | F 2 "sd_locker:microSD-Receptacle-SelfEject" H 9950 4650 50 0001 C CNN 621 | F 3 "https://www.hirose.com/product/en/download_file/key_name/DM3/category/Catalog/doc_file_id/49662/?file_category_id=4&item_id=195&is_series=1" H 7900 4050 50 0001 C CNN 622 | 1 7900 3950 623 | 1 0 0 -1 624 | $EndComp 625 | NoConn ~ 7000 4450 626 | Text GLabel 7000 4150 0 60 Input ~ 0 627 | MISO 628 | $Comp 629 | L power:GND #PWR0102 630 | U 1 1 5DCD816F 631 | P 7000 4050 632 | F 0 "#PWR0102" H 7000 3800 50 0001 C CNN 633 | F 1 "GND" V 7000 3850 50 0000 C CNN 634 | F 2 "" H 7000 4050 50 0001 C CNN 635 | F 3 "" H 7000 4050 50 0001 C CNN 636 | 1 7000 4050 637 | 0 1 1 0 638 | $EndComp 639 | Text GLabel 7000 3950 0 60 Input ~ 0 640 | SCK 641 | $Comp 642 | L power:+3.3V #PWR0103 643 | U 1 1 5DCD85F9 644 | P 7000 3850 645 | F 0 "#PWR0103" H 7000 3700 50 0001 C CNN 646 | F 1 "+3.3V" V 7000 4100 50 0000 C CNN 647 | F 2 "" H 7000 3850 50 0001 C CNN 648 | F 3 "" H 7000 3850 50 0001 C CNN 649 | 1 7000 3850 650 | 0 -1 -1 0 651 | $EndComp 652 | Text GLabel 7000 3750 0 60 Input ~ 0 653 | MOSI 654 | Text GLabel 7000 3650 0 60 Input ~ 0 655 | CS 656 | NoConn ~ 7000 4250 657 | NoConn ~ 7000 3550 658 | $Comp 659 | L power:GND #PWR0104 660 | U 1 1 5DCD998C 661 | P 8700 4450 662 | F 0 "#PWR0104" H 8700 4200 50 0001 C CNN 663 | F 1 "GND" V 8700 4250 50 0000 C CNN 664 | F 2 "" H 8700 4450 50 0001 C CNN 665 | F 3 "" H 8700 4450 50 0001 C CNN 666 | 1 8700 4450 667 | 0 -1 -1 0 668 | $EndComp 669 | $Comp 670 | L sd_locker-rescue:C_Small C5 671 | U 1 1 5DCF1768 672 | P 5300 1400 673 | F 0 "C5" H 5310 1470 50 0000 L CNN 674 | F 1 "100nF" H 5310 1320 50 0000 L CNN 675 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 5300 1400 50 0001 C CNN 676 | F 3 "" H 5300 1400 50 0001 C CNN 677 | 1 5300 1400 678 | 1 0 0 -1 679 | $EndComp 680 | $Comp 681 | L power:+3.3V #PWR0105 682 | U 1 1 5DCF1772 683 | P 5300 1300 684 | F 0 "#PWR0105" H 5300 1150 50 0001 C CNN 685 | F 1 "+3.3V" H 5300 1440 50 0000 C CNN 686 | F 2 "" H 5300 1300 50 0001 C CNN 687 | F 3 "" H 5300 1300 50 0001 C CNN 688 | 1 5300 1300 689 | 1 0 0 -1 690 | $EndComp 691 | $Comp 692 | L power:GND #PWR0106 693 | U 1 1 5DCF177C 694 | P 5300 1500 695 | F 0 "#PWR0106" H 5300 1250 50 0001 C CNN 696 | F 1 "GND" H 5300 1350 50 0000 C CNN 697 | F 2 "" H 5300 1500 50 0001 C CNN 698 | F 3 "" H 5300 1500 50 0001 C CNN 699 | 1 5300 1500 700 | 1 0 0 -1 701 | $EndComp 702 | $Comp 703 | L Mechanical:Fiducial FID2 704 | U 1 1 5DD45667 705 | P 1150 1200 706 | F 0 "FID2" H 1235 1246 50 0000 L CNN 707 | F 1 "Fiducial" H 1235 1155 50 0000 L CNN 708 | F 2 "Fiducial:Fiducial_1.5mm_Mask3mm" H 1150 1200 50 0001 C CNN 709 | F 3 "~" H 1150 1200 50 0001 C CNN 710 | 1 1150 1200 711 | 1 0 0 -1 712 | $EndComp 713 | Text GLabel 2900 4000 0 50 Input ~ 0 714 | RST 715 | Wire Wire Line 716 | 2900 4000 3100 4000 717 | Connection ~ 3100 4000 718 | $Comp 719 | L sd_locker-rescue:R_Small R6 720 | U 1 1 5E1E87AC 721 | P 6000 2700 722 | F 0 "R6" V 6000 2650 50 0000 L CNN 723 | F 1 "0" V 5900 2650 50 0000 L CNN 724 | F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6000 2700 50 0001 C CNN 725 | F 3 "" H 6000 2700 50 0001 C CNN 726 | 1 6000 2700 727 | 0 1 1 0 728 | $EndComp 729 | Text GLabel 5900 2700 0 50 Input ~ 0 730 | RST 731 | Wire Wire Line 732 | 6100 2700 6400 2700 733 | Text Notes 4900 3100 0 50 ~ 0 734 | RST is connected to DAT1 purely to allow\nreprogramming the ATTiny through\nthe large SD card socket. 735 | Text Notes 6550 1350 0 50 ~ 0 736 | power management - powers the circuit\nwhen CD is pulled to GND through one\nof the sockets 737 | $EndSCHEMATC 738 | -------------------------------------------------------------------------------- /hardware/sym-lib-table: -------------------------------------------------------------------------------- 1 | (sym_lib_table 2 | (lib (name sd_locker-rescue)(type Legacy)(uri ${KIPRJMOD}/sd_locker-rescue.lib)(options "")(descr "")) 3 | (lib (name 74xx)(type Legacy)(uri ${KICAD_SYMBOL_DIR}/74xx.lib)(options "")(descr "")) 4 | ) 5 | -------------------------------------------------------------------------------- /hardware_smol/C_0805_100nF_HandSoldering.kicad_mod: -------------------------------------------------------------------------------- 1 | (module C_0805_100nF_HandSoldering (layer F.Cu) (tedit 5AAAF83D) 2 | (descr "Capacitor SMD 0805, hand soldering") 3 | (tags "capacitor 0805") 4 | (attr smd) 5 | (fp_text reference C13 (at 0 -1.75) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value 100nF (at 0 1.75) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user C (at 0 0) (layer F.SilkS) 12 | (effects (font (size 0.9 0.9) (thickness 0.15))) 13 | ) 14 | (fp_text user %R (at 0 -1.75) (layer F.Fab) 15 | (effects (font (size 1 1) (thickness 0.15))) 16 | ) 17 | (fp_line (start -1 0.62) (end -1 -0.62) (layer F.Fab) (width 0.1)) 18 | (fp_line (start 1 0.62) (end -1 0.62) (layer F.Fab) (width 0.1)) 19 | (fp_line (start 1 -0.62) (end 1 0.62) (layer F.Fab) (width 0.1)) 20 | (fp_line (start -1 -0.62) (end 1 -0.62) (layer F.Fab) (width 0.1)) 21 | (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.12)) 22 | (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.12)) 23 | (fp_line (start -2.25 -0.88) (end 2.25 -0.88) (layer F.CrtYd) (width 0.05)) 24 | (fp_line (start -2.25 -0.88) (end -2.25 0.87) (layer F.CrtYd) (width 0.05)) 25 | (fp_line (start 2.25 0.87) (end 2.25 -0.88) (layer F.CrtYd) (width 0.05)) 26 | (fp_line (start 2.25 0.87) (end -2.25 0.87) (layer F.CrtYd) (width 0.05)) 27 | (pad 1 smd rect (at -1.25 0) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd rect (at 1.25 0) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask)) 29 | (model Capacitors_SMD.3dshapes/C_0805.wrl 30 | (at (xyz 0 0 0)) 31 | (scale (xyz 1 1 1)) 32 | (rotate (xyz 0 0 0)) 33 | ) 34 | ) 35 | -------------------------------------------------------------------------------- /hardware_smol/IRLML6401-SOT-23_Handsoldering.kicad_mod: -------------------------------------------------------------------------------- 1 | (module IRLML6401-SOT-23_Handsoldering (layer F.Cu) (tedit 5A865854) 2 | (descr "SOT-23, Handsoldering") 3 | (tags SOT-23) 4 | (attr smd) 5 | (fp_text reference Q1 (at 0 -2.5) (layer F.SilkS) hide 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value IRLML6401 (at 0 2.5) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user F (at 0 0) (layer F.SilkS) 12 | (effects (font (size 1 1) (thickness 0.15))) 13 | ) 14 | (fp_line (start -0.2 -1.52) (end -0.7 -1.02) (layer F.Fab) (width 0.1)) 15 | (fp_line (start 0.76 1.58) (end 0.76 0.65) (layer F.SilkS) (width 0.12)) 16 | (fp_line (start 0.76 -1.58) (end 0.76 -0.65) (layer F.SilkS) (width 0.12)) 17 | (fp_line (start 0.7 -1.52) (end 0.7 1.52) (layer F.Fab) (width 0.1)) 18 | (fp_line (start -0.7 1.52) (end 0.7 1.52) (layer F.Fab) (width 0.1)) 19 | (fp_line (start -2.7 -1.75) (end 2.7 -1.75) (layer F.CrtYd) (width 0.05)) 20 | (fp_line (start 2.7 -1.75) (end 2.7 1.75) (layer F.CrtYd) (width 0.05)) 21 | (fp_line (start 2.7 1.75) (end -2.7 1.75) (layer F.CrtYd) (width 0.05)) 22 | (fp_line (start -2.7 1.75) (end -2.7 -1.75) (layer F.CrtYd) (width 0.05)) 23 | (fp_line (start 0.76 -1.58) (end -2.4 -1.58) (layer F.SilkS) (width 0.12)) 24 | (fp_line (start -0.2 -1.52) (end 0.7 -1.52) (layer F.Fab) (width 0.1)) 25 | (fp_line (start -0.7 -1.02) (end -0.7 1.52) (layer F.Fab) (width 0.1)) 26 | (fp_line (start 0.76 1.58) (end -0.7 1.58) (layer F.SilkS) (width 0.12)) 27 | (pad 1 smd rect (at -1.5 -0.95) (size 1.9 0.8) (layers F.Cu F.Paste F.Mask)) 28 | (pad 2 smd rect (at -1.5 0.95) (size 1.9 0.8) (layers F.Cu F.Paste F.Mask)) 29 | (pad 3 smd rect (at 1.5 0) (size 1.9 0.8) (layers F.Cu F.Paste F.Mask)) 30 | (model TO_SOT_Packages_SMD.3dshapes/SOT-23.wrl 31 | (at (xyz 0 0 0)) 32 | (scale (xyz 1 1 1)) 33 | (rotate (xyz 0 0 0)) 34 | ) 35 | ) 36 | -------------------------------------------------------------------------------- /hardware_smol/R_0805_10K_HandSoldering.kicad_mod: -------------------------------------------------------------------------------- 1 | (module R_0805_10K_HandSoldering (layer F.Cu) (tedit 5A301636) 2 | (descr "Resistor SMD 0805, hand soldering") 3 | (tags "resistor 0805") 4 | (attr smd) 5 | (fp_text reference R13 (at 0 -2.1) (layer F.SilkS) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value 10K (at 0 2.1) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user R (at 0 0) (layer F.SilkS) 12 | (effects (font (size 1 1) (thickness 0.15))) 13 | ) 14 | (fp_line (start -1 0.625) (end -1 -0.625) (layer F.Fab) (width 0.1)) 15 | (fp_line (start 1 0.625) (end -1 0.625) (layer F.Fab) (width 0.1)) 16 | (fp_line (start 1 -0.625) (end 1 0.625) (layer F.Fab) (width 0.1)) 17 | (fp_line (start -1 -0.625) (end 1 -0.625) (layer F.Fab) (width 0.1)) 18 | (fp_line (start -2.4 -1) (end 2.4 -1) (layer F.CrtYd) (width 0.05)) 19 | (fp_line (start -2.4 1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) 20 | (fp_line (start -2.4 -1) (end -2.4 1) (layer F.CrtYd) (width 0.05)) 21 | (fp_line (start 2.4 -1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) 22 | (fp_line (start 0.6 0.875) (end -0.6 0.875) (layer F.SilkS) (width 0.15)) 23 | (fp_line (start -0.6 -0.875) (end 0.6 -0.875) (layer F.SilkS) (width 0.15)) 24 | (pad 1 smd rect (at -1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask)) 25 | (pad 2 smd rect (at 1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask)) 26 | (model Resistors_SMD.3dshapes/R_0805.wrl 27 | (at (xyz 0 0 0)) 28 | (scale (xyz 1 1 1)) 29 | (rotate (xyz 0 0 0)) 30 | ) 31 | ) 32 | -------------------------------------------------------------------------------- /hardware_smol/SW_SPST_EVQPE1.kicad_mod: -------------------------------------------------------------------------------- 1 | (module SW_SPST_EVQPE1 (layer F.Cu) (tedit 58865D9C) 2 | (descr "Light Touch Switch") 3 | (attr smd) 4 | (fp_text reference REF** (at -0.9 -2.7) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value SW_SPST_EVQPE1 (at 0 3) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start -1.4 -0.7) (end 1.4 -0.7) (layer F.SilkS) (width 0.15)) 11 | (fp_line (start 1.4 -0.7) (end 1.4 0.7) (layer F.SilkS) (width 0.15)) 12 | (fp_line (start 1.4 0.7) (end -1.4 0.7) (layer F.SilkS) (width 0.15)) 13 | (fp_line (start -1.4 0.7) (end -1.4 -0.7) (layer F.SilkS) (width 0.15)) 14 | (fp_line (start -3.95 -2) (end 3.95 -2) (layer F.CrtYd) (width 0.05)) 15 | (fp_line (start 3.95 -2) (end 3.95 2) (layer F.CrtYd) (width 0.05)) 16 | (fp_line (start 3.95 2) (end -3.95 2) (layer F.CrtYd) (width 0.05)) 17 | (fp_line (start -3.95 2) (end -3.95 -2) (layer F.CrtYd) (width 0.05)) 18 | (fp_line (start 3 -1.75) (end 3 -1.1) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 3 1.75) (end 3 1.1) (layer F.SilkS) (width 0.15)) 20 | (fp_line (start -3 1.1) (end -3 1.75) (layer F.SilkS) (width 0.15)) 21 | (fp_line (start -3 -1.75) (end -3 -1.1) (layer F.SilkS) (width 0.15)) 22 | (fp_line (start 3 -1.75) (end -3 -1.75) (layer F.SilkS) (width 0.15)) 23 | (fp_line (start -3 1.75) (end 3 1.75) (layer F.SilkS) (width 0.15)) 24 | (pad 2 smd rect (at 3.81 0) (size 2 1.6) (layers F.Cu F.Paste F.Mask)) 25 | (pad 1 smd rect (at -3.81 0) (size 2 1.6) (layers F.Cu F.Paste F.Mask)) 26 | ) 27 | -------------------------------------------------------------------------------- /hardware_smol/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name sd_locker)(type KiCad)(uri "$(KIPRJMOD)")(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /hardware_smol/microSD-Receptacle-SelfEject.kicad_mod: -------------------------------------------------------------------------------- 1 | (module microSD-Receptacle-SelfEject (layer F.Cu) (tedit 55B42C39) 2 | (descr TFP09-2-12B) 3 | (tags "SD TF TransFlash Card") 4 | (fp_text reference REF** (at 0.05 -5) (layer F.SilkS) 5 | (effects (font (size 1 1) (thickness 0.15))) 6 | ) 7 | (fp_text value MicroSD (at 0.05 17.5) (layer F.Fab) 8 | (effects (font (size 1 1) (thickness 0.15))) 9 | ) 10 | (fp_line (start 9.2 15) (end 9.2 -1.3) (layer F.CrtYd) (width 0.05)) 11 | (fp_line (start 9.2 -1.3) (end -8.85 -1.3) (layer F.CrtYd) (width 0.05)) 12 | (fp_line (start -8.85 -1.3) (end -8.85 15) (layer F.CrtYd) (width 0.05)) 13 | (fp_line (start -8.85 15) (end 9.2 15) (layer F.CrtYd) (width 0.05)) 14 | (fp_line (start 7.35 0) (end -7.35 0) (layer Cmts.User) (width 0.05)) 15 | (fp_line (start -7.35 0) (end -7.35 14.5) (layer Cmts.User) (width 0.05)) 16 | (fp_line (start -7.35 14.5) (end 7.35 14.5) (layer Cmts.User) (width 0.05)) 17 | (fp_line (start 7.35 14.5) (end 7.35 0) (layer Cmts.User) (width 0.05)) 18 | (fp_line (start 2.25 10.5) (end -4 10.5) (layer F.SilkS) (width 0.15)) 19 | (fp_line (start 0 -3.85) (end 0 29.95) (layer F.SilkS) (width 0.15)) 20 | (pad 11 smd rect (at -7.75 10.5 180) (size 1.2 2.2) (layers F.Cu F.Paste F.Mask)) 21 | (pad 1 smd rect (at 2.25 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 22 | (pad 2 smd rect (at 1.15 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 23 | (pad 3 smd rect (at 0.05 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 24 | (pad 4 smd rect (at -1.05 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 25 | (pad 5 smd rect (at -2.15 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 26 | (pad 6 smd rect (at -3.25 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 27 | (pad 7 smd rect (at -4.35 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 28 | (pad 8 smd rect (at -5.45 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 29 | (pad 10 smd rect (at -6.55 0 180) (size 0.7 1.6) (layers F.Cu F.Paste F.Mask)) 30 | (pad 11 smd rect (at -7.75 0.5 180) (size 1.2 1.4) (layers F.Cu F.Paste F.Mask)) 31 | (pad 11 smd rect (at 6.85 0.5 180) (size 1.6 1.4) (layers F.Cu F.Paste F.Mask)) 32 | (pad 11 smd rect (at 8.1 10.85 180) (size 1.2 2.2) (layers F.Cu F.Paste F.Mask)) 33 | (pad "" np_thru_hole circle (at 3.05 10.5 180) (size 1 1) (drill 1) (layers *.Cu *.Mask F.SilkS)) 34 | (pad "" np_thru_hole circle (at -4.93 10.5 180) (size 1 1) (drill 1) (layers *.Cu *.Mask F.SilkS)) 35 | ) 36 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/connectors.pretty/Side_2x5_Connector_SMD.kicad_mod: -------------------------------------------------------------------------------- 1 | (module Side_2x5_Connector_SMD (layer F.Cu) (tedit 5FF5CDCB) 2 | (attr smd) 3 | (fp_text reference REF** (at -7.8 -48.5) (layer F.SilkS) 4 | (effects (font (size 1 1) (thickness 0.15))) 5 | ) 6 | (fp_text value Side_2x20_connector (at 12.22 25.075) (layer F.Fab) 7 | (effects (font (size 1 1) (thickness 0.15))) 8 | ) 9 | (fp_line (start -1.68 6.9) (end -1.68 -6.9) (layer F.CrtYd) (width 0.05)) 10 | (fp_line (start 1.68 6.9) (end 1.68 -6.9) (layer F.SilkS) (width 0.12)) 11 | (fp_line (start -0.825 4.81) (end -0.825 5.45) (layer F.Fab) (width 0.1)) 12 | (fp_line (start -0.825 2.27) (end -0.825 2.91) (layer F.Fab) (width 0.1)) 13 | (fp_line (start -0.825 -0.27) (end -0.825 0.37) (layer F.Fab) (width 0.1)) 14 | (fp_line (start -0.825 -2.81) (end -0.825 -2.17) (layer F.Fab) (width 0.1)) 15 | (fp_line (start -0.825 -5.35) (end -0.825 -4.71) (layer F.Fab) (width 0.1)) 16 | (pad 1 smd rect (at 0.075 5.13) (size 4 1.5) (layers F.Cu F.Paste F.Mask)) 17 | (pad 3 smd rect (at 0.075 2.59) (size 4 1.5) (layers F.Cu F.Paste F.Mask)) 18 | (pad 5 smd rect (at 0.075 0.05) (size 4 1.5) (layers F.Cu F.Paste F.Mask)) 19 | (pad 7 smd rect (at 0.075 -2.49) (size 4 1.5) (layers F.Cu F.Paste F.Mask)) 20 | (pad 9 smd rect (at 0.075 -5.03) (size 4 1.5) (layers F.Cu F.Paste F.Mask)) 21 | (pad 2 smd rect (at 0.075 5.13) (size 4 1.5) (layers B.Cu B.Paste B.Mask)) 22 | (pad 4 smd rect (at 0.075 2.59) (size 4 1.5) (layers B.Cu B.Paste B.Mask)) 23 | (pad 6 smd rect (at 0.075 0.05) (size 4 1.5) (layers B.Cu B.Paste B.Mask)) 24 | (pad 8 smd rect (at 0.075 -2.49) (size 4 1.5) (layers B.Cu B.Paste B.Mask)) 25 | (pad 10 smd rect (at 0.075 -5.03) (size 4 1.5) (layers B.Cu B.Paste B.Mask)) 26 | (model ${KISYS3DMOD}/Connector_Harwin.3dshapes/Harwin_M20-89020xx_1x20_P2.54mm_Horizontal.wrl 27 | (at (xyz 0 0 0)) 28 | (scale (xyz 1 1 1)) 29 | (rotate (xyz 0 0 0)) 30 | ) 31 | ) 32 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/connectors.pretty/sdcard_pad_narrow.kicad_mod: -------------------------------------------------------------------------------- 1 | (module sdcard_pad_narrow (layer F.Cu) (tedit 5FF5DB9B) 2 | (descr "SMD rectangular pad as test Point, square 1.0mm side length") 3 | (tags "test point SMD pad rectangle square") 4 | (attr virtual) 5 | (fp_text reference TP4 (at 0 -1.448) (layer F.SilkS) hide 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (fp_text value RST (at 0 1.55) (layer F.Fab) 9 | (effects (font (size 1 1) (thickness 0.15))) 10 | ) 11 | (fp_text user %R (at 0 -1.45) (layer F.Fab) 12 | (effects (font (size 1 1) (thickness 0.15))) 13 | ) 14 | (pad 1 smd rect (at 0 0) (size 1.2 5) (layers F.Cu F.Mask)) 15 | ) 16 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/connectors.pretty/strip_2x4_1.27.kicad_mod: -------------------------------------------------------------------------------- 1 | (module strip_2x4_1.27 (layer F.Cu) (tedit 561E02E5) 2 | (descr "Pin strip 8pin") 3 | (tags "CONN DEV") 4 | (fp_text reference STRIP_2x4_1.27 (at 4.16 2.57) (layer F.SilkS) 5 | (effects (font (size 1.016 1.016) (thickness 0.2032))) 6 | ) 7 | (fp_text value Val** (at 3.76 -4.87) (layer F.SilkS) hide 8 | (effects (font (size 1.016 0.889) (thickness 0.2032))) 9 | ) 10 | (fp_line (start -1.27 -3.87) (end 10.16 -3.87) (layer F.SilkS) (width 0.3048)) 11 | (fp_line (start 10.16 -3.87) (end 10.16 1.27) (layer F.SilkS) (width 0.3048)) 12 | (fp_line (start 10.16 1.27) (end -1.27 1.27) (layer F.SilkS) (width 0.3048)) 13 | (fp_line (start -1.27 1.27) (end -1.27 -3.87) (layer F.SilkS) (width 0.3048)) 14 | (pad 1 thru_hole rect (at 0 0) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 15 | (pad 2 thru_hole oval (at 1.27 -2.6) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 16 | (pad 3 thru_hole oval (at 2.54 0) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 17 | (pad 4 thru_hole oval (at 3.81 -2.6) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 18 | (pad 5 thru_hole oval (at 5.08 0) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 19 | (pad 6 thru_hole oval (at 6.35 -2.6) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 20 | (pad 7 thru_hole oval (at 7.62 0) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 21 | (pad 8 thru_hole oval (at 8.89 -2.6) (size 1.524 2.19964) (drill 1.00076) (layers *.Cu *.Mask F.SilkS)) 22 | (model walter/pin_strip/pin_strip_8.wrl 23 | (at (xyz 0 0 0)) 24 | (scale (xyz 1 1 1)) 25 | (rotate (xyz 0 0 0)) 26 | ) 27 | ) 28 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/connectors.pretty/usd.kicad_mod: -------------------------------------------------------------------------------- 1 | (module usd (layer F.Cu) (tedit 561CF09A) 2 | (fp_text reference REF** (at 3.79 2.35) (layer F.SilkS) 3 | (effects (font (size 1 1) (thickness 0.15))) 4 | ) 5 | (fp_text value usd (at 3.64 -2.55) (layer F.Fab) 6 | (effects (font (size 1 1) (thickness 0.15))) 7 | ) 8 | (pad 8 smd rect (at 7.7 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask)) 9 | (pad 7 smd rect (at 6.6 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask)) 10 | (pad 6 smd rect (at 5.5 -0.15) (size 0.8 3.2) (layers F.Cu F.Paste F.Mask)) 11 | (pad 5 smd rect (at 4.4 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask)) 12 | (pad 4 smd rect (at 3.3 -0.15) (size 0.8 3.2) (layers F.Cu F.Paste F.Mask)) 13 | (pad 3 smd rect (at 2.2 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask)) 14 | (pad 2 smd rect (at 1.1 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask)) 15 | (pad 1 smd rect (at 0 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask)) 16 | ) 17 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/fp-lib-table: -------------------------------------------------------------------------------- 1 | (fp_lib_table 2 | (lib (name connectors)(type KiCad)(uri ${KIPRJMOD}/connectors.pretty)(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/sym-lib-table: -------------------------------------------------------------------------------- 1 | (sym_lib_table 2 | (lib (name usd-plug)(type Legacy)(uri ${KIPRJMOD}/usd-plug.lib)(options "")(descr "")) 3 | ) 4 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-adapter-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # Connector_Generic_Conn_02x05_Odd_Even 5 | # 6 | DEF Connector_Generic_Conn_02x05_Odd_Even J 0 40 Y N 1 F N 7 | F0 "J" 50 300 50 H V C CNN 8 | F1 "Connector_Generic_Conn_02x05_Odd_Even" 50 -300 50 H V C CNN 9 | F2 "" 0 0 50 H I C CNN 10 | F3 "" 0 0 50 H I C CNN 11 | $FPLIST 12 | Connector*:*_2x??_* 13 | $ENDFPLIST 14 | DRAW 15 | S -50 -195 0 -205 1 1 6 N 16 | S -50 -95 0 -105 1 1 6 N 17 | S -50 5 0 -5 1 1 6 N 18 | S -50 105 0 95 1 1 6 N 19 | S -50 205 0 195 1 1 6 N 20 | S -50 250 150 -250 1 1 10 f 21 | S 150 -195 100 -205 1 1 6 N 22 | S 150 -95 100 -105 1 1 6 N 23 | S 150 5 100 -5 1 1 6 N 24 | S 150 105 100 95 1 1 6 N 25 | S 150 205 100 195 1 1 6 N 26 | X Pin_1 1 -200 200 150 R 50 50 1 1 P 27 | X Pin_10 10 300 -200 150 L 50 50 1 1 P 28 | X Pin_2 2 300 200 150 L 50 50 1 1 P 29 | X Pin_3 3 -200 100 150 R 50 50 1 1 P 30 | X Pin_4 4 300 100 150 L 50 50 1 1 P 31 | X Pin_5 5 -200 0 150 R 50 50 1 1 P 32 | X Pin_6 6 300 0 150 L 50 50 1 1 P 33 | X Pin_7 7 -200 -100 150 R 50 50 1 1 P 34 | X Pin_8 8 300 -100 150 L 50 50 1 1 P 35 | X Pin_9 9 -200 -200 150 R 50 50 1 1 P 36 | ENDDRAW 37 | ENDDEF 38 | # 39 | # Connector_TestPoint 40 | # 41 | DEF Connector_TestPoint TP 0 30 N N 1 F N 42 | F0 "TP" 0 270 50 H V C CNN 43 | F1 "Connector_TestPoint" 0 200 50 H V C CNN 44 | F2 "" 200 0 50 H I C CNN 45 | F3 "" 200 0 50 H I C CNN 46 | $FPLIST 47 | Pin* 48 | Test* 49 | $ENDFPLIST 50 | DRAW 51 | C 0 130 30 0 1 0 N 52 | X 1 1 0 0 100 U 50 50 1 1 P 53 | ENDDRAW 54 | ENDDEF 55 | # 56 | # usd-plug_usd-plug 57 | # 58 | DEF usd-plug_usd-plug J 0 40 N Y 1 F N 59 | F0 "J" 0 300 60 H V C CNN 60 | F1 "usd-plug_usd-plug" 150 -650 60 H V C CNN 61 | F2 "" 0 0 60 H V C CNN 62 | F3 "" 0 0 60 H V C CNN 63 | DRAW 64 | S 0 200 300 -600 0 1 0 f 65 | X 1 1 -200 150 200 R 50 50 1 1 I 66 | X 2 2 -200 50 200 R 50 50 1 1 I 67 | X 3 3 -200 -50 200 R 50 50 1 1 I 68 | X 4 4 -200 -150 200 R 50 50 1 1 I 69 | X 5 5 -200 -250 200 R 50 50 1 1 I 70 | X 6 6 -200 -350 200 R 50 50 1 1 I 71 | X 7 7 -200 -450 200 R 50 50 1 1 I 72 | X 8 8 -200 -550 200 R 50 50 1 1 I 73 | ENDDRAW 74 | ENDDEF 75 | # 76 | #End Library 77 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-adapter.kicad_pcb: -------------------------------------------------------------------------------- 1 | (kicad_pcb (version 20171130) (host pcbnew 5.1.5+dfsg1-2build2) 2 | 3 | (general 4 | (thickness 1.6) 5 | (drawings 38) 6 | (tracks 56) 7 | (zones 0) 8 | (modules 4) 9 | (nets 13) 10 | ) 11 | 12 | (page A4) 13 | (title_block 14 | (title "Micro SD card adapter") 15 | (date 2016-02-26) 16 | (rev 1) 17 | (company SRPOL) 18 | (comment 1 "Author: Adam Malinowski ") 19 | (comment 2 "Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved") 20 | ) 21 | 22 | (layers 23 | (0 F.Cu signal) 24 | (31 B.Cu signal) 25 | (32 B.Adhes user) 26 | (33 F.Adhes user) 27 | (34 B.Paste user) 28 | (35 F.Paste user) 29 | (36 B.SilkS user) 30 | (37 F.SilkS user) 31 | (38 B.Mask user) 32 | (39 F.Mask user) 33 | (40 Dwgs.User user) 34 | (41 Cmts.User user) 35 | (42 Eco1.User user) 36 | (43 Eco2.User user) 37 | (44 Edge.Cuts user) 38 | (45 Margin user) 39 | (46 B.CrtYd user) 40 | (47 F.CrtYd user) 41 | (48 B.Fab user) 42 | (49 F.Fab user) 43 | ) 44 | 45 | (setup 46 | (last_trace_width 0.25) 47 | (trace_clearance 0.2) 48 | (zone_clearance 0.508) 49 | (zone_45_only no) 50 | (trace_min 0.2) 51 | (via_size 0.6) 52 | (via_drill 0.4) 53 | (via_min_size 0.4) 54 | (via_min_drill 0.3) 55 | (uvia_size 0.3) 56 | (uvia_drill 0.1) 57 | (uvias_allowed no) 58 | (uvia_min_size 0.2) 59 | (uvia_min_drill 0.1) 60 | (edge_width 0.15) 61 | (segment_width 0.15) 62 | (pcb_text_width 0.3) 63 | (pcb_text_size 1.5 1.5) 64 | (mod_edge_width 0.15) 65 | (mod_text_size 1 1) 66 | (mod_text_width 0.15) 67 | (pad_size 0.8 2.9) 68 | (pad_drill 0) 69 | (pad_to_mask_clearance 0.2) 70 | (aux_axis_origin 157.627 115.013) 71 | (grid_origin 146.07 110.06) 72 | (visible_elements FFFFFF7F) 73 | (pcbplotparams 74 | (layerselection 0x010fc_ffffffff) 75 | (usegerberextensions true) 76 | (usegerberattributes false) 77 | (usegerberadvancedattributes false) 78 | (creategerberjobfile false) 79 | (excludeedgelayer true) 80 | (linewidth 0.100000) 81 | (plotframeref false) 82 | (viasonmask false) 83 | (mode 1) 84 | (useauxorigin true) 85 | (hpglpennumber 1) 86 | (hpglpenspeed 20) 87 | (hpglpendiameter 15.000000) 88 | (psnegative false) 89 | (psa4output false) 90 | (plotreference false) 91 | (plotvalue false) 92 | (plotinvisibletext false) 93 | (padsonsilk false) 94 | (subtractmaskfromsilk true) 95 | (outputformat 1) 96 | (mirror false) 97 | (drillshape 0) 98 | (scaleselection 1) 99 | (outputdirectory "gerbers/")) 100 | ) 101 | 102 | (net 0 "") 103 | (net 1 /D1) 104 | (net 2 /D0) 105 | (net 3 /VSS) 106 | (net 4 /CLK) 107 | (net 5 /VDD) 108 | (net 6 /CMD) 109 | (net 7 /D3) 110 | (net 8 /D2) 111 | (net 9 "Net-(J2-Pad4)") 112 | (net 10 "Net-(J2-Pad7)") 113 | (net 11 "Net-(J2-Pad5)") 114 | (net 12 "Net-(J2-Pad3)") 115 | 116 | (net_class Default "This is the default net class." 117 | (clearance 0.2) 118 | (trace_width 0.25) 119 | (via_dia 0.6) 120 | (via_drill 0.4) 121 | (uvia_dia 0.3) 122 | (uvia_drill 0.1) 123 | (add_net /CLK) 124 | (add_net /CMD) 125 | (add_net /D0) 126 | (add_net /D1) 127 | (add_net /D2) 128 | (add_net /D3) 129 | (add_net /VDD) 130 | (add_net /VSS) 131 | (add_net "Net-(J2-Pad3)") 132 | (add_net "Net-(J2-Pad4)") 133 | (add_net "Net-(J2-Pad5)") 134 | (add_net "Net-(J2-Pad7)") 135 | ) 136 | 137 | (module TestPoint:TestPoint_Pad_1.0x1.0mm (layer F.Cu) (tedit 5A0F774F) (tstamp 6169C61C) 138 | (at 144.7238 107.4946) 139 | (descr "SMD rectangular pad as test Point, square 1.0mm side length") 140 | (tags "test point SMD pad rectangle square") 141 | (path /6169A74D) 142 | (attr virtual) 143 | (fp_text reference TP2 (at 0 -1.448) (layer F.SilkS) hide 144 | (effects (font (size 1 1) (thickness 0.15))) 145 | ) 146 | (fp_text value D2 (at -0.0762 1.8542) (layer F.SilkS) 147 | (effects (font (size 1 1) (thickness 0.15))) 148 | ) 149 | (fp_line (start 1 1) (end -1 1) (layer F.CrtYd) (width 0.05)) 150 | (fp_line (start 1 1) (end 1 -1) (layer F.CrtYd) (width 0.05)) 151 | (fp_line (start -1 -1) (end -1 1) (layer F.CrtYd) (width 0.05)) 152 | (fp_line (start -1 -1) (end 1 -1) (layer F.CrtYd) (width 0.05)) 153 | (fp_line (start -0.7 0.7) (end -0.7 -0.7) (layer F.SilkS) (width 0.12)) 154 | (fp_line (start 0.7 0.7) (end -0.7 0.7) (layer F.SilkS) (width 0.12)) 155 | (fp_line (start 0.7 -0.7) (end 0.7 0.7) (layer F.SilkS) (width 0.12)) 156 | (fp_line (start -0.7 -0.7) (end 0.7 -0.7) (layer F.SilkS) (width 0.12)) 157 | (fp_text user %R (at 0 -1.45) (layer F.Fab) 158 | (effects (font (size 1 1) (thickness 0.15))) 159 | ) 160 | (pad 1 smd rect (at 0 0) (size 1 1) (layers F.Cu F.Mask) 161 | (net 8 /D2)) 162 | ) 163 | 164 | (module TestPoint:TestPoint_Pad_1.0x1.0mm (layer F.Cu) (tedit 5A0F774F) (tstamp 6169C616) 165 | (at 147.1368 107.52 90) 166 | (descr "SMD rectangular pad as test Point, square 1.0mm side length") 167 | (tags "test point SMD pad rectangle square") 168 | (path /61699AE4) 169 | (attr virtual) 170 | (fp_text reference TP1 (at 0 -1.448 90) (layer F.SilkS) hide 171 | (effects (font (size 1 1) (thickness 0.15))) 172 | ) 173 | (fp_text value CS/D3 (at 1.6002 0.0508 180) (layer F.SilkS) 174 | (effects (font (size 1 1) (thickness 0.15))) 175 | ) 176 | (fp_line (start 1 1) (end -1 1) (layer F.CrtYd) (width 0.05)) 177 | (fp_line (start 1 1) (end 1 -1) (layer F.CrtYd) (width 0.05)) 178 | (fp_line (start -1 -1) (end -1 1) (layer F.CrtYd) (width 0.05)) 179 | (fp_line (start -1 -1) (end 1 -1) (layer F.CrtYd) (width 0.05)) 180 | (fp_line (start -0.7 0.7) (end -0.7 -0.7) (layer F.SilkS) (width 0.12)) 181 | (fp_line (start 0.7 0.7) (end -0.7 0.7) (layer F.SilkS) (width 0.12)) 182 | (fp_line (start 0.7 -0.7) (end 0.7 0.7) (layer F.SilkS) (width 0.12)) 183 | (fp_line (start -0.7 -0.7) (end 0.7 -0.7) (layer F.SilkS) (width 0.12)) 184 | (fp_text user %R (at 0 -1.45 90) (layer F.Fab) 185 | (effects (font (size 1 1) (thickness 0.15))) 186 | ) 187 | (pad 1 smd rect (at 0 0 90) (size 1 1) (layers F.Cu F.Mask) 188 | (net 7 /D3)) 189 | ) 190 | 191 | (module connectors:Side_2x5_Connector_SMD (layer F.Cu) (tedit 5FF5CDCB) (tstamp 6169C610) 192 | (at 150.388 112.7778 270) 193 | (path /61697345) 194 | (attr smd) 195 | (fp_text reference J2 (at -7.8 -48.5 90) (layer F.SilkS) hide 196 | (effects (font (size 1 1) (thickness 0.15))) 197 | ) 198 | (fp_text value AVRISP (at 12.22 25.075 90) (layer F.Fab) 199 | (effects (font (size 1 1) (thickness 0.15))) 200 | ) 201 | (fp_line (start -0.825 -5.35) (end -0.825 -4.71) (layer F.Fab) (width 0.1)) 202 | (fp_line (start -0.825 -2.81) (end -0.825 -2.17) (layer F.Fab) (width 0.1)) 203 | (fp_line (start -0.825 -0.27) (end -0.825 0.37) (layer F.Fab) (width 0.1)) 204 | (fp_line (start -0.825 2.27) (end -0.825 2.91) (layer F.Fab) (width 0.1)) 205 | (fp_line (start -0.825 4.81) (end -0.825 5.45) (layer F.Fab) (width 0.1)) 206 | (fp_line (start 1.68 6.9) (end 1.68 -6.9) (layer F.SilkS) (width 0.12)) 207 | (fp_line (start -1.68 6.9) (end -1.68 -6.9) (layer F.CrtYd) (width 0.05)) 208 | (pad 10 smd rect (at 0.075 -5.03 270) (size 4 1.5) (layers B.Cu B.Paste B.Mask) 209 | (net 2 /D0)) 210 | (pad 8 smd rect (at 0.075 -2.49 270) (size 4 1.5) (layers B.Cu B.Paste B.Mask) 211 | (net 4 /CLK)) 212 | (pad 6 smd rect (at 0.075 0.05 270) (size 4 1.5) (layers B.Cu B.Paste B.Mask) 213 | (net 1 /D1)) 214 | (pad 4 smd rect (at 0.075 2.59 270) (size 4 1.5) (layers B.Cu B.Paste B.Mask) 215 | (net 9 "Net-(J2-Pad4)")) 216 | (pad 2 smd rect (at 0.075 5.13 270) (size 4 1.5) (layers B.Cu B.Paste B.Mask) 217 | (net 6 /CMD)) 218 | (pad 9 smd rect (at 0.075 -5.03 270) (size 4 1.5) (layers F.Cu F.Paste F.Mask) 219 | (net 3 /VSS)) 220 | (pad 7 smd rect (at 0.075 -2.49 270) (size 4 1.5) (layers F.Cu F.Paste F.Mask) 221 | (net 10 "Net-(J2-Pad7)")) 222 | (pad 5 smd rect (at 0.075 0.05 270) (size 4 1.5) (layers F.Cu F.Paste F.Mask) 223 | (net 11 "Net-(J2-Pad5)")) 224 | (pad 3 smd rect (at 0.075 2.59 270) (size 4 1.5) (layers F.Cu F.Paste F.Mask) 225 | (net 12 "Net-(J2-Pad3)")) 226 | (pad 1 smd rect (at 0.075 5.13 270) (size 4 1.5) (layers F.Cu F.Paste F.Mask) 227 | (net 5 /VDD)) 228 | (model ${KISYS3DMOD}/Connector_Harwin.3dshapes/Harwin_M20-89020xx_1x20_P2.54mm_Horizontal.wrl 229 | (at (xyz 0 0 0)) 230 | (scale (xyz 1 1 1)) 231 | (rotate (xyz 0 0 0)) 232 | ) 233 | ) 234 | 235 | (module connectors:usd (layer F.Cu) (tedit 561E0908) (tstamp 5A844DA4) 236 | (at 147.3 87.58) 237 | (path /561E06AA) 238 | (fp_text reference J1 (at 3.79 2.35) (layer F.SilkS) hide 239 | (effects (font (size 1 1) (thickness 0.15))) 240 | ) 241 | (fp_text value usd-plug (at 3.64 -2.55) (layer F.Fab) hide 242 | (effects (font (size 1 1) (thickness 0.15))) 243 | ) 244 | (pad 8 smd rect (at 7.7 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask) 245 | (net 1 /D1)) 246 | (pad 7 smd rect (at 6.6 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask) 247 | (net 2 /D0)) 248 | (pad 6 smd rect (at 5.5 -0.15) (size 0.8 3.2) (layers F.Cu F.Paste F.Mask) 249 | (net 3 /VSS)) 250 | (pad 5 smd rect (at 4.4 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask) 251 | (net 4 /CLK)) 252 | (pad 4 smd rect (at 3.3 -0.15) (size 0.8 3.2) (layers F.Cu F.Paste F.Mask) 253 | (net 5 /VDD)) 254 | (pad 3 smd rect (at 2.2 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask) 255 | (net 6 /CMD)) 256 | (pad 2 smd rect (at 1.1 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask) 257 | (net 7 /D3)) 258 | (pad 1 smd rect (at 0 0) (size 0.8 2.9) (layers F.Cu F.Paste F.Mask) 259 | (net 8 /D2)) 260 | ) 261 | 262 | (gr_text "uSDlocker\nprogramming\nadapter v1" (at 150.6166 97.5632) (layer B.SilkS) (tstamp 6169C71C) 263 | (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) 264 | ) 265 | (gr_line (start 145.82 105.05) (end 155.215 105.05) (angle 90) (layer F.SilkS) (width 0.15) (tstamp 5A844D85)) 266 | (gr_text "uSDlocker\nprogramming\nadapter v1" (at 150.642 97.5632) (layer F.SilkS) 267 | (effects (font (size 1 1) (thickness 0.15))) 268 | ) 269 | (gr_line (start 156.4 84.95) (end 157.3 84.6) (layer Cmts.User) (width 0.15) (tstamp 5A844E3F)) 270 | (gr_line (start 156.4 84.95) (end 156.75 84.05) (layer Cmts.User) (width 0.15) (tstamp 5A844E3C)) 271 | (gr_text "2. Contacts finished with gold" (at 179.53 78.39) (layer Cmts.User) 272 | (effects (font (size 1.5 1.5) (thickness 0.1))) 273 | ) 274 | (gr_line (start 161.63 79.59) (end 197.73 79.59) (layer Cmts.User) (width 0.15)) 275 | (gr_line (start 156.38 84.94) (end 161.63 79.59) (layer Cmts.User) (width 0.15)) 276 | (gr_line (start 156.75 84.55) (end 145.75 84.55) (layer Cmts.User) (width 0.15) (tstamp 5A844D79)) 277 | (gr_line (start 156.75 89.55) (end 156.75 84.55) (layer Cmts.User) (width 0.15) (tstamp 5A844D76)) 278 | (gr_line (start 145.75 89.55) (end 156.75 89.55) (layer Cmts.User) (width 0.15) (tstamp 5A844D73)) 279 | (gr_line (start 145.75 84.55) (end 145.75 89.55) (layer Cmts.User) (width 0.15) (tstamp 5A844D70)) 280 | (gr_text "1. Board thickness: 0.8mm" (at 177.601428 75.91) (layer Cmts.User) 281 | (effects (font (size 1.5 1.5) (thickness 0.1))) 282 | ) 283 | (dimension 30.000013 (width 0.3) (layer Dwgs.User) (tstamp 5A844D92) 284 | (gr_text "30.000 mm" (at 139.010001 100.015364 270.0381972) (layer Dwgs.User) (tstamp 5A844D92) 285 | (effects (font (size 1.5 1.5) (thickness 0.3))) 286 | ) 287 | (feature1 (pts (xy 147.07 115.01) (xy 137.670002 115.016267))) 288 | (feature2 (pts (xy 147.05 85.009994) (xy 137.650002 85.016261))) 289 | (crossbar (pts (xy 140.350001 85.014461) (xy 140.370001 115.014467))) 290 | (arrow1a (pts (xy 140.370001 115.014467) (xy 139.782829 113.888354))) 291 | (arrow1b (pts (xy 140.370001 115.014467) (xy 140.955671 113.887573))) 292 | (arrow2a (pts (xy 140.350001 85.014461) (xy 139.764331 86.141355))) 293 | (arrow2b (pts (xy 140.350001 85.014461) (xy 140.937173 86.140574))) 294 | ) 295 | (dimension 14.2 (width 0.3) (layer Dwgs.User) (tstamp 5A844D8C) 296 | (gr_text "14.200 mm" (at 150.52 119.01) (layer Dwgs.User) (tstamp 5A844D8C) 297 | (effects (font (size 1.5 1.5) (thickness 0.3))) 298 | ) 299 | (feature1 (pts (xy 157.62 114.16) (xy 157.62 120.36))) 300 | (feature2 (pts (xy 143.42 114.16) (xy 143.42 120.36))) 301 | (crossbar (pts (xy 143.42 117.66) (xy 157.62 117.66))) 302 | (arrow1a (pts (xy 157.62 117.66) (xy 156.493496 118.246421))) 303 | (arrow1b (pts (xy 157.62 117.66) (xy 156.493496 117.073579))) 304 | (arrow2a (pts (xy 143.42 117.66) (xy 144.546504 118.246421))) 305 | (arrow2b (pts (xy 143.42 117.66) (xy 144.546504 117.073579))) 306 | ) 307 | (gr_arc (start 145.815 104.25) (end 145.815 105.05) (angle 90) (layer F.SilkS) (width 0.15) (tstamp 5A844D82)) 308 | (gr_arc (start 155.215 104.25) (end 156.015 104.25) (angle 90) (layer F.SilkS) (width 0.15) (tstamp 5A844E00)) 309 | (gr_arc (start 156.82 114.21) (end 157.62 114.21) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844DFD)) 310 | (gr_line (start 157.62 105.805) (end 157.62 114.21) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844DFA)) 311 | (gr_arc (start 144.22 114.21) (end 144.22 115.01) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844DF7)) 312 | (gr_line (start 143.42 105.805) (end 143.42 114.21) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844DF4)) 313 | (gr_arc (start 156.82 105.81) (end 156.82 105.01) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E57)) 314 | (gr_arc (start 144.22 105.805) (end 143.42 105.805) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E54)) 315 | (gr_arc (start 145.52 93.11) (end 145.72 93.11) (angle -90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E51)) 316 | (gr_line (start 146.27 90.16) (end 146.27 85.81) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E4E)) 317 | (gr_line (start 145.72 94.11) (end 145.02 94.844519) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E4B)) 318 | (gr_line (start 145.72 93.11) (end 145.72 94.11) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E66)) 319 | (gr_line (start 145.02 92.91) (end 145.52 92.91) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E63)) 320 | (gr_line (start 145.02 91.41) (end 145.02 92.91) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E60)) 321 | (gr_line (start 146.27 90.16) (end 145.02 91.41) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E5D)) 322 | (gr_arc (start 156.82 104.21) (end 156.82 105.01) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E5A)) 323 | (gr_arc (start 144.22 104.205) (end 145.02 104.205) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E2A)) 324 | (gr_arc (start 147.07 85.81) (end 147.07 85.01) (angle -90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E27)) 325 | (gr_arc (start 155.22 85.81) (end 156.02 85.81) (angle -90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844E24)) 326 | (gr_line (start 156.02 104.21) (end 156.02 85.81) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A8512EB)) 327 | (gr_line (start 144.215 115.01) (end 156.82 115.01) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A8511B7)) 328 | (gr_line (start 145.02 94.844519) (end 145.02 104.21) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844DC4)) 329 | (gr_line (start 155.22 85.01) (end 147.07 85.01) (angle 90) (layer Edge.Cuts) (width 0.15) (tstamp 5A844DC1)) 330 | 331 | (segment (start 155 87.58) (end 155 105.575) (width 0.25) (layer F.Cu) (net 1)) 332 | (via (at 154.833 106.123) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 1)) 333 | (segment (start 155 105.956) (end 154.833 106.123) (width 0.25) (layer F.Cu) (net 1)) 334 | (segment (start 155 105.575) (end 155 105.956) (width 0.25) (layer F.Cu) (net 1)) 335 | (segment (start 154.533001 105.823001) (end 150.611799 105.823001) (width 0.25) (layer B.Cu) (net 1)) 336 | (segment (start 154.833 106.123) (end 154.533001 105.823001) (width 0.25) (layer B.Cu) (net 1)) 337 | (segment (start 150.338 106.0968) (end 150.338 112.8528) (width 0.25) (layer B.Cu) (net 1)) 338 | (segment (start 150.611799 105.823001) (end 150.338 106.0968) (width 0.25) (layer B.Cu) (net 1)) 339 | (segment (start 153.69 104.961114) (end 153.69 94.77) (width 0.25) (layer F.Cu) (net 2)) 340 | (segment (start 153.69 94.77) (end 153.9 94.56) (width 0.25) (layer F.Cu) (net 2)) 341 | (segment (start 153.9 94.56) (end 153.9 87.58) (width 0.25) (layer F.Cu) (net 2)) 342 | (via (at 155.3156 107.9772) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 2)) 343 | (segment (start 153.69 106.3516) (end 155.3156 107.9772) (width 0.25) (layer F.Cu) (net 2)) 344 | (segment (start 153.69 104.961114) (end 153.69 106.3516) (width 0.25) (layer F.Cu) (net 2)) 345 | (segment (start 155.3156 112.7504) (end 155.418 112.8528) (width 0.25) (layer B.Cu) (net 2)) 346 | (segment (start 155.3156 107.9772) (end 155.3156 112.7504) (width 0.25) (layer B.Cu) (net 2)) 347 | (segment (start 155.418 109.7052) (end 155.418 112.8528) (width 0.25) (layer F.Cu) (net 3)) 348 | (segment (start 152.42 106.7072) (end 155.418 109.7052) (width 0.25) (layer F.Cu) (net 3)) 349 | (segment (start 152.42 94.95) (end 152.42 106.7072) (width 0.25) (layer F.Cu) (net 3)) 350 | (segment (start 152.8 94.57) (end 152.42 94.95) (width 0.25) (layer F.Cu) (net 3)) 351 | (segment (start 152.8 87.43) (end 152.8 94.57) (width 0.25) (layer F.Cu) (net 3)) 352 | (via (at 151.1246 106.631) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 4)) 353 | (segment (start 152.878 108.3844) (end 151.1246 106.631) (width 0.25) (layer B.Cu) (net 4)) 354 | (segment (start 152.878 112.8528) (end 152.878 108.3844) (width 0.25) (layer B.Cu) (net 4)) 355 | (segment (start 151.7 94.56) (end 151.7 87.58) (width 0.25) (layer F.Cu) (net 4)) 356 | (segment (start 151.15 95.11) (end 151.7 94.56) (width 0.25) (layer F.Cu) (net 4)) 357 | (segment (start 151.15 106.181336) (end 151.15 95.11) (width 0.25) (layer F.Cu) (net 4)) 358 | (segment (start 151.1246 106.206736) (end 151.15 106.181336) (width 0.25) (layer F.Cu) (net 4)) 359 | (segment (start 151.1246 106.631) (end 151.1246 106.206736) (width 0.25) (layer F.Cu) (net 4)) 360 | (segment (start 145.258 109.9576) (end 145.258 112.8528) (width 0.25) (layer F.Cu) (net 5)) 361 | (segment (start 148.6862 109.0694) (end 146.1462 109.0694) (width 0.25) (layer F.Cu) (net 5)) 362 | (segment (start 146.1462 109.0694) (end 145.258 109.9576) (width 0.25) (layer F.Cu) (net 5)) 363 | (segment (start 149.88 107.8756) (end 148.6862 109.0694) (width 0.25) (layer F.Cu) (net 5)) 364 | (segment (start 149.88 95.28) (end 149.88 107.8756) (width 0.25) (layer F.Cu) (net 5)) 365 | (segment (start 150.6 94.56) (end 149.88 95.28) (width 0.25) (layer F.Cu) (net 5)) 366 | (segment (start 150.6 87.43) (end 150.6 94.56) (width 0.25) (layer F.Cu) (net 5)) 367 | (segment (start 148.61 95.46) (end 149.5 94.57) (width 0.25) (layer F.Cu) (net 6)) 368 | (segment (start 149.5 94.57) (end 149.5 87.58) (width 0.25) (layer F.Cu) (net 6)) 369 | (segment (start 145.258 110.6028) (end 146.2326 109.6282) (width 0.25) (layer B.Cu) (net 6)) 370 | (segment (start 145.258 112.8528) (end 145.258 110.6028) (width 0.25) (layer B.Cu) (net 6)) 371 | (via (at 148.4068 108.4444) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 6)) 372 | (segment (start 147.223 109.6282) (end 148.4068 108.4444) (width 0.25) (layer B.Cu) (net 6)) 373 | (segment (start 146.2326 109.6282) (end 147.223 109.6282) (width 0.25) (layer B.Cu) (net 6)) 374 | (segment (start 148.5846 104.8784) (end 148.61 95.46) (width 0.25) (layer F.Cu) (net 6)) 375 | (segment (start 148.5846 108.2666) (end 148.5846 104.8784) (width 0.25) (layer F.Cu) (net 6)) 376 | (segment (start 148.4068 108.4444) (end 148.5846 108.2666) (width 0.25) (layer F.Cu) (net 6)) 377 | (segment (start 147.34 104.98) (end 147.1368 105.1832) (width 0.25) (layer F.Cu) (net 7)) 378 | (segment (start 147.34 95.62) (end 147.34 104.98) (width 0.25) (layer F.Cu) (net 7)) 379 | (segment (start 147.1368 105.1832) (end 147.1368 107.52) (width 0.25) (layer F.Cu) (net 7)) 380 | (segment (start 148.4 94.56) (end 147.34 95.62) (width 0.25) (layer F.Cu) (net 7)) 381 | (segment (start 148.4 87.58) (end 148.4 94.56) (width 0.25) (layer F.Cu) (net 7)) 382 | (segment (start 144.7492 107.4946) (end 144.7238 107.4946) (width 0.25) (layer F.Cu) (net 8)) 383 | (segment (start 146.07 106.1738) (end 144.7492 107.4946) (width 0.25) (layer F.Cu) (net 8)) 384 | (segment (start 146.07 95.79) (end 146.07 106.1738) (width 0.25) (layer F.Cu) (net 8)) 385 | (segment (start 147.3 94.56) (end 146.07 95.79) (width 0.25) (layer F.Cu) (net 8)) 386 | (segment (start 147.3 87.58) (end 147.3 94.56) (width 0.25) (layer F.Cu) (net 8)) 387 | 388 | ) 389 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-adapter.pro: -------------------------------------------------------------------------------- 1 | update=piektdiena, 2021. gada 15. oktobris, 13:25:32 2 | version=1 3 | last_client=kicad 4 | [pcbnew] 5 | version=1 6 | LastNetListRead= 7 | UseCmpFile=1 8 | PadDrill=0.600000000000 9 | PadDrillOvalY=0.600000000000 10 | PadSizeH=1.500000000000 11 | PadSizeV=1.500000000000 12 | PcbTextSizeV=1.500000000000 13 | PcbTextSizeH=1.500000000000 14 | PcbTextThickness=0.300000000000 15 | ModuleTextSizeV=1.000000000000 16 | ModuleTextSizeH=1.000000000000 17 | ModuleTextSizeThickness=0.150000000000 18 | SolderMaskClearance=0.000000000000 19 | SolderMaskMinWidth=0.000000000000 20 | DrawSegmentWidth=0.200000000000 21 | BoardOutlineThickness=0.100000000000 22 | ModuleOutlineThickness=0.150000000000 23 | [cvpcb] 24 | version=1 25 | NetIExt=net 26 | [general] 27 | version=1 28 | [eeschema] 29 | version=1 30 | LibDir= 31 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-adapter.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 4 2 | EELAYER 30 0 3 | EELAYER END 4 | $Descr A4 11693 8268 5 | encoding utf-8 6 | Sheet 1 1 7 | Title "Micro SD card adapter" 8 | Date "2016-02-26" 9 | Rev "1" 10 | Comp "SRPOL" 11 | Comment1 "Author: Adam Malinowski " 12 | Comment2 "Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved" 13 | Comment3 "" 14 | Comment4 "" 15 | $EndDescr 16 | $Comp 17 | L usd-plug:usd-plug J1 18 | U 1 1 561E06AA 19 | P 5650 3000 20 | F 0 "J1" H 5850 3250 60 0000 C CNN 21 | F 1 "usd-plug" H 5800 2350 60 0000 C CNN 22 | F 2 "connectors:usd" H 5650 3000 60 0001 C CNN 23 | F 3 "" H 5650 3000 60 0000 C CNN 24 | 1 5650 3000 25 | -1 0 0 -1 26 | $EndComp 27 | Text Label 5850 2850 0 50 ~ 0 28 | D2 29 | Text Label 5850 2950 0 50 ~ 0 30 | D3 31 | Text Label 5850 3050 0 50 ~ 0 32 | CMD 33 | Text Label 5850 3150 0 50 ~ 0 34 | VDD 35 | Text Label 5850 3250 0 50 ~ 0 36 | CLK 37 | Text Label 5850 3350 0 50 ~ 0 38 | VSS 39 | Text Label 5850 3450 0 50 ~ 0 40 | D0 41 | Text Label 5850 3550 0 50 ~ 0 42 | D1 43 | Text Label 6550 3000 0 50 ~ 0 44 | VDD 45 | Text Label 6550 3400 0 50 ~ 0 46 | VSS 47 | Wire Wire Line 48 | 6550 3400 6700 3400 49 | Wire Wire Line 50 | 6700 3000 6550 3000 51 | $Comp 52 | L Connector_Generic:Conn_02x05_Odd_Even J2 53 | U 1 1 61697345 54 | P 6900 3200 55 | F 0 "J2" H 6950 3617 50 0000 C CNN 56 | F 1 "AVRISP" H 6950 3526 50 0000 C CNN 57 | F 2 "connectors:Side_2x5_Connector_SMD" H 6900 3200 50 0001 C CNN 58 | F 3 "~" H 6900 3200 50 0001 C CNN 59 | 1 6900 3200 60 | 1 0 0 -1 61 | $EndComp 62 | NoConn ~ 6700 3300 63 | NoConn ~ 6700 3200 64 | NoConn ~ 6700 3100 65 | Text Label 7200 3300 0 50 ~ 0 66 | CLK 67 | $Comp 68 | L Connector:TestPoint TP1 69 | U 1 1 61699AE4 70 | P 6750 3750 71 | F 0 "TP1" V 6555 3822 50 0000 C CNN 72 | F 1 "CS/D3" V 6646 3822 50 0000 C CNN 73 | F 2 "TestPoint:TestPoint_Pad_1.0x1.0mm" H 6950 3750 50 0001 C CNN 74 | F 3 "~" H 6950 3750 50 0001 C CNN 75 | 1 6750 3750 76 | 0 -1 1 0 77 | $EndComp 78 | Text Label 6750 3750 0 50 ~ 0 79 | D3 80 | $Comp 81 | L Connector:TestPoint TP2 82 | U 1 1 6169A74D 83 | P 7150 3750 84 | F 0 "TP2" V 6955 3822 50 0000 C CNN 85 | F 1 "D2" V 7046 3822 50 0000 C CNN 86 | F 2 "TestPoint:TestPoint_Pad_1.0x1.0mm" H 7350 3750 50 0001 C CNN 87 | F 3 "~" H 7350 3750 50 0001 C CNN 88 | 1 7150 3750 89 | 0 -1 1 0 90 | $EndComp 91 | Text Label 7150 3750 0 50 ~ 0 92 | D2 93 | Text Label 7200 3200 0 50 ~ 0 94 | D1 95 | Text Label 7200 3400 0 50 ~ 0 96 | D0 97 | Text Label 7200 3000 0 50 ~ 0 98 | CMD 99 | $EndSCHEMATC 100 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-adapter.sch-bak: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 4 2 | EELAYER 30 0 3 | EELAYER END 4 | $Descr A4 11693 8268 5 | encoding utf-8 6 | Sheet 1 1 7 | Title "Micro SD card adapter" 8 | Date "2016-02-26" 9 | Rev "1" 10 | Comp "SRPOL" 11 | Comment1 "Author: Adam Malinowski " 12 | Comment2 "Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved" 13 | Comment3 "" 14 | Comment4 "" 15 | $EndDescr 16 | $Comp 17 | L usd-plug:usd-plug J1 18 | U 1 1 561E06AA 19 | P 5650 3000 20 | F 0 "J1" H 5850 3250 60 0000 C CNN 21 | F 1 "usd-plug" H 5800 2350 60 0000 C CNN 22 | F 2 "connectors:usd" H 5650 3000 60 0001 C CNN 23 | F 3 "" H 5650 3000 60 0000 C CNN 24 | 1 5650 3000 25 | -1 0 0 -1 26 | $EndComp 27 | Text Label 5850 2850 0 50 ~ 0 28 | D2 29 | Text Label 5850 2950 0 50 ~ 0 30 | D3 31 | Text Label 5850 3050 0 50 ~ 0 32 | CMD 33 | Text Label 5850 3150 0 50 ~ 0 34 | VDD 35 | Text Label 5850 3250 0 50 ~ 0 36 | CLK 37 | Text Label 5850 3350 0 50 ~ 0 38 | VSS 39 | Text Label 5850 3450 0 50 ~ 0 40 | D0 41 | Text Label 5850 3550 0 50 ~ 0 42 | D1 43 | Text Label 6550 3000 0 50 ~ 0 44 | VDD 45 | Text Label 6550 3400 0 50 ~ 0 46 | VSS 47 | Wire Wire Line 48 | 6550 3400 6700 3400 49 | Wire Wire Line 50 | 6700 3000 6550 3000 51 | $Comp 52 | L Connector_Generic:Conn_02x05_Odd_Even J2 53 | U 1 1 61697345 54 | P 6900 3200 55 | F 0 "J2" H 6950 3617 50 0000 C CNN 56 | F 1 "AVRISP" H 6950 3526 50 0000 C CNN 57 | F 2 "" H 6900 3200 50 0001 C CNN 58 | F 3 "~" H 6900 3200 50 0001 C CNN 59 | 1 6900 3200 60 | 1 0 0 -1 61 | $EndComp 62 | NoConn ~ 6700 3300 63 | NoConn ~ 6700 3200 64 | NoConn ~ 6700 3100 65 | Text Label 7200 3300 0 50 ~ 0 66 | CLK 67 | $Comp 68 | L Connector:TestPoint TP1 69 | U 1 1 61699AE4 70 | P 6750 3750 71 | F 0 "TP1" V 6555 3822 50 0000 C CNN 72 | F 1 "CS/D2" V 6646 3822 50 0000 C CNN 73 | F 2 "" H 6950 3750 50 0001 C CNN 74 | F 3 "~" H 6950 3750 50 0001 C CNN 75 | 1 6750 3750 76 | 0 -1 1 0 77 | $EndComp 78 | Text Label 6750 3750 0 50 ~ 0 79 | D3 80 | $Comp 81 | L Connector:TestPoint TP2 82 | U 1 1 6169A74D 83 | P 7150 3750 84 | F 0 "TP2" V 6955 3822 50 0000 C CNN 85 | F 1 "D2" V 7046 3822 50 0000 C CNN 86 | F 2 "" H 7350 3750 50 0001 C CNN 87 | F 3 "~" H 7350 3750 50 0001 C CNN 88 | 1 7150 3750 89 | 0 -1 1 0 90 | $EndComp 91 | Text Label 7150 3750 0 50 ~ 0 92 | D2 93 | Text Label 7200 3200 0 50 ~ 0 94 | D1 95 | Text Label 7200 3400 0 50 ~ 0 96 | D0 97 | Text Label 7200 3000 0 50 ~ 0 98 | CMD 99 | $EndSCHEMATC 100 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-plug.dcm: -------------------------------------------------------------------------------- 1 | EESchema-DOCLIB Version 2.0 2 | # 3 | #End Doc Library 4 | -------------------------------------------------------------------------------- /hardware_smol/programming_adapter/usd-plug.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 2 | #encoding utf-8 3 | # 4 | # usd-plug 5 | # 6 | DEF usd-plug J 0 40 N Y 1 F N 7 | F0 "J" 0 300 60 H V C CNN 8 | F1 "usd-plug" 150 -650 60 H V C CNN 9 | F2 "" 0 0 60 H V C CNN 10 | F3 "" 0 0 60 H V C CNN 11 | DRAW 12 | S 0 200 300 -600 0 1 0 f 13 | X 1 1 -200 150 200 R 50 50 1 1 I 14 | X 2 2 -200 50 200 R 50 50 1 1 I 15 | X 3 3 -200 -50 200 R 50 50 1 1 I 16 | X 4 4 -200 -150 200 R 50 50 1 1 I 17 | X 5 5 -200 -250 200 R 50 50 1 1 I 18 | X 6 6 -200 -350 200 R 50 50 1 1 I 19 | X 7 7 -200 -450 200 R 50 50 1 1 I 20 | X 8 8 -200 -550 200 R 50 50 1 1 I 21 | ENDDRAW 22 | ENDDEF 23 | # 24 | #End Library 25 | -------------------------------------------------------------------------------- /hardware_smol/sd_locker-cache.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # Connector_Micro_SD_Card_Det 5 | # 6 | DEF Connector_Micro_SD_Card_Det J 0 40 Y Y 1 F N 7 | F0 "J" -650 700 50 H V C CNN 8 | F1 "Connector_Micro_SD_Card_Det" 650 700 50 H V R CNN 9 | F2 "" 2050 700 50 H I C CNN 10 | F3 "" 0 100 50 H I C CNN 11 | ALIAS Micro_SD_Card_Det_Hirose_DM3AT 12 | $FPLIST 13 | microSD* 14 | $ENDFPLIST 15 | DRAW 16 | S -300 -275 -200 -325 0 1 0 F 17 | S -300 -175 -200 -225 0 1 0 F 18 | S -300 -75 -200 -125 0 1 0 F 19 | S -300 25 -200 -25 0 1 0 F 20 | S -300 125 -200 75 0 1 0 F 21 | S -300 225 -200 175 0 1 0 F 22 | S -300 325 -200 275 0 1 0 F 23 | S -300 425 -200 375 0 1 0 F 24 | P 6 0 1 10 650 600 650 650 -750 650 -750 -650 650 -650 650 -350 N 25 | P 11 0 1 10 -350 -350 -350 450 -50 450 100 600 150 600 150 550 250 550 300 600 800 600 800 -350 -350 -350 f 26 | X DAT2 1 -900 400 150 R 50 50 1 1 B 27 | X DET_A 10 -900 -400 150 R 50 50 1 1 P 28 | X SHIELD 11 800 -500 150 L 50 50 1 1 P 29 | X DAT3/CD 2 -900 300 150 R 50 50 1 1 B 30 | X CMD 3 -900 200 150 R 50 50 1 1 I 31 | X VDD 4 -900 100 150 R 50 50 1 1 W 32 | X CLK 5 -900 0 150 R 50 50 1 1 I 33 | X VSS 6 -900 -100 150 R 50 50 1 1 W 34 | X DAT0 7 -900 -200 150 R 50 50 1 1 B 35 | X DAT1 8 -900 -300 150 R 50 50 1 1 B 36 | X DET_B 9 -900 -500 150 R 50 50 1 1 P 37 | ENDDRAW 38 | ENDDEF 39 | # 40 | # Connector_USB_A 41 | # 42 | DEF Connector_USB_A J 0 40 Y Y 1 F N 43 | F0 "J" -200 450 50 H V L CNN 44 | F1 "Connector_USB_A" -200 350 50 H V L CNN 45 | F2 "" 150 -50 50 H I C CNN 46 | F3 "" 150 -50 50 H I C CNN 47 | $FPLIST 48 | USB* 49 | $ENDFPLIST 50 | DRAW 51 | C -150 85 25 0 1 10 F 52 | C -25 135 15 0 1 10 F 53 | S -200 -300 200 300 0 1 10 f 54 | S -60 190 -170 210 0 1 0 F 55 | S -50 180 -180 230 0 1 0 N 56 | S -5 -300 5 -270 0 1 0 N 57 | S 10 50 -20 20 0 1 10 F 58 | S 200 -105 170 -95 0 1 0 N 59 | S 200 -5 170 5 0 1 0 N 60 | S 200 195 170 205 0 1 0 N 61 | P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N 62 | P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N 63 | P 4 0 1 10 25 110 25 60 75 85 25 110 F 64 | P 2 1 1 10 -75 85 25 85 N 65 | X VBUS 1 300 200 100 L 50 50 1 1 W 66 | X D- 2 300 -100 100 L 50 50 1 1 B 67 | X D+ 3 300 0 100 L 50 50 1 1 B 68 | X GND 4 0 -400 100 U 50 50 1 1 W 69 | X Shield 5 -100 -400 100 U 50 50 1 1 P 70 | ENDDRAW 71 | ENDDEF 72 | # 73 | # Device_R_Pack04 74 | # 75 | DEF Device_R_Pack04 RN 0 0 Y N 1 F N 76 | F0 "RN" -300 0 50 V V C CNN 77 | F1 "Device_R_Pack04" 200 0 50 V V C CNN 78 | F2 "" 275 0 50 V I C CNN 79 | F3 "" 0 0 50 H I C CNN 80 | $FPLIST 81 | DIP* 82 | SOIC* 83 | R*Array*Concave* 84 | R*Array*Convex* 85 | $ENDFPLIST 86 | DRAW 87 | S -250 -95 150 95 0 1 10 f 88 | S -225 75 -175 -75 0 1 10 N 89 | S -125 75 -75 -75 0 1 10 N 90 | S -25 75 25 -75 0 1 10 N 91 | S 75 75 125 -75 0 1 10 N 92 | P 2 0 1 0 -200 -100 -200 -75 N 93 | P 2 0 1 0 -200 75 -200 100 N 94 | P 2 0 1 0 -100 -100 -100 -75 N 95 | P 2 0 1 0 -100 75 -100 100 N 96 | P 2 0 1 0 0 -100 0 -75 N 97 | P 2 0 1 0 0 75 0 100 N 98 | P 2 0 1 0 100 -100 100 -75 N 99 | P 2 0 1 0 100 75 100 100 N 100 | X R1.1 1 -200 -200 100 U 50 50 1 1 P 101 | X R2.1 2 -100 -200 100 U 50 50 1 1 P 102 | X R3.1 3 0 -200 100 U 50 50 1 1 P 103 | X R4.1 4 100 -200 100 U 50 50 1 1 P 104 | X R4.2 5 100 200 100 D 50 50 1 1 P 105 | X R3.2 6 0 200 100 D 50 50 1 1 P 106 | X R2.2 7 -100 200 100 D 50 50 1 1 P 107 | X R1.2 8 -200 200 100 D 50 50 1 1 P 108 | ENDDRAW 109 | ENDDEF 110 | # 111 | # Mechanical_Fiducial 112 | # 113 | DEF Mechanical_Fiducial FID 0 20 Y Y 1 F N 114 | F0 "FID" 0 200 50 H V C CNN 115 | F1 "Mechanical_Fiducial" 0 125 50 H V C CNN 116 | F2 "" 0 0 50 H I C CNN 117 | F3 "" 0 0 50 H I C CNN 118 | $FPLIST 119 | Fiducial* 120 | $ENDFPLIST 121 | DRAW 122 | C 0 0 50 0 1 20 f 123 | ENDDRAW 124 | ENDDEF 125 | # 126 | # power_+3.3V 127 | # 128 | DEF power_+3.3V #PWR 0 0 Y Y 1 F P 129 | F0 "#PWR" 0 -150 50 H I C CNN 130 | F1 "power_+3.3V" 0 140 50 H V C CNN 131 | F2 "" 0 0 50 H I C CNN 132 | F3 "" 0 0 50 H I C CNN 133 | ALIAS +3.3V 134 | DRAW 135 | P 2 0 1 0 -30 50 0 100 N 136 | P 2 0 1 0 0 0 0 100 N 137 | P 2 0 1 0 0 100 30 50 N 138 | X +3V3 1 0 0 0 U 50 50 1 1 W N 139 | ENDDRAW 140 | ENDDEF 141 | # 142 | # power_+5V 143 | # 144 | DEF power_+5V #PWR 0 0 Y Y 1 F P 145 | F0 "#PWR" 0 -150 50 H I C CNN 146 | F1 "power_+5V" 0 140 50 H V C CNN 147 | F2 "" 0 0 50 H I C CNN 148 | F3 "" 0 0 50 H I C CNN 149 | DRAW 150 | P 2 0 1 0 -30 50 0 100 N 151 | P 2 0 1 0 0 0 0 100 N 152 | P 2 0 1 0 0 100 30 50 N 153 | X +5V 1 0 0 0 U 50 50 1 1 W N 154 | ENDDRAW 155 | ENDDEF 156 | # 157 | # power_GND 158 | # 159 | DEF power_GND #PWR 0 0 Y Y 1 F P 160 | F0 "#PWR" 0 -250 50 H I C CNN 161 | F1 "power_GND" 0 -150 50 H V C CNN 162 | F2 "" 0 0 50 H I C CNN 163 | F3 "" 0 0 50 H I C CNN 164 | DRAW 165 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 166 | X GND 1 0 0 0 D 50 50 1 1 W N 167 | ENDDRAW 168 | ENDDEF 169 | # 170 | # power_GNDS 171 | # 172 | DEF power_GNDS #PWR 0 0 Y Y 1 F P 173 | F0 "#PWR" 0 -250 50 H I C CNN 174 | F1 "power_GNDS" 0 -150 50 H V C CNN 175 | F2 "" 0 0 50 H I C CNN 176 | F3 "" 0 0 50 H I C CNN 177 | DRAW 178 | P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N 179 | X GNDS 1 0 0 0 D 50 50 1 1 W N 180 | ENDDRAW 181 | ENDDEF 182 | # 183 | # sd_locker-rescue_AP1117-33 184 | # 185 | DEF sd_locker-rescue_AP1117-33 U 0 10 Y Y 1 F N 186 | F0 "U" -150 125 50 H V C CNN 187 | F1 "sd_locker-rescue_AP1117-33" 0 125 50 H V L CNN 188 | F2 "TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2" 0 200 50 H I C CNN 189 | F3 "" 100 -250 50 H I C CNN 190 | $FPLIST 191 | SOT?223*TabPin2* 192 | $ENDFPLIST 193 | DRAW 194 | S -200 -200 200 75 0 1 10 f 195 | X GND 1 0 -300 100 U 50 50 1 1 W 196 | X VO 2 300 0 100 L 50 50 1 1 P 197 | X VI 3 -300 0 100 R 50 50 1 1 W 198 | ENDDRAW 199 | ENDDEF 200 | # 201 | # sd_locker-rescue_ATTINY85-20SU 202 | # 203 | DEF sd_locker-rescue_ATTINY85-20SU U 0 40 Y Y 1 F N 204 | F0 "U" -1150 400 50 H V C CNN 205 | F1 "sd_locker-rescue_ATTINY85-20SU" 1000 -400 50 H V C CNN 206 | F2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" 950 0 50 H I C CIN 207 | F3 "" 0 0 50 H I C CNN 208 | DRAW 209 | S -1200 350 1200 -350 0 1 10 f 210 | X PB5(~RESET~/dW/ADC0/PCINT5) 1 -1350 -250 150 R 40 40 1 1 B 211 | X PB3(XTAL1/CLKI/~OC1B~/ADC3/PCINT3) 2 -1350 -50 150 R 40 40 1 1 B 212 | X PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4) 3 -1350 -150 150 R 40 40 1 1 B 213 | X GND 4 1350 -250 150 L 40 40 1 1 W 214 | X PB0(MOSI/DI/SDA/AIN0/OC0A/~OC1A~/AREF/PCINT0) 5 -1350 250 150 R 40 40 1 1 B 215 | X PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1) 6 -1350 150 150 R 40 40 1 1 B 216 | X PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2) 7 -1350 50 150 R 40 40 1 1 B 217 | X VCC 8 1350 250 150 L 40 40 1 1 W 218 | ENDDRAW 219 | ENDDEF 220 | # 221 | # sd_locker-rescue_C_Small 222 | # 223 | DEF sd_locker-rescue_C_Small C 0 10 N N 1 F N 224 | F0 "C" 10 70 50 H V L CNN 225 | F1 "sd_locker-rescue_C_Small" 10 -80 50 H V L CNN 226 | F2 "" 0 0 50 H I C CNN 227 | F3 "" 0 0 50 H I C CNN 228 | $FPLIST 229 | C_* 230 | $ENDFPLIST 231 | DRAW 232 | P 2 0 1 13 -60 -20 60 -20 N 233 | P 2 0 1 12 -60 20 60 20 N 234 | X ~ 1 0 100 80 D 50 50 1 1 P 235 | X ~ 2 0 -100 80 U 50 50 1 1 P 236 | ENDDRAW 237 | ENDDEF 238 | # 239 | # sd_locker-rescue_LED 240 | # 241 | DEF sd_locker-rescue_LED D 0 40 Y N 1 F N 242 | F0 "D" 0 100 50 H V C CNN 243 | F1 "sd_locker-rescue_LED" 0 -100 50 H V C CNN 244 | F2 "" 0 0 50 H I C CNN 245 | F3 "" 0 0 50 H I C CNN 246 | $FPLIST 247 | LED* 248 | $ENDFPLIST 249 | DRAW 250 | P 2 0 1 8 -50 -50 -50 50 N 251 | P 2 0 1 0 -50 0 50 0 N 252 | P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N 253 | P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N 254 | P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N 255 | X K 1 -150 0 100 R 50 50 1 1 P 256 | X A 2 150 0 100 L 50 50 1 1 P 257 | ENDDRAW 258 | ENDDEF 259 | # 260 | # sd_locker-rescue_R_Small 261 | # 262 | DEF sd_locker-rescue_R_Small R 0 10 N N 1 F N 263 | F0 "R" 30 20 50 H V L CNN 264 | F1 "sd_locker-rescue_R_Small" 30 -40 50 H V L CNN 265 | F2 "" 0 0 50 H I C CNN 266 | F3 "" 0 0 50 H I C CNN 267 | $FPLIST 268 | R_* 269 | $ENDFPLIST 270 | DRAW 271 | S -30 70 30 -70 0 1 8 N 272 | X ~ 1 0 100 30 D 50 50 1 1 P 273 | X ~ 2 0 -100 30 U 50 50 1 1 P 274 | ENDDRAW 275 | ENDDEF 276 | # 277 | # sd_locker-rescue_SW_Push 278 | # 279 | DEF sd_locker-rescue_SW_Push SW 0 40 N N 1 F N 280 | F0 "SW" 50 100 50 H V L CNN 281 | F1 "sd_locker-rescue_SW_Push" 0 -60 50 H V C CNN 282 | F2 "" 0 200 50 H I C CNN 283 | F3 "" 0 200 50 H I C CNN 284 | DRAW 285 | C -80 0 20 0 1 0 N 286 | C 80 0 20 0 1 0 N 287 | P 2 0 1 0 0 50 0 120 N 288 | P 2 0 1 0 100 50 -100 50 N 289 | X 1 1 -200 0 100 R 50 50 0 1 P 290 | X 2 2 200 0 100 L 50 50 0 1 P 291 | ENDDRAW 292 | ENDDEF 293 | # 294 | #End Library 295 | -------------------------------------------------------------------------------- /hardware_smol/sd_locker-rescue.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.4 2 | #encoding utf-8 3 | # 4 | # AP1117-33 5 | # 6 | DEF AP1117-33 U 0 10 Y Y 1 F N 7 | F0 "U" -150 125 50 H V C CNN 8 | F1 "AP1117-33" 0 125 50 H V L CNN 9 | F2 "TO_SOT_Packages_SMD:SOT-223-3Lead_TabPin2" 0 200 50 H I C CNN 10 | F3 "" 100 -250 50 H I C CNN 11 | $FPLIST 12 | SOT?223*TabPin2* 13 | $ENDFPLIST 14 | DRAW 15 | S -200 -200 200 75 0 1 10 f 16 | X GND 1 0 -300 100 U 50 50 1 1 W 17 | X VO 2 300 0 100 L 50 50 1 1 P 18 | X VI 3 -300 0 100 R 50 50 1 1 W 19 | ENDDRAW 20 | ENDDEF 21 | # 22 | # ATTINY85-20SU 23 | # 24 | DEF ATTINY85-20SU U 0 40 Y Y 1 F N 25 | F0 "U" -1150 400 50 H V C CNN 26 | F1 "ATTINY85-20SU" 1000 -400 50 H V C CNN 27 | F2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" 950 0 50 H I C CIN 28 | F3 "" 0 0 50 H I C CNN 29 | DRAW 30 | S -1200 350 1200 -350 0 1 10 f 31 | X PB5(~RESET~/dW/ADC0/PCINT5) 1 -1350 -250 150 R 40 40 1 1 B 32 | X PB3(XTAL1/CLKI/~OC1B~/ADC3/PCINT3) 2 -1350 -50 150 R 40 40 1 1 B 33 | X PB4(XTAL2/CLKO/OC1B/ADC2/PCINT4) 3 -1350 -150 150 R 40 40 1 1 B 34 | X GND 4 1350 -250 150 L 40 40 1 1 W 35 | X PB0(MOSI/DI/SDA/AIN0/OC0A/~OC1A~/AREF/PCINT0) 5 -1350 250 150 R 40 40 1 1 B 36 | X PB1(MISO/DO/AIN1/OC0B/OC1A/PCINT1) 6 -1350 150 150 R 40 40 1 1 B 37 | X PB2(SCK/USCK/SCL/T0/INT0/ADC1/PCINT2) 7 -1350 50 150 R 40 40 1 1 B 38 | X VCC 8 1350 250 150 L 40 40 1 1 W 39 | ENDDRAW 40 | ENDDEF 41 | # 42 | # C_Small 43 | # 44 | DEF C_Small C 0 10 N N 1 F N 45 | F0 "C" 10 70 50 H V L CNN 46 | F1 "C_Small" 10 -80 50 H V L CNN 47 | F2 "" 0 0 50 H I C CNN 48 | F3 "" 0 0 50 H I C CNN 49 | $FPLIST 50 | C_* 51 | $ENDFPLIST 52 | DRAW 53 | P 2 0 1 13 -60 -20 60 -20 N 54 | P 2 0 1 12 -60 20 60 20 N 55 | X ~ 1 0 100 80 D 50 50 1 1 P 56 | X ~ 2 0 -100 80 U 50 50 1 1 P 57 | ENDDRAW 58 | ENDDEF 59 | # 60 | # Conn_01x02 61 | # 62 | DEF Conn_01x02 J 0 40 Y N 1 F N 63 | F0 "J" 0 100 50 H V C CNN 64 | F1 "Conn_01x02" 0 -200 50 H V C CNN 65 | F2 "" 0 0 50 H I C CNN 66 | F3 "" 0 0 50 H I C CNN 67 | $FPLIST 68 | Connector*:*_??x*mm* 69 | Connector*:*1x??x*mm* 70 | Pin?Header?Straight?1X* 71 | Pin?Header?Angled?1X* 72 | Socket?Strip?Straight?1X* 73 | Socket?Strip?Angled?1X* 74 | $ENDFPLIST 75 | DRAW 76 | S -50 -95 0 -105 1 1 6 N 77 | S -50 5 0 -5 1 1 6 N 78 | S -50 50 50 -150 1 1 10 f 79 | X Pin_1 1 -200 0 150 R 50 50 1 1 P 80 | X Pin_2 2 -200 -100 150 R 50 50 1 1 P 81 | ENDDRAW 82 | ENDDEF 83 | # 84 | # LED 85 | # 86 | DEF LED D 0 40 Y N 1 F N 87 | F0 "D" 0 100 50 H V C CNN 88 | F1 "LED" 0 -100 50 H V C CNN 89 | F2 "" 0 0 50 H I C CNN 90 | F3 "" 0 0 50 H I C CNN 91 | $FPLIST 92 | LED* 93 | $ENDFPLIST 94 | DRAW 95 | P 2 0 1 8 -50 -50 -50 50 N 96 | P 2 0 1 0 -50 0 50 0 N 97 | P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N 98 | P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N 99 | P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N 100 | X K 1 -150 0 100 R 50 50 1 1 P 101 | X A 2 150 0 100 L 50 50 1 1 P 102 | ENDDRAW 103 | ENDDEF 104 | # 105 | # Q_PMOS_GSD 106 | # 107 | DEF Q_PMOS_GSD Q 0 0 Y N 1 F N 108 | F0 "Q" 200 50 50 H V L CNN 109 | F1 "Q_PMOS_GSD" 200 -50 50 H V L CNN 110 | F2 "" 200 100 50 H I C CNN 111 | F3 "" 0 0 50 H I C CNN 112 | DRAW 113 | C 65 0 111 0 1 10 N 114 | C 100 -70 11 0 1 0 F 115 | C 100 70 11 0 1 0 F 116 | P 2 0 1 0 2 0 10 0 N 117 | P 2 0 1 0 30 -70 100 -70 N 118 | P 2 0 1 10 30 -50 30 -90 N 119 | P 2 0 1 0 30 0 100 0 N 120 | P 2 0 1 10 30 20 30 -20 N 121 | P 2 0 1 0 30 70 100 70 N 122 | P 2 0 1 10 30 90 30 50 N 123 | P 2 0 1 0 100 -70 100 -100 N 124 | P 2 0 1 0 100 -70 100 0 N 125 | P 2 0 1 0 100 100 100 70 N 126 | P 3 0 1 10 10 75 10 -75 10 -75 N 127 | P 4 0 1 0 90 0 50 -15 50 15 90 0 F 128 | P 4 0 1 0 100 -70 130 -70 130 70 100 70 N 129 | P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N 130 | P 4 0 1 0 130 -15 115 10 145 10 130 -15 N 131 | X G 1 -200 0 200 R 50 50 1 1 I 132 | X S 2 100 -200 100 U 50 50 1 1 P 133 | X D 3 100 200 100 D 50 50 1 1 P 134 | ENDDRAW 135 | ENDDEF 136 | # 137 | # R_Small 138 | # 139 | DEF R_Small R 0 10 N N 1 F N 140 | F0 "R" 30 20 50 H V L CNN 141 | F1 "R_Small" 30 -40 50 H V L CNN 142 | F2 "" 0 0 50 H I C CNN 143 | F3 "" 0 0 50 H I C CNN 144 | $FPLIST 145 | R_* 146 | $ENDFPLIST 147 | DRAW 148 | S -30 70 30 -70 0 1 8 N 149 | X ~ 1 0 100 30 D 50 50 1 1 P 150 | X ~ 2 0 -100 30 U 50 50 1 1 P 151 | ENDDRAW 152 | ENDDEF 153 | # 154 | # SD_Card 155 | # 156 | DEF SD_Card J 0 40 Y Y 1 F N 157 | F0 "J" -650 550 50 H V C CNN 158 | F1 "SD_Card" 600 -550 50 H V C CNN 159 | F2 "10067847-001" 200 350 50 H I C CNN 160 | F3 "" 0 0 50 H I C CNN 161 | $FPLIST 162 | SD_Card_Receptacle 163 | $ENDFPLIST 164 | DRAW 165 | S -350 -375 -250 -425 0 1 0 F 166 | S -350 -275 -250 -325 0 1 0 F 167 | S -350 -175 -250 -225 0 1 0 F 168 | S -350 -75 -250 -125 0 1 0 F 169 | S -350 25 -250 -25 0 1 0 F 170 | S -350 125 -250 75 0 1 0 F 171 | S -350 225 -250 175 0 1 0 F 172 | S -350 325 -250 275 0 1 0 F 173 | S -300 425 -200 375 0 1 0 F 174 | P 6 0 1 0 -400 350 -300 450 800 450 800 -450 -400 -450 -400 350 f 175 | P 6 0 1 0 650 450 650 500 -800 500 -800 -500 650 -500 650 -450 N 176 | X CD/DAT3 1 -900 300 100 R 50 50 1 1 I 177 | X CARD_DETECT 10 900 200 100 L 50 50 1 1 I 178 | X WRITE_PROTECT 11 900 100 100 L 50 50 1 1 I 179 | X SHELL1 12 900 -100 100 L 50 50 1 1 I 180 | X SHELL2 13 900 -200 100 L 50 50 1 1 I 181 | X CMD 2 -900 200 100 R 50 50 1 1 I 182 | X VSS 3 -900 100 100 R 50 50 1 1 I 183 | X VDD 4 -900 0 100 R 50 50 1 1 I 184 | X CLK 5 -900 -100 100 R 50 50 1 1 I 185 | X VSS 6 -900 -200 100 R 50 50 1 1 I 186 | X DAT0 7 -900 -300 100 R 50 50 1 1 I 187 | X DAT1 8 -900 -400 100 R 50 50 1 1 I 188 | X DAT2 9 -900 400 100 R 50 50 1 1 I 189 | ENDDRAW 190 | ENDDEF 191 | # 192 | # SW_Push 193 | # 194 | DEF SW_Push SW 0 40 N N 1 F N 195 | F0 "SW" 50 100 50 H V L CNN 196 | F1 "SW_Push" 0 -60 50 H V C CNN 197 | F2 "" 0 200 50 H I C CNN 198 | F3 "" 0 200 50 H I C CNN 199 | DRAW 200 | C -80 0 20 0 1 0 N 201 | C 80 0 20 0 1 0 N 202 | P 2 0 1 0 0 50 0 120 N 203 | P 2 0 1 0 100 50 -100 50 N 204 | X 1 1 -200 0 100 R 50 50 0 1 P 205 | X 2 2 200 0 100 L 50 50 0 1 P 206 | ENDDRAW 207 | ENDDEF 208 | # 209 | # USB_OTG 210 | # 211 | DEF USB_OTG J 0 40 Y Y 1 F N 212 | F0 "J" -200 450 50 H V L CNN 213 | F1 "USB_OTG" -200 350 50 H V L CNN 214 | F2 "" 150 -50 50 H I C CNN 215 | F3 "" 150 -50 50 H I C CNN 216 | $FPLIST 217 | USB* 218 | $ENDFPLIST 219 | DRAW 220 | C -150 85 25 0 1 10 F 221 | C -25 135 15 0 1 10 F 222 | S -200 -300 200 300 0 1 10 f 223 | S -5 -300 5 -270 0 1 0 N 224 | S 10 50 -20 20 0 1 10 F 225 | S 200 -205 170 -195 0 1 0 N 226 | S 200 -105 170 -95 0 1 0 N 227 | S 200 -5 170 5 0 1 0 N 228 | S 200 195 170 205 0 1 0 N 229 | P 2 0 1 10 -75 85 25 85 N 230 | P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N 231 | P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N 232 | P 4 0 1 10 25 110 25 60 75 85 25 110 F 233 | P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F 234 | P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N 235 | X VBUS 1 300 200 100 L 50 50 1 1 W 236 | X D- 2 300 -100 100 L 50 50 1 1 P 237 | X D+ 3 300 0 100 L 50 50 1 1 P 238 | X ID 4 300 -200 100 L 50 50 1 1 P 239 | X GND 5 0 -400 100 U 50 50 1 1 W 240 | X Shield 6 -100 -400 100 U 50 50 1 1 P 241 | ENDDRAW 242 | ENDDEF 243 | # 244 | #End Library 245 | -------------------------------------------------------------------------------- /hardware_smol/sd_locker.pro: -------------------------------------------------------------------------------- 1 | update=14-Nov-19 03:20:07 2 | version=1 3 | last_client=kicad 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [general] 8 | version=1 9 | [eeschema] 10 | version=1 11 | LibDir= 12 | [pcbnew] 13 | version=1 14 | PageLayoutDescrFile= 15 | LastNetListRead= 16 | CopperLayerCount=2 17 | BoardThickness=1.6 18 | AllowMicroVias=0 19 | AllowBlindVias=0 20 | RequireCourtyardDefinitions=0 21 | ProhibitOverlappingCourtyards=1 22 | MinTrackWidth=0.2 23 | MinViaDiameter=0.4 24 | MinViaDrill=0.3 25 | MinMicroViaDiameter=0.2 26 | MinMicroViaDrill=0.09999999999999999 27 | MinHoleToHole=0.25 28 | TrackWidth1=0.25 29 | TrackWidth2=0.2 30 | TrackWidth3=0.4 31 | TrackWidth4=0.6 32 | TrackWidth5=0.8 33 | TrackWidth6=1 34 | ViaDiameter1=0.6 35 | ViaDrill1=0.4 36 | dPairWidth1=0.2 37 | dPairGap1=0.25 38 | dPairViaGap1=0.25 39 | SilkLineWidth=0.15 40 | SilkTextSizeV=1 41 | SilkTextSizeH=1 42 | SilkTextSizeThickness=0.15 43 | SilkTextItalic=0 44 | SilkTextUpright=1 45 | CopperLineWidth=0.2 46 | CopperTextSizeV=1.5 47 | CopperTextSizeH=1.5 48 | CopperTextThickness=0.3 49 | CopperTextItalic=0 50 | CopperTextUpright=1 51 | EdgeCutLineWidth=0.15 52 | CourtyardLineWidth=0.05 53 | OthersLineWidth=0.15 54 | OthersTextSizeV=1 55 | OthersTextSizeH=1 56 | OthersTextSizeThickness=0.15 57 | OthersTextItalic=0 58 | OthersTextUpright=1 59 | SolderMaskClearance=0.2 60 | SolderMaskMinWidth=0.25 61 | SolderPasteClearance=0 62 | SolderPasteRatio=-0 63 | [pcbnew/Layer.F.Cu] 64 | Name=F.Cu 65 | Type=0 66 | Enabled=1 67 | [pcbnew/Layer.In1.Cu] 68 | Name=In1.Cu 69 | Type=0 70 | Enabled=0 71 | [pcbnew/Layer.In2.Cu] 72 | Name=In2.Cu 73 | Type=0 74 | Enabled=0 75 | [pcbnew/Layer.In3.Cu] 76 | Name=In3.Cu 77 | Type=0 78 | Enabled=0 79 | [pcbnew/Layer.In4.Cu] 80 | Name=In4.Cu 81 | Type=0 82 | Enabled=0 83 | [pcbnew/Layer.In5.Cu] 84 | Name=In5.Cu 85 | Type=0 86 | Enabled=0 87 | [pcbnew/Layer.In6.Cu] 88 | Name=In6.Cu 89 | Type=0 90 | Enabled=0 91 | [pcbnew/Layer.In7.Cu] 92 | Name=In7.Cu 93 | Type=0 94 | Enabled=0 95 | [pcbnew/Layer.In8.Cu] 96 | Name=In8.Cu 97 | Type=0 98 | Enabled=0 99 | [pcbnew/Layer.In9.Cu] 100 | Name=In9.Cu 101 | Type=0 102 | Enabled=0 103 | [pcbnew/Layer.In10.Cu] 104 | Name=In10.Cu 105 | Type=0 106 | Enabled=0 107 | [pcbnew/Layer.In11.Cu] 108 | Name=In11.Cu 109 | Type=0 110 | Enabled=0 111 | [pcbnew/Layer.In12.Cu] 112 | Name=In12.Cu 113 | Type=0 114 | Enabled=0 115 | [pcbnew/Layer.In13.Cu] 116 | Name=In13.Cu 117 | Type=0 118 | Enabled=0 119 | [pcbnew/Layer.In14.Cu] 120 | Name=In14.Cu 121 | Type=0 122 | Enabled=0 123 | [pcbnew/Layer.In15.Cu] 124 | Name=In15.Cu 125 | Type=0 126 | Enabled=0 127 | [pcbnew/Layer.In16.Cu] 128 | Name=In16.Cu 129 | Type=0 130 | Enabled=0 131 | [pcbnew/Layer.In17.Cu] 132 | Name=In17.Cu 133 | Type=0 134 | Enabled=0 135 | [pcbnew/Layer.In18.Cu] 136 | Name=In18.Cu 137 | Type=0 138 | Enabled=0 139 | [pcbnew/Layer.In19.Cu] 140 | Name=In19.Cu 141 | Type=0 142 | Enabled=0 143 | [pcbnew/Layer.In20.Cu] 144 | Name=In20.Cu 145 | Type=0 146 | Enabled=0 147 | [pcbnew/Layer.In21.Cu] 148 | Name=In21.Cu 149 | Type=0 150 | Enabled=0 151 | [pcbnew/Layer.In22.Cu] 152 | Name=In22.Cu 153 | Type=0 154 | Enabled=0 155 | [pcbnew/Layer.In23.Cu] 156 | Name=In23.Cu 157 | Type=0 158 | Enabled=0 159 | [pcbnew/Layer.In24.Cu] 160 | Name=In24.Cu 161 | Type=0 162 | Enabled=0 163 | [pcbnew/Layer.In25.Cu] 164 | Name=In25.Cu 165 | Type=0 166 | Enabled=0 167 | [pcbnew/Layer.In26.Cu] 168 | Name=In26.Cu 169 | Type=0 170 | Enabled=0 171 | [pcbnew/Layer.In27.Cu] 172 | Name=In27.Cu 173 | Type=0 174 | Enabled=0 175 | [pcbnew/Layer.In28.Cu] 176 | Name=In28.Cu 177 | Type=0 178 | Enabled=0 179 | [pcbnew/Layer.In29.Cu] 180 | Name=In29.Cu 181 | Type=0 182 | Enabled=0 183 | [pcbnew/Layer.In30.Cu] 184 | Name=In30.Cu 185 | Type=0 186 | Enabled=0 187 | [pcbnew/Layer.B.Cu] 188 | Name=B.Cu 189 | Type=0 190 | Enabled=1 191 | [pcbnew/Layer.B.Adhes] 192 | Enabled=1 193 | [pcbnew/Layer.F.Adhes] 194 | Enabled=1 195 | [pcbnew/Layer.B.Paste] 196 | Enabled=1 197 | [pcbnew/Layer.F.Paste] 198 | Enabled=1 199 | [pcbnew/Layer.B.SilkS] 200 | Enabled=1 201 | [pcbnew/Layer.F.SilkS] 202 | Enabled=1 203 | [pcbnew/Layer.B.Mask] 204 | Enabled=1 205 | [pcbnew/Layer.F.Mask] 206 | Enabled=1 207 | [pcbnew/Layer.Dwgs.User] 208 | Enabled=1 209 | [pcbnew/Layer.Cmts.User] 210 | Enabled=1 211 | [pcbnew/Layer.Eco1.User] 212 | Enabled=1 213 | [pcbnew/Layer.Eco2.User] 214 | Enabled=1 215 | [pcbnew/Layer.Edge.Cuts] 216 | Enabled=1 217 | [pcbnew/Layer.Margin] 218 | Enabled=1 219 | [pcbnew/Layer.B.CrtYd] 220 | Enabled=1 221 | [pcbnew/Layer.F.CrtYd] 222 | Enabled=1 223 | [pcbnew/Layer.B.Fab] 224 | Enabled=1 225 | [pcbnew/Layer.F.Fab] 226 | Enabled=1 227 | [pcbnew/Layer.Rescue] 228 | Enabled=0 229 | [pcbnew/Netclasses] 230 | [pcbnew/Netclasses/Default] 231 | Name=Default 232 | Clearance=0.2 233 | TrackWidth=0.25 234 | ViaDiameter=0.6 235 | ViaDrill=0.4 236 | uViaDiameter=0.3 237 | uViaDrill=0.1 238 | dPairWidth=0.2 239 | dPairGap=0.25 240 | dPairViaGap=0.25 241 | -------------------------------------------------------------------------------- /hardware_smol/sd_locker.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 4 2 | EELAYER 30 0 3 | EELAYER END 4 | $Descr A4 11693 8268 5 | encoding utf-8 6 | Sheet 1 1 7 | Title "" 8 | Date "" 9 | Rev "" 10 | Comp "" 11 | Comment1 "" 12 | Comment2 "" 13 | Comment3 "" 14 | Comment4 "" 15 | $EndDescr 16 | $Comp 17 | L power:+3.3V #PWR01 18 | U 1 1 5BA87EDA 19 | P 5900 3500 20 | F 0 "#PWR01" H 5900 3350 50 0001 C CNN 21 | F 1 "+3.3V" H 5900 3640 50 0000 C CNN 22 | F 2 "" H 5900 3500 50 0001 C CNN 23 | F 3 "" H 5900 3500 50 0001 C CNN 24 | 1 5900 3500 25 | 1 0 0 -1 26 | $EndComp 27 | $Comp 28 | L power:GND #PWR02 29 | U 1 1 5BA87EF0 30 | P 5900 4000 31 | F 0 "#PWR02" H 5900 3750 50 0001 C CNN 32 | F 1 "GND" H 5900 3850 50 0000 C CNN 33 | F 2 "" H 5900 4000 50 0001 C CNN 34 | F 3 "" H 5900 4000 50 0001 C CNN 35 | 1 5900 4000 36 | 1 0 0 -1 37 | $EndComp 38 | Text GLabel 3200 3900 0 60 Input ~ 0 39 | LEDSW 40 | Text GLabel 4450 2550 2 60 Input ~ 0 41 | LEDSW 42 | Text GLabel 4400 2200 2 60 Input ~ 0 43 | LEDSW 44 | $Comp 45 | L sd_locker-rescue:LED D1 46 | U 1 1 5BA87FE0 47 | P 3400 2200 48 | F 0 "D1" H 3400 2300 50 0000 C CNN 49 | F 1 "LED" H 3400 2100 50 0000 C CNN 50 | F 2 "LEDs:LED_0805_HandSoldering" H 3400 2200 50 0001 C CNN 51 | F 3 "" H 3400 2200 50 0001 C CNN 52 | 1 3400 2200 53 | -1 0 0 1 54 | $EndComp 55 | $Comp 56 | L power:+3.3V #PWR04 57 | U 1 1 5BA88084 58 | P 3100 2200 59 | F 0 "#PWR04" H 3100 2050 50 0001 C CNN 60 | F 1 "+3.3V" V 3200 2300 50 0000 C CNN 61 | F 2 "" H 3100 2200 50 0001 C CNN 62 | F 3 "" H 3100 2200 50 0001 C CNN 63 | 1 3100 2200 64 | 0 -1 -1 0 65 | $EndComp 66 | Wire Wire Line 67 | 3100 2200 3250 2200 68 | Wire Wire Line 69 | 4450 2550 4300 2550 70 | Text GLabel 3200 3800 0 60 Input ~ 0 71 | CS 72 | Text GLabel 3200 3700 0 60 Input ~ 0 73 | SCK 74 | Text GLabel 3200 3600 0 60 Input ~ 0 75 | MISO 76 | Text GLabel 3200 3500 0 60 Input ~ 0 77 | MOSI 78 | Wire Wire Line 79 | 2200 2600 2250 2600 80 | NoConn ~ 2200 2800 81 | NoConn ~ 2200 2900 82 | $Comp 83 | L sd_locker-rescue:C_Small C3 84 | U 1 1 5BA885F6 85 | P 5900 3750 86 | F 0 "C3" H 5910 3820 50 0000 L CNN 87 | F 1 "100nF" H 5910 3670 50 0000 L CNN 88 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 5900 3750 50 0001 C CNN 89 | F 3 "" H 5900 3750 50 0001 C CNN 90 | 1 5900 3750 91 | 1 0 0 -1 92 | $EndComp 93 | Wire Wire Line 94 | 5900 3500 5900 3650 95 | Wire Wire Line 96 | 5900 4000 5900 3850 97 | $Comp 98 | L sd_locker-rescue:AP1117-33 U1 99 | U 1 1 5BA88706 100 | P 3900 1250 101 | F 0 "U1" H 3750 1375 50 0000 C CNN 102 | F 1 "AP1117-33" H 3900 1375 50 0000 L CNN 103 | F 2 "TO_SOT_Packages_SMD:SOT-223-3_TabPin2" H 3900 1450 50 0001 C CNN 104 | F 3 "" H 4000 1000 50 0001 C CNN 105 | 1 3900 1250 106 | 1 0 0 -1 107 | $EndComp 108 | $Comp 109 | L power:+3.3V #PWR013 110 | U 1 1 5BA8877E 111 | P 4200 1250 112 | F 0 "#PWR013" H 4200 1100 50 0001 C CNN 113 | F 1 "+3.3V" V 4300 1350 50 0000 C CNN 114 | F 2 "" H 4200 1250 50 0001 C CNN 115 | F 3 "" H 4200 1250 50 0001 C CNN 116 | 1 4200 1250 117 | 0 1 1 0 118 | $EndComp 119 | $Comp 120 | L power:+5V #PWR014 121 | U 1 1 5BA887A4 122 | P 3600 1250 123 | F 0 "#PWR014" H 3600 1100 50 0001 C CNN 124 | F 1 "+5V" V 3450 1350 50 0000 C CNN 125 | F 2 "" H 3600 1250 50 0001 C CNN 126 | F 3 "" H 3600 1250 50 0001 C CNN 127 | 1 3600 1250 128 | 0 -1 -1 0 129 | $EndComp 130 | $Comp 131 | L power:GND #PWR015 132 | U 1 1 5BA88814 133 | P 3900 1550 134 | F 0 "#PWR015" H 3900 1300 50 0001 C CNN 135 | F 1 "GND" H 3900 1400 50 0000 C CNN 136 | F 2 "" H 3900 1550 50 0001 C CNN 137 | F 3 "" H 3900 1550 50 0001 C CNN 138 | 1 3900 1550 139 | 1 0 0 -1 140 | $EndComp 141 | $Comp 142 | L sd_locker-rescue:C_Small C2 143 | U 1 1 5BA88833 144 | P 4600 1400 145 | F 0 "C2" H 4610 1470 50 0000 L CNN 146 | F 1 "100nF" H 4610 1320 50 0000 L CNN 147 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 4600 1400 50 0001 C CNN 148 | F 3 "" H 4600 1400 50 0001 C CNN 149 | 1 4600 1400 150 | 1 0 0 -1 151 | $EndComp 152 | $Comp 153 | L power:+3.3V #PWR016 154 | U 1 1 5BA8889E 155 | P 4600 1300 156 | F 0 "#PWR016" H 4600 1150 50 0001 C CNN 157 | F 1 "+3.3V" H 4600 1440 50 0000 C CNN 158 | F 2 "" H 4600 1300 50 0001 C CNN 159 | F 3 "" H 4600 1300 50 0001 C CNN 160 | 1 4600 1300 161 | 1 0 0 -1 162 | $EndComp 163 | $Comp 164 | L power:GND #PWR017 165 | U 1 1 5BA888C7 166 | P 4600 1500 167 | F 0 "#PWR017" H 4600 1250 50 0001 C CNN 168 | F 1 "GND" H 4600 1350 50 0000 C CNN 169 | F 2 "" H 4600 1500 50 0001 C CNN 170 | F 3 "" H 4600 1500 50 0001 C CNN 171 | 1 4600 1500 172 | 1 0 0 -1 173 | $EndComp 174 | $Comp 175 | L sd_locker-rescue:C_Small C1 176 | U 1 1 5BA888F0 177 | P 3050 1400 178 | F 0 "C1" H 3060 1470 50 0000 L CNN 179 | F 1 "100nF" H 3060 1320 50 0000 L CNN 180 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 3050 1400 50 0001 C CNN 181 | F 3 "" H 3050 1400 50 0001 C CNN 182 | 1 3050 1400 183 | 1 0 0 -1 184 | $EndComp 185 | $Comp 186 | L power:GND #PWR018 187 | U 1 1 5BA8899E 188 | P 3050 1500 189 | F 0 "#PWR018" H 3050 1250 50 0001 C CNN 190 | F 1 "GND" H 3050 1350 50 0000 C CNN 191 | F 2 "" H 3050 1500 50 0001 C CNN 192 | F 3 "" H 3050 1500 50 0001 C CNN 193 | 1 3050 1500 194 | 1 0 0 -1 195 | $EndComp 196 | $Comp 197 | L power:+5V #PWR019 198 | U 1 1 5BA889C1 199 | P 3050 1300 200 | F 0 "#PWR019" H 3050 1150 50 0001 C CNN 201 | F 1 "+5V" H 3050 1440 50 0000 C CNN 202 | F 2 "" H 3050 1300 50 0001 C CNN 203 | F 3 "" H 3050 1300 50 0001 C CNN 204 | 1 3050 1300 205 | 1 0 0 -1 206 | $EndComp 207 | $Comp 208 | L sd_locker-rescue:SW_Push SW1 209 | U 1 1 5BCD1502 210 | P 3500 2550 211 | F 0 "SW1" H 3550 2650 50 0000 L CNN 212 | F 1 "SW_VERT" H 3500 2490 50 0000 C CNN 213 | F 2 "sd_locker:SW_SPST_EVQPE1" H 3500 2750 50 0001 C CNN 214 | F 3 "" H 3500 2750 50 0001 C CNN 215 | 1 3500 2550 216 | -1 0 0 -1 217 | $EndComp 218 | $Comp 219 | L power:GND #PWR020 220 | U 1 1 5BCD15AD 221 | P 3300 2550 222 | F 0 "#PWR020" H 3300 2300 50 0001 C CNN 223 | F 1 "GND" V 3300 2350 50 0000 C CNN 224 | F 2 "" H 3300 2550 50 0001 C CNN 225 | F 3 "" H 3300 2550 50 0001 C CNN 226 | 1 3300 2550 227 | 0 1 -1 0 228 | $EndComp 229 | $Comp 230 | L sd_locker-rescue:C_Small C4 231 | U 1 1 5BCD1967 232 | P 4950 1400 233 | F 0 "C4" H 4960 1470 50 0000 L CNN 234 | F 1 "100nF" H 4960 1320 50 0000 L CNN 235 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 4950 1400 50 0001 C CNN 236 | F 3 "" H 4950 1400 50 0001 C CNN 237 | 1 4950 1400 238 | 1 0 0 -1 239 | $EndComp 240 | $Comp 241 | L power:GND #PWR027 242 | U 1 1 5BCD19B0 243 | P 4950 1500 244 | F 0 "#PWR027" H 4950 1250 50 0001 C CNN 245 | F 1 "GND" H 4950 1350 50 0000 C CNN 246 | F 2 "" H 4950 1500 50 0001 C CNN 247 | F 3 "" H 4950 1500 50 0001 C CNN 248 | 1 4950 1500 249 | 1 0 0 -1 250 | $EndComp 251 | $Comp 252 | L power:+3.3V #PWR028 253 | U 1 1 5BCD19EE 254 | P 4950 1300 255 | F 0 "#PWR028" H 4950 1150 50 0001 C CNN 256 | F 1 "+3.3V" H 4950 1440 50 0000 C CNN 257 | F 2 "" H 4950 1300 50 0001 C CNN 258 | F 3 "" H 4950 1300 50 0001 C CNN 259 | 1 4950 1300 260 | 1 0 0 -1 261 | $EndComp 262 | $Comp 263 | L sd_locker-rescue:R_Small R5 264 | U 1 1 5DBE97F2 265 | P 2350 2600 266 | F 0 "R5" V 2350 2550 50 0000 L CNN 267 | F 1 "0" V 2250 2550 50 0000 L CNN 268 | F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 2350 2600 50 0001 C CNN 269 | F 3 "" H 2350 2600 50 0001 C CNN 270 | 1 2350 2600 271 | 0 1 1 0 272 | $EndComp 273 | Wire Wire Line 274 | 2450 2600 2550 2600 275 | Wire Wire Line 276 | 2550 2600 2550 2550 277 | $Comp 278 | L Mechanical:Fiducial FID1 279 | U 1 1 5DCCB5E6 280 | P 1150 1000 281 | F 0 "FID1" H 1235 1046 50 0000 L CNN 282 | F 1 "Fiducial" H 1235 955 50 0000 L CNN 283 | F 2 "Fiducial:Fiducial_1.5mm_Mask3mm" H 1150 1000 50 0001 C CNN 284 | F 3 "~" H 1150 1000 50 0001 C CNN 285 | 1 1150 1000 286 | 1 0 0 -1 287 | $EndComp 288 | $Comp 289 | L Connector:Micro_SD_Card_Det J5 290 | U 1 1 5DCD5886 291 | P 7900 3950 292 | F 0 "J5" H 7850 4767 50 0000 C CNN 293 | F 1 "Micro_SD_Card_Det" H 7850 4676 50 0000 C CNN 294 | F 2 "sd_locker:microSD-Receptacle-SelfEject" H 9950 4650 50 0001 C CNN 295 | F 3 "https://www.hirose.com/product/en/download_file/key_name/DM3/category/Catalog/doc_file_id/49662/?file_category_id=4&item_id=195&is_series=1" H 7900 4050 50 0001 C CNN 296 | 1 7900 3950 297 | 1 0 0 -1 298 | $EndComp 299 | NoConn ~ 7000 4450 300 | Text GLabel 7000 4150 0 60 Input ~ 0 301 | MISO 302 | $Comp 303 | L power:GND #PWR0102 304 | U 1 1 5DCD816F 305 | P 7000 4050 306 | F 0 "#PWR0102" H 7000 3800 50 0001 C CNN 307 | F 1 "GND" V 7000 3850 50 0000 C CNN 308 | F 2 "" H 7000 4050 50 0001 C CNN 309 | F 3 "" H 7000 4050 50 0001 C CNN 310 | 1 7000 4050 311 | 0 1 1 0 312 | $EndComp 313 | Text GLabel 7000 3950 0 60 Input ~ 0 314 | SCK 315 | $Comp 316 | L power:+3.3V #PWR0103 317 | U 1 1 5DCD85F9 318 | P 7000 3850 319 | F 0 "#PWR0103" H 7000 3700 50 0001 C CNN 320 | F 1 "+3.3V" V 7000 4100 50 0000 C CNN 321 | F 2 "" H 7000 3850 50 0001 C CNN 322 | F 3 "" H 7000 3850 50 0001 C CNN 323 | 1 7000 3850 324 | 0 -1 -1 0 325 | $EndComp 326 | Text GLabel 7000 3750 0 60 Input ~ 0 327 | MOSI 328 | Text GLabel 7000 3650 0 60 Input ~ 0 329 | CS 330 | $Comp 331 | L power:GND #PWR0104 332 | U 1 1 5DCD998C 333 | P 8700 4450 334 | F 0 "#PWR0104" H 8700 4200 50 0001 C CNN 335 | F 1 "GND" V 8700 4250 50 0000 C CNN 336 | F 2 "" H 8700 4450 50 0001 C CNN 337 | F 3 "" H 8700 4450 50 0001 C CNN 338 | 1 8700 4450 339 | 0 -1 -1 0 340 | $EndComp 341 | Text GLabel 2900 4000 0 50 Input ~ 0 342 | RST 343 | $Comp 344 | L sd_locker-rescue:R_Small R6 345 | U 1 1 5E1E87AC 346 | P 6600 4250 347 | F 0 "R6" V 6600 4200 50 0000 L CNN 348 | F 1 "0" V 6500 4200 50 0000 L CNN 349 | F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6600 4250 50 0001 C CNN 350 | F 3 "" H 6600 4250 50 0001 C CNN 351 | 1 6600 4250 352 | 0 1 1 0 353 | $EndComp 354 | Text GLabel 6500 4250 0 50 Input ~ 0 355 | RST 356 | Wire Wire Line 357 | 6700 4250 7000 4250 358 | Text Notes 7250 3000 0 50 ~ 0 359 | RST is connected to DAT1 purely to allow\nreprogramming the ATTiny through\nthe large SD card socket. 360 | Text Notes 6450 4900 0 50 ~ 0 361 | power management - powers the circuit\nwhen CD is pulled to GND through the socket shield 362 | $Comp 363 | L Connector:USB_A J1 364 | U 1 1 616837F5 365 | P 1900 2800 366 | F 0 "J1" H 1957 3267 50 0000 C CNN 367 | F 1 "USB_A" H 1957 3176 50 0000 C CNN 368 | F 2 "Connector_USB:USB_A_CNCTech_1001-011-01101_Horizontal" H 2050 2750 50 0001 C CNN 369 | F 3 " ~" H 2050 2750 50 0001 C CNN 370 | 1 1900 2800 371 | 1 0 0 -1 372 | $EndComp 373 | $Comp 374 | L power:GNDS #PWR0101 375 | U 1 1 6168C6AC 376 | P 1800 3200 377 | F 0 "#PWR0101" H 1800 2950 50 0001 C CNN 378 | F 1 "GNDS" H 1805 3027 50 0000 C CNN 379 | F 2 "" H 1800 3200 50 0001 C CNN 380 | F 3 "" H 1800 3200 50 0001 C CNN 381 | 1 1800 3200 382 | 1 0 0 -1 383 | $EndComp 384 | Text GLabel 7000 4350 0 50 Input ~ 0 385 | GND_SWITCHABLE 386 | Text GLabel 1900 3200 2 50 Input ~ 0 387 | GND_SWITCHABLE 388 | $Comp 389 | L power:+5V #PWR0105 390 | U 1 1 6166F30D 391 | P 2550 2550 392 | F 0 "#PWR0105" H 2550 2400 50 0001 C CNN 393 | F 1 "+5V" H 2550 2690 50 0000 C CNN 394 | F 2 "" H 2550 2550 50 0001 C CNN 395 | F 3 "" H 2550 2550 50 0001 C CNN 396 | 1 2550 2550 397 | 1 0 0 -1 398 | $EndComp 399 | Connection ~ 5900 3500 400 | Connection ~ 5900 4000 401 | $Comp 402 | L sd_locker-rescue:ATTINY85-20SU U2 403 | U 1 1 5BA87E84 404 | P 4550 3750 405 | F 0 "U2" H 3400 4150 50 0000 C CNN 406 | F 1 "ATTINY85-20SU" H 5200 3350 50 0000 C CNN 407 | F 2 "Housings_SOIC:SOIJ-8_5.3x5.3mm_Pitch1.27mm" H 5500 3750 50 0001 C CIN 408 | F 3 "" H 4550 3750 50 0001 C CNN 409 | 1 4550 3750 410 | 1 0 0 -1 411 | $EndComp 412 | $Comp 413 | L power:+3.3V #PWR03 414 | U 1 1 5BA87F40 415 | P 3100 4400 416 | F 0 "#PWR03" H 3100 4250 50 0001 C CNN 417 | F 1 "+3.3V" H 3100 4540 50 0000 C CNN 418 | F 2 "" H 3100 4400 50 0001 C CNN 419 | F 3 "" H 3100 4400 50 0001 C CNN 420 | 1 3100 4400 421 | -1 0 0 1 422 | $EndComp 423 | Wire Wire Line 424 | 3100 4300 3100 4400 425 | Wire Wire Line 426 | 3200 4000 3100 4000 427 | Wire Wire Line 428 | 2900 4000 3100 4000 429 | Connection ~ 3100 4000 430 | Wire Wire Line 431 | 3100 4000 3100 4100 432 | $Comp 433 | L sd_locker-rescue:R_Small R1 434 | U 1 1 5BA87F13 435 | P 3100 4200 436 | F 0 "R1" H 3130 4220 50 0000 L CNN 437 | F 1 "10K" H 3130 4160 50 0000 L CNN 438 | F 2 "sd_locker:R_0805_10K_HandSoldering" H 3100 4200 50 0001 C CNN 439 | F 3 "" H 3100 4200 50 0001 C CNN 440 | 1 3100 4200 441 | -1 0 0 1 442 | $EndComp 443 | Wire Wire Line 444 | 3550 2200 3800 2200 445 | Wire Wire Line 446 | 4200 2500 4300 2500 447 | Wire Wire Line 448 | 4300 2500 4300 2550 449 | Wire Wire Line 450 | 3800 2500 3700 2500 451 | Wire Wire Line 452 | 3700 2500 3700 2550 453 | Wire Wire Line 454 | 4200 2200 4400 2200 455 | Text GLabel 7000 3550 0 50 Input ~ 0 456 | DAT2 457 | Text GLabel 3800 2400 0 50 Input ~ 0 458 | DAT2 459 | $Comp 460 | L Device:R_Pack04 RN1 461 | U 1 1 6167EC8A 462 | P 4000 2400 463 | F 0 "RN1" V 3583 2400 50 0000 C CNN 464 | F 1 "1K" V 3674 2400 50 0000 C CNN 465 | F 2 "Resistor_SMD:R_Array_Concave_4x0402" V 4275 2400 50 0001 C CNN 466 | F 3 "~" H 4000 2400 50 0001 C CNN 467 | 1 4000 2400 468 | 0 1 1 0 469 | $EndComp 470 | Wire Wire Line 471 | 4200 2300 4200 2400 472 | $Comp 473 | L power:+3.3V #PWR0106 474 | U 1 1 617D7C68 475 | P 3800 2300 476 | F 0 "#PWR0106" H 3800 2150 50 0001 C CNN 477 | F 1 "+3.3V" V 3800 2500 50 0000 C CNN 478 | F 2 "" H 3800 2300 50 0001 C CNN 479 | F 3 "" H 3800 2300 50 0001 C CNN 480 | 1 3800 2300 481 | 0 -1 -1 0 482 | $EndComp 483 | Text Notes 4250 2450 0 50 ~ 0 484 | pulling unused SD card\ndata lines up is good mojo 485 | $Comp 486 | L sd_locker-rescue:SW_Push SW2 487 | U 1 1 617E12F3 488 | P 3500 2850 489 | F 0 "SW2" H 3550 2950 50 0000 L CNN 490 | F 1 "SW_SIDE" H 3500 2790 50 0000 C CNN 491 | F 2 "Button_Switch_SMD:Panasonic_EVQPUL_EVQPUC" H 3500 3050 50 0001 C CNN 492 | F 3 "" H 3500 3050 50 0001 C CNN 493 | 1 3500 2850 494 | -1 0 0 -1 495 | $EndComp 496 | Wire Wire Line 497 | 3700 2550 3700 2850 498 | Connection ~ 3700 2550 499 | Wire Wire Line 500 | 3300 2550 3300 2850 501 | Connection ~ 3300 2550 502 | $EndSCHEMATC 503 | -------------------------------------------------------------------------------- /hardware_smol/sd_locker.sch-bak: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 4 2 | EELAYER 30 0 3 | EELAYER END 4 | $Descr A4 11693 8268 5 | encoding utf-8 6 | Sheet 1 1 7 | Title "" 8 | Date "" 9 | Rev "" 10 | Comp "" 11 | Comment1 "" 12 | Comment2 "" 13 | Comment3 "" 14 | Comment4 "" 15 | $EndDescr 16 | $Comp 17 | L power:+3.3V #PWR01 18 | U 1 1 5BA87EDA 19 | P 5900 3500 20 | F 0 "#PWR01" H 5900 3350 50 0001 C CNN 21 | F 1 "+3.3V" H 5900 3640 50 0000 C CNN 22 | F 2 "" H 5900 3500 50 0001 C CNN 23 | F 3 "" H 5900 3500 50 0001 C CNN 24 | 1 5900 3500 25 | 1 0 0 -1 26 | $EndComp 27 | $Comp 28 | L power:GND #PWR02 29 | U 1 1 5BA87EF0 30 | P 5900 4000 31 | F 0 "#PWR02" H 5900 3750 50 0001 C CNN 32 | F 1 "GND" H 5900 3850 50 0000 C CNN 33 | F 2 "" H 5900 4000 50 0001 C CNN 34 | F 3 "" H 5900 4000 50 0001 C CNN 35 | 1 5900 4000 36 | 1 0 0 -1 37 | $EndComp 38 | Text GLabel 3200 3900 0 60 Input ~ 0 39 | LEDSW 40 | Text GLabel 4450 2550 2 60 Input ~ 0 41 | LEDSW 42 | Text GLabel 4400 2200 2 60 Input ~ 0 43 | LEDSW 44 | $Comp 45 | L sd_locker-rescue:LED D1 46 | U 1 1 5BA87FE0 47 | P 3400 2200 48 | F 0 "D1" H 3400 2300 50 0000 C CNN 49 | F 1 "LED" H 3400 2100 50 0000 C CNN 50 | F 2 "LEDs:LED_0805_HandSoldering" H 3400 2200 50 0001 C CNN 51 | F 3 "" H 3400 2200 50 0001 C CNN 52 | 1 3400 2200 53 | -1 0 0 1 54 | $EndComp 55 | $Comp 56 | L power:+3.3V #PWR04 57 | U 1 1 5BA88084 58 | P 3100 2200 59 | F 0 "#PWR04" H 3100 2050 50 0001 C CNN 60 | F 1 "+3.3V" V 3200 2300 50 0000 C CNN 61 | F 2 "" H 3100 2200 50 0001 C CNN 62 | F 3 "" H 3100 2200 50 0001 C CNN 63 | 1 3100 2200 64 | 0 -1 -1 0 65 | $EndComp 66 | Wire Wire Line 67 | 3100 2200 3250 2200 68 | Wire Wire Line 69 | 4450 2550 4300 2550 70 | Text GLabel 3200 3800 0 60 Input ~ 0 71 | CS 72 | Text GLabel 3200 3700 0 60 Input ~ 0 73 | SCK 74 | Text GLabel 3200 3600 0 60 Input ~ 0 75 | MISO 76 | Text GLabel 3200 3500 0 60 Input ~ 0 77 | MOSI 78 | Wire Wire Line 79 | 2200 2600 2250 2600 80 | NoConn ~ 2200 2800 81 | NoConn ~ 2200 2900 82 | $Comp 83 | L sd_locker-rescue:C_Small C3 84 | U 1 1 5BA885F6 85 | P 5900 3750 86 | F 0 "C3" H 5910 3820 50 0000 L CNN 87 | F 1 "100nF" H 5910 3670 50 0000 L CNN 88 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 5900 3750 50 0001 C CNN 89 | F 3 "" H 5900 3750 50 0001 C CNN 90 | 1 5900 3750 91 | 1 0 0 -1 92 | $EndComp 93 | Wire Wire Line 94 | 5900 3500 5900 3650 95 | Wire Wire Line 96 | 5900 4000 5900 3850 97 | $Comp 98 | L sd_locker-rescue:AP1117-33 U1 99 | U 1 1 5BA88706 100 | P 3900 1250 101 | F 0 "U1" H 3750 1375 50 0000 C CNN 102 | F 1 "AP1117-33" H 3900 1375 50 0000 L CNN 103 | F 2 "TO_SOT_Packages_SMD:SOT-223-3_TabPin2" H 3900 1450 50 0001 C CNN 104 | F 3 "" H 4000 1000 50 0001 C CNN 105 | 1 3900 1250 106 | 1 0 0 -1 107 | $EndComp 108 | $Comp 109 | L power:+3.3V #PWR013 110 | U 1 1 5BA8877E 111 | P 4200 1250 112 | F 0 "#PWR013" H 4200 1100 50 0001 C CNN 113 | F 1 "+3.3V" V 4300 1350 50 0000 C CNN 114 | F 2 "" H 4200 1250 50 0001 C CNN 115 | F 3 "" H 4200 1250 50 0001 C CNN 116 | 1 4200 1250 117 | 0 1 1 0 118 | $EndComp 119 | $Comp 120 | L power:+5V #PWR014 121 | U 1 1 5BA887A4 122 | P 3600 1250 123 | F 0 "#PWR014" H 3600 1100 50 0001 C CNN 124 | F 1 "+5V" V 3450 1350 50 0000 C CNN 125 | F 2 "" H 3600 1250 50 0001 C CNN 126 | F 3 "" H 3600 1250 50 0001 C CNN 127 | 1 3600 1250 128 | 0 -1 -1 0 129 | $EndComp 130 | $Comp 131 | L power:GND #PWR015 132 | U 1 1 5BA88814 133 | P 3900 1550 134 | F 0 "#PWR015" H 3900 1300 50 0001 C CNN 135 | F 1 "GND" H 3900 1400 50 0000 C CNN 136 | F 2 "" H 3900 1550 50 0001 C CNN 137 | F 3 "" H 3900 1550 50 0001 C CNN 138 | 1 3900 1550 139 | 1 0 0 -1 140 | $EndComp 141 | $Comp 142 | L sd_locker-rescue:C_Small C2 143 | U 1 1 5BA88833 144 | P 4600 1400 145 | F 0 "C2" H 4610 1470 50 0000 L CNN 146 | F 1 "100nF" H 4610 1320 50 0000 L CNN 147 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 4600 1400 50 0001 C CNN 148 | F 3 "" H 4600 1400 50 0001 C CNN 149 | 1 4600 1400 150 | 1 0 0 -1 151 | $EndComp 152 | $Comp 153 | L power:+3.3V #PWR016 154 | U 1 1 5BA8889E 155 | P 4600 1300 156 | F 0 "#PWR016" H 4600 1150 50 0001 C CNN 157 | F 1 "+3.3V" H 4600 1440 50 0000 C CNN 158 | F 2 "" H 4600 1300 50 0001 C CNN 159 | F 3 "" H 4600 1300 50 0001 C CNN 160 | 1 4600 1300 161 | 1 0 0 -1 162 | $EndComp 163 | $Comp 164 | L power:GND #PWR017 165 | U 1 1 5BA888C7 166 | P 4600 1500 167 | F 0 "#PWR017" H 4600 1250 50 0001 C CNN 168 | F 1 "GND" H 4600 1350 50 0000 C CNN 169 | F 2 "" H 4600 1500 50 0001 C CNN 170 | F 3 "" H 4600 1500 50 0001 C CNN 171 | 1 4600 1500 172 | 1 0 0 -1 173 | $EndComp 174 | $Comp 175 | L sd_locker-rescue:C_Small C1 176 | U 1 1 5BA888F0 177 | P 3050 1400 178 | F 0 "C1" H 3060 1470 50 0000 L CNN 179 | F 1 "100nF" H 3060 1320 50 0000 L CNN 180 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 3050 1400 50 0001 C CNN 181 | F 3 "" H 3050 1400 50 0001 C CNN 182 | 1 3050 1400 183 | 1 0 0 -1 184 | $EndComp 185 | $Comp 186 | L power:GND #PWR018 187 | U 1 1 5BA8899E 188 | P 3050 1500 189 | F 0 "#PWR018" H 3050 1250 50 0001 C CNN 190 | F 1 "GND" H 3050 1350 50 0000 C CNN 191 | F 2 "" H 3050 1500 50 0001 C CNN 192 | F 3 "" H 3050 1500 50 0001 C CNN 193 | 1 3050 1500 194 | 1 0 0 -1 195 | $EndComp 196 | $Comp 197 | L power:+5V #PWR019 198 | U 1 1 5BA889C1 199 | P 3050 1300 200 | F 0 "#PWR019" H 3050 1150 50 0001 C CNN 201 | F 1 "+5V" H 3050 1440 50 0000 C CNN 202 | F 2 "" H 3050 1300 50 0001 C CNN 203 | F 3 "" H 3050 1300 50 0001 C CNN 204 | 1 3050 1300 205 | 1 0 0 -1 206 | $EndComp 207 | $Comp 208 | L sd_locker-rescue:SW_Push SW1 209 | U 1 1 5BCD1502 210 | P 3500 2550 211 | F 0 "SW1" H 3550 2650 50 0000 L CNN 212 | F 1 "SW_VERT" H 3500 2490 50 0000 C CNN 213 | F 2 "sd_locker:SW_SPST_EVQPE1" H 3500 2750 50 0001 C CNN 214 | F 3 "" H 3500 2750 50 0001 C CNN 215 | 1 3500 2550 216 | -1 0 0 -1 217 | $EndComp 218 | $Comp 219 | L power:GND #PWR020 220 | U 1 1 5BCD15AD 221 | P 3300 2550 222 | F 0 "#PWR020" H 3300 2300 50 0001 C CNN 223 | F 1 "GND" V 3300 2350 50 0000 C CNN 224 | F 2 "" H 3300 2550 50 0001 C CNN 225 | F 3 "" H 3300 2550 50 0001 C CNN 226 | 1 3300 2550 227 | 0 1 -1 0 228 | $EndComp 229 | $Comp 230 | L sd_locker-rescue:C_Small C4 231 | U 1 1 5BCD1967 232 | P 4950 1400 233 | F 0 "C4" H 4960 1470 50 0000 L CNN 234 | F 1 "100nF" H 4960 1320 50 0000 L CNN 235 | F 2 "sd_locker:C_0805_100nF_HandSoldering" H 4950 1400 50 0001 C CNN 236 | F 3 "" H 4950 1400 50 0001 C CNN 237 | 1 4950 1400 238 | 1 0 0 -1 239 | $EndComp 240 | $Comp 241 | L power:GND #PWR027 242 | U 1 1 5BCD19B0 243 | P 4950 1500 244 | F 0 "#PWR027" H 4950 1250 50 0001 C CNN 245 | F 1 "GND" H 4950 1350 50 0000 C CNN 246 | F 2 "" H 4950 1500 50 0001 C CNN 247 | F 3 "" H 4950 1500 50 0001 C CNN 248 | 1 4950 1500 249 | 1 0 0 -1 250 | $EndComp 251 | $Comp 252 | L power:+3.3V #PWR028 253 | U 1 1 5BCD19EE 254 | P 4950 1300 255 | F 0 "#PWR028" H 4950 1150 50 0001 C CNN 256 | F 1 "+3.3V" H 4950 1440 50 0000 C CNN 257 | F 2 "" H 4950 1300 50 0001 C CNN 258 | F 3 "" H 4950 1300 50 0001 C CNN 259 | 1 4950 1300 260 | 1 0 0 -1 261 | $EndComp 262 | $Comp 263 | L sd_locker-rescue:R_Small R5 264 | U 1 1 5DBE97F2 265 | P 2350 2600 266 | F 0 "R5" V 2350 2550 50 0000 L CNN 267 | F 1 "0" V 2250 2550 50 0000 L CNN 268 | F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 2350 2600 50 0001 C CNN 269 | F 3 "" H 2350 2600 50 0001 C CNN 270 | 1 2350 2600 271 | 0 1 1 0 272 | $EndComp 273 | Wire Wire Line 274 | 2450 2600 2550 2600 275 | Wire Wire Line 276 | 2550 2600 2550 2550 277 | $Comp 278 | L Mechanical:Fiducial FID1 279 | U 1 1 5DCCB5E6 280 | P 1150 1000 281 | F 0 "FID1" H 1235 1046 50 0000 L CNN 282 | F 1 "Fiducial" H 1235 955 50 0000 L CNN 283 | F 2 "Fiducial:Fiducial_1.5mm_Mask3mm" H 1150 1000 50 0001 C CNN 284 | F 3 "~" H 1150 1000 50 0001 C CNN 285 | 1 1150 1000 286 | 1 0 0 -1 287 | $EndComp 288 | $Comp 289 | L Connector:Micro_SD_Card_Det J5 290 | U 1 1 5DCD5886 291 | P 7900 3950 292 | F 0 "J5" H 7850 4767 50 0000 C CNN 293 | F 1 "Micro_SD_Card_Det" H 7850 4676 50 0000 C CNN 294 | F 2 "sd_locker:microSD-Receptacle-SelfEject" H 9950 4650 50 0001 C CNN 295 | F 3 "https://www.hirose.com/product/en/download_file/key_name/DM3/category/Catalog/doc_file_id/49662/?file_category_id=4&item_id=195&is_series=1" H 7900 4050 50 0001 C CNN 296 | 1 7900 3950 297 | 1 0 0 -1 298 | $EndComp 299 | NoConn ~ 7000 4450 300 | Text GLabel 7000 4150 0 60 Input ~ 0 301 | MISO 302 | $Comp 303 | L power:GND #PWR0102 304 | U 1 1 5DCD816F 305 | P 7000 4050 306 | F 0 "#PWR0102" H 7000 3800 50 0001 C CNN 307 | F 1 "GND" V 7000 3850 50 0000 C CNN 308 | F 2 "" H 7000 4050 50 0001 C CNN 309 | F 3 "" H 7000 4050 50 0001 C CNN 310 | 1 7000 4050 311 | 0 1 1 0 312 | $EndComp 313 | Text GLabel 7000 3950 0 60 Input ~ 0 314 | SCK 315 | $Comp 316 | L power:+3.3V #PWR0103 317 | U 1 1 5DCD85F9 318 | P 7000 3850 319 | F 0 "#PWR0103" H 7000 3700 50 0001 C CNN 320 | F 1 "+3.3V" V 7000 4100 50 0000 C CNN 321 | F 2 "" H 7000 3850 50 0001 C CNN 322 | F 3 "" H 7000 3850 50 0001 C CNN 323 | 1 7000 3850 324 | 0 -1 -1 0 325 | $EndComp 326 | Text GLabel 7000 3750 0 60 Input ~ 0 327 | MOSI 328 | Text GLabel 7000 3650 0 60 Input ~ 0 329 | CS 330 | $Comp 331 | L power:GND #PWR0104 332 | U 1 1 5DCD998C 333 | P 8700 4450 334 | F 0 "#PWR0104" H 8700 4200 50 0001 C CNN 335 | F 1 "GND" V 8700 4250 50 0000 C CNN 336 | F 2 "" H 8700 4450 50 0001 C CNN 337 | F 3 "" H 8700 4450 50 0001 C CNN 338 | 1 8700 4450 339 | 0 -1 -1 0 340 | $EndComp 341 | Text GLabel 2900 4000 0 50 Input ~ 0 342 | RST 343 | $Comp 344 | L sd_locker-rescue:R_Small R6 345 | U 1 1 5E1E87AC 346 | P 6600 4250 347 | F 0 "R6" V 6600 4200 50 0000 L CNN 348 | F 1 "0" V 6500 4200 50 0000 L CNN 349 | F 2 "Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder" H 6600 4250 50 0001 C CNN 350 | F 3 "" H 6600 4250 50 0001 C CNN 351 | 1 6600 4250 352 | 0 1 1 0 353 | $EndComp 354 | Text GLabel 6500 4250 0 50 Input ~ 0 355 | RST 356 | Wire Wire Line 357 | 6700 4250 7000 4250 358 | Text Notes 7250 3000 0 50 ~ 0 359 | RST is connected to DAT1 purely to allow\nreprogramming the ATTiny through\nthe large SD card socket. 360 | Text Notes 6450 4900 0 50 ~ 0 361 | power management - powers the circuit\nwhen CD is pulled to GND through the socket shield 362 | $Comp 363 | L Connector:USB_A J1 364 | U 1 1 616837F5 365 | P 1900 2800 366 | F 0 "J1" H 1957 3267 50 0000 C CNN 367 | F 1 "USB_A" H 1957 3176 50 0000 C CNN 368 | F 2 "Connector_USB:USB_A_CNCTech_1001-011-01101_Horizontal" H 2050 2750 50 0001 C CNN 369 | F 3 " ~" H 2050 2750 50 0001 C CNN 370 | 1 1900 2800 371 | 1 0 0 -1 372 | $EndComp 373 | $Comp 374 | L power:GNDS #PWR0101 375 | U 1 1 6168C6AC 376 | P 1800 3200 377 | F 0 "#PWR0101" H 1800 2950 50 0001 C CNN 378 | F 1 "GNDS" H 1805 3027 50 0000 C CNN 379 | F 2 "" H 1800 3200 50 0001 C CNN 380 | F 3 "" H 1800 3200 50 0001 C CNN 381 | 1 1800 3200 382 | 1 0 0 -1 383 | $EndComp 384 | Text GLabel 7000 4350 0 50 Input ~ 0 385 | GND_SWITCHABLE 386 | Text GLabel 1900 3200 2 50 Input ~ 0 387 | GND_SWITCHABLE 388 | $Comp 389 | L power:+5V #PWR0105 390 | U 1 1 6166F30D 391 | P 2550 2550 392 | F 0 "#PWR0105" H 2550 2400 50 0001 C CNN 393 | F 1 "+5V" H 2550 2690 50 0000 C CNN 394 | F 2 "" H 2550 2550 50 0001 C CNN 395 | F 3 "" H 2550 2550 50 0001 C CNN 396 | 1 2550 2550 397 | 1 0 0 -1 398 | $EndComp 399 | Connection ~ 5900 3500 400 | Connection ~ 5900 4000 401 | $Comp 402 | L sd_locker-rescue:ATTINY85-20SU U2 403 | U 1 1 5BA87E84 404 | P 4550 3750 405 | F 0 "U2" H 3400 4150 50 0000 C CNN 406 | F 1 "ATTINY85-20SU" H 5200 3350 50 0000 C CNN 407 | F 2 "Housings_SOIC:SOIJ-8_5.3x5.3mm_Pitch1.27mm" H 5500 3750 50 0001 C CIN 408 | F 3 "" H 4550 3750 50 0001 C CNN 409 | 1 4550 3750 410 | 1 0 0 -1 411 | $EndComp 412 | $Comp 413 | L power:+3.3V #PWR03 414 | U 1 1 5BA87F40 415 | P 3100 4400 416 | F 0 "#PWR03" H 3100 4250 50 0001 C CNN 417 | F 1 "+3.3V" H 3100 4540 50 0000 C CNN 418 | F 2 "" H 3100 4400 50 0001 C CNN 419 | F 3 "" H 3100 4400 50 0001 C CNN 420 | 1 3100 4400 421 | -1 0 0 1 422 | $EndComp 423 | Wire Wire Line 424 | 3100 4300 3100 4400 425 | Wire Wire Line 426 | 3200 4000 3100 4000 427 | Wire Wire Line 428 | 2900 4000 3100 4000 429 | Connection ~ 3100 4000 430 | Wire Wire Line 431 | 3100 4000 3100 4100 432 | $Comp 433 | L sd_locker-rescue:R_Small R1 434 | U 1 1 5BA87F13 435 | P 3100 4200 436 | F 0 "R1" H 3130 4220 50 0000 L CNN 437 | F 1 "10K" H 3130 4160 50 0000 L CNN 438 | F 2 "sd_locker:R_0805_10K_HandSoldering" H 3100 4200 50 0001 C CNN 439 | F 3 "" H 3100 4200 50 0001 C CNN 440 | 1 3100 4200 441 | -1 0 0 1 442 | $EndComp 443 | Wire Wire Line 444 | 3550 2200 3800 2200 445 | Wire Wire Line 446 | 4200 2500 4300 2500 447 | Wire Wire Line 448 | 4300 2500 4300 2550 449 | Wire Wire Line 450 | 3800 2500 3700 2500 451 | Wire Wire Line 452 | 3700 2500 3700 2550 453 | Wire Wire Line 454 | 4200 2200 4400 2200 455 | Text GLabel 7000 3550 0 50 Input ~ 0 456 | DAT2 457 | Text GLabel 3800 2400 0 50 Input ~ 0 458 | DAT2 459 | $Comp 460 | L Device:R_Pack04 RN1 461 | U 1 1 6167EC8A 462 | P 4000 2400 463 | F 0 "RN1" V 3583 2400 50 0000 C CNN 464 | F 1 "1K" V 3674 2400 50 0000 C CNN 465 | F 2 "Resistor_SMD:R_Array_Concave_4x0402" V 4275 2400 50 0001 C CNN 466 | F 3 "~" H 4000 2400 50 0001 C CNN 467 | 1 4000 2400 468 | 0 1 1 0 469 | $EndComp 470 | Wire Wire Line 471 | 4200 2300 4200 2400 472 | $Comp 473 | L power:+3.3V #PWR0106 474 | U 1 1 617D7C68 475 | P 3800 2300 476 | F 0 "#PWR0106" H 3800 2150 50 0001 C CNN 477 | F 1 "+3.3V" V 3800 2500 50 0000 C CNN 478 | F 2 "" H 3800 2300 50 0001 C CNN 479 | F 3 "" H 3800 2300 50 0001 C CNN 480 | 1 3800 2300 481 | 0 -1 -1 0 482 | $EndComp 483 | Text Notes 4250 2450 0 50 ~ 0 484 | pulling unused SD card\ndata lines up is good mojo 485 | $Comp 486 | L sd_locker-rescue:SW_Push SW? 487 | U 1 1 617E12F3 488 | P 3500 2850 489 | F 0 "SW?" H 3550 2950 50 0000 L CNN 490 | F 1 "SW_SIDE" H 3500 2790 50 0000 C CNN 491 | F 2 "sd_locker:SW_SPST_EVQPE1" H 3500 3050 50 0001 C CNN 492 | F 3 "" H 3500 3050 50 0001 C CNN 493 | 1 3500 2850 494 | -1 0 0 -1 495 | $EndComp 496 | Wire Wire Line 497 | 3700 2550 3700 2850 498 | Connection ~ 3700 2550 499 | Wire Wire Line 500 | 3300 2550 3300 2850 501 | Connection ~ 3300 2550 502 | $EndSCHEMATC 503 | -------------------------------------------------------------------------------- /hardware_smol/sym-lib-table: -------------------------------------------------------------------------------- 1 | (sym_lib_table 2 | (lib (name sd_locker-rescue)(type Legacy)(uri ${KIPRJMOD}/sd_locker-rescue.lib)(options "")(descr "")) 3 | (lib (name 74xx)(type Legacy)(uri ${KICAD_SYMBOL_DIR}/74xx.lib)(options "")(descr "")) 4 | ) 5 | -------------------------------------------------------------------------------- /sdlocker-tiny.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * sdlocker-tiny Lock/unlock an SD card, uses ATTINY85 3 | * By Nephiel 4 | * 5 | * Based on sdlocker by karllunt (http://www.seanet.com/~karllunt/sdlocker.html) 6 | * 7 | * 8 | * ATMEL ATTINY85 9 | * +-v-+ 10 | * nc PB5 1| |8 Vcc --- +3.3V 11 | * CS <-- PB3 2| |7 PB2 --> SCK 12 | * LEDSW <-> PB4 3| |6 PB1 <-- MISO 13 | * GND --- GND 4| |5 PB0 --> MOSI 14 | * +---+ 15 | * 16 | * 17 | * LEDSW--+ 18 | * | 19 | * +3.3V R1 LED | R2 Switch 20 | * Vcc----\/\/\---[>|---+---\/\/\---[*]----GND 21 | * 300 300 22 | * 23 | * 24 | * SD CARD 25 | * _______ 26 | * [ 9 ] \ rsv nc 27 | * [ 1 ] | CS <-- CS 28 | * [ 2 ] | DI <-- MOSI 29 | * [ 3 ] | GND --- GND 30 | * [ 4 ] | Vcc --- +3.3V 31 | * [ 5 ] | CLK <-- SCK 32 | * [ 6 ] | GND --- GND 33 | * [ 7 ] | DO --> MISO 34 | * [ 8 ] | rsv nc 35 | * --------+ 36 | * 37 | * 38 | * ADDITIONAL NOTES 39 | * 40 | * You might need to change the fuses on the ATTINY85: 41 | * lfuse=E2, hfuse=DF, efuse=FF or 01 42 | * 43 | * Use the built-in card-detect switch on the SD card socket 44 | * to cut the power to the circuit when the card is removed. 45 | * 46 | * Use a LM3940 to obtain 3.3V from a 5V source such as USB. 47 | * 48 | */ 49 | 50 | 51 | 52 | #include 53 | #include 54 | #include 55 | #include 56 | #include 57 | #include 58 | #include 59 | #include 60 | #include 61 | #include 62 | 63 | #ifndef FALSE 64 | #define FALSE 0 65 | #define TRUE !FALSE 66 | #endif 67 | 68 | 69 | /* 70 | * Define commands for the SD card 71 | */ 72 | #define SD_GO_IDLE (0x40 + 0) // CMD0 - go to idle state 73 | #define SD_INIT (0x40 + 1) // CMD1 - start initialization 74 | #define SD_SEND_IF_COND (0x40 + 8) // CMD8 - send interface (conditional), works for SDHC only 75 | #define SD_SEND_CSD (0x40 + 9) // CMD9 - send CSD block (16 bytes) 76 | #define SD_SEND_CID (0x40 + 10) // CMD10 - send CID block (16 bytes) 77 | #define SD_SEND_STATUS (0x40 + 13) // CMD13 - send card status 78 | #define SD_SET_BLK_LEN (0x40 + 16) // CMD16 - set length of block in bytes 79 | #define SD_READ_BLK (0x40 + 17) // read single block 80 | #define SD_LOCK_UNLOCK (0x40 + 42) // CMD42 - lock/unlock card 81 | #define CMD55 (0x40 + 55) // multi-byte preface command 82 | #define SD_READ_OCR (0x40 + 58) // read OCR 83 | #define SD_ADV_INIT (0xc0 + 41) // ACMD41, for SDHC cards - advanced start initialization 84 | #define SD_PROGRAM_CSD (0x40 + 27) // CMD27 - get CSD block (15 bytes data + CRC) 85 | 86 | 87 | /* 88 | * Define error codes that can be returned by local functions 89 | */ 90 | #define SDCARD_OK 0 // success 91 | #define SDCARD_NOT_DETECTED 1 // unable to detect SD card 92 | #define SDCARD_TIMEOUT 2 // last operation timed out 93 | #define SDCARD_RWFAIL 3 // read/write command failed 94 | 95 | 96 | /* 97 | * Define card types that could be reported by the SD card during probe 98 | */ 99 | #define SDTYPE_UNKNOWN 0 // card type not determined 100 | #define SDTYPE_SD 1 // SD v1 (1 MB to 2 GB) 101 | #define SDTYPE_SDHC 2 // SDHC (4 GB to 32 GB) 102 | 103 | 104 | /* 105 | * Define the port and DDR used by the SPI. 106 | */ 107 | #define SPI_PORT PORTB 108 | #define SPI_DDR DDRB 109 | #define SPI_PIN PINB 110 | 111 | 112 | /* 113 | * Define bits used by the SPI port. 114 | */ 115 | #define MOSI_BIT 0 116 | #define MISO_BIT 1 117 | #define SCK_BIT 2 118 | #define CS_BIT 3 119 | 120 | 121 | /* 122 | * Define the port, DDR, and bit used for the LED and the switch. 123 | * The ATTINY85 doesn't have enough I/O pins so we need to share one. 124 | * Note the LED output is active low. 125 | */ 126 | #define LEDSW_PORT PORTB 127 | #define LEDSW_DDR DDRB 128 | #define LEDSW_PIN PINB 129 | #define LEDSW_BIT 4 130 | #define LEDSW_MASK (1<0; i--) 573 | { 574 | response = SD_send_command(SD_ADV_INIT, 1UL<<30); 575 | if (response == 0) 576 | { 577 | break; 578 | } 579 | } 580 | sdtype = SDTYPE_SDHC; 581 | } 582 | else 583 | { // if card is SD... 584 | response = SD_send_command(SD_READ_OCR, 0); 585 | if (response == 0x01) 586 | { 587 | for (i=0; i<4; i++) // burn the 4-byte response (OCR) 588 | { 589 | Xchg(0xff); 590 | } 591 | for (i=20000; i>0; i--) 592 | { 593 | response = SD_send_command(SD_INIT, 0); 594 | if (response == 0) 595 | { 596 | break; 597 | } 598 | } 599 | SD_send_command(SD_SET_BLK_LEN, 512); 600 | sdtype = SDTYPE_SD; 601 | } 602 | } 603 | 604 | Xchg(0xff); // send 8 final clocks 605 | 606 | /* 607 | * At this point, the SD card has completed initialization. The calling routine 608 | * could now increase the SPI clock rate for the SD card to the maximum allowed by 609 | * the SD card (typically, 20 MHz). 610 | */ 611 | 612 | return SDCARD_OK; // if no power routine or turning off the card, call it good 613 | } 614 | 615 | 616 | 617 | /* 618 | * ReadCSD() 619 | * Reads the CSD from the card, storing it in csd[]. 620 | */ 621 | static uint8_t ReadCSD(void) 622 | { 623 | uint8_t i; 624 | uint8_t response; 625 | 626 | for (i=0; i<16; i++) 627 | { 628 | csd[i] = 0; 629 | } 630 | 631 | response = SD_send_command(SD_SEND_CSD, 0); 632 | response = SD_wait_for_data(); 633 | if (response != 0xfe) 634 | { 635 | return SDCARD_RWFAIL; 636 | } 637 | 638 | for (i=0; i<16; i++) 639 | { 640 | csd[i] = Xchg(0xff); 641 | } 642 | 643 | Xchg(0xff); // burn the CRC 644 | return SDCARD_OK; 645 | } 646 | 647 | 648 | 649 | /* 650 | * WriteCSD() 651 | * Writes csd[] to the CSD on the card. 652 | */ 653 | static uint8_t WriteCSD(void) 654 | { 655 | uint8_t response; 656 | uint8_t tcrc; 657 | uint16_t i; 658 | 659 | response = SD_send_command(SD_PROGRAM_CSD, 0); 660 | if (response != 0) 661 | { 662 | return SDCARD_RWFAIL; 663 | } 664 | 665 | Xchg(0xfe); // send data token marking start of data block 666 | 667 | tcrc = 0; 668 | for (i=0; i<15; i++) // for all 15 data bytes in CSD... 669 | { 670 | Xchg(csd[i]); // send each byte via SPI 671 | tcrc = AddByteToCRC(tcrc, csd[i]); // add byte to CRC 672 | } 673 | Xchg((tcrc<<1) + 1); // format the CRC7 value and send it 674 | 675 | Xchg(0xff); // ignore dummy checksum 676 | Xchg(0xff); // ignore dummy checksum 677 | 678 | i = 0xffff; // max timeout 679 | while (!Xchg(0xff) && (--i)); // wait until we are not busy 680 | 681 | if (i) 682 | { 683 | return SDCARD_OK; // return success 684 | } 685 | else 686 | { 687 | return SDCARD_TIMEOUT; // nope, didn't work 688 | } 689 | } 690 | 691 | 692 | /* 693 | static void GenerateCRCTable(void) 694 | { 695 | uint16_t i, j; 696 | 697 | // generate a table value for all 256 possible byte values 698 | for (i=0; i<256; i++) 699 | { 700 | crctable[i] = (i & 0x80) ? i ^ CRC7_POLY : i; 701 | for (j=1; j<8; j++) 702 | { 703 | crctable[i] <<= 1; 704 | if (crctable[i] & 0x80) 705 | { 706 | crctable[i] ^= CRC7_POLY; 707 | } 708 | } 709 | } 710 | } 711 | */ 712 | 713 | 714 | static uint8_t AddByteToCRC(uint8_t crc, uint8_t b) 715 | { 716 | return crctable[(crc << 1) ^ b]; 717 | } 718 | 719 | 720 | 721 | 722 | /* 723 | * SD_send_command(command, arg) 724 | * Sends a raw command to SD card, returns the response. 725 | * 726 | * This routine accepts a single SD command and a 4-byte argument. It sends 727 | * the command plus argument, adding the appropriate CRC. It then returns 728 | * the one-byte response from the SD card. 729 | * 730 | * For advanced commands (those with a command byte having bit 7 set), this 731 | * routine automatically sends the required preface command (CMD55) before 732 | * sending the requested command. 733 | * 734 | * Upon exit, this routine returns the response byte from the SD card. 735 | * Possible responses are: 736 | * 0xff No response from card; card might actually be missing 737 | * 0x01 SD card returned 0x01, which is OK for most commands 738 | * 0x?? other responses are command-specific 739 | */ 740 | static uint8_t SD_send_command(uint8_t command, uint32_t arg) 741 | { 742 | uint8_t response; 743 | uint8_t i; 744 | uint8_t crc; 745 | 746 | if (command & 0x80) // special case, ACMD(n) is sent as CMD55 and CMDn 747 | { 748 | command = command & 0x7f; // strip high bit for later 749 | response = SD_send_command(CMD55, 0); // send first part (recursion) 750 | if (response > 1) 751 | { 752 | return response; 753 | } 754 | } 755 | 756 | Deselect(); 757 | Xchg(0xff); 758 | Select(); // enable CS 759 | Xchg(0xff); 760 | 761 | Xchg(command | 0x40); // command always has bit 6 set! 762 | Xchg((uint8_t)(arg>>24)); // send data, starting with top byte 763 | Xchg((uint8_t)(arg>>16)); 764 | Xchg((uint8_t)(arg>>8)); 765 | Xchg((uint8_t)(arg&0xff)); 766 | crc = 0x01; // good for most cases 767 | 768 | if (command == SD_GO_IDLE) 769 | { 770 | crc = 0x95; // this will be good enough for most commands 771 | } 772 | if (command == SD_SEND_IF_COND) 773 | { 774 | crc = 0x87; // special case, have to use different CRC 775 | } 776 | 777 | Xchg(crc); // send final byte 778 | 779 | for (i=0; i<10; i++) // loop until timeout or response 780 | { 781 | response = Xchg(0xff); 782 | if ((response & 0x80) == 0) 783 | { 784 | break; // high bit cleared means we got a response 785 | } 786 | } 787 | 788 | /* 789 | * We have issued the command but the SD card is still selected. We 790 | * only deselect the card if the command we just sent is NOT a command 791 | * that requires additional data exchange, such as reading or writing 792 | * a block. 793 | */ 794 | if ((command != SD_READ_BLK) && 795 | (command != SD_READ_OCR) && 796 | (command != SD_SEND_CSD) && 797 | (command != SD_SEND_STATUS) && 798 | (command != SD_SEND_CID) && 799 | (command != SD_SEND_IF_COND) && 800 | (command != SD_LOCK_UNLOCK) && 801 | (command != SD_PROGRAM_CSD)) 802 | { 803 | Deselect(); // all done 804 | Xchg(0xff); // close with eight more clocks 805 | } 806 | 807 | return response; // let the caller sort it out 808 | } 809 | 810 | 811 | static uint8_t SD_wait_for_data(void) 812 | { 813 | uint8_t i; 814 | uint8_t r; 815 | 816 | for (i=0; i<100; i++) 817 | { 818 | r = Xchg(0xff); 819 | if (r != 0xff) 820 | { 821 | break; 822 | } 823 | } 824 | return r; 825 | } 826 | -------------------------------------------------------------------------------- /sdlocker-tiny.hex: -------------------------------------------------------------------------------- 1 | :100000008EC0A8C0A7C0A6C0A5C0A4C0A3C0A2C0DF 2 | :10001000A1C0A0C09FC09EC09DC09CC09BC0000945 3 | :10002000121B242D363F48415A536C657E771910B8 4 | :100030000B023D342F265158434A757C676E323B84 5 | :100040002029161F040D7A7368615E574C452B22D8 6 | :1000500039300F061D14636A7178474E555C646D24 7 | :10006000767F4049525B2C253E3708011A137D7478 8 | :100070006F6659504B42353C272E1118030A565FC4 9 | :10008000444D727B60691E170C053A3328214F4698 10 | :100090005D546B627970070E151C232A3138414874 11 | :1000A000535A656C777E09001B122D243F36585138 12 | :1000B0004A437C756E671019020B343D262F737A04 13 | :1000C0006168575E454C3B3229201F160D046A6358 14 | :1000D00078714E475C55222B3039060F141D252CA4 15 | :1000E000373E0108131A6D647F7649405B523C35F8 16 | :1000F0002E2718110A03747D666F5059424B171E44 17 | :10010000050C333A21285F564D447B7269600E0717 18 | :100110001C152A233831464F545D626B70791124C7 19 | :100120001FBECFE5D2E0DEBFCDBF10E0A0E6B0E05D 20 | :10013000EAE9F7E002C005900D92A236B107D9F7BF 21 | :1001400020E0A2E6B0E001C01D92A337B207E1F7BC 22 | :1001500090D121C355CF98E008C0C098C29A880FAB 23 | :10016000B1998160C298915021F087FFF6CFC09A73 24 | :10017000F5CF0895EF92FF920F931F93CF93DF93E4 25 | :10018000182FC42F052FF62EE72E87FD3AC0C39AED 26 | :100190008FEFE1DFC3988FEFDEDF812F8064DBDF3D 27 | :1001A0008E2DD9DF8F2DD7DF802FD5DF8C2FD3DF9A 28 | :1001B000103489F1183419F181E0CDDFCAE08FEFF6 29 | :1001C000CADFD82F87FF02C0C150C9F7113579F0B7 30 | :1001D0001D3469F088EB810F833048F0812F8F7ECA 31 | :1001E0008A3629F01B3519F0C39A8FEFB4DF8D2FB3 32 | :1001F000DF91CF911F910F91FF90EF90089587E8C5 33 | :10020000DCCF40E050E0BA0187E7B4DFD82F82307E 34 | :1002100070F71F77BCCF85E9D0CF909170008091A7 35 | :100220006000892359F4C49A2FEB8AED90E02150A5 36 | :1002300080409040E1F700C000000895C4982FEB83 37 | :100240008AED90E0215080409040E1F700C000002E 38 | :100250000895C49ABC98C49A86B38295817091E03F 39 | :100260008927BC9A2091700090916000922309F038 40 | :10027000C4980895CF93DF93D82FC5E02FEF80E780 41 | :1002800092E0215080409040E1F700C00000E1DFA3 42 | :100290008D1306C0C15091F781E0DF91CF91089591 43 | :1002A00080E0DF91CF910895CF93DF931092720099 44 | :1002B000C39ACAE0D0E08FEF4EDF2197E1F7CAE0A2 45 | :1002C000D0E040E050E0BA0180E454DF813031F00A 46 | :1002D0002197B9F781E0DF91CF9108954AEA51E083 47 | :1002E00060E070E088E446DF813069F040E050E093 48 | :1002F000BA018AE73FDF8130F9F08FEF2CDF80E031 49 | :10030000DF91CF9108958FEF26DF8FEF24DF8FEFFE 50 | :1003100022DF8FEF20DFC0E2DEE402C0219741F050 51 | :1003200040E050E060E070E489EE24DF8111F6CF18 52 | :1003300082E080937200E1CF8FEF0DDF8FEF0BDF54 53 | :100340008FEF09DF8FEF07DFC0E2DEE402C0219705 54 | :1003500039F040E050E0BA0181E40CDF8111F7CFC1 55 | :1003600040E052E060E070E080E504DF81E08093EF 56 | :100370007200C3CFEF92FF920F931F93CF9302E6C9 57 | :1003800010E082E7E82E80E0F82EF801119280E07C 58 | :10039000E237F807D9F740E050E0BA0189E4EADE35 59 | :1003A000C4E602C0C15031F08FEFD5DE8F3FD1F3EC 60 | :1003B0008E3F39F083E0CF911F910F91FF90EF9026 61 | :1003C00008958FEFC8DEF80181938F01EE16FF06C6 62 | :1003D000C1F78FEFC0DE80E0CF911F910F91FF90AA 63 | :1003E000EF90089561DF8823F1F020E280E090E053 64 | :1003F000A0E0B0EA14C0C49A3FEB4AED50E031509F 65 | :1004000040405040E1F700C00000880F991FAA1F2C 66 | :10041000BB1F0097A105B10529F3215019F3B7FFC0 67 | :10042000EACFC498E9CFA6DF882311F120E280E06B 68 | :1004300090E0A0E0B5EA14C0C49A3FEB4AED50E06A 69 | :10044000315040405040E1F700C00000880F991F34 70 | :10045000AA1FBB1F0097A105B10531F0215021F063 71 | :10046000B7FFEACFC498E9CF85DF8111DFCF0895C8 72 | :100470000895EFDE813009F42FC1BC9AC4989FEF34 73 | :10048000A3EDB0E39150A040B040E1F700C0000000 74 | :10049000C49A88B3856088BB87B38D6087BBC19AD7 75 | :1004A000C39AA0DFBADED5DE8130E1F7E3DE882330 76 | :1004B000C9F32091700080916000C22FC82309F415 77 | :1004C0009BC0982F9095892F82238093700040E0E5 78 | :1004D00050E0BA018BE54EDE882309F497C020E294 79 | :1004E0008FE090E0DC0114C0C49AEFEBFAED30E04D 80 | :1004F000E150F0403040E1F700C00000880F991F44 81 | :10050000AA1FBB1F0097A105B10531F0215021F0B2 82 | :10051000B7FFEACFC498E9CF20E28FE090E0DC019A 83 | :1005200014C0C49A4FEB5AEDE0E041505040E04017 84 | :10053000E1F700C00000880F991FAA1FBB1F00979A 85 | :10054000A105B10531F0215021F0B7FFEACFC498E1 86 | :10055000E9CF20E28FE090E0DC0114C0C49AFFEB09 87 | :100560003AED40E0F15030404040E1F700C000007B 88 | :10057000880F991FAA1FBB1F0097A105B10531F075 89 | :10058000215021F0B7FFEACFC498E9CF2BDF90913B 90 | :1005900070008091600089238C1781F03EDE06C0D8 91 | :1005A0008FE493EC0197F1F700C0000052DE811157 92 | :1005B000F7CF80E05FDE882399F374CF20E283E0F9 93 | :1005C00090E0DC0115C0C49A5FEBEAEDF0E0515019 94 | :1005D000E040F040E1F700C00000880F991FAA1F1B 95 | :1005E000BB1F0097A105B10509F43AC02150C1F124 96 | :1005F000B7FFE9CFC498E8CF822B8093700040E02A 97 | :1006000050E0BA018BE5B6DD811169CF8EEFA3DD35 98 | :1006100002E610E0D0E07801F80181918F019BDDC6 99 | :10062000ED2FF0E0EE0FFF1FD7018C91E827E25E7F 100 | :10063000FF4FD081B0E001371B0769F78D2F880F7E 101 | :100640008F5F89DD8FEF87DD8FEF85DD0FEF1FEF88 102 | :100650008FEF81DD81119ACF01501109C9F73FCF8A 103 | :1006600020E283E090E0DC0114C0C49A3FEB4AED45 104 | :1006700050E0315040405040E1F700C00000880F8A 105 | :10068000991FAA1FBB1F0097A105B10531F021508A 106 | :1006900021F0B7FFEACFC498E9CF20E283E090E0F1 107 | :1006A000DC0116C0C49AEFEBFAED30E0E150F04007 108 | :1006B0003040E1F700C00000880F991FAA1FBB1F40 109 | :1006C0000097A105B10509F469CF215009F466CF5F 110 | :1006D000B7FFE8CFC498E7CFCDDD882309F4CDCEAE 111 | :1006E00080E28093600083E090E0C4982FEF32E5D1 112 | :1006F00047E0215030404040E1F700C00000C49A7C 113 | :100700005FEFA2E5B7E05150A040B040E1F700C074 114 | :100710000000019751F783E090E0C498EFEFF0E715 115 | :1007200022E0E150F0402040E1F700C00000C49A10 116 | :100730003FEF40E752E0315040405040E1F700C009 117 | :100740000000019751F783E090E0C498AFEFB2E565 118 | :10075000E7E0A150B040E040E1F700C00000C49ADB 119 | :10076000FFEF22E537E0F15020403040E1F700C0D4 120 | :100770000000019751F76DDD882339F08FE493EC89 121 | :100780000197F1F700C00000F6CF80E073DD882309 122 | :0A079000A9F3BC9A7ECEF894FFCFC7 123 | :02079A0010004D 124 | :00000001FF 125 | --------------------------------------------------------------------------------