add RTC module

This commit is contained in:
nek0 2019-11-06 06:14:47 +01:00
parent 5f98ac5ffb
commit 9affdb8352
2 changed files with 118 additions and 0 deletions

View file

@ -55,6 +55,25 @@ X Pin_5 5 200 -200 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Battery_Cell
#
DEF Device_Battery_Cell BT 0 0 N N 1 F N
F0 "BT" 100 100 50 H V L CNN
F1 "Device_Battery_Cell" 100 0 50 H V L CNN
F2 "" 0 60 50 V I C CNN
F3 "" 0 60 50 V I C CNN
DRAW
S -90 70 90 60 0 1 0 F
S -62 47 58 27 0 1 0 F
P 2 0 1 0 0 30 0 0 N
P 2 0 1 0 0 70 0 100 N
P 2 0 1 10 20 135 60 135 N
P 2 0 1 10 40 155 40 115 N
X + 1 0 200 100 D 50 50 1 1 P
X - 2 0 -100 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_C
#
DEF Device_C C 0 10 N Y 1 F N
@ -161,6 +180,37 @@ X VI 3 -300 0 100 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Timer_RTC_DS3231M
#
DEF Timer_RTC_DS3231M U 0 20 Y Y 1 F N
F0 "U" -300 350 50 H V R CNN
F1 "Timer_RTC_DS3231M" 400 350 50 H V R CNN
F2 "Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm" 0 -600 50 H I C CNN
F3 "" 270 50 50 H I C CNN
$FPLIST
SOIC*7.5x10.3mm*P1.27mm*
$ENDFPLIST
DRAW
S -400 300 400 -300 0 1 10 f
X 32KHZ 1 500 200 100 L 50 50 1 1 C
X GND 10 0 -400 100 U 50 50 1 1 P N
X GND 11 0 -400 100 U 50 50 1 1 P N
X GND 12 0 -400 100 U 50 50 1 1 P N
X GND 13 0 -400 100 U 50 50 1 1 W
X VBAT 14 0 400 100 D 50 50 1 1 W
X SDA 15 -500 100 100 R 50 50 1 1 B
X SCL 16 -500 200 100 R 50 50 1 1 I
X VCC 2 -100 400 100 D 50 50 1 1 W
X ~INT~/SQW 3 500 -100 100 L 50 50 1 1 C
X ~RST 4 -500 -200 100 R 50 50 1 1 B
X GND 5 0 -400 100 U 50 50 1 1 P N
X GND 6 0 -400 100 U 50 50 1 1 P N
X GND 7 0 -400 100 U 50 50 1 1 P N
X GND 8 0 -400 100 U 50 50 1 1 P N
X GND 9 0 -400 100 U 50 50 1 1 P N
ENDDRAW
ENDDEF
#
# power_+3V3
#
DEF power_+3V3 #PWR 0 0 Y Y 1 F P

View file

@ -1,4 +1,5 @@
EESchema Schematic File Version 4
LIBS:fauxie-cache
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
@ -393,4 +394,71 @@ Wire Wire Line
Wire Wire Line
9050 1500 9050 1400
Connection ~ 8850 1500
Text Label 4650 2850 2 50 ~ 0
LED_DATA
Wire Wire Line
4650 2850 4750 2850
$Comp
L Timer_RTC:DS3231M U?
U 1 1 5DC2811A
P 8700 4000
F 0 "U?" H 8700 3511 50 0000 C CNN
F 1 "DS3231M" H 8700 3420 50 0000 C CNN
F 2 "Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm" H 8700 3400 50 0001 C CNN
F 3 "http://datasheets.maximintegrated.com/en/ds/DS3231.pdf" H 8970 4050 50 0001 C CNN
1 8700 4000
1 0 0 -1
$EndComp
$Comp
L Device:Battery_Cell BT?
U 1 1 5DC29E69
P 8900 3300
F 0 "BT?" V 8645 3350 50 0000 C CNN
F 1 "Battery_Cell" V 8736 3350 50 0000 C CNN
F 2 "" V 8900 3360 50 0001 C CNN
F 3 "~" V 8900 3360 50 0001 C CNN
1 8900 3300
0 -1 1 0
$EndComp
Wire Wire Line
8700 3300 8700 3600
$Comp
L power:GND #PWR?
U 1 1 5DC2D24C
P 9200 4400
F 0 "#PWR?" H 9200 4150 50 0001 C CNN
F 1 "GND" V 9205 4272 50 0000 R CNN
F 2 "" H 9200 4400 50 0001 C CNN
F 3 "" H 9200 4400 50 0001 C CNN
1 9200 4400
0 -1 -1 0
$EndComp
Wire Wire Line
9200 4400 8700 4400
$Comp
L power:GND #PWR?
U 1 1 5DC2E243
P 9100 3300
F 0 "#PWR?" H 9100 3050 50 0001 C CNN
F 1 "GND" V 9105 3172 50 0000 R CNN
F 2 "" H 9100 3300 50 0001 C CNN
F 3 "" H 9100 3300 50 0001 C CNN
1 9100 3300
0 -1 -1 0
$EndComp
Wire Wire Line
9100 3300 9000 3300
$Comp
L power:+3V3 #PWR?
U 1 1 5DC2F335
P 8600 3300
F 0 "#PWR?" H 8600 3150 50 0001 C CNN
F 1 "+3V3" V 8615 3428 50 0000 L CNN
F 2 "" H 8600 3300 50 0001 C CNN
F 3 "" H 8600 3300 50 0001 C CNN
1 8600 3300
0 -1 -1 0
$EndComp
Wire Wire Line
8600 3300 8600 3600
$EndSCHEMATC