From e53ccd0194c9b81edcc845fa34a499c18bef1976 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 28 Nov 2013 23:39:10 +0100 Subject: [PATCH] Initial import --- schematics/SSR.fp | 12 ++ schematics/atmega48_88_168.sym | 373 +++++++++++++++++++++++++++++++++ schematics/clock.sch | 53 +++++ schematics/gafrc | 2 + schematics/pins.txt | 31 +++ schematics/s202s01-ssr-1.sym | 102 +++++++++ 6 files changed, 573 insertions(+) create mode 100644 schematics/SSR.fp create mode 100644 schematics/atmega48_88_168.sym create mode 100644 schematics/clock.sch create mode 100644 schematics/gafrc create mode 100644 schematics/pins.txt create mode 100644 schematics/s202s01-ssr-1.sym diff --git a/schematics/SSR.fp b/schematics/SSR.fp new file mode 100644 index 0000000..b756984 --- /dev/null +++ b/schematics/SSR.fp @@ -0,0 +1,12 @@ +Element(0x00 "Solid State Relay SIP 4" "" "SSR_SIP4" 160 10 3 100 0x00) +( + Pin(150 50 80 55 "1" 0x101) + Pin(150 250 80 55 "2" 0x01) + Pin(150 550 80 55 "3" 0x01) + Pin(150 650 80 55 "4" 0x01) + ElementLine( 0 0 0 700 20) + ElementLine(220 0 220 700 20) + ElementLine( 0 0 220 0 20) + ElementLine( 0 700 220 700 20) + Mark(150 50) +) diff --git a/schematics/atmega48_88_168.sym b/schematics/atmega48_88_168.sym new file mode 100644 index 0000000..487f933 --- /dev/null +++ b/schematics/atmega48_88_168.sym @@ -0,0 +1,373 @@ +v 20100214 2 +T 100 100 0 1 0 0 0 0 1 +gedasymbols::url=http://www.gedasymbols.org/user/sergey_alyoshin/symbols/mcu/atmega48_88_168.sym +P 3800 3400 3500 3400 1 0 0 +{ +T 4000 3400 5 10 0 0 0 0 1 +pintype=unknown +T 3445 3395 9 10 1 1 0 6 1 +pinlabel=(INT1/OC2B) PD3 +T 3595 3445 5 10 1 1 0 0 1 +pinnumber=1 +T 4000 3400 5 10 0 0 0 0 1 +pinseq=1 +} +P 3800 3000 3500 3000 1 0 0 +{ +T 4000 3000 5 10 0 0 0 0 1 +pintype=unknown +T 4000 3000 5 10 0 0 0 0 1 +pinseq=2 +T 3445 2995 9 10 1 1 0 6 1 +pinlabel=(T0/XCK) PD4 +T 3595 3045 5 10 1 1 0 0 1 +pinnumber=2 +} +P 3800 1000 3500 1000 1 0 0 +{ +T 4000 1000 5 10 0 0 0 0 1 +pintype=unknown +T 4000 1000 5 10 0 0 0 0 1 +pinseq=3 +T 3445 995 9 10 1 1 0 6 1 +pinlabel=Gnd +T 3595 1045 5 10 1 1 0 0 1 +pinnumber=3 +} +P 3800 7000 3500 7000 1 0 0 +{ +T 4000 7000 5 10 0 0 0 0 1 +pintype=unknown +T 4000 7000 5 10 0 0 0 0 1 +pinseq=4 +T 3445 6995 9 10 1 1 0 6 1 +pinlabel=Vcc +T 3595 7045 5 10 1 1 0 0 1 +pinnumber=4 +} +P 3800 600 3500 600 1 0 0 +{ +T 4000 600 5 10 0 0 0 0 1 +pintype=unknown +T 4000 600 5 10 0 0 0 0 1 +pinseq=5 +T 3445 595 9 10 1 1 0 6 1 +pinlabel=Gnd +T 3595 645 5 10 1 1 0 0 1 +pinnumber=5 +} +P 3800 6600 3500 6600 1 0 0 +{ +T 4000 6600 5 10 0 0 0 0 1 +pintype=unknown +T 4000 6600 5 10 0 0 0 0 1 +pinseq=6 +T 3445 6595 9 10 1 1 0 6 1 +pinlabel=Vcc +T 3595 6645 5 10 1 1 0 0 1 +pinnumber=6 +} +P 0 4600 300 4600 1 0 0 +{ +T -200 4600 5 10 0 0 0 6 1 +pintype=unknown +T -200 4600 5 10 0 0 0 6 1 +pinseq=7 +T 355 4595 9 10 1 1 0 0 1 +pinlabel=PB6 (TOSC1/XTAL1) +T 205 4645 5 10 1 1 0 6 1 +pinnumber=7 +} +P 0 4200 300 4200 1 0 0 +{ +T -200 4200 5 10 0 0 0 6 1 +pintype=unknown +T -200 4200 5 10 0 0 0 6 1 +pinseq=8 +T 355 4195 9 10 1 1 0 0 1 +pinlabel=PB7 (TOSC2/XTAL2) +T 205 4245 5 10 1 1 0 6 1 +pinnumber=8 +} +P 3800 2600 3500 2600 1 0 0 +{ +T 4000 2600 5 10 0 0 0 0 1 +pintype=unknown +T 4000 2600 5 10 0 0 0 0 1 +pinseq=9 +T 3445 2595 9 10 1 1 0 6 1 +pinlabel=(T1/OC0B) PD5 +T 3595 2645 5 10 1 1 0 0 1 +pinnumber=9 +} +P 3800 2200 3500 2200 1 0 0 +{ +T 4000 2200 5 10 0 0 0 0 1 +pintype=unknown +T 4000 2200 5 10 0 0 0 0 1 +pinseq=10 +T 3445 2195 9 10 1 1 0 6 1 +pinlabel=(AIN0/OC0A) PD6 +T 3595 2245 5 10 1 1 0 0 1 +pinnumber=10 +} +P 3800 1800 3500 1800 1 0 0 +{ +T 4000 1800 5 10 0 0 0 0 1 +pintype=unknown +T 4000 1800 5 10 0 0 0 0 1 +pinseq=11 +T 3445 1795 9 10 1 1 0 6 1 +pinlabel=(AIN1) PD7 +T 3595 1845 5 10 1 1 0 0 1 +pinnumber=11 +} +P 0 7000 300 7000 1 0 0 +{ +T -200 7000 5 10 0 0 0 6 1 +pintype=unknown +T -200 7000 5 10 0 0 0 6 1 +pinseq=12 +T 355 6995 9 10 1 1 0 0 1 +pinlabel=PB0 (ICP1/CLKO) +T 205 7045 5 10 1 1 0 6 1 +pinnumber=12 +} +P 0 6600 300 6600 1 0 0 +{ +T -200 6600 5 10 0 0 0 6 1 +pintype=unknown +T -200 6600 5 10 0 0 0 6 1 +pinseq=13 +T 355 6595 9 10 1 1 0 0 1 +pinlabel=PB1 (OC1A) +T 205 6645 5 10 1 1 0 6 1 +pinnumber=13 +} +P 0 6200 300 6200 1 0 0 +{ +T -200 6200 5 10 0 0 0 6 1 +pintype=unknown +T -200 6200 5 10 0 0 0 6 1 +pinseq=14 +T 355 6195 9 10 1 1 0 0 1 +pinlabel=PB2 (OC1B/SS) +T 205 6245 5 10 1 1 0 6 1 +pinnumber=14 +} +P 0 5800 300 5800 1 0 0 +{ +T -200 5800 5 10 0 0 0 6 1 +pintype=unknown +T -200 5800 5 10 0 0 0 6 1 +pinseq=15 +T 355 5795 9 10 1 1 0 0 1 +pinlabel=PB3 (MOSI/OC2A) +T 205 5845 5 10 1 1 0 6 1 +pinnumber=15 +} +P 0 5400 300 5400 1 0 0 +{ +T -200 5400 5 10 0 0 0 6 1 +pintype=unknown +T -200 5400 5 10 0 0 0 6 1 +pinseq=16 +T 355 5395 9 10 1 1 0 0 1 +pinlabel=PB4 (MISO) +T 205 5445 5 10 1 1 0 6 1 +pinnumber=16 +} +P 0 5000 300 5000 1 0 0 +{ +T -200 5000 5 10 0 0 0 6 1 +pintype=unknown +T -200 5000 5 10 0 0 0 6 1 +pinseq=17 +T 355 4995 9 10 1 1 0 0 1 +pinlabel=PB5 (SCK) +T 205 5045 5 10 1 1 0 6 1 +pinnumber=17 +} +P 3800 6200 3500 6200 1 0 0 +{ +T 4000 6200 5 10 0 0 0 0 1 +pintype=unknown +T 4000 6200 5 10 0 0 0 0 1 +pinseq=18 +T 3445 6195 9 10 1 1 0 6 1 +pinlabel=AVcc +T 3595 6245 5 10 1 1 0 0 1 +pinnumber=18 +} +P 0 600 300 600 1 0 0 +{ +T -200 600 5 10 0 0 0 6 1 +pintype=unknown +T -200 600 5 10 0 0 0 6 1 +pinseq=19 +T 355 595 9 10 1 1 0 0 1 +pinlabel=ADC6 +T 205 645 5 10 1 1 0 6 1 +pinnumber=19 +} +P 3800 5400 3500 5400 1 0 0 +{ +T 4000 5400 5 10 0 0 0 0 1 +pintype=unknown +T 4000 5400 5 10 0 0 0 0 1 +pinseq=20 +T 3445 5395 9 10 1 1 0 6 1 +pinlabel=ARef +T 3595 5445 5 10 1 1 0 0 1 +pinnumber=20 +} +P 3800 200 3500 200 1 0 0 +{ +T 4000 200 5 10 0 0 0 0 1 +pintype=unknown +T 4000 200 5 10 0 0 0 0 1 +pinseq=21 +T 3445 195 9 10 1 1 0 6 1 +pinlabel=Gnd +T 3595 245 5 10 1 1 0 0 1 +pinnumber=21 +} +P 0 200 300 200 1 0 0 +{ +T -200 200 5 10 0 0 0 6 1 +pintype=unknown +T -200 200 5 10 0 0 0 6 1 +pinseq=22 +T 355 195 9 10 1 1 0 0 1 +pinlabel=ADC7 +T 205 245 5 10 1 1 0 6 1 +pinnumber=22 +} +P 0 3400 300 3400 1 0 0 +{ +T -200 3400 5 10 0 0 0 6 1 +pintype=unknown +T -200 3400 5 10 0 0 0 6 1 +pinseq=23 +T 355 3395 9 10 1 1 0 0 1 +pinlabel=PC0 (ADC0) +T 205 3445 5 10 1 1 0 6 1 +pinnumber=23 +} +P 0 3000 300 3000 1 0 0 +{ +T -200 3000 5 10 0 0 0 6 1 +pintype=unknown +T -200 3000 5 10 0 0 0 6 1 +pinseq=24 +T 355 2995 9 10 1 1 0 0 1 +pinlabel=PC1 (ADC1) +T 205 3045 5 10 1 1 0 6 1 +pinnumber=24 +} +P 0 2600 300 2600 1 0 0 +{ +T -200 2600 5 10 0 0 0 6 1 +pintype=unknown +T -200 2600 5 10 0 0 0 6 1 +pinseq=25 +T 355 2595 9 10 1 1 0 0 1 +pinlabel=PC2 (ADC2) +T 205 2645 5 10 1 1 0 6 1 +pinnumber=25 +} +P 0 2200 300 2200 1 0 0 +{ +T -200 2200 5 10 0 0 0 6 1 +pintype=unknown +T -200 2200 5 10 0 0 0 6 1 +pinseq=26 +T 355 2195 9 10 1 1 0 0 1 +pinlabel=PC3 (ADC3) +T 205 2245 5 10 1 1 0 6 1 +pinnumber=26 +} +P 0 1800 300 1800 1 0 0 +{ +T -200 1800 5 10 0 0 0 6 1 +pintype=unknown +T -200 1800 5 10 0 0 0 6 1 +pinseq=27 +T 355 1795 9 10 1 1 0 0 1 +pinlabel=PC4 (ADC4) +T 205 1845 5 10 1 1 0 6 1 +pinnumber=27 +} +P 0 1400 300 1400 1 0 0 +{ +T -200 1400 5 10 0 0 0 6 1 +pintype=unknown +T -200 1400 5 10 0 0 0 6 1 +pinseq=28 +T 355 1395 9 10 1 1 0 0 1 +pinlabel=PC5 (ADC5) +T 205 1445 5 10 1 1 0 6 1 +pinnumber=28 +} +P 0 1000 300 1000 1 0 0 +{ +T -200 1000 5 10 0 0 0 6 1 +pintype=unknown +T -200 1000 5 10 0 0 0 6 1 +pinseq=29 +T 355 995 9 10 1 1 0 0 1 +pinlabel=PC6 (Reset) +T 205 1045 5 10 1 1 0 6 1 +pinnumber=29 +} +P 3800 4600 3500 4600 1 0 0 +{ +T 4000 4600 5 10 0 0 0 0 1 +pintype=unknown +T 4000 4600 5 10 0 0 0 0 1 +pinseq=30 +T 3445 4595 9 10 1 1 0 6 1 +pinlabel=(RxD) PD0 +T 3595 4645 5 10 1 1 0 0 1 +pinnumber=30 +} +P 3800 4200 3500 4200 1 0 0 +{ +T 4000 4200 5 10 0 0 0 0 1 +pintype=unknown +T 4000 4200 5 10 0 0 0 0 1 +pinseq=31 +T 3445 4195 9 10 1 1 0 6 1 +pinlabel=(TxD) PD1 +T 3595 4245 5 10 1 1 0 0 1 +pinnumber=31 +} +P 3800 3800 3500 3800 1 0 0 +{ +T 4000 3800 5 10 0 0 0 0 1 +pintype=unknown +T 4000 3800 5 10 0 0 0 0 1 +pinseq=32 +T 3445 3795 9 10 1 1 0 6 1 +pinlabel=(INT0) PD2 +T 3595 3845 5 10 1 1 0 0 1 +pinnumber=32 +} +L 300 7200 3500 7200 3 0 1 0 -1 -1 +L 3500 7200 3500 0 3 0 1 0 -1 -1 +L 3500 0 300 0 3 0 1 0 -1 -1 +L 300 0 300 7200 3 0 1 0 -1 -1 +T 300 -400 8 8 0 0 0 0 1 +device=ATmega48/88/168 +T 295 -200 8 8 0 0 0 0 1 +description=8-bit AVR microcontroller +T 295 7271 8 10 1 1 0 0 1 +refdes=U? +T 3495 -200 8 8 0 0 0 0 1 +symversion=0 +T 900 7400 8 10 0 0 0 2 1 +use-license=unlimited +T 900 7600 8 10 0 0 0 2 1 +dist-license=GPL +T 900 7800 8 10 0 0 0 2 1 +author=Sergey Alyoshin diff --git a/schematics/clock.sch b/schematics/clock.sch new file mode 100644 index 0000000..9a82cf0 --- /dev/null +++ b/schematics/clock.sch @@ -0,0 +1,53 @@ +v 20121123 2 +C 40000 40000 0 0 0 title-B.sym +C 46700 42600 1 0 1 atmega48_88_168.sym +{ +T 46400 42200 5 8 0 0 0 6 1 +device=ATmega48/88/168 +T 46405 49871 5 10 1 1 0 6 1 +refdes=U? +T 43205 42400 5 8 0 0 0 6 1 +symversion=0 +} +C 51400 48400 1 0 0 s202s01-ssr-1.sym +{ +T 51400 50400 5 10 0 0 0 0 1 +device=S202S01_SSR +T 51600 49000 5 10 1 1 0 0 1 +refdes=K? +T 51400 49400 5 10 0 0 0 0 1 +footprint=SIP4_600_SSR +} +C 53000 49400 1 270 0 varistor-1.sym +{ +T 53800 49300 5 10 0 0 270 0 1 +device=MOV +T 54200 49100 5 10 0 0 270 0 1 +footprint=MOV +T 54650 49100 5 10 0 0 270 0 1 +device=VARISTOR +T 53400 49200 5 10 1 1 270 0 1 +refdes=V? +} +C 56200 48300 1 0 1 connector2-1.sym +{ +T 56000 49300 5 10 0 0 0 6 1 +device=CONNECTOR_2 +T 56200 49100 5 10 1 1 0 6 1 +refdes=CONN? +} +C 56200 49700 1 0 1 connector2-1.sym +{ +T 56000 50700 5 10 0 0 0 6 1 +device=CONNECTOR_2 +T 56200 50500 5 10 1 1 0 6 1 +refdes=CONN? +} +N 54500 49900 54100 49900 4 +N 54100 49900 54100 45200 4 +N 54300 45200 54300 50200 4 +N 54300 48800 54500 48800 4 +N 54500 50200 54300 50200 4 +N 54100 49400 52700 49400 4 +N 52700 49400 52700 48800 4 +N 52700 48500 54500 48500 4 diff --git a/schematics/gafrc b/schematics/gafrc new file mode 100644 index 0000000..22acb85 --- /dev/null +++ b/schematics/gafrc @@ -0,0 +1,2 @@ +(component-library ".") +(source-library ".") diff --git a/schematics/pins.txt b/schematics/pins.txt new file mode 100644 index 0000000..c095715 --- /dev/null +++ b/schematics/pins.txt @@ -0,0 +1,31 @@ +(3, 5, 21) GND +(4, 6) VCC +(18) AVCC +(20) AREF + +PB6,PB7 (7,8) XTAL TOSC1,2 +PB0 (12) PWR +PB1 (13) ??? --- +PB2-PB5 (14-17) Buttons (_, MOSI, MISO, SCK) + +ADC6 (19) Battery +ADC7 (22) Moisture +PC0 (23) Moisture +PC1-PC3 (24-26) SSR +PC4,PC5 (27,28) TWI +PC6 (29) RESET +PD0-PD7 (3-32,1-2,9-11) LCD + +Connectors: +AC IN (2-pin? 3-pin?) ++5V IN (2-pin) + +3x AC OUT (2-3 pin) + +I2C (3-pin) +Buttons (on-board?) +LCD (7x data, trimpot, backlight-, GND, +5V) - 16x? +Moisture (3-pin) +prog (+5v, reset, miso, mosi, sck, gnd) 6-pin? + + diff --git a/schematics/s202s01-ssr-1.sym b/schematics/s202s01-ssr-1.sym new file mode 100644 index 0000000..f151678 --- /dev/null +++ b/schematics/s202s01-ssr-1.sym @@ -0,0 +1,102 @@ +v 20121123 2 +B 200 0 900 500 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 +P 0 400 200 400 1 0 0 +{ +T -900 400 5 10 0 0 0 0 1 +pintype=in +T -895 795 5 10 0 1 0 0 1 +pinlabel=input + +T 105 445 5 8 1 1 0 6 1 +pinnumber=3 +T -900 600 5 10 0 0 0 0 1 +pinseq=3 +} +P 0 100 200 100 1 0 0 +{ +T -900 -300 5 10 0 0 0 0 1 +pintype=in +T -895 95 5 10 0 1 0 0 1 +pinlabel=input - +T 105 145 5 8 1 1 0 6 1 +pinnumber=4 +T -900 -100 5 10 0 0 0 0 1 +pinseq=4 +} +P 1300 400 1100 400 1 0 0 +{ +T 1400 400 5 10 0 0 0 0 1 +pintype=out +T 1395 795 5 10 0 1 0 0 1 +pinlabel=output (triac T1) +T 1195 445 5 8 1 1 0 0 1 +pinnumber=1 +T 1400 600 5 10 0 0 0 0 1 +pinseq=1 +} +P 1300 100 1100 100 1 0 0 +{ +T 1400 -300 5 10 0 0 0 0 1 +pintype=out +T 1395 95 5 10 0 1 0 0 1 +pinlabel=output (triac T2) +T 1195 145 5 8 1 1 0 0 1 +pinnumber=2 +T 1400 -100 5 10 0 0 0 0 1 +pinseq=2 +} +L 200 400 300 400 3 0 0 0 -1 -1 +L 300 400 300 300 3 0 0 0 -1 -1 +L 250 300 350 300 3 0 0 0 -1 -1 +L 350 300 300 200 3 0 0 0 -1 -1 +L 300 200 250 300 3 0 0 0 -1 -1 +L 250 200 350 200 3 0 0 0 -1 -1 +L 300 200 300 100 3 0 0 0 -1 -1 +L 300 100 200 100 3 0 0 0 -1 -1 +L 1100 400 950 400 3 0 0 0 -1 -1 +L 950 400 900 400 3 0 0 0 -1 -1 +L 1100 100 950 100 3 0 0 0 -1 -1 +L 950 100 950 200 3 0 0 0 -1 -1 +L 950 400 950 300 3 0 0 0 -1 -1 +L 850 300 1050 300 3 0 0 0 -1 -1 +L 1050 200 850 200 3 0 0 0 -1 -1 +L 900 200 850 100 3 0 0 0 -1 -1 +L 850 100 700 100 3 0 0 0 -1 -1 +L 700 100 700 200 3 0 0 0 -1 -1 +L 600 200 800 200 3 0 0 0 -1 -1 +L 600 300 800 300 3 0 0 0 -1 -1 +L 700 300 700 400 3 0 0 0 -1 -1 +L 700 400 950 400 3 0 0 0 -1 -1 +L 425 275 500 200 3 0 0 0 -1 -1 +L 500 225 500 200 3 0 0 0 -1 -1 +L 500 200 475 200 3 0 0 0 -1 -1 +L 375 250 450 175 3 0 0 0 -1 -1 +L 450 200 450 175 3 0 0 0 -1 -1 +L 450 175 425 175 3 0 0 0 -1 -1 +L 950 300 900 200 3 0 0 0 -1 -1 +L 900 200 850 300 3 0 0 0 -1 -1 +L 950 200 1000 300 3 0 0 0 -1 -1 +L 1000 300 1050 200 3 0 0 0 -1 -1 +L 650 200 625 150 3 0 0 0 -1 -1 +L 625 150 500 150 3 0 0 0 -1 -1 +L 600 300 650 200 3 0 0 0 -1 -1 +L 650 200 700 300 3 0 0 0 -1 -1 +L 700 200 750 300 3 0 0 0 -1 -1 +L 750 300 800 200 3 0 0 0 -1 -1 +A 1150 300 25 0 180 3 0 0 0 -1 -1 +A 1200 300 25 180 180 3 0 0 0 -1 -1 +T 650 600 9 10 1 0 0 0 1 +SSR +T 0 2000 9 10 0 0 0 0 1 +device=S202S01_SSR +T 0 1800 9 10 0 0 0 0 1 +description=Sharp Sx02S0x Solid State Relay +T 0 1600 9 10 0 0 0 0 1 +author=Jan "Yenya" Kasprzak +T 0 1400 9 10 0 0 0 0 1 +dist-license=GPL 2 +T 0 1200 9 10 0 0 0 0 1 +datasheet=http://sharp-world.com/products/device/lineup/data/pdf/datasheet/s102s01_e.pdf +T 200 600 5 10 1 1 0 0 1 +refdes=K? +T 0 1000 9 10 0 0 0 0 1 +footprint=SIP4_600_SSR -- 2.43.5