Mark van Renswoude
b20ce09a2c
OLED worked, displaying large digits worked, reading VCC level worked, started refactoring. Does not currently build, but I'm too tired to figure it out right now.
337 lines
6.8 KiB
Plaintext
337 lines
6.8 KiB
Plaintext
EESchema Schematic File Version 2
|
|
LIBS:power
|
|
LIBS:device
|
|
LIBS:transistors
|
|
LIBS:conn
|
|
LIBS:linear
|
|
LIBS:regul
|
|
LIBS:74xx
|
|
LIBS:cmos4000
|
|
LIBS:adc-dac
|
|
LIBS:memory
|
|
LIBS:xilinx
|
|
LIBS:microcontrollers
|
|
LIBS:dsp
|
|
LIBS:microchip
|
|
LIBS:analog_switches
|
|
LIBS:motorola
|
|
LIBS:texas
|
|
LIBS:intel
|
|
LIBS:audio
|
|
LIBS:interface
|
|
LIBS:digital-audio
|
|
LIBS:philips
|
|
LIBS:display
|
|
LIBS:cypress
|
|
LIBS:siliconi
|
|
LIBS:opto
|
|
LIBS:atmel
|
|
LIBS:contrib
|
|
LIBS:valves
|
|
LIBS:switches
|
|
LIBS:GameCounter-cache
|
|
EELAYER 26 0
|
|
EELAYER END
|
|
$Descr A4 11693 8268
|
|
encoding utf-8
|
|
Sheet 1 1
|
|
Title "Game Counter"
|
|
Date ""
|
|
Rev ""
|
|
Comp "Mark van Renswoude"
|
|
Comment1 ""
|
|
Comment2 ""
|
|
Comment3 ""
|
|
Comment4 ""
|
|
$EndDescr
|
|
$Comp
|
|
L PWR_FLAG #FLG01
|
|
U 1 1 597F2770
|
|
P 10550 800
|
|
F 0 "#FLG01" H 10550 875 50 0001 C CNN
|
|
F 1 "PWR_FLAG" H 10550 974 50 0000 C CNN
|
|
F 2 "" H 10550 800 50 0001 C CNN
|
|
F 3 "" H 10550 800 50 0001 C CNN
|
|
1 10550 800
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L PWR_FLAG #FLG02
|
|
U 1 1 597F2792
|
|
P 10900 950
|
|
F 0 "#FLG02" H 10900 1025 50 0001 C CNN
|
|
F 1 "PWR_FLAG" H 10900 1123 50 0000 C CNN
|
|
F 2 "" H 10900 950 50 0001 C CNN
|
|
F 3 "" H 10900 950 50 0001 C CNN
|
|
1 10900 950
|
|
-1 0 0 1
|
|
$EndComp
|
|
$Comp
|
|
L +BATT #PWR010
|
|
U 1 1 597F27C7
|
|
P 10900 800
|
|
F 0 "#PWR010" H 10900 650 50 0001 C CNN
|
|
F 1 "+BATT" H 10915 973 50 0000 C CNN
|
|
F 2 "" H 10900 800 50 0001 C CNN
|
|
F 3 "" H 10900 800 50 0001 C CNN
|
|
1 10900 800
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L GND #PWR09
|
|
U 1 1 597F27F0
|
|
P 10550 950
|
|
F 0 "#PWR09" H 10550 700 50 0001 C CNN
|
|
F 1 "GND" H 10555 777 50 0000 C CNN
|
|
F 2 "" H 10550 950 50 0001 C CNN
|
|
F 3 "" H 10550 950 50 0001 C CNN
|
|
1 10550 950
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L ATTINY85-20SU U1
|
|
U 1 1 597F285D
|
|
P 5550 2950
|
|
F 0 "U1" H 5550 3467 50 0000 C CNN
|
|
F 1 "ATTINY85-20SU" H 5550 3376 50 0000 C CNN
|
|
F 2 "ATTiny85_HandSoldering:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 6500 2950 50 0001 C CIN
|
|
F 3 "" H 5550 2950 50 0001 C CNN
|
|
1 5550 2950
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L GND #PWR08
|
|
U 1 1 597F2A68
|
|
P 7050 3350
|
|
F 0 "#PWR08" H 7050 3100 50 0001 C CNN
|
|
F 1 "GND" H 7055 3177 50 0000 C CNN
|
|
F 2 "" H 7050 3350 50 0001 C CNN
|
|
F 3 "" H 7050 3350 50 0001 C CNN
|
|
1 7050 3350
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L +BATT #PWR07
|
|
U 1 1 597F2A75
|
|
P 7050 2650
|
|
F 0 "#PWR07" H 7050 2500 50 0001 C CNN
|
|
F 1 "+BATT" H 7065 2823 50 0000 C CNN
|
|
F 2 "" H 7050 2650 50 0001 C CNN
|
|
F 3 "" H 7050 2650 50 0001 C CNN
|
|
1 7050 2650
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L CONN_01X04_FEMALE J1
|
|
U 1 1 597F2CA0
|
|
P 3200 3000
|
|
F 0 "J1" H 3219 2475 50 0000 C CNN
|
|
F 1 "SSD1306 I2C" H 3219 2566 50 0000 C CNN
|
|
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 3200 3300 50 0001 C CNN
|
|
F 3 "" H 3200 3300 50 0001 C CNN
|
|
1 3200 3000
|
|
-1 0 0 1
|
|
$EndComp
|
|
$Comp
|
|
L GND #PWR02
|
|
U 1 1 597F2E4C
|
|
P 3550 3300
|
|
F 0 "#PWR02" H 3550 3050 50 0001 C CNN
|
|
F 1 "GND" H 3555 3127 50 0000 C CNN
|
|
F 2 "" H 3550 3300 50 0001 C CNN
|
|
F 3 "" H 3550 3300 50 0001 C CNN
|
|
1 3550 3300
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L +BATT #PWR01
|
|
U 1 1 597F2E5B
|
|
P 3550 3100
|
|
F 0 "#PWR01" H 3550 2950 50 0001 C CNN
|
|
F 1 "+BATT" H 3565 3273 50 0000 C CNN
|
|
F 2 "" H 3550 3100 50 0001 C CNN
|
|
F 3 "" H 3550 3100 50 0001 C CNN
|
|
1 3550 3100
|
|
1 0 0 -1
|
|
$EndComp
|
|
Wire Wire Line
|
|
10550 800 10550 950
|
|
Wire Wire Line
|
|
10900 800 10900 950
|
|
Wire Wire Line
|
|
7050 2650 7050 2700
|
|
Wire Wire Line
|
|
7050 2700 7050 2800
|
|
Wire Wire Line
|
|
7050 2700 6900 2700
|
|
Wire Wire Line
|
|
6900 3200 7050 3200
|
|
Wire Wire Line
|
|
7050 3100 7050 3200
|
|
Wire Wire Line
|
|
7050 3200 7050 3350
|
|
Wire Wire Line
|
|
3300 3100 3550 3100
|
|
Wire Wire Line
|
|
3300 3300 3550 3300
|
|
Wire Wire Line
|
|
4200 2900 3750 2900
|
|
Wire Wire Line
|
|
3750 2900 3750 2850
|
|
Wire Wire Line
|
|
3750 2850 3400 2850
|
|
Wire Wire Line
|
|
3400 2850 3400 2900
|
|
Wire Wire Line
|
|
3400 2900 3300 2900
|
|
Wire Wire Line
|
|
3300 2700 4200 2700
|
|
$Comp
|
|
L GND #PWR03
|
|
U 1 1 597F3601
|
|
P 4200 4400
|
|
F 0 "#PWR03" H 4200 4150 50 0001 C CNN
|
|
F 1 "GND" H 4205 4227 50 0000 C CNN
|
|
F 2 "" H 4200 4400 50 0001 C CNN
|
|
F 3 "" H 4200 4400 50 0001 C CNN
|
|
1 4200 4400
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L GND #PWR05
|
|
U 1 1 597F3616
|
|
P 4900 4400
|
|
F 0 "#PWR05" H 4900 4150 50 0001 C CNN
|
|
F 1 "GND" H 4905 4227 50 0000 C CNN
|
|
F 2 "" H 4900 4400 50 0001 C CNN
|
|
F 3 "" H 4900 4400 50 0001 C CNN
|
|
1 4900 4400
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L GND #PWR06
|
|
U 1 1 597F362B
|
|
P 5550 4400
|
|
F 0 "#PWR06" H 5550 4150 50 0001 C CNN
|
|
F 1 "GND" H 5555 4227 50 0000 C CNN
|
|
F 2 "" H 5550 4400 50 0001 C CNN
|
|
F 3 "" H 5550 4400 50 0001 C CNN
|
|
1 5550 4400
|
|
1 0 0 -1
|
|
$EndComp
|
|
Wire Wire Line
|
|
5550 4250 5550 4400
|
|
Wire Wire Line
|
|
4900 4250 4900 4400
|
|
Wire Wire Line
|
|
4200 4250 4200 4400
|
|
Wire Wire Line
|
|
4200 2800 3900 2800
|
|
Wire Wire Line
|
|
3900 2800 3900 3750
|
|
Wire Wire Line
|
|
3900 3750 3650 3750
|
|
Wire Wire Line
|
|
3650 3750 3650 4250
|
|
Wire Wire Line
|
|
3650 4250 3800 4250
|
|
Wire Wire Line
|
|
4200 3000 4000 3000
|
|
Wire Wire Line
|
|
4000 3000 4000 3750
|
|
Wire Wire Line
|
|
4000 3750 4350 3750
|
|
Wire Wire Line
|
|
4350 3750 4350 4250
|
|
Wire Wire Line
|
|
4350 4250 4500 4250
|
|
Wire Wire Line
|
|
4200 3100 4100 3100
|
|
Wire Wire Line
|
|
4100 3100 4100 3650
|
|
Wire Wire Line
|
|
4100 3650 5050 3650
|
|
Wire Wire Line
|
|
5050 3650 5050 4250
|
|
Wire Wire Line
|
|
5050 4250 5150 4250
|
|
$Comp
|
|
L +BATT #PWR04
|
|
U 1 1 597F3CFF
|
|
P 4800 3550
|
|
F 0 "#PWR04" H 4800 3400 50 0001 C CNN
|
|
F 1 "+BATT" V 4815 3678 50 0000 L CNN
|
|
F 2 "" H 4800 3550 50 0001 C CNN
|
|
F 3 "" H 4800 3550 50 0001 C CNN
|
|
1 4800 3550
|
|
0 1 1 0
|
|
$EndComp
|
|
$Comp
|
|
L R R1
|
|
U 1 1 597F3D75
|
|
P 4500 3550
|
|
F 0 "R1" V 4293 3550 50 0000 C CNN
|
|
F 1 "10k" V 4384 3550 50 0000 C CNN
|
|
F 2 "Resistors_SMD:R_0603_HandSoldering" V 4430 3550 50 0001 C CNN
|
|
F 3 "" H 4500 3550 50 0001 C CNN
|
|
1 4500 3550
|
|
0 1 1 0
|
|
$EndComp
|
|
Wire Wire Line
|
|
4800 3550 4650 3550
|
|
Wire Wire Line
|
|
4350 3550 4200 3550
|
|
Wire Wire Line
|
|
4200 3550 4200 3200
|
|
$Comp
|
|
L C C1
|
|
U 1 1 597F4561
|
|
P 7050 2950
|
|
F 0 "C1" H 7165 2996 50 0000 L CNN
|
|
F 1 "C" H 7165 2905 50 0000 L CNN
|
|
F 2 "Capacitors_ThroughHole:C_Disc_D3.0mm_W1.6mm_P2.50mm" H 7088 2800 50 0001 C CNN
|
|
F 3 "" H 7050 2950 50 0001 C CNN
|
|
1 7050 2950
|
|
1 0 0 -1
|
|
$EndComp
|
|
Connection ~ 7050 2700
|
|
Connection ~ 7050 3200
|
|
$Comp
|
|
L SW_Push SW1
|
|
U 1 1 597F567B
|
|
P 4000 4250
|
|
F 0 "SW1" H 4000 4535 50 0000 C CNN
|
|
F 1 "SW_Push" H 4000 4444 50 0000 C CNN
|
|
F 2 "Switch_SMD_5x5mm:Switch_SMD_5x5mm" H 4000 4450 50 0001 C CNN
|
|
F 3 "" H 4000 4450 50 0001 C CNN
|
|
1 4000 4250
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L SW_Push SW2
|
|
U 1 1 597F574D
|
|
P 4700 4250
|
|
F 0 "SW2" H 4700 4535 50 0000 C CNN
|
|
F 1 "SW_Push" H 4700 4444 50 0000 C CNN
|
|
F 2 "Switch_SMD_5x5mm:Switch_SMD_5x5mm" H 4700 4450 50 0001 C CNN
|
|
F 3 "" H 4700 4450 50 0001 C CNN
|
|
1 4700 4250
|
|
1 0 0 -1
|
|
$EndComp
|
|
$Comp
|
|
L SW_Push SW3
|
|
U 1 1 597F5781
|
|
P 5350 4250
|
|
F 0 "SW3" H 5350 4535 50 0000 C CNN
|
|
F 1 "SW_Push" H 5350 4444 50 0000 C CNN
|
|
F 2 "Switch_SMD_5x5mm:Switch_SMD_5x5mm" H 5350 4450 50 0001 C CNN
|
|
F 3 "" H 5350 4450 50 0001 C CNN
|
|
1 5350 4250
|
|
1 0 0 -1
|
|
$EndComp
|
|
Text Label 3500 2850 0 60 ~ 0
|
|
SCK
|
|
Text Label 3500 2700 0 60 ~ 0
|
|
SDA
|
|
$EndSCHEMATC
|