Add temperature sensor to PCB for compensation calculation.

This commit is contained in:
Mario Hüttel 2019-12-25 00:20:04 +01:00
parent c211cf659b
commit a698e0b0e5
8 changed files with 1157 additions and 3601 deletions

Binary file not shown.

View File

@ -229,7 +229,7 @@ F 3 "~" H 750 900 50 0001 C CNN
1 0 0 -1
$EndComp
Wire Wire Line
650 1550 550 1550
650 1550 600 1550
Wire Wire Line
550 1550 550 1300
Wire Wire Line
@ -967,4 +967,112 @@ Wire Wire Line
2950 3100 2950 4050
Wire Wire Line
2950 4250 2950 5000
$Comp
L Device:C C307
U 1 1 5E051281
P 600 1950
F 0 "C307" H 715 1996 50 0000 L CNN
F 1 "10u" H 715 1905 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 638 1800 50 0001 C CNN
F 3 "~" H 600 1950 50 0001 C CNN
1 600 1950
1 0 0 -1
$EndComp
Wire Wire Line
600 2100 750 2100
Connection ~ 750 2100
Wire Wire Line
600 1800 600 1550
Connection ~ 600 1550
Wire Wire Line
600 1550 550 1550
$Comp
L Sensor_Temperature:DS18B20 U306
U 1 1 5E08DC55
P 5400 1950
F 0 "U306" H 5170 1996 50 0000 R CNN
F 1 "DS18B20" H 5170 1905 50 0000 R CNN
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 4400 1700 50 0001 C CNN
F 3 "http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf" H 5250 2200 50 0001 C CNN
1 5400 1950
-1 0 0 -1
$EndComp
$Comp
L Device:C C314
U 1 1 5E096137
P 6100 1950
F 0 "C314" V 5848 1950 50 0000 C CNN
F 1 "100n" V 5939 1950 50 0000 C CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 6138 1800 50 0001 C CNN
F 3 "~" H 6100 1950 50 0001 C CNN
1 6100 1950
-1 0 0 1
$EndComp
Wire Wire Line
6100 2100 6100 2350
Wire Wire Line
6100 2350 5400 2350
Wire Wire Line
5400 2350 5400 2250
Wire Wire Line
5400 2350 5400 2450
Connection ~ 5400 2350
Wire Wire Line
6100 1800 6100 1500
Wire Wire Line
6100 1500 5400 1500
Wire Wire Line
5400 1500 5400 1650
Wire Wire Line
5400 1500 5400 1400
Connection ~ 5400 1500
$Comp
L power:+3V3 #PWR0130
U 1 1 5E0AC49E
P 5400 1300
F 0 "#PWR0130" H 5400 1150 50 0001 C CNN
F 1 "+3V3" H 5415 1473 50 0000 C CNN
F 2 "" H 5400 1300 50 0001 C CNN
F 3 "" H 5400 1300 50 0001 C CNN
1 5400 1300
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0131
U 1 1 5E0AE6F5
P 5400 2450
F 0 "#PWR0131" H 5400 2200 50 0001 C CNN
F 1 "GND" H 5405 2277 50 0000 C CNN
F 2 "" H 5400 2450 50 0001 C CNN
F 3 "" H 5400 2450 50 0001 C CNN
1 5400 2450
1 0 0 -1
$EndComp
Wire Wire Line
5100 1950 4750 1950
$Comp
L Device:R R316
U 1 1 5E0B45CD
P 4750 1700
F 0 "R316" H 4820 1746 50 0000 L CNN
F 1 "4k7" H 4820 1655 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 4680 1700 50 0001 C CNN
F 3 "~" H 4750 1700 50 0001 C CNN
1 4750 1700
1 0 0 -1
$EndComp
Wire Wire Line
4750 1850 4750 1950
Connection ~ 4750 1950
Wire Wire Line
4750 1950 4650 1950
Wire Wire Line
4750 1550 4750 1400
Wire Wire Line
4750 1400 5400 1400
Connection ~ 5400 1400
Wire Wire Line
5400 1400 5400 1300
Text HLabel 4650 1950 0 50 BiDi ~ 0
FRONTEND_TEMP
$EndSCHEMATC

View File

@ -709,6 +709,35 @@ X VI 3 -300 0 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Sensor_Temperature_DS18B20
#
DEF Sensor_Temperature_DS18B20 U 0 40 Y Y 1 F N
F0 "U" -150 250 50 H V C CNN
F1 "Sensor_Temperature_DS18B20" 250 250 50 H V C CNN
F2 "Package_TO_SOT_THT:TO-92_Inline" -1000 -250 50 H I C CNN
F3 "" -150 250 50 H I C CNN
ALIAS DS1822 DS18B20 DS18S20 DS1821C
$FPLIST
TO*92*
$ENDFPLIST
DRAW
A -130 125 25 1 1799 0 1 10 N -105 125 -155 125
C -130 -100 50 0 1 10 F
S -200 200 200 -200 0 1 10 f
S -105 -75 -155 0 0 1 10 F
P 2 0 1 10 -155 25 -130 25 N
P 2 0 1 10 -155 50 -130 50 N
P 2 0 1 10 -155 75 -130 75 N
P 2 0 1 10 -155 100 -130 100 N
P 2 0 1 10 -155 125 -155 0 N
P 2 0 1 10 -155 125 -130 125 N
P 2 0 1 10 -105 125 -105 0 N
X GND 1 0 -300 100 U 50 50 1 1 W
X DQ 2 300 0 100 L 50 50 1 1 B
X VDD 3 0 300 100 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Transistor_FET_BSS123
#
DEF Transistor_FET_BSS123 Q 0 20 Y N 1 F N

View File

@ -0,0 +1,71 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>KiCad BOM Example 5</title>
</head>
<body>
<h1>/home/mari/projects/pcb/reflow-oven-control-pcb/reflow-oven-control-pcb.sch</h1>
<p>Tue 24 Dec 2019 01:07:20 AM CET</p>
<p>Eeschema 5.1.5</p>
<p><b>Component Count:</b>110</p>
<table>
<tr><th style='width:640px'>Ref</th><th>Qnty</th><th>Value</th><th>Part</th><th>Footprint</th><th>Description</th><th>Vendor</th></tr>
<tr><td>C101, C102</td><td>2</td><td>100n/1kV</td><td>Device:C</td><td>Capacitor_SMD:C_1206_3216Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C103, C104</td><td>2</td><td>470u</td><td>Device:CP</td><td>Capacitor_THT:CP_Radial_D8.0mm_P3.50mm</td><td>Polarized capacitor</td><td></td></tr>
<tr><td>C105, C106</td><td>2</td><td>100n</td><td>Device:C</td><td>Capacitor_SMD:C_0805_2012Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C107, C201, C202, C205, C207, C209, C213, C214, C216, C217, C218, C219, C302, C303, C305, C306, C308, C310, C311, C312</td><td>20</td><td>100n</td><td>Device:C</td><td>Capacitor_SMD:C_0603_1608Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C108, C109</td><td>2</td><td>10u</td><td>Device:CP</td><td>Capacitor_SMD:C_Elec_5x5.4</td><td>Polarized capacitor</td><td></td></tr>
<tr><td>C110</td><td>1</td><td>1u</td><td>Device:C</td><td>Capacitor_SMD:C_1206_3216Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C111, C220, C313</td><td>3</td><td>10u</td><td>Device:C</td><td>Capacitor_SMD:C_1210_3225Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C112</td><td>1</td><td>22n</td><td>Device:C</td><td>Capacitor_SMD:C_0603_1608Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C203, C204</td><td>2</td><td>12p</td><td>Device:C</td><td>Capacitor_SMD:C_0603_1608Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C206, C208</td><td>2</td><td>2u2</td><td>Device:C</td><td>Capacitor_SMD:C_0603_1608Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C210, C215, C301, C304</td><td>4</td><td>1u</td><td>Device:C</td><td>Capacitor_SMD:C_0603_1608Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>C309</td><td>1</td><td>1n</td><td>Device:C</td><td>Capacitor_SMD:C_0603_1608Metric</td><td>Unpolarized capacitor</td><td></td></tr>
<tr><td>CON201</td><td>1</td><td>Micro_SD</td><td>shimatta_connectors:Micro_SD</td><td>shimatta_smd:MCC-SDMICRO3-112J-TDAR-R01</td><td></td><td></td></tr>
<tr><td>D101, D102</td><td>2</td><td>LED</td><td>Device:LED</td><td>LED_SMD:LED_0603_1608Metric</td><td>Light emitting diode</td><td></td></tr>
<tr><td>D104</td><td>1</td><td>2W005G-E4/51</td><td>Device:D_Bridge_+A-A</td><td>Diode_THT:Diode_Bridge_Round_D9.8mm</td><td>Diode bridge, +ve/AC/-ve/AC</td><td></td></tr>
<tr><td>D301</td><td>1</td><td>1N4448W</td><td>Diode:1N4448W</td><td>Diode_SMD:D_SOD-123</td><td>100V 0.15A High-speed standard diode, SOD-123</td><td></td></tr>
<tr><td>F102</td><td>1</td><td>100mA/slow</td><td>Device:Fuse</td><td>shimatta_tht:Schurter_0031.8201_20mm_Fuse</td><td>Fuse</td><td></td></tr>
<tr><td>F103</td><td>1</td><td>500mA/slow</td><td>Device:Fuse</td><td>shimatta_tht:Schurter_0031.8201_20mm_Fuse</td><td>Fuse</td><td></td></tr>
<tr><td>FB101</td><td>1</td><td>600 Ohm</td><td>Device:Ferrite_Bead_Small</td><td>Inductor_SMD:L_0603_1608Metric_Pad1.05x0.95mm_HandSolder</td><td>Ferrite bead, small symbol</td><td></td></tr>
<tr><td>H104</td><td>1</td><td>M3</td><td>Mechanical:MountingHole_Pad</td><td>MountingHole:MountingHole_3.2mm_M3_Pad_Via</td><td>Mounting Hole with connection</td><td></td></tr>
<tr><td>J101</td><td>1</td><td>230VAC IN</td><td>Connector:Screw_Terminal_01x03</td><td>TerminalBlock:TerminalBlock_Altech_AK300-3_P5.00mm</td><td>Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J102</td><td>1</td><td>SSR_OUT</td><td>Connector:Screw_Terminal_01x03</td><td>TerminalBlock:TerminalBlock_Altech_AK300-3_P5.00mm</td><td>Generic screw terminal, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J103</td><td>1</td><td>PT1000</td><td>Connector:Screw_Terminal_01x04</td><td>Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical</td><td>Generic screw terminal, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J104</td><td>1</td><td>DIGIO</td><td>Connector_Generic:Conn_02x05_Odd_Even</td><td>Connector_Multicomp:Multicomp_MC9A22-1034_2x05_P2.54mm_Horizontal</td><td>Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J105</td><td>1</td><td>8V-dev</td><td>Connector_Generic:Conn_01x02</td><td>Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical</td><td>Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J201</td><td>1</td><td>10PIN_JTAG_SWD</td><td>shimatta_connectors:10PIN_JTAG_SWD</td><td>Connector:Tag-Connect_TC2050-IDC-FP_2x05_P1.27mm_Vertical</td><td></td><td></td></tr>
<tr><td>J202</td><td>1</td><td>Conn_01x03</td><td>Connector_Generic:Conn_01x03</td><td>Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical</td><td>Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J203</td><td>1</td><td>RotaryEncoder</td><td>Connector_Generic:Conn_01x05</td><td>Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical</td><td>Generic connector, single row, 01x05, script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>J204</td><td>1</td><td>LCD</td><td>Connector_Generic:Conn_02x05_Odd_Even</td><td>Connector_Multicomp:Multicomp_MC9A12-1034_2x05_P2.54mm_Vertical</td><td>Generic connector, double row, 02x05, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)</td><td></td></tr>
<tr><td>L201</td><td>1</td><td>100nH</td><td>Device:L_Small</td><td>Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder</td><td>Inductor, small symbol</td><td></td></tr>
<tr><td>L301</td><td>1</td><td>1u</td><td>Device:L_Small</td><td>Inductor_SMD:L_0805_2012Metric_Pad1.15x1.40mm_HandSolder</td><td>Inductor, small symbol</td><td></td></tr>
<tr><td>LS101</td><td>1</td><td>Buzzer</td><td>Device:Speaker_Crystal</td><td>Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical</td><td>Crystal speaker/transducer</td><td></td></tr>
<tr><td>Q101, Q102</td><td>2</td><td>BSS123</td><td>Transistor_FET:BSS123</td><td>Package_TO_SOT_SMD:SOT-23</td><td>0.17A Id, 100V Vds, N-Channel MOSFET, SOT-23</td><td></td></tr>
<tr><td>R101, R202</td><td>2</td><td>1M</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R102, R103, R204, R205, R206, R207, R208, R209, R210, R211, R212, R215, R216</td><td>13</td><td>10k</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R104, R105</td><td>2</td><td>1k5</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R106</td><td>1</td><td>22k</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R301</td><td>1</td><td>680</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R302, R304, R306, R307, R308, R309, R310, R311</td><td>8</td><td>1k 0.1%</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R303</td><td>1</td><td>24k 0.1%</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R305, R315</td><td>2</td><td>10</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R312, R313</td><td>2</td><td>5k 0.1%</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>R314</td><td>1</td><td>100</td><td>Device:R</td><td>Resistor_SMD:R_0603_1608Metric</td><td>Resistor</td><td></td></tr>
<tr><td>RV201</td><td>1</td><td>10k</td><td>Device:R_POT</td><td>Potentiometer_THT:Potentiometer_Bourns_3266X_Horizontal</td><td>Potentiometer</td><td></td></tr>
<tr><td>T101</td><td>1</td><td>230VAC/6VAC</td><td>Device:Transformer_1P_1S</td><td>shimatta_tht:BV-EI-303-2010</td><td>Transformer, single primary, single secondary</td><td></td></tr>
<tr><td>U101</td><td>1</td><td>AZ1117-3.3</td><td>Regulator_Linear:AZ1117-3.3</td><td>Package_TO_SOT_SMD:TO-252-2</td><td>1A 20V Fixed LDO Linear Regulator, 3.3V, SOT-89/SOT-223/TO-220/TO-252/TO-263</td><td></td></tr>
<tr><td>U102</td><td>1</td><td>AZ1117-5.0</td><td>Regulator_Linear:AZ1117-5.0</td><td>Package_TO_SOT_SMD:TO-252-2</td><td>1A 20V Fixed LDO Linear Regulator, 5.0V, SOT-89/SOT-223/TO-220/TO-252/TO-263</td><td></td></tr>
<tr><td>U202</td><td>1</td><td>74HCT244</td><td>74xx:74HCT244</td><td>Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm</td><td>8-bit Buffer/Line Driver 3-state</td><td></td></tr>
<tr><td>U203</td><td>1</td><td>STM32F407VETx</td><td>MCU_ST_STM32F4:STM32F407VETx</td><td>Package_QFP:LQFP-100_14x14mm_P0.5mm</td><td>ARM Cortex-M4 MCU, 512KB flash, 128KB RAM, 168MHz, 1.8-3.6V, 82 GPIO, LQFP-100</td><td></td></tr>
<tr><td>U301</td><td>1</td><td>TL431PK</td><td>Reference_Voltage:TL431PK</td><td>Package_TO_SOT_SMD:SOT-89-3</td><td>Shunt Regulator, SOT-89</td><td></td></tr>
<tr><td>U302, U303, U304, U305</td><td>4</td><td>MCP6V31U</td><td>Amplifier_Operational:MCP6401UT-xOT</td><td>Package_TO_SOT_SMD:SOT-23-5_HandSoldering</td><td>1 MHz, 45 µA Op Amps, SOT-23-5</td><td></td></tr>
<tr><td>Y201</td><td>1</td><td>ABM3B 8MHz</td><td>Device:Crystal_GND24</td><td>Crystal:Crystal_SMD_Abracon_ABM3B-4Pin_5.0x3.2mm</td><td>Four pin crystal, GND on pins 2 and 4</td><td></td></tr><!--TABLEROW-->
</table>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
update=Wed 04 Sep 2019 06:37:10 PM CEST
update=Tue 24 Dec 2019 11:33:25 PM CET
version=1
last_client=kicad
[general]
@ -32,7 +32,7 @@ AllowMicroVias=0
AllowBlindVias=0
RequireCourtyardDefinitions=0
ProhibitOverlappingCourtyards=1
MinTrackWidth=0.2
MinTrackWidth=0.21
MinViaDiameter=0.4
MinViaDrill=0.3
MinMicroViaDiameter=0.2
@ -48,7 +48,7 @@ ViaDiameter1=0.5
ViaDrill1=0.3
ViaDiameter2=0.9
ViaDrill2=0.5
dPairWidth1=0.2
dPairWidth1=0.21
dPairGap1=0.25
dPairViaGap1=0.25
SilkLineWidth=0.12
@ -250,7 +250,7 @@ ViaDiameter=0.5
ViaDrill=0.3
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairWidth=0.21
dPairGap=0.25
dPairViaGap=0.25
[pcbnew/Netclasses/1]
@ -261,6 +261,6 @@ ViaDiameter=0.5
ViaDrill=0.3
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairWidth=0.21
dPairGap=0.25
dPairViaGap=0.25

View File

@ -420,6 +420,7 @@ F8 "OUT5" O L 5450 3500 50
F9 "OUT6" O L 5450 3600 50
F10 "OUT7" O L 5450 3700 50
F11 "OUT0" O L 5450 3000 50
F12 "FRONTEND_TEMP" B R 6500 3650 50
$EndSheet
$Sheet
S 7500 2900 800 2550
@ -432,6 +433,7 @@ F4 "SENS+" I R 8300 3200 50
F5 "SENS-" O R 8300 3300 50
F6 "VREF" O L 7500 3100 50
F7 "TEMP_OUT" O L 7500 3200 50
F8 "FRONTEND_TEMP" B L 7500 3650 50
$EndSheet
$Comp
L power:+8V #PWR0115
@ -1049,4 +1051,6 @@ Text Label 4750 4150 2 50 ~ 0
DIGIO2
Text Label 4750 4250 2 50 ~ 0
DIGIO3
Wire Wire Line
6500 3650 7500 3650
$EndSCHEMATC

21
stm.sch
View File

@ -469,8 +469,8 @@ L Device:C C215
U 1 1 5DB921AF
P 10000 1050
F 0 "C215" H 10115 1096 50 0000 L CNN
F 1 "1u" H 10115 1005 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 10038 900 50 0001 C CNN
F 1 "10u" H 10115 1005 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 10038 900 50 0001 C CNN
F 3 "~" H 10000 1050 50 0001 C CNN
1 10000 1050
1 0 0 -1
@ -1572,10 +1572,10 @@ Wire Wire Line
8100 950 8800 950
NoConn ~ 2750 3650
$Comp
L Device:C C?
L Device:C C201
U 1 1 5E579D23
P 2500 950
F 0 "C?" H 2615 996 50 0000 L CNN
F 0 "C201" H 2615 996 50 0000 L CNN
F 1 "100n" H 2615 905 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 2538 800 50 0001 C CNN
F 3 "~" H 2500 950 50 0001 C CNN
@ -1592,4 +1592,17 @@ Wire Wire Line
Wire Wire Line
2500 750 2800 750
Connection ~ 2800 750
Wire Wire Line
6550 4150 6800 4150
Wire Wire Line
6800 4150 6800 4250
Wire Wire Line
6800 4250 6550 4250
Wire Wire Line
6800 4150 7050 4150
Connection ~ 6800 4150
Text HLabel 7050 4150 2 50 BiDi ~ 0
FRONTEND_TEMP
Text Notes 6800 4100 0 50 ~ 0
USART3 as Onewire IF
$EndSCHEMATC