Skip to content

Commit

Permalink
fix: invert pin 1 and 2 for Q2 BC817 instead of PN222N
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanee committed Aug 13, 2020
1 parent 03c85f3 commit fbd26d9
Show file tree
Hide file tree
Showing 8 changed files with 778 additions and 2,655 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.DS_Store
_autosave*
*.kicad_pcb-bak
*.sch-bak
*.bak
*-cache.lib
*-rescue.lib
Expand Down
1,443 changes: 718 additions & 725 deletions hardware/Pine.kicad_pcb

Large diffs are not rendered by default.

97 changes: 55 additions & 42 deletions hardware/Pine.net
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(export (version D)
(design
(source /Users/sayanee/Documents/hutscape/pine/hardware/Pine.sch)
(date "2019 November 16, Saturday 11:13:47")
(tool "Eeschema (5.1.0-0)")
(date "2020 August 13, Thursday 10:43:50")
(tool "Eeschema (5.1.6-0-10_14)")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title Pine)
Expand Down Expand Up @@ -119,7 +119,7 @@
(field (name "Unit cost") 0.312)
(field (name Vendor) "RS Components")
(field (name "Vendor link") https://sg.rs-online.com/web/p/mosfets/7258366/))
(libsource (lib Transistor_FET) (part BSS83P) (description "-0.33A Id, -60V Vds, P-Channel MOSFET, SOT-23-3"))
(libsource (lib Transistor_FET) (part BSS83P) (description "-0.33A Id, -60V Vds, P-Channel MOSFET, SOT-23"))
(sheetpath (names /) (tstamps /))
(tstamp 5D8038F4))
(comp (ref R1)
Expand Down Expand Up @@ -680,7 +680,7 @@
(field (name "Unit cost") 0.021)
(field (name Vendor) LCSC)
(field (name "Vendor link") https://lcsc.com/product-detail/Transistors-NPN-PNP_ON-Semicon_BC817-25LT3G_ON-Semicon-ON-BC817-25LT3G_C191221.html))
(libsource (lib Transistor_BJT) (part 2N2219) (description "800mA Ic, 50V Vce, NPN Transistor, TO-39"))
(libsource (lib Transistor_BJT) (part BC817) (description "0.8A Ic, 45V Vce, NPN Transistor, SOT-23"))
(sheetpath (names /) (tstamps /))
(tstamp 5D3886A5))
(comp (ref R14)
Expand Down Expand Up @@ -905,7 +905,7 @@
(pin (num 2) (name A) (type passive))))
(libpart (lib MCU_Microchip_SAMD) (part ATSAMD21G18A-AUT)
(description "SAM D21 Microchip SMART ARM-based Flash MCU, 48Mhz, 256K Flash, 32K SRAM, TQFP-48")
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/SAMD21-Family-DataSheet-DS40001882D.pdf)
(docs http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D21_DA1_Family_Data%20Sheet_DS40001882E.pdf)
(footprints
(fp TQFP*7x7mm*P0.5mm*))
(fields
Expand Down Expand Up @@ -1023,21 +1023,28 @@
(pins
(pin (num 1) (name A) (type passive))
(pin (num 2) (name B) (type passive))))
(libpart (lib Transistor_BJT) (part 2N2219)
(libpart (lib Transistor_BJT) (part BC817)
(aliases
(alias BC140)
(alias BC141))
(description "800mA Ic, 50V Vce, NPN Transistor, TO-39")
(docs http://www.onsemi.com/pub_link/Collateral/2N2219-D.PDF)
(alias BC818)
(alias BC846)
(alias BC847)
(alias BC848)
(alias BC849)
(alias BC850)
(alias MMBT3904)
(alias MMBT5550L)
(alias MMBT5551L))
(description "0.8A Ic, 45V Vce, NPN Transistor, SOT-23")
(docs http://www.fairchildsemi.com/ds/BC/BC817.pdf)
(footprints
(fp TO?39*))
(fp SOT?23*))
(fields
(field (name Reference) Q)
(field (name Value) 2N2219)
(field (name Footprint) Package_TO_SOT_THT:TO-39-3))
(field (name Value) BC817)
(field (name Footprint) Package_TO_SOT_SMD:SOT-23))
(pins
(pin (num 1) (name E) (type passive))
(pin (num 2) (name B) (type passive))
(pin (num 1) (name B) (type input))
(pin (num 2) (name E) (type passive))
(pin (num 3) (name C) (type passive))))
(libpart (lib Transistor_FET) (part TP0610T)
(aliases
Expand All @@ -1046,8 +1053,14 @@
(alias NTR2101P)
(alias BSS83P)
(alias Si2319CDS)
(alias IRLML6402))
(description "-0.18A Id, -60V Vds, P-Channel MOSFET, SOT-23-3")
(alias IRLML6402)
(alias DMG2301L)
(alias AO3401A)
(alias IRLML9301)
(alias IRLML5203)
(alias Si2371EDS)
(alias TSM2301ACX))
(description "-0.18A Id, -60V Vds, P-Channel MOSFET, SOT-23")
(docs http://www.vishay.com/docs/70209/70209.pdf)
(footprints
(fp SOT?23*))
Expand Down Expand Up @@ -1098,10 +1111,10 @@
(node (ref J3) (pin 2))
(node (ref R1) (pin 1))
(node (ref C11) (pin 2))
(node (ref Q2) (pin 2))
(node (ref R5) (pin 2))
(node (ref C5) (pin 2))
(node (ref U4) (pin 18))
(node (ref Q2) (pin 1))
(node (ref C5) (pin 2))
(node (ref U4) (pin 5))
(node (ref C10) (pin 2))
(node (ref C9) (pin 2))
Expand All @@ -1112,17 +1125,17 @@
(node (ref U4) (pin 35))
(node (ref C8) (pin 2)))
(net (code 2) (name "Net-(C5-Pad1)")
(node (ref U1) (pin 3))
(node (ref C5) (pin 1))
(node (ref R11) (pin 2)))
(node (ref R11) (pin 2))
(node (ref U1) (pin 3)))
(net (code 3) (name /IR_Receiver)
(node (ref U1) (pin 1))
(node (ref U4) (pin 24)))
(node (ref U4) (pin 24))
(node (ref U1) (pin 1)))
(net (code 4) (name "Net-(U3-Pad7)")
(node (ref U3) (pin 7)))
(net (code 5) (name "Net-(C4-Pad2)")
(node (ref C4) (pin 2))
(node (ref U4) (pin 43)))
(node (ref U4) (pin 43))
(node (ref C4) (pin 2)))
(net (code 6) (name "Net-(J1-Pad4)")
(node (ref J1) (pin 4)))
(net (code 7) (name "Net-(J1-Pad6)")
Expand All @@ -1132,9 +1145,9 @@
(net (code 9) (name "Net-(U4-Pad10)")
(node (ref U4) (pin 10)))
(net (code 10) (name /Batt)
(node (ref U4) (pin 11))
(node (ref R5) (pin 1))
(node (ref R4) (pin 2)))
(node (ref R4) (pin 2))
(node (ref U4) (pin 11)))
(net (code 11) (name /IR_Emitter)
(node (ref R3) (pin 2))
(node (ref U4) (pin 12)))
Expand Down Expand Up @@ -1163,8 +1176,8 @@
(net (code 22) (name "Net-(U4-Pad25)")
(node (ref U4) (pin 25)))
(net (code 23) (name /LED)
(node (ref R10) (pin 2))
(node (ref U4) (pin 26)))
(node (ref U4) (pin 26))
(node (ref R10) (pin 2)))
(net (code 24) (name "Net-(U4-Pad27)")
(node (ref U4) (pin 27)))
(net (code 25) (name "Net-(U4-Pad28)")
Expand Down Expand Up @@ -1192,9 +1205,9 @@
(node (ref U4) (pin 4)))
(net (code 35) (name /RST)
(node (ref SW2) (pin 1))
(node (ref J2) (pin 5))
(node (ref U4) (pin 40))
(node (ref R9) (pin 1)))
(node (ref R9) (pin 1))
(node (ref J2) (pin 5)))
(net (code 36) (name "Net-(U4-Pad41)")
(node (ref U4) (pin 41)))
(net (code 37) (name /SWCLK)
Expand All @@ -1215,29 +1228,29 @@
(net (code 43) (name "Net-(U3-Pad4)")
(node (ref U3) (pin 4)))
(net (code 44) (name "Net-(D4-Pad1)")
(node (ref R6) (pin 1))
(node (ref D4) (pin 1)))
(node (ref D4) (pin 1))
(node (ref R6) (pin 1)))
(net (code 45) (name "Net-(D5-Pad1)")
(node (ref D5) (pin 1))
(node (ref R7) (pin 1)))
(net (code 46) (name "Net-(D6-Pad1)")
(node (ref R8) (pin 1))
(node (ref D6) (pin 1)))
(net (code 47) (name "Net-(D7-Pad1)")
(node (ref D7) (pin 1))
(node (ref R10) (pin 1)))
(node (ref R10) (pin 1))
(node (ref D7) (pin 1)))
(net (code 48) (name /SWD_POWER_IN)
(node (ref R2) (pin 2))
(node (ref D1) (pin 1))
(node (ref J2) (pin 1))
(node (ref C6) (pin 1))
(node (ref R2) (pin 2))
(node (ref U2) (pin 1))
(node (ref Q1) (pin 2)))
(node (ref Q1) (pin 2))
(node (ref J2) (pin 1)))
(net (code 49) (name "Net-(J2-Pad6)")
(node (ref J2) (pin 6)))
(net (code 50) (name /SWDIO)
(node (ref J2) (pin 4))
(node (ref U4) (pin 46)))
(node (ref U4) (pin 46))
(node (ref J2) (pin 4)))
(net (code 51) (name /VBAT)
(node (ref SW1) (pin 2))
(node (ref R4) (pin 1))
Expand Down Expand Up @@ -1282,8 +1295,8 @@
(net (code 61) (name "Net-(D3-Pad1)")
(node (ref Q2) (pin 3))
(node (ref D3) (pin 1)))
(net (code 62) (name "Net-(Q2-Pad2)")
(node (ref Q2) (pin 2))
(net (code 62) (name "Net-(Q2-Pad1)")
(node (ref Q2) (pin 1))
(node (ref R3) (pin 1)))
(net (code 63) (name "Net-(D3-Pad2)")
(node (ref D3) (pin 2))
Expand Down
2 changes: 1 addition & 1 deletion hardware/Pine.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
update=2020 July 07, Tuesday 13:11:06
update=2020 August 13, Thursday 10:54:18
version=1
last_client=kicad
[general]
Expand Down
6 changes: 3 additions & 3 deletions hardware/Pine.sch
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "Pine"
Date "2019-11-11"
Rev "V1.0"
Date "2020-08-13"
Rev "V1.1"
Comp "Hutscape"
Comment1 "Control aircon by monitoring temperature in other parts of the room"
Comment2 ""
Expand Down Expand Up @@ -1563,7 +1563,7 @@ F 3 "" H 5050 5500 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Transistor_BJT:2N2219 Q2
L Transistor_BJT:BC817 Q2
U 1 1 5D3886A5
P 4950 5150
F 0 "Q2" H 4750 5250 50 0000 L CNN
Expand Down
Loading

0 comments on commit fbd26d9

Please sign in to comment.