Minor changes to UI

This commit is contained in:
Gunnar Skjold
2020-02-13 20:40:33 +01:00
parent a06729b535
commit c114b777c7
7 changed files with 1506 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
EESchema-DOCLIB Version 2.0
#
#End Doc Library

View File

@@ -0,0 +1,356 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# BSS84-transistors
#
DEF BSS84-transistors Q 0 0 Y N 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "BSS84-transistors" 200 0 50 H V L CNN
F2 "TO_SOT_Packages_SMD:SOT-23" 200 -75 50 H I L CIN
F3 "" 0 0 50 H I L CNN
$FPLIST
SOT?23*
$ENDFPLIST
DRAW
C 65 0 111 0 1 10 N
C 100 -70 11 0 1 0 F
C 100 70 11 0 1 0 F
P 2 0 1 0 0 0 10 0 N
P 2 0 1 0 30 -70 100 -70 N
P 2 0 1 10 30 -50 30 -90 N
P 2 0 1 0 30 0 100 0 N
P 2 0 1 10 30 20 30 -20 N
P 2 0 1 0 30 70 100 70 N
P 2 0 1 10 30 90 30 50 N
P 2 0 1 0 100 -70 100 -100 N
P 2 0 1 0 100 -70 100 0 N
P 2 0 1 0 100 100 100 70 N
P 3 0 1 10 10 75 10 -75 10 -75 N
P 4 0 1 0 90 0 50 -15 50 15 90 0 F
P 4 0 1 0 100 -70 130 -70 130 70 100 70 N
P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N
P 4 0 1 0 130 -15 115 10 145 10 130 -15 N
X G 1 -200 0 200 R 50 50 1 1 I
X S 2 100 -200 100 U 50 50 1 1 P
X D 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CP-device
#
DEF CP-device C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "CP-device" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
CP_*
$ENDFPLIST
DRAW
S -90 20 -90 40 0 1 0 N
S -90 20 90 20 0 1 0 N
S 90 -20 -90 -40 0 1 0 F
S 90 40 -90 40 0 1 0 N
S 90 40 90 20 0 1 0 N
P 2 0 1 0 -70 90 -30 90 N
P 2 0 1 0 -50 110 -50 70 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CP_Small-device
#
DEF CP_Small-device C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "CP_Small-device" 10 -80 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
CP_*
$ENDFPLIST
DRAW
S -60 -12 60 -27 0 1 0 F
S -60 27 60 12 0 1 0 N
P 2 0 1 0 -50 60 -30 60 N
P 2 0 1 0 -40 50 -40 70 N
X ~ 1 0 100 73 D 50 50 1 1 P
X ~ 2 0 -100 73 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# C_Small-device
#
DEF C_Small-device C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "C_Small-device" 10 -80 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 13 -60 -20 60 -20 N
P 2 0 1 12 -60 20 60 20 N
X ~ 1 0 100 80 D 50 50 1 1 P
X ~ 2 0 -100 80 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# DS18B20-maxim
#
DEF DS18B20-maxim U 0 40 Y Y 1 F N
F0 "U" -150 250 50 H V C CNN
F1 "DS18B20-maxim" 0 -250 50 H V C CNN
F2 "" -150 250 50 H I C CNN
F3 "" -150 250 50 H I C CNN
$FPLIST
TO-92_*
$ENDFPLIST
DRAW
S -200 200 200 -200 0 1 0 N
X GND 1 -300 -100 100 R 50 50 1 1 W
X DQ 2 -300 0 100 R 50 50 1 1 B
X VDD 3 -300 100 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# ESP-12E-ESP8266
#
DEF ESP-12E-ESP8266 U 0 40 Y Y 1 F N
F0 "U" 0 -100 50 H V C CNN
F1 "ESP-12E-ESP8266" 0 100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
ESP-12E
ESP-12E_SMD
$ENDFPLIST
DRAW
S -600 -600 600 600 1 0 0 N
X REST 1 -900 300 300 R 50 50 1 1 I
X GPIO15 10 900 -300 300 L 50 50 1 1 B
X GPIO2 11 900 -200 300 L 50 50 1 1 B
X GPIO0 12 900 -100 300 L 50 50 1 1 B
X GPIO4 13 900 0 300 L 50 50 1 1 B
X GPIO5 14 900 100 300 L 50 50 1 1 B
X RXD 15 900 200 300 L 50 50 1 1 I
X TXD 16 900 300 300 L 50 50 1 1 O
X CS0 17 -250 -900 300 U 50 50 1 1 B
X MISO 18 -150 -900 300 U 50 50 1 1 B
X GPIO9 19 -50 -900 300 U 50 50 1 1 B
X ADC 2 -900 200 300 R 50 50 1 1 P
X GPIO10 20 50 -900 300 U 50 50 1 1 B
X MOSI 21 150 -900 300 U 50 50 1 1 B
X SCLK 22 250 -900 300 U 50 50 1 1 B
X CH_PD 3 -900 100 300 R 50 50 1 1 I
X GPIO16 4 -900 0 300 R 50 50 1 1 B
X GPIO14 5 -900 -100 300 R 50 50 1 1 B
X GPIO12 6 -900 -200 300 R 50 50 1 1 B
X GPIO13 7 -900 -300 300 R 50 50 1 1 B
X VCC 8 -900 -400 300 R 50 50 1 1 W
X GND 9 900 -400 300 L 50 50 1 1 W
ENDDRAW
ENDDEF
#
# FTDI_PROG_HDR-ESPProgHeader
#
DEF FTDI_PROG_HDR-ESPProgHeader J 0 40 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "FTDI_PROG_HDR-ESPProgHeader" 0 -400 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 -295 0 -305 1 1 6 N
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 205 0 195 1 1 6 N
S -50 250 50 -350 1 1 10 f
X Pin_1 1 -200 200 150 R 50 50 1 1 N
X Pin_2 2 -200 100 150 R 50 50 1 1 P
X Pin_3 3 -200 0 150 R 50 50 1 1 P
X Pin_4 4 -200 -100 150 R 50 50 1 1 N
X Pin_5 5 -200 -200 150 R 50 50 1 1 N
X Pin_6 6 -200 -300 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Jumper-device
#
DEF Jumper-device JP 0 30 Y N 1 F N
F0 "JP" 0 150 50 H V C CNN
F1 "Jumper-device" 0 -80 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
A 0 -26 125 1426 373 0 1 0 N -98 50 99 50
C -100 0 35 0 1 0 N
C 100 0 35 0 1 0 N
X 1 1 -300 0 165 R 50 50 0 1 P
X 2 2 300 0 165 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# LM1117-3.3-regul
#
DEF LM1117-3.3-regul U 0 10 Y Y 1 F N
F0 "U" -150 125 50 H V C CNN
F1 "LM1117-3.3-regul" 0 125 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SOT?223*
TO?263*
TO?252*
TO?220*
$ENDFPLIST
DRAW
S -200 -200 200 75 0 1 10 f
X GND 1 0 -300 100 U 50 50 1 1 W
X VO 2 300 0 100 L 50 50 1 1 w
X VI 3 -300 0 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# RJ45-conn
#
DEF RJ45-conn J 0 40 Y Y 1 F N
F0 "J" 200 500 50 H V C CNN
F1 "RJ45-conn" -150 500 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -400 -300 400 450 0 1 10 f
P 3 0 1 0 -175 200 -175 250 -175 250 N
P 3 0 1 0 -125 250 -125 200 -125 200 N
P 3 0 1 0 -75 250 -75 200 -75 200 N
P 3 0 1 0 -25 250 -25 200 -25 200 N
P 3 0 1 0 25 250 25 200 25 200 N
P 3 0 1 0 75 250 75 200 75 200 N
P 3 0 1 0 125 200 125 250 125 250 N
P 3 0 1 0 175 200 175 250 175 250 N
P 14 0 1 0 -225 250 225 250 225 -150 125 -150 125 -200 75 -200 75 -250 -75 -250 -75 -200 -125 -200 -125 -150 -225 -150 -225 250 -225 250 N
X ~ 1 -350 -450 150 U 50 50 1 1 P
X ~ 2 -250 -450 150 U 50 50 1 1 P
X ~ 3 -150 -450 150 U 50 50 1 1 P
X ~ 4 -50 -450 150 U 50 50 1 1 P
X ~ 5 50 -450 150 U 50 50 1 1 P
X ~ 6 150 -450 150 U 50 50 1 1 P
X ~ 7 250 -450 150 U 50 50 1 1 P
X ~ 8 350 -450 150 U 50 50 1 1 P
X SHIELD 9 550 350 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# R_Small-device
#
DEF R_Small-device R 0 10 N N 1 F N
F0 "R" 30 20 50 H V L CNN
F1 "R_Small-device" 30 -40 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
R_*
$ENDFPLIST
DRAW
S -30 70 30 -70 0 1 8 N
X ~ 1 0 100 30 D 50 50 1 1 P
X ~ 2 0 -100 30 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# SW_Push-switches
#
DEF SW_Push-switches SW 0 40 N N 1 F N
F0 "SW" 50 100 50 H V L CNN
F1 "SW_Push-switches" 0 -60 50 H V C CNN
F2 "" 0 200 50 H I C CNN
F3 "" 0 200 50 H I C CNN
DRAW
C -80 0 20 0 1 0 N
C 80 0 20 0 1 0 N
P 2 0 1 0 0 50 0 120 N
P 2 0 1 0 100 50 -100 50 N
X 1 1 -200 0 100 R 50 50 0 1 P
X 2 2 200 0 100 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# TSS721-tss721
#
DEF TSS721-tss721 U 0 40 Y Y 1 F N
F0 "U" 200 850 50 H V L CNN
F1 "TSS721-tss721" 200 750 50 H V L CNN
F2 "" 0 -850 50 H V C CIN
F3 "" -200 -800 50 H V C CNN
$FPLIST
SOIC*3.9x9.9mm*Pitch1.27mm*
TSSOP*4.4x5mm*Pitch0.65mm*
$ENDFPLIST
DRAW
S -500 -700 500 700 0 1 10 f
X BUSL2 1 -600 400 100 R 50 50 1 1 I
X VS 10 -600 0 100 R 50 50 1 1 P
X VDD 11 0 800 100 D 50 50 1 1 W
X RX 12 600 500 100 L 50 50 1 1 I
X RXI 13 600 400 100 L 50 50 1 1 I I
X RIS 14 300 -800 100 U 50 50 1 1 I
X GND 15 0 -800 100 U 50 50 1 1 W
X BUSL1 16 -600 500 100 R 50 50 1 1 I
X VB 2 -600 -150 100 R 50 50 1 1 P
X STC 3 -600 -500 100 R 50 50 1 1 P
X RIDD 4 200 -800 100 U 50 50 1 1 O
X PF 5 -600 100 100 R 50 50 1 1 I
X SC 6 400 -800 100 U 50 50 1 1 P
X TXI 7 600 100 100 L 50 50 1 1 O I
X TX 8 600 200 100 L 50 50 1 1 O
X BAT 9 -100 800 100 D 50 50 1 1 I
ENDDRAW
ENDDEF
#
# USB_OTG-conn
#
DEF USB_OTG-conn J 0 40 Y Y 1 F N
F0 "J" -200 450 50 H V L CNN
F1 "USB_OTG-conn" -200 350 50 H V L CNN
F2 "" 150 -50 50 H I C CNN
F3 "" 150 -50 50 H I C CNN
$FPLIST
USB*
$ENDFPLIST
DRAW
C -150 85 25 0 1 10 F
C -25 135 15 0 1 10 F
S -200 -300 200 300 0 1 10 f
S -5 -300 5 -270 0 1 0 N
S 10 50 -20 20 0 1 10 F
S 200 -205 170 -195 0 1 0 N
S 200 -105 170 -95 0 1 0 N
S 200 -5 170 5 0 1 0 N
S 200 195 170 205 0 1 0 N
P 2 0 1 10 -75 85 25 85 N
P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N
P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N
P 4 0 1 10 25 110 25 60 75 85 25 110 F
P 5 0 1 0 -170 220 -70 220 -80 190 -160 190 -170 220 F
P 9 0 1 0 -185 230 -185 220 -175 190 -175 180 -65 180 -65 190 -55 220 -55 230 -185 230 N
X VBUS 1 300 200 100 L 50 50 1 1 W
X D- 2 300 -100 100 L 50 50 1 1 P
X D+ 3 300 0 100 L 50 50 1 1 P
X ID 4 300 -200 100 L 50 50 1 1 P
X GND 5 0 -400 100 U 50 50 1 1 W
X Shield 6 -100 -400 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
#End Library

View File

@@ -0,0 +1,920 @@
EESchema Schematic File Version 4
LIBS:HAN_ESP_TSS721-cache
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L HAN_ESP_TSS721-rescue:TSS721-tss721 U1
U 1 1 5A9488D4
P 4300 4800
F 0 "U1" H 4500 5650 50 0000 L CNN
F 1 "TSS721" H 4500 5550 50 0000 L CNN
F 2 "Housings_SOIC:SOIC-16_3.9x9.9mm_Pitch1.27mm" H 4300 3950 50 0001 C CIN
F 3 "" H 4100 4000 50 0000 C CNN
1 4300 4800
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:BSS84-transistors Q1
U 1 1 5A948969
P 3450 5550
F 0 "Q1" H 3650 5625 50 0000 L CNN
F 1 "BSS84" H 3650 5550 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23-5_HandSoldering" H 3650 5475 50 0001 L CIN
F 3 "" H 3450 5550 50 0001 L CNN
1 3450 5550
-1 0 0 1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:ESP-12E-ESP8266 U2
U 1 1 5A948AC0
P 8750 4600
F 0 "U2" H 8750 4500 50 0000 C CNN
F 1 "ESP-12E" H 8750 4700 50 0000 C CNN
F 2 "ESP8266:ESP-12E_SMD" H 8750 4600 50 0001 C CNN
F 3 "" H 8750 4600 50 0001 C CNN
1 8750 4600
-1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:USB_OTG-conn J2
U 1 1 5A948B4F
P 3000 1550
F 0 "J2" H 2800 2000 50 0000 L CNN
F 1 "USB" H 2800 1900 50 0000 L CNN
F 2 "Connectors:USB_Micro-B" H 3150 1500 50 0001 C CNN
F 3 "" H 3150 1500 50 0001 C CNN
1 3000 1550
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:RJ45-conn J1
U 1 1 5A948C76
P 1850 4650
F 0 "J1" H 2050 5150 50 0000 C CNN
F 1 "RJ45" H 1700 5150 50 0000 C CNN
F 2 "Connectors:RJ45_8" H 1850 4650 50 0001 C CNN
F 3 "" H 1850 4650 50 0001 C CNN
1 1850 4650
0 -1 1 0
$EndComp
Wire Wire Line
3700 5300 3350 5300
Wire Wire Line
3350 5300 3350 5350
$Comp
L power:GND #PWR01
U 1 1 5A948E90
P 3650 6150
F 0 "#PWR01" H 3650 5900 50 0001 C CNN
F 1 "GND" H 3650 6000 50 0000 C CNN
F 2 "" H 3650 6150 50 0001 C CNN
F 3 "" H 3650 6150 50 0001 C CNN
1 3650 6150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR02
U 1 1 5A948EAE
P 3350 6150
F 0 "#PWR02" H 3350 5900 50 0001 C CNN
F 1 "GND" H 3350 6000 50 0000 C CNN
F 2 "" H 3350 6150 50 0001 C CNN
F 3 "" H 3350 6150 50 0001 C CNN
1 3350 6150
1 0 0 -1
$EndComp
Wire Wire Line
3650 5550 3650 6150
$Comp
L HAN_ESP_TSS721-rescue:CP-device C1
U 1 1 5A948ED4
P 3350 6000
F 0 "C1" H 3375 6100 50 0000 L CNN
F 1 "220u" H 3375 5900 50 0000 L CNN
F 2 "Capacitors_THT:CP_Radial_D10.0mm_P5.00mm" H 3388 5850 50 0001 C CNN
F 3 "" H 3350 6000 50 0001 C CNN
1 3350 6000
1 0 0 -1
$EndComp
Wire Wire Line
3350 5750 3350 5850
$Comp
L power:GND #PWR03
U 1 1 5A948FA8
P 4300 6150
F 0 "#PWR03" H 4300 5900 50 0001 C CNN
F 1 "GND" H 4300 6000 50 0000 C CNN
F 2 "" H 4300 6150 50 0001 C CNN
F 3 "" H 4300 6150 50 0001 C CNN
1 4300 6150
1 0 0 -1
$EndComp
Wire Wire Line
4300 5600 4300 6150
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R1
U 1 1 5A949001
P 4500 5950
F 0 "R1" H 4530 5970 50 0000 L CNN
F 1 "22k" H 4530 5910 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 4500 5950 50 0001 C CNN
F 3 "" H 4500 5950 50 0001 C CNN
1 4500 5950
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R2
U 1 1 5A949034
P 4800 5950
F 0 "R2" H 4830 5970 50 0000 L CNN
F 1 "470R" H 4830 5910 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 4800 5950 50 0001 C CNN
F 3 "" H 4800 5950 50 0001 C CNN
1 4800 5950
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:C_Small-device C2
U 1 1 5A949059
P 5100 5950
F 0 "C2" H 5110 6020 50 0000 L CNN
F 1 "100n" H 5110 5870 50 0000 L CNN
F 2 "Capacitors_THT:C_Rect_L7.0mm_W3.5mm_P5.00mm" H 5100 5950 50 0001 C CNN
F 3 "" H 5100 5950 50 0001 C CNN
1 5100 5950
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR04
U 1 1 5A94908C
P 4500 6150
F 0 "#PWR04" H 4500 5900 50 0001 C CNN
F 1 "GND" H 4500 6000 50 0000 C CNN
F 2 "" H 4500 6150 50 0001 C CNN
F 3 "" H 4500 6150 50 0001 C CNN
1 4500 6150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR05
U 1 1 5A9490B2
P 4800 6150
F 0 "#PWR05" H 4800 5900 50 0001 C CNN
F 1 "GND" H 4800 6000 50 0000 C CNN
F 2 "" H 4800 6150 50 0001 C CNN
F 3 "" H 4800 6150 50 0001 C CNN
1 4800 6150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR06
U 1 1 5A9490D8
P 5100 6150
F 0 "#PWR06" H 5100 5900 50 0001 C CNN
F 1 "GND" H 5100 6000 50 0000 C CNN
F 2 "" H 5100 6150 50 0001 C CNN
F 3 "" H 5100 6150 50 0001 C CNN
1 5100 6150
1 0 0 -1
$EndComp
Wire Wire Line
4500 6150 4500 6050
Wire Wire Line
4800 6150 4800 6050
Wire Wire Line
5100 6150 5100 6050
Wire Wire Line
5100 5850 5100 5600
Wire Wire Line
4800 5850 4800 5750
Wire Wire Line
4500 5850 4500 5600
Text GLabel 5200 4600 2 60 Output ~ 0
HAN_TX
Wire Wire Line
5200 4600 4900 4600
Text GLabel 7800 3900 1 60 Input ~ 0
ESP_RX
Wire Wire Line
5100 5600 4700 5600
Wire Wire Line
4800 5750 4600 5750
Wire Wire Line
4600 5750 4600 5600
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R6
U 1 1 5A957E86
P 10050 4300
F 0 "R6" H 10100 4350 50 0000 L CNN
F 1 "10k" H 10100 4250 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 10050 4300 50 0001 C CNN
F 3 "" H 10050 4300 50 0001 C CNN
1 10050 4300
0 -1 -1 0
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R7
U 1 1 5A957FFD
P 10050 4500
F 0 "R7" H 10100 4450 50 0000 L CNN
F 1 "10k" H 10100 4550 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 10050 4500 50 0001 C CNN
F 3 "" H 10050 4500 50 0001 C CNN
1 10050 4500
0 1 1 0
$EndComp
Wire Wire Line
9650 4300 9750 4300
Wire Wire Line
9950 4500 9650 4500
Wire Wire Line
10500 4500 10150 4500
Wire Wire Line
10500 3600 10500 4300
Wire Wire Line
10150 4300 10500 4300
Connection ~ 10500 4300
Wire Wire Line
10500 5000 9650 5000
Connection ~ 10500 4500
$Comp
L power:+3.3V #PWR07
U 1 1 5A95814B
P 10500 3600
F 0 "#PWR07" H 10500 3450 50 0001 C CNN
F 1 "+3.3V" H 10500 3740 50 0000 C CNN
F 2 "" H 10500 3600 50 0001 C CNN
F 3 "" H 10500 3600 50 0001 C CNN
1 10500 3600
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R4
U 1 1 5A958189
P 7200 4700
F 0 "R4" H 7230 4720 50 0000 L CNN
F 1 "10k" H 7230 4660 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 7200 4700 50 0001 C CNN
F 3 "" H 7200 4700 50 0001 C CNN
1 7200 4700
0 -1 -1 0
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R3
U 1 1 5A958353
P 7200 4800
F 0 "R3" H 7230 4820 50 0000 L CNN
F 1 "10k" H 7230 4760 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 7200 4800 50 0001 C CNN
F 3 "" H 7200 4800 50 0001 C CNN
1 7200 4800
0 1 1 0
$EndComp
$Comp
L power:+3.3V #PWR08
U 1 1 5A95839A
P 7050 3600
F 0 "#PWR08" H 7050 3450 50 0001 C CNN
F 1 "+3.3V" H 7050 3740 50 0000 C CNN
F 2 "" H 7050 3600 50 0001 C CNN
F 3 "" H 7050 3600 50 0001 C CNN
1 7050 3600
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R5
U 1 1 5A9584D5
P 7650 5150
F 0 "R5" H 7680 5170 50 0000 L CNN
F 1 "10k" H 7680 5110 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 7650 5150 50 0001 C CNN
F 3 "" H 7650 5150 50 0001 C CNN
1 7650 5150
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR09
U 1 1 5A95851B
P 7650 5350
F 0 "#PWR09" H 7650 5100 50 0001 C CNN
F 1 "GND" H 7650 5200 50 0000 C CNN
F 2 "" H 7650 5350 50 0001 C CNN
F 3 "" H 7650 5350 50 0001 C CNN
1 7650 5350
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR010
U 1 1 5A9585BE
P 7850 5350
F 0 "#PWR010" H 7850 5100 50 0001 C CNN
F 1 "GND" H 7850 5200 50 0000 C CNN
F 2 "" H 7850 5350 50 0001 C CNN
F 3 "" H 7850 5350 50 0001 C CNN
1 7850 5350
1 0 0 -1
$EndComp
Wire Wire Line
7850 5350 7850 5000
Text GLabel 8000 3900 1 60 Input ~ 0
ESP_TX
$Comp
L HAN_ESP_TSS721-rescue:Jumper-device JP1
U 1 1 5A958CF6
P 8800 1200
F 0 "JP1" H 8800 1350 50 0000 C CNN
F 1 "RX" H 8800 1120 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 8800 1200 50 0001 C CNN
F 3 "" H 8800 1200 50 0001 C CNN
1 8800 1200
1 0 0 -1
$EndComp
Text GLabel 8400 1200 0 60 Input ~ 0
HAN_TX
Wire Wire Line
8400 1200 8500 1200
Text GLabel 9300 1200 2 60 Output ~ 0
ESP_RX
Wire Wire Line
9100 1200 9300 1200
Text GLabel 7650 1800 2 60 Output ~ 0
ESP_TX
Text GLabel 7650 1950 2 60 Output ~ 0
ESP_RX
$Comp
L power:GND #PWR011
U 1 1 5A95924F
P 7650 2300
F 0 "#PWR011" H 7650 2050 50 0001 C CNN
F 1 "GND" H 7650 2150 50 0000 C CNN
F 2 "" H 7650 2300 50 0001 C CNN
F 3 "" H 7650 2300 50 0001 C CNN
1 7650 2300
1 0 0 -1
$EndComp
Wire Wire Line
7450 1850 7550 1850
Wire Wire Line
7550 1850 7550 1800
Wire Wire Line
7550 1800 7650 1800
Wire Wire Line
7650 1950 7450 1950
Wire Wire Line
7450 2250 7650 2250
Wire Wire Line
7650 2250 7650 2300
$Comp
L HAN_ESP_TSS721-rescue:LM1117-3.3-regul U3
U 1 1 5A959567
P 3900 1350
F 0 "U3" H 3750 1475 50 0000 C CNN
F 1 "LM1117-3.3" H 3900 1475 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-223" H 3900 1350 50 0001 C CNN
F 3 "" H 3900 1350 50 0001 C CNN
1 3900 1350
1 0 0 -1
$EndComp
Wire Wire Line
3300 1350 3500 1350
$Comp
L power:+3.3V #PWR012
U 1 1 5A95966D
P 4750 1350
F 0 "#PWR012" H 4750 1200 50 0001 C CNN
F 1 "+3.3V" H 4750 1490 50 0000 C CNN
F 2 "" H 4750 1350 50 0001 C CNN
F 3 "" H 4750 1350 50 0001 C CNN
1 4750 1350
0 1 1 0
$EndComp
Wire Wire Line
4200 1350 4300 1350
$Comp
L power:GND #PWR013
U 1 1 5A959717
P 3900 2100
F 0 "#PWR013" H 3900 1850 50 0001 C CNN
F 1 "GND" H 3900 1950 50 0000 C CNN
F 2 "" H 3900 2100 50 0001 C CNN
F 3 "" H 3900 2100 50 0001 C CNN
1 3900 2100
1 0 0 -1
$EndComp
Wire Wire Line
3900 1650 3900 2050
$Comp
L HAN_ESP_TSS721-rescue:C_Small-device C3
U 1 1 5A95980F
P 3500 1800
F 0 "C3" H 3510 1870 50 0000 L CNN
F 1 "100n" H 3510 1720 50 0000 L CNN
F 2 "Capacitors_THT:C_Rect_L7.0mm_W3.5mm_P5.00mm" H 3500 1800 50 0001 C CNN
F 3 "" H 3500 1800 50 0001 C CNN
1 3500 1800
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:CP_Small-device C4
U 1 1 5A959880
P 4300 1800
F 0 "C4" H 4310 1870 50 0000 L CNN
F 1 "220u" H 4310 1720 50 0000 L CNN
F 2 "Capacitors_THT:CP_Radial_D10.0mm_P5.00mm" H 4300 1800 50 0001 C CNN
F 3 "" H 4300 1800 50 0001 C CNN
1 4300 1800
1 0 0 -1
$EndComp
Wire Wire Line
3500 1200 3500 1350
Connection ~ 3500 1350
Wire Wire Line
4300 1700 4300 1350
Wire Wire Line
4300 2050 4300 1900
Wire Wire Line
2900 2050 3000 2050
Connection ~ 3000 2050
Wire Wire Line
3500 1900 3500 2050
Connection ~ 3500 2050
Connection ~ 3900 2050
Wire Wire Line
3000 2050 3000 1950
$Comp
L HAN_ESP_TSS721-rescue:SW_Push-switches SW1
U 1 1 5A959F27
P 8650 1900
F 0 "SW1" H 8700 2000 50 0000 L CNN
F 1 "ESP Reset" H 8650 1840 50 0000 C CNN
F 2 "Buttons_Switches_THT:SW_PUSH_6mm_h5mm" H 8650 2100 50 0001 C CNN
F 3 "" H 8650 2100 50 0001 C CNN
1 8650 1900
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:SW_Push-switches SW2
U 1 1 5A959FAC
P 8650 2200
F 0 "SW2" H 8700 2300 50 0000 L CNN
F 1 "ESP Prog" H 8650 2140 50 0000 C CNN
F 2 "Buttons_Switches_THT:SW_PUSH_6mm_h5mm" H 8650 2400 50 0001 C CNN
F 3 "" H 8650 2400 50 0001 C CNN
1 8650 2200
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR014
U 1 1 5A959FFA
P 8300 2300
F 0 "#PWR014" H 8300 2050 50 0001 C CNN
F 1 "GND" H 8300 2150 50 0000 C CNN
F 2 "" H 8300 2300 50 0001 C CNN
F 3 "" H 8300 2300 50 0001 C CNN
1 8300 2300
1 0 0 -1
$EndComp
Wire Wire Line
8300 2200 8450 2200
Wire Wire Line
8450 1900 8300 1900
Connection ~ 8300 2200
Text GLabel 9150 1900 2 60 Output ~ 0
ESP_RESET
Text GLabel 9150 2200 2 60 Output ~ 0
ESP_PROG
Wire Wire Line
8850 2200 9150 2200
Wire Wire Line
8850 1900 9150 1900
Text GLabel 7400 3900 1 60 Input ~ 0
ESP_PROG
Text GLabel 9750 3900 1 60 Input ~ 0
ESP_RESET
Wire Wire Line
9750 3900 9750 4300
Connection ~ 9750 4300
$Comp
L power:PWR_FLAG #FLG015
U 1 1 5A95AFAB
P 4750 2050
F 0 "#FLG015" H 4750 2125 50 0001 C CNN
F 1 "PWR_FLAG" H 4750 2200 50 0000 C CNN
F 2 "" H 4750 2050 50 0001 C CNN
F 3 "" H 4750 2050 50 0001 C CNN
1 4750 2050
0 1 1 0
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:FTDI_PROG_HDR-ESPProgHeader J3
U 1 1 5A95BFD3
P 7250 1950
F 0 "J3" H 7250 2250 50 0000 C CNN
F 1 "FTDI" H 7250 1550 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mm" H 7250 1950 50 0001 C CNN
F 3 "" H 7250 1950 50 0001 C CNN
1 7250 1950
-1 0 0 -1
$EndComp
Wire Wire Line
2900 1950 2900 2050
$Comp
L power:PWR_FLAG #FLG016
U 1 1 5A95C1D3
P 3500 1200
F 0 "#FLG016" H 3500 1275 50 0001 C CNN
F 1 "PWR_FLAG" H 3500 1350 50 0000 C CNN
F 2 "" H 3500 1200 50 0001 C CNN
F 3 "" H 3500 1200 50 0001 C CNN
1 3500 1200
1 0 0 -1
$EndComp
NoConn ~ 8500 5500
NoConn ~ 8600 5500
NoConn ~ 8700 5500
NoConn ~ 8800 5500
NoConn ~ 8900 5500
NoConn ~ 9000 5500
NoConn ~ 7850 4600
NoConn ~ 9650 4400
NoConn ~ 9650 4600
NoConn ~ 9650 4700
NoConn ~ 9650 4800
NoConn ~ 9650 4900
NoConn ~ 3700 4950
NoConn ~ 3700 4800
NoConn ~ 3700 4700
NoConn ~ 4900 4700
NoConn ~ 4900 4400
$Comp
L power:GND #PWR017
U 1 1 5A95C98C
P 1500 5450
F 0 "#PWR017" H 1500 5200 50 0001 C CNN
F 1 "GND" H 1500 5300 50 0000 C CNN
F 2 "" H 1500 5450 50 0001 C CNN
F 3 "" H 1500 5450 50 0001 C CNN
1 1500 5450
1 0 0 -1
$EndComp
Wire Wire Line
1500 5200 1500 5450
Wire Wire Line
4300 3350 4300 3850
Wire Wire Line
4200 4000 4200 3850
Wire Wire Line
4200 3850 4300 3850
Connection ~ 4300 3850
NoConn ~ 3300 1550
NoConn ~ 3300 1650
NoConn ~ 3300 1750
NoConn ~ 2300 4500
NoConn ~ 2300 4600
NoConn ~ 2300 4700
NoConn ~ 2300 4800
NoConn ~ 2300 4900
NoConn ~ 2300 5000
Wire Notes Line
2700 900 5100 900
Wire Notes Line
5100 900 5100 2400
Wire Notes Line
5100 2400 2700 2400
Wire Notes Line
2700 2400 2700 900
Text Notes 4050 850 2 60 ~ 0
Power Supply (USB -> 3.3V)
Wire Notes Line
6850 900 6850 2650
Wire Notes Line
6850 900 10150 900
Wire Notes Line
10150 900 10150 2650
Wire Notes Line
10150 2650 6850 2650
Text Notes 7650 850 2 60 ~ 0
ESP Programming
Wire Notes Line
6850 3200 6850 5900
Wire Notes Line
6850 5900 10750 5900
Wire Notes Line
10750 5900 10750 3200
Wire Notes Line
10750 3200 6850 3200
Text Notes 8200 3150 2 60 ~ 0
ESP (HAN decoding and WiFi)
Wire Notes Line
2700 3200 5800 3200
Wire Notes Line
5800 3200 5800 6750
Wire Notes Line
5800 6750 2700 6750
Wire Notes Line
2700 6750 2700 3200
Text Notes 3200 3150 2 60 ~ 0
HAN to TTL
Wire Wire Line
7850 4900 7650 4900
Wire Wire Line
7650 4900 7650 5050
Wire Wire Line
7650 5250 7650 5350
Wire Wire Line
7400 3900 7400 4700
Connection ~ 7400 4700
Wire Wire Line
7050 3600 7050 4700
Wire Wire Line
7850 4400 7700 4400
Wire Wire Line
7850 4800 7300 4800
Wire Wire Line
7300 4700 7400 4700
Wire Wire Line
7100 4700 7050 4700
Connection ~ 7050 4700
Wire Wire Line
7050 4800 7100 4800
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R8
U 1 1 5A962847
P 3350 4300
F 0 "R8" H 3380 4320 50 0000 L CNN
F 1 "220R" H 3380 4260 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 3350 4300 50 0001 C CNN
F 3 "" H 3350 4300 50 0001 C CNN
1 3350 4300
0 -1 -1 0
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R9
U 1 1 5A9629BD
P 3350 4400
F 0 "R9" H 3380 4420 50 0000 L CNN
F 1 "220R" H 3380 4360 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 3350 4400 50 0001 C CNN
F 3 "" H 3350 4400 50 0001 C CNN
1 3350 4400
0 1 1 0
$EndComp
Wire Wire Line
3700 4400 3450 4400
Wire Wire Line
3700 4300 3450 4300
Wire Wire Line
3250 4400 2300 4400
Wire Wire Line
3250 4300 2300 4300
Text GLabel 5200 4300 2 60 Output ~ 0
HAN_RX
Wire Wire Line
4900 4300 5200 4300
$Comp
L HAN_ESP_TSS721-rescue:Jumper-device JP2
U 1 1 5A963181
P 8800 1550
F 0 "JP2" H 8800 1700 50 0000 C CNN
F 1 "TX" H 8800 1470 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 8800 1550 50 0001 C CNN
F 3 "" H 8800 1550 50 0001 C CNN
1 8800 1550
1 0 0 -1
$EndComp
Text GLabel 8400 1550 0 60 Input ~ 0
HAN_RX
Text GLabel 9300 1550 2 60 Output ~ 0
ESP_TX
Wire Wire Line
9100 1550 9300 1550
Wire Wire Line
8400 1550 8500 1550
Wire Wire Line
8300 1900 8300 2200
$Comp
L HAN_ESP_TSS721-rescue:CP-device C5
U 1 1 5A96394F
P 3600 3650
F 0 "C5" H 3625 3750 50 0000 L CNN
F 1 "220u" H 3625 3550 50 0000 L CNN
F 2 "Capacitors_THT:CP_Radial_D10.0mm_P5.00mm" H 3638 3500 50 0001 C CNN
F 3 "" H 3600 3650 50 0001 C CNN
1 3600 3650
1 0 0 -1
$EndComp
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R10
U 1 1 5A9639E2
P 3400 3650
F 0 "R10" H 3430 3670 50 0000 L CNN
F 1 "22k" H 3430 3610 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 3400 3650 50 0001 C CNN
F 3 "" H 3400 3650 50 0001 C CNN
1 3400 3650
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR018
U 1 1 5A963AB6
P 3600 3850
F 0 "#PWR018" H 3600 3600 50 0001 C CNN
F 1 "GND" H 3600 3700 50 0000 C CNN
F 2 "" H 3600 3850 50 0001 C CNN
F 3 "" H 3600 3850 50 0001 C CNN
1 3600 3850
1 0 0 -1
$EndComp
Wire Wire Line
3400 3350 3600 3350
Wire Wire Line
3600 3350 3600 3500
Wire Wire Line
3400 3350 3400 3550
Connection ~ 3600 3350
Wire Wire Line
3600 3850 3600 3800
Wire Wire Line
3600 3800 3400 3800
Wire Wire Line
3400 3800 3400 3750
$Comp
L power:PWR_FLAG #FLG019
U 1 1 5A964458
P 4550 3350
F 0 "#FLG019" H 4550 3425 50 0001 C CNN
F 1 "PWR_FLAG" H 4550 3500 50 0000 C CNN
F 2 "" H 4550 3350 50 0001 C CNN
F 3 "" H 4550 3350 50 0001 C CNN
1 4550 3350
-1 0 0 1
$EndComp
Connection ~ 4300 3350
Wire Wire Line
10500 4300 10500 4500
Wire Wire Line
10500 4500 10500 5000
Wire Wire Line
3500 1350 3600 1350
Wire Wire Line
3500 1350 3500 1700
Wire Wire Line
3000 2050 3500 2050
Wire Wire Line
3500 2050 3900 2050
Wire Wire Line
3900 2050 3900 2100
Wire Wire Line
3900 2050 4300 2050
Wire Wire Line
8300 2200 8300 2300
Wire Wire Line
9750 4300 9950 4300
Wire Wire Line
4300 3850 4300 4000
Wire Wire Line
7400 4700 7850 4700
Wire Wire Line
7050 4700 7050 4800
Wire Wire Line
3600 3350 4300 3350
Wire Wire Line
4300 3350 4550 3350
$Comp
L HAN_ESP_TSS721-rescue:DS18B20-maxim U4
U 1 1 5A973246
P 6150 1750
F 0 "U4" H 6377 1796 50 0000 L CNN
F 1 "DS18B20" H 6377 1705 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Inline_Wide" H 6000 2000 50 0001 C CNN
F 3 "http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf" H 6000 2000 50 0001 C CNN
1 6150 1750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR016
U 1 1 5A973403
P 5750 2150
F 0 "#PWR016" H 5750 1900 50 0001 C CNN
F 1 "GND" H 5750 2000 50 0000 C CNN
F 2 "" H 5750 2150 50 0001 C CNN
F 3 "" H 5750 2150 50 0001 C CNN
1 5750 2150
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR015
U 1 1 5A97345F
P 5750 1200
F 0 "#PWR015" H 5750 1050 50 0001 C CNN
F 1 "+3.3V" H 5750 1340 50 0000 C CNN
F 2 "" H 5750 1200 50 0001 C CNN
F 3 "" H 5750 1200 50 0001 C CNN
1 5750 1200
1 0 0 -1
$EndComp
Text GLabel 5450 1850 3 60 Output ~ 0
ESP_Temp
Wire Wire Line
5450 1750 5850 1750
Wire Wire Line
5850 1850 5750 1850
Wire Wire Line
5750 1850 5750 2150
Wire Notes Line
5250 900 6750 900
Wire Notes Line
6750 900 6750 2400
Wire Notes Line
6750 2400 5250 2400
Wire Notes Line
5250 2400 5250 900
Text Notes 5250 850 0 50 ~ 0
Temperature Sensor
Wire Wire Line
5450 1750 5450 1850
$Comp
L HAN_ESP_TSS721-rescue:R_Small-device R11
U 1 1 5A996C7E
P 5450 1500
F 0 "R11" H 5480 1520 50 0000 L CNN
F 1 "4k7" H 5480 1460 50 0000 L CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" H 5450 1500 50 0001 C CNN
F 3 "" H 5450 1500 50 0001 C CNN
1 5450 1500
1 0 0 -1
$EndComp
Wire Wire Line
5750 1200 5750 1350
Wire Wire Line
5750 1650 5850 1650
Wire Wire Line
5450 1400 5450 1350
Wire Wire Line
5450 1350 5750 1350
Connection ~ 5750 1350
Wire Wire Line
5750 1350 5750 1650
Wire Wire Line
5450 1600 5450 1750
Connection ~ 5450 1750
Text GLabel 7600 3900 1 60 Input ~ 0
ESP_Temp
Wire Wire Line
7800 3900 7800 4000
Wire Wire Line
7700 4000 7700 4400
Wire Wire Line
7850 4300 7800 4300
Wire Wire Line
7800 4300 7800 4100
Wire Wire Line
7800 4100 8000 4100
Wire Wire Line
8000 4100 8000 3900
Wire Wire Line
7800 4000 7700 4000
Wire Wire Line
7600 3900 7600 4500
Wire Wire Line
7600 4500 7850 4500
$Comp
L HAN_ESP_TSS721-rescue:C_Small-device C6
U 1 1 5A9CBC57
P 4600 1800
F 0 "C6" H 4610 1870 50 0000 L CNN
F 1 "100n" H 4610 1720 50 0000 L CNN
F 2 "Capacitors_THT:C_Rect_L7.0mm_W3.5mm_P5.00mm" H 4600 1800 50 0001 C CNN
F 3 "" H 4600 1800 50 0001 C CNN
1 4600 1800
1 0 0 -1
$EndComp
Wire Wire Line
4600 1900 4600 2050
Connection ~ 4600 2050
Wire Wire Line
4600 2050 4750 2050
Wire Wire Line
4600 1700 4600 1350
Connection ~ 4600 1350
Wire Wire Line
4600 1350 4750 1350
Connection ~ 4300 1350
Connection ~ 4300 2050
Wire Wire Line
4300 1350 4600 1350
Wire Wire Line
4300 2050 4600 2050
$EndSCHEMATC

View File

@@ -1,2 +1,3 @@
(sym_lib_table
(lib (name HAN_ESP_TSS721-rescue)(type Legacy)(uri ${KIPRJMOD}/HAN_ESP_TSS721-rescue.lib)(options "")(descr ""))
)

113
web/configmeter.html Normal file
View File

@@ -0,0 +1,113 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AMS reader - Meter configuration</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="boot.css"/>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css"/>
<style>
.bg-purple {
background-color: var(--purple);
}
.navbar .navbar-nav-svg {
display: inline-block;
width: 2rem;
height: 2rem;
vertical-align: text-top;
}
</style>
</head>
<body class="bg-light">
<main role="main" class="container">
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bg-purple rounded mt-2 mb-4">
<a href="/" class=""><h6 class="navbar-brand">AMS reader <small>${version}</small></h6></a>
<div class="navbar-nav-scroll">
<ul class="navbar-nav bd-navbar-nav flex-row">
<li class="nav-item">
<a class="nav-link active" href="/config/meter">Meter</a>
</li>
<li class="nav-item">
<a class="nav-link " href="/config/wifi">WiFi</a>
</li>
<li class="nav-item">
<a class="nav-link " href="/config/mqtt">MQTT</a>
</li>
<li class="nav-item">
<a class="nav-link " href="/config/web">Web</a>
</li>
</ul>
</div>
<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
<li class="nav-item">
<a class="nav-link p-2" href="https://github.com/gskjold/AmsToMqttBridge" target="_blank" rel="noopener" aria-label="GitHub"><svg class="navbar-nav-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 499.36" focusable="false"><title>GitHub</title><path d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z" fill="currentColor" fill-rule="evenodd"></path></svg></a>
</li>
</ul>
</header>
<form method="post" action="/save">
<div class="my-3 p-3 bg-white rounded shadow">
<div class="row">
<div class="col-md-4">
<div class="row form-group">
<label class="col-6">Meter type</label>
<div class="col-6">
<select class="form-control" name="meterType">
<option value="0" ${config.meterType0}>Autodetect</option>
<option value="1" ${config.meterType1}>Kaifa</option>
<option value="2" ${config.meterType2}>Aidon</option>
<option value="3" ${config.meterType3}>Kamstrup</option>
</select>
</div>
</div>
<div class="row form-group">
<label class="col-6">Distribution system</label>
<div class="col-6">
<select class="form-control" name="distSys">
<option value="0" ${config.distSys0}></option>
<option value="1" ${config.distSys1}>IT (230V)</option>
<option value="2" ${config.distSys2}>TN (400V)</option>
</select>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row form-group">
<label class="col-6">Main fuse</label>
<div class="col-6">
<select class="form-control" name="fuseSize">
<option value="0" ${config.fuseSize0}></option>
<option value="25" ${config.fuseSize25}>25A</option>
<option value="32" ${config.fuseSize32}>32A</option>
<option value="35" ${config.fuseSize32}>35A</option>
<option value="40" ${config.fuseSize40}>40A</option>
<option value="50" ${config.fuseSize50}>50A</option>
<option value="63" ${config.fuseSize63}>63A</option>
</select>
</div>
</div>
<div class="row form-group">
<label class="col-6">Export capacity</label>
<div class="col-6">
<div class="input-group">
<input class="form-control" name="exportCapacity" type="number" min="0" max="50" value="${config.exportCapacity}"/>
<div class="input-group-append"><span class="input-group-text">kW</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<hr/>
<div class="row form-group">
<div class="col-6">
<a href="/" class="btn btn-outline-secondary">Back</a>
</div>
<div class="col-6 text-right">
<button class="btn btn-primary">Save</button>
</div>
</div>
</form>
</main>
</body>
</html>

110
web/configwifi.html Normal file
View File

@@ -0,0 +1,110 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AMS reader - WiFi configuration</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="boot.css"/>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css"/>
<style>
.bg-purple {
background-color: var(--purple);
}
.navbar .navbar-nav-svg {
display: inline-block;
width: 2rem;
height: 2rem;
vertical-align: text-top;
}
</style>
</head>
<body class="bg-light">
<main role="main" class="container">
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bg-purple rounded mt-2 mb-4">
<a href="/" class=""><h6 class="navbar-brand">AMS reader <small>${version}</small></h6></a>
<div class="navbar-nav-scroll">
<ul class="navbar-nav bd-navbar-nav flex-row">
<li class="nav-item">
<a class="nav-link " href="/config/meter">Meter</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="/config/wifi">WiFi</a>
</li>
<li class="nav-item">
<a class="nav-link " href="/config/mqtt">MQTT</a>
</li>
<li class="nav-item">
<a class="nav-link " href="/config/web">Web</a>
</li>
</ul>
</div>
<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
<li class="nav-item">
<a class="nav-link p-2" href="https://github.com/gskjold/AmsToMqttBridge" target="_blank" rel="noopener" aria-label="GitHub"><svg class="navbar-nav-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 499.36" focusable="false"><title>GitHub</title><path d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z" fill="currentColor" fill-rule="evenodd"></path></svg></a>
</li>
</ul>
</header>
<form method="post" action="/save">
<div class="my-3 p-3 bg-white rounded shadow">
<div class="row">
<div class="col-md-4">
<div class="row form-group">
<label class="col-3">SSID</label>
<div class="col-9">
<input type="text" class="form-control" name="wifiSsid" value="${config.wifiSsid}"/>
</div>
</div>
<div class="row form-group">
<label class="col-3">Password</label>
<div class="col-9">
<input type="password" class="form-control" name="wifiPassword" value="${config.wifiPassword}"/>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row form-group">
<label class="col-6">IP configuration</label>
<div class="col-6">
<select class="form-control" name="wifiIpType">
<option value="0" ${config.wifiIpType0}>DHCP</option>
<option value="1" ${config.wifiIpType1}>Static</option>
</select>
</div>
</div>
<div class="row form-group">
<label class="col-3">IP</label>
<div class="col-9">
<input type="text" class="form-control" name="wifiIp" value="${config.wifiIp}"/>
</div>
</div>
</div>
<div class="col-md-4">
<div class="row form-group">
<label class="col-3">Subnet</label>
<div class="col-9">
<input type="text" class="form-control" name="wifiSubnet" value="${config.wifiSubnet}"/>
</div>
</div>
<div class="row form-group">
<label class="col-3">Gateway</label>
<div class="col-9">
<input type="text" class="form-control" name="wifiGw" value="${config.wifiGw}"/>
</div>
</div>
</div>
</div>
</div>
<hr/>
<div class="row form-group">
<div class="col-6">
<a href="/" class="btn btn-outline-secondary">Back</a>
</div>
<div class="col-6 text-right">
<button class="btn btn-primary">Save</button>
</div>
</div>
</form>
</main>
</body>
</html>

View File

@@ -63,7 +63,7 @@
</head>
<body class="bg-light">
<main role="main" class="container">
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bg-purple rounded mt-2">
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bg-purple rounded mt-2 mb-4">
<a href="/" class=""><h6 class="navbar-brand">AMS reader <small>${version}</small></h6></a>
<div class="navbar-nav-scroll">
<ul class="navbar-nav bd-navbar-nav flex-row">
@@ -172,7 +172,7 @@
<div class="col-6">RSSI</div>
<div class="col-6 text-right"><span id="rssi">${wifi.rssi}</span> dBm</div>
</div>
<hr/>
<hr class="d-none mqtt-error mqtt-error-1 mqtt-error-2 mqtt-error-3 mqtt-error-4 mqtt-error-5 mqtt-error-6 mqtt-error-7 mqtt-error-8 mqtt-error-9 mqtt-error-10 mqtt-error-11 mqtt-error-12 mqtt-error-13"/>
<div class="d-none badge badge-danger mqtt-error mqtt-error-1 mqtt-error-2 mqtt-error-5 mqtt-error-6 mqtt-error-7 mqtt-error-8 mqtt-error-9 mqtt-error-12">MQTT communication error (<span id="mqtt-lastError">-</span>)</div>
<div class="d-none badge badge-danger mqtt-error mqtt-error-3">MQTT failed to connect</div>
<div class="d-none badge badge-danger mqtt-error mqtt-error-4">MQTT network timeout</div>
@@ -280,7 +280,7 @@ var fetch = function() {
setTimeout(fetch, interval*4);
});
}
setTimeout(fetch, interval);
fetch();
</script>
</body>
</html>