Datalogger reading kWh pulses from a utility grid meter and publising it via MQTT
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

403 lines
12 KiB

EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# 74xx_74HC14
#
DEF 74xx_74HC14 U 0 40 Y Y 7 L N
F0 "U" 0 50 50 H V C CNN
F1 "74xx_74HC14" 0 -50 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS 74LS14
$FPLIST
DIP*W7.62mm*
$ENDFPLIST
DRAW
S -200 300 200 -300 7 1 10 f
P 4 1 0 10 -150 150 -150 -150 150 0 -150 150 f
P 4 2 0 10 -150 150 -150 -150 150 0 -150 150 f
P 4 3 0 10 -150 150 -150 -150 150 0 -150 150 f
P 4 4 0 10 -150 150 -150 -150 150 0 -150 150 f
P 4 5 0 10 -150 150 -150 -150 150 0 -150 150 f
P 4 6 0 10 -150 150 -150 -150 150 0 -150 150 f
P 3 1 1 0 -75 -50 -75 50 -25 50 N
P 4 1 1 0 -100 -50 -25 -50 -25 50 0 50 N
P 3 2 1 0 -75 -50 -75 50 -25 50 N
P 4 2 1 0 -100 -50 -25 -50 -25 50 0 50 N
P 3 3 1 0 -75 -50 -75 50 -25 50 N
P 4 3 1 0 -100 -50 -25 -50 -25 50 0 50 N
P 3 4 1 0 -75 -50 -75 50 -25 50 N
P 4 4 1 0 -100 -50 -25 -50 -25 50 0 50 N
P 3 5 1 0 -75 -50 -75 50 -25 50 N
P 4 5 1 0 -100 -50 -25 -50 -25 50 0 50 N
P 3 6 1 0 -75 -50 -75 50 -25 50 N
P 4 6 1 0 -100 -50 -25 -50 -25 50 0 50 N
X ~ 1 -300 0 150 R 50 50 1 0 I
X ~ 2 300 0 150 L 50 50 1 0 O I
X ~ 3 -300 0 150 R 50 50 2 0 I
X ~ 4 300 0 150 L 50 50 2 0 O I
X ~ 5 -300 0 150 R 50 50 3 0 I
X ~ 6 300 0 150 L 50 50 3 0 O I
X ~ 8 300 0 150 L 50 50 4 0 O I
X ~ 9 -300 0 150 R 50 50 4 0 I
X ~ 10 300 0 150 L 50 50 5 0 O I
X ~ 11 -300 0 150 R 50 50 5 0 I
X ~ 12 300 0 150 L 50 50 6 0 O I
X ~ 13 -300 0 150 R 50 50 6 0 I
X VCC 14 0 500 200 D 50 50 7 0 W
X GND 7 0 -500 200 U 50 50 7 0 W
ENDDRAW
ENDDEF
#
# Amplifier_Operational_TL072
#
DEF Amplifier_Operational_TL072 U 0 5 Y Y 3 L N
F0 "U" 0 200 50 H V L CNN
F1 "Amplifier_Operational_TL072" 0 -200 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS LM358 AD8620 LMC6062 LMC6082 TL062 TL072 TL082 NE5532 SA5532 RC4558 RC4560 RC4580 LMV358 TS912 TSV912IDT TSV912IST TLC272 TLC277 MCP602 OPA1678 OPA2134 OPA2340 OPA2376xxD OPA2376xxDGK MC33078 MC33178 LM4562 OP249 OP275 ADA4075-2 MCP6002-xP MCP6002-xSN MCP6002-xMS LM7332 OPA2333xxD OPA2333xxDGK LMC6482 LT1492 LTC6081xMS8 LM6172 MCP6L92 NJM2043 NJM2114 NJM4556A NJM4558 NJM4559 NJM4560 NJM4580 NJM5532 ADA4807-2ARM OPA2691 LT6234 OPA2356xxD OPA2356xxDGK OPA1612AxD MC33172 OPA1602 TLV2372 LT6237
$FPLIST
SOIC*3.9x4.9mm*P1.27mm*
DIP*W7.62mm*
TO*99*
OnSemi*Micro8*
TSSOP*3x3mm*P0.65mm*
TSSOP*4.4x3mm*P0.65mm*
MSOP*3x3mm*P0.65mm*
SSOP*3.9x4.9mm*P0.635mm*
LFCSP*2x2mm*P0.5mm*
*SIP*
SOIC*5.3x6.2mm*P1.27mm*
$ENDFPLIST
DRAW
P 4 1 1 10 -200 200 200 0 -200 -200 -200 200 f
P 4 2 1 10 -200 200 200 0 -200 -200 -200 200 f
X ~ 1 300 0 100 L 50 50 1 1 O
X - 2 -300 -100 100 R 50 50 1 1 I
X + 3 -300 100 100 R 50 50 1 1 I
X + 5 -300 100 100 R 50 50 2 1 I
X - 6 -300 -100 100 R 50 50 2 1 I
X ~ 7 300 0 100 L 50 50 2 1 O
X V- 4 -100 -300 150 U 50 50 3 1 W
X V+ 8 -100 300 150 D 50 50 3 1 W
ENDDRAW
ENDDEF
#
# Connector_Conn_01x02_Male
#
DEF Connector_Conn_01x02_Male J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Connector_Conn_01x02_Male" 0 -200 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_1x??_*
$ENDFPLIST
DRAW
S 34 -95 0 -105 1 1 6 F
S 34 5 0 -5 1 1 6 F
P 2 1 1 6 50 -100 34 -100 N
P 2 1 1 6 50 0 34 0 N
X Pin_1 1 200 0 150 L 50 50 1 1 P
X Pin_2 2 200 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_CP_Small
#
DEF Device_CP_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "Device_CP_Small" 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
#
# Device_C_Small
#
DEF Device_C_Small C 0 10 N N 1 F N
F0 "C" 10 70 50 H V L CNN
F1 "Device_C_Small" 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
#
# Device_Jumper_NO_Small
#
DEF Device_Jumper_NO_Small JP 0 30 N N 1 F N
F0 "JP" 0 80 50 H V C CNN
F1 "Device_Jumper_NO_Small" 10 -60 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SolderJumper*Open*
$ENDFPLIST
DRAW
C -40 0 20 0 1 0 N
C 40 0 20 0 1 0 N
X 1 1 -100 0 40 R 50 50 0 1 P
X 2 2 100 0 40 L 50 50 0 1 P
ENDDRAW
ENDDEF
#
# Device_LED_Small_ALT
#
DEF Device_LED_Small_ALT D 0 10 N N 1 F N
F0 "D" -50 125 50 H V L CNN
F1 "Device_LED_Small_ALT" -175 -100 50 H V L CNN
F2 "" 0 0 50 V I C CNN
F3 "" 0 0 50 V I C CNN
$FPLIST
LED*
LED_SMD:*
LED_THT:*
$ENDFPLIST
DRAW
P 2 0 1 0 -30 -40 -30 40 N
P 2 0 1 0 40 0 -30 0 N
P 4 0 1 0 30 -40 -30 0 30 40 30 -40 F
P 5 0 1 0 0 30 -20 50 -10 50 -20 50 -20 40 N
P 5 0 1 0 20 50 0 70 10 70 0 70 0 60 N
X K 1 -100 0 70 R 50 50 1 1 P
X A 2 100 0 70 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R_POT_Small
#
DEF Device_R_POT_Small RV 0 40 Y N 1 F N
F0 "RV" -175 0 50 V V C CNN
F1 "Device_R_POT_Small" -100 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Potentiometer*
$ENDFPLIST
DRAW
S 30 71 -30 -71 0 1 10 N
P 6 0 1 0 35 0 25 0 65 15 65 -15 25 0 35 0 F
X 1 1 0 100 25 D 25 25 1 1 P
X 2 2 100 0 39 L 25 25 1 1 P
X 3 3 0 -100 25 U 25 25 1 1 P
ENDDRAW
ENDDEF
#
# Device_R_Small
#
DEF Device_R_Small R 0 10 N N 1 F N
F0 "R" 30 20 50 H V L CNN
F1 "Device_R_Small" 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
#
# Graphic_Logo_Open_Hardware_Small
#
DEF Graphic_Logo_Open_Hardware_Small #LOGO 0 40 Y Y 1 F N
F0 "#LOGO" 0 275 50 H I C CNN
F1 "Graphic_Logo_Open_Hardware_Small" 0 -225 50 H I C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 277 0 1 0 132 -171 130 -170 125 -167 118 -162 109 -156 100 -150 93 -146 88 -142 86 -141 85 -142 81 -144 75 -147 71 -149 66 -151 63 -151 63 -151 61 -147 58 -139 53 -130 49 -119 44 -107 38 -95 34 -83 29 -72 26 -64 24 -58 23 -55 23 -55 26 -52 31 -49 41 -40 51 -27 57 -13 60 3 58 18 52 32 42 45 30 54 16 60 0 62 -15 61 -29 55 -42 45 -48 39 -55 26 -60 12 -60 9 -59 -7 -55 -21 -47 -34 -36 -45 -34 -46 -29 -50 -25 -53 -23 -55 -42 -102 -45 -110 -51 -123 -55 -134 -59 -143 -62 -149 -63 -151 -63 -151 -65 -151 -68 -150 -75 -147 -79 -145 -84 -142 -87 -141 -89 -142 -93 -145 -100 -150 -109 -156 -117 -161 -124 -166 -130 -170 -132 -171 -133 -171 -135 -170 -139 -166 -146 -160 -155 -151 -156 -150 -164 -142 -170 -136 -174 -131 -175 -129 -175 -129 -174 -127 -170 -121 -166 -114 -160 -105 -144 -82 -153 -61 -155 -54 -159 -46 -161 -41 -162 -38 -165 -37 -170 -36 -179 -34 -189 -32 -199 -31 -207 -29 -214 -28 -217 -27 -217 -27 -218 -25 -218 -22 -218 -17 -219 -9 -219 3 -219 5 -218 16 -218 25 -218 30 -218 33 -218 33 -215 33 -209 35 -200 36 -190 38 -189 39 -179 41 -170 42 -164 44 -161 45 -161 45 -159 49 -156 56 -152 64 -149 72 -146 79 -144 85 -143 87 -143 87 -145 90 -148 95 -153 102 -160 111 -160 112 -166 121 -171 128 -174 133 -175 136 -175 136 -173 138 -169 143 -162 150 -155 158 -152 160 -144 169 -138 174 -134 177 -132 178 -132 178 -130 176 -124 172 -117 167 -108 161 -107 161 -98 155 -91 150 -86 146 -84 145 -83 145 -80 146 -73 148 -66 151 -58 155 -50 158 -45 160 -42 162 -42 162 -41 165 -40 171 -38 180 -36 191 -35 193 -33 203 -32 212 -31 218 -30 220 -28 221 -23 221 -16 221 -6 221 3 221 13 221 21 221 27 220 29 220 29 220 30 217 32 210 33 201 36 190 36 188 38 178 40 169 41 163 42 161 42 161 47 159 54 156 62 152 82 144 107 161 109 163 118 169 125 174 130 177 133 178 133 178 135 176 140 171 147 165 154 157 160 151 167 144 171 140 174 137 174 135 174 134 173 131 169 126 164 118 158 110 153 102 148 94 144 88 143 85 143 84 145 79 148 72 152 63 160 44 173 41 181 40 192 38 202 36 218 33 219 -26 216 -27 214 -27 208 -29 199 -30 189 -32 181 -34 172 -36 166 -37 163 -37 162 -38 160 -42 157 -49 154 -57 150 -65 147 -73 145 -79 144 -82 145 -84 149 -89 153 -97 159 -105 165 -114 170 -121 173 -126 175 -129 174 -131 171 -135 164 -141 155 -151 153 -152 145 -160 139 -166 134 -170 132 -171 F
ENDDRAW
ENDDEF
#
# Jumper_Jumper_3_Bridged12
#
DEF Jumper_Jumper_3_Bridged12 JP 0 0 Y N 1 F N
F0 "JP" -100 -100 50 H V C CNN
F1 "Jumper_Jumper_3_Bridged12" 0 110 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SolderJumper*Bridged12*
$ENDFPLIST
DRAW
A -65 -50 89 1282 518 0 1 0 N -120 20 -10 20
C -130 0 20 0 0 0 N
C 0 0 20 0 0 0 N
C 130 0 20 0 0 0 N
P 2 0 1 0 0 -50 0 -20 N
X A 1 -250 0 100 R 50 50 1 1 P
X C 2 0 -150 100 U 50 50 1 1 I
X B 3 250 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Mechanical_MountingHole
#
DEF Mechanical_MountingHole H 0 40 Y Y 1 F N
F0 "H" 0 200 50 H V C CNN
F1 "Mechanical_MountingHole" 0 125 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
MountingHole*
$ENDFPLIST
DRAW
C 0 0 50 0 1 50 N
ENDDRAW
ENDDEF
#
# Regulator_Switching_TSR_1-2450
#
DEF Regulator_Switching_TSR_1-2450 U 0 20 Y Y 1 F N
F0 "U" -300 250 50 H V L CNN
F1 "Regulator_Switching_TSR_1-2450" -50 250 50 H V L CNN
F2 "Converter_DCDC:Converter_DCDC_TRACO_TSR-1_THT" 0 -150 50 H I L CIN
F3 "" 0 0 50 H I C CNN
ALIAS TSR_1-2412 TSR_1-2415 TSR_1-2418 TSR_1-2425 TSR_1-2433 TSR_1-2465 TSR_1-2490 TSR_1-24120 TSR_1-24150
$FPLIST
Converter*DCDC*TRACO*TSR?1*
$ENDFPLIST
DRAW
S -300 200 300 -100 0 1 10 f
X Vin 1 -400 100 100 R 50 50 1 1 W
X GND 2 0 -200 100 U 50 50 1 1 W
X Vout 3 400 100 100 L 50 50 1 1 w
ENDDRAW
ENDDEF
#
# Sensor_Optical_BPW34
#
DEF Sensor_Optical_BPW34 D 0 40 N N 1 F N
F0 "D" 20 70 50 H V L CNN
F1 "Sensor_Optical_BPW34" -40 -110 50 H V C CNN
F2 "OptoDevice:Osram_DIL2_4.3x4.65mm_P5.08mm" 0 175 50 H I C CNN
F3 "" -50 0 50 H I C CNN
ALIAS BP104
$FPLIST
Osram*DIL2*4.3x4.65mm*P5.08*
$ENDFPLIST
DRAW
P 2 0 1 6 -100 50 -100 -50 N
P 2 0 1 0 -80 70 -60 70 N
P 2 0 1 0 0 -50 0 50 N
P 2 0 1 0 0 0 -100 0 N
P 3 0 1 0 -20 130 -80 70 -80 90 N
P 3 0 1 0 0 50 -100 0 0 -50 N
P 5 0 1 0 30 130 -30 70 -30 90 -30 70 -10 70 N
X K 1 -200 0 100 R 50 50 1 1 P
X A 2 100 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# mtk_processor_ENC28J60
#
DEF mtk_processor_ENC28J60 U 0 40 Y Y 1 F N
F0 "U" 50 -50 50 H V C CNN
F1 "mtk_processor_ENC28J60" 600 -1250 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S 0 -100 700 -1200 0 1 0 f
X GND 1 350 -1400 200 U 50 50 1 1 P
X INT 10 -200 -1100 200 R 50 50 1 1 O
X GND 11 500 -1400 200 U 50 50 1 1 P
X VCC 12 350 100 200 D 50 50 1 1 W
X 3V3 2 500 100 200 D 50 50 1 1 W
X CS 3 -200 -200 200 R 50 50 1 1 I
X RESET 4 -200 -300 200 R 50 50 1 1 I
X SI 5 -200 -500 200 R 50 50 1 1 I
X SCK 6 -200 -600 200 R 50 50 1 1 I
X WOL 7 -200 -1000 200 R 50 50 1 1 O
X SO 8 -200 -700 200 R 50 50 1 1 O
X CLKO 9 -200 -900 200 R 50 50 1 1 O
ENDDRAW
ENDDEF
#
# mtk_processor_arduino_pro_mini
#
DEF mtk_processor_arduino_pro_mini U 0 40 Y Y 1 F N
F0 "U" -350 1900 60 H V C BNN
F1 "mtk_processor_arduino_pro_mini" 900 -200 60 H I C TNN
F2 "" 300 300 60 H I C CNN
F3 "" 300 300 60 H I C CNN
DRAW
S -400 1850 350 -50 0 1 0 f
X IO10 1 -600 1600 200 R 50 50 1 1 B
X RESET 10 -600 300 200 R 50 50 1 1 I
X GND 11 50 -250 200 U 50 50 1 1 W
X +9V 12 -100 2050 200 D 50 50 1 1 W
X TX 13 550 500 200 L 50 50 1 1 O
X RX 14 550 600 200 L 50 50 1 1 I
X RESET 15 -600 200 200 R 50 50 1 1 I
X GND 16 -100 -250 200 U 50 50 1 1 W
X IO2 17 550 900 200 L 50 50 1 1 B
X IO3 18 550 1000 200 L 50 50 1 1 B
X IO4 19 550 1100 200 L 50 50 1 1 B
X IO11 2 -600 1500 200 R 50 50 1 1 B
X IO5 20 550 1200 200 L 50 50 1 1 B
X IO6 21 550 1300 200 L 50 50 1 1 B
X IO7 22 550 1400 200 L 50 50 1 1 B
X IO8 23 550 1500 200 L 50 50 1 1 B
X IO9 24 550 1600 200 L 50 50 1 1 B
X IO12 3 -600 1400 200 R 50 50 1 1 B
X IO13 4 -600 1300 200 R 50 50 1 1 B
X ADC0 5 -600 950 200 R 50 50 1 1 B
X ADC1 6 -600 850 200 R 50 50 1 1 B
X ADC2 7 -600 750 200 R 50 50 1 1 B
X ADC3 8 -600 650 200 R 50 50 1 1 B
X +5V 9 50 2050 200 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_VCC
#
DEF power_VCC #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_VCC" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X VCC 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library