summaryrefslogtreecommitdiff
path: root/schematics
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2011-12-21 17:04:01 +0100
committerElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2011-12-21 17:04:01 +0100
commite02ae627a73618d904b752f83907ab9b4ebf3dad (patch)
tree01ecd991fa54f96eeb86dfa4514786ee04820865 /schematics
kicad schematicsHEADmaster
Diffstat (limited to 'schematics')
-rw-r--r--schematics/mood_lamp-cache.lib225
-rw-r--r--schematics/mood_lamp.pro4
-rw-r--r--schematics/mood_lamp.sch431
3 files changed, 660 insertions, 0 deletions
diff --git a/schematics/mood_lamp-cache.lib b/schematics/mood_lamp-cache.lib
new file mode 100644
index 0000000..336de87
--- /dev/null
+++ b/schematics/mood_lamp-cache.lib
@@ -0,0 +1,225 @@
+EESchema-LIBRARY Version 2.3 Date: Wed 21 Dec 2011 17:02:47 CET
+#encoding utf-8
+#
+# +8V
+#
+DEF +8V #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 -30 20 H I C CNN
+F1 "+8V" 0 110 30 H V C CNN
+DRAW
+X +8V 1 0 0 0 U 10 20 0 0 W N
+C 0 60 20 0 1 0 N
+P 3 0 1 0 0 0 0 40 0 40 N
+ENDDRAW
+ENDDEF
+#
+# 7805
+#
+DEF 7805 U 0 30 N Y 1 F N
+F0 "U" 150 -196 60 H V C CNN
+F1 "7805" 0 200 60 H V C CNN
+ALIAS LM7805 LM7812 78L05
+DRAW
+S -200 -150 200 150 0 1 0 N
+X VI VI -400 50 200 R 40 40 1 1 I
+X VO VO 400 50 200 L 40 40 1 1 w
+X GND GND 0 -250 100 U 40 40 1 1 I
+ENDDRAW
+ENDDEF
+#
+# ATMEGA8-P
+#
+DEF ATMEGA8-P IC 0 40 Y Y 1 F N
+F0 "IC" -700 1250 50 H V L BNN
+F1 "ATMEGA8-P" 350 -1400 50 H V L BNN
+F2 "DIL28" -600 -1350 50 H I C CNN
+$FPLIST
+ 28DIP-ELL600
+ 28dip600
+$ENDFPLIST
+DRAW
+S -700 1200 800 -1300 0 1 0 f
+X PC6(~RESET~) 1 -900 1100 200 R 40 40 1 1 B
+X (RXD)PD0 2 1000 -300 200 L 40 40 1 1 B
+X (TXD)PD1 3 1000 -400 200 L 40 40 1 1 B
+X (INT0)PD2 4 1000 -500 200 L 40 40 1 1 B
+X (INT1)PD3 5 1000 -600 200 L 40 40 1 1 B
+X (XCK/T0)PD4 6 1000 -700 200 L 40 40 1 1 B
+X VCC 7 0 1400 200 D 40 40 1 1 W
+X GND 8 0 -1500 200 U 40 40 1 1 W
+X PB6(XTAL1/TOSC1) 9 -900 400 200 R 40 40 1 1 B
+X PB7(XTAL2/TOSC2) 10 -900 200 200 R 40 40 1 1 B
+X AVCC 20 -900 900 200 R 40 40 1 1 W
+X (T1)PD5 11 1000 -800 200 L 40 40 1 1 B
+X AREF 21 -900 800 200 R 40 40 1 1 B
+X (AIN0)PD6 12 1000 -900 200 L 40 40 1 1 B
+X AGND 22 -900 700 200 R 40 40 1 1 W
+X (AIN1)PD7 13 1000 -1000 200 L 40 40 1 1 B
+X (ADC0)PC0 23 1000 400 200 L 40 40 1 1 B
+X (ICP)PB0 14 1000 1100 200 L 40 40 1 1 B
+X (ADC1)PC1 24 1000 300 200 L 40 40 1 1 B
+X (OC1A)PB1 15 1000 1000 200 L 40 40 1 1 B
+X (ADC2)PC2 25 1000 200 200 L 40 40 1 1 B
+X (~SS~/OC1B)PB2 16 1000 900 200 L 40 40 1 1 B
+X (ADC3)PC3 26 1000 100 200 L 40 40 1 1 B
+X (MOSI/OC2)PB3 17 1000 800 200 L 40 40 1 1 B
+X (ADC4/SDA)PC4 27 1000 0 200 L 40 40 1 1 B
+X (MISO)PB4 18 1000 700 200 L 40 40 1 1 B
+X (ADC5/SCL)PC5 28 1000 -100 200 L 40 40 1 1 B
+X (SCK)PB5 19 1000 600 200 L 40 40 1 1 B
+ENDDRAW
+ENDDEF
+#
+# C
+#
+DEF C C 0 10 N Y 1 F N
+F0 "C" 50 100 50 H V L CNN
+F1 "C" 50 -100 50 H V L CNN
+$FPLIST
+ SM*
+ C?
+ C1-1
+$ENDFPLIST
+DRAW
+P 2 0 1 20 -100 -30 100 -30 N
+P 2 0 1 20 -100 30 100 30 N
+X ~ 1 0 200 170 D 40 40 1 1 P
+X ~ 2 0 -200 170 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CONN_1
+#
+DEF ~CONN_1 P 0 30 N N 1 F N
+F0 "P" 80 0 40 H V L CNN
+F1 "CONN_1" 0 55 30 H I C CNN
+DRAW
+C 0 0 31 0 1 0 N
+P 2 0 1 0 -30 0 -50 0 N
+X 1 1 -150 0 100 R 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CONN_2
+#
+DEF CONN_2 P 0 40 Y N 1 F N
+F0 "P" -50 0 40 V V C CNN
+F1 "CONN_2" 50 0 40 V V C CNN
+DRAW
+S -100 150 100 -150 0 1 0 N
+X P1 1 -350 100 250 R 60 60 1 1 P I
+X PM 2 -350 -100 250 R 60 60 1 1 P I
+ENDDRAW
+ENDDEF
+#
+# CP
+#
+DEF CP C 0 10 N N 1 F N
+F0 "C" 50 100 50 H V L CNN
+F1 "CP" 50 -100 50 H V L CNN
+ALIAS CAPAPOL
+$FPLIST
+ CP*
+ SM*
+$ENDFPLIST
+DRAW
+P 4 0 1 8 -100 50 -100 -50 100 -50 100 50 N
+P 4 0 1 0 -50 50 -50 -20 50 -20 50 50 F
+X ~ 1 0 200 150 D 40 40 1 1 P
+X ~ 2 0 -200 150 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CRYSTAL
+#
+DEF CRYSTAL X 0 40 N N 1 F N
+F0 "X" 0 150 60 H V C CNN
+F1 "CRYSTAL" 0 -150 60 H V C CNN
+DRAW
+P 2 0 1 16 -100 100 -100 -100 N
+P 2 0 1 16 100 100 100 -100 N
+P 5 0 1 12 -50 50 50 50 50 -50 -50 -50 -50 50 f
+X 1 1 -300 0 200 R 40 40 1 1 P
+X 2 2 300 0 200 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF ~GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 0 30 H I C CNN
+F1 "GND" 0 -70 30 H I C CNN
+DRAW
+P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
+X GND 1 0 0 0 U 30 30 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# LED
+#
+DEF LED D 0 40 Y N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "LED" 0 -100 50 H V C CNN
+$FPLIST
+ LED-3MM
+ LED-5MM
+ LED-10MM
+ LED-0603
+ LED-0805
+ LED-1206
+ LEDV
+$ENDFPLIST
+DRAW
+P 2 0 1 0 50 50 50 -50 N
+P 3 0 1 0 -50 50 50 0 -50 -50 F
+P 3 0 1 0 65 -40 110 -80 105 -55 N
+P 3 0 1 0 80 -25 125 -65 120 -40 N
+X A 1 -200 0 150 R 40 40 1 1 P
+X K 2 200 0 150 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# PWR_FLAG
+#
+DEF PWR_FLAG #FLG 0 0 N N 1 F P
+F0 "#FLG" 0 95 30 H I C CNN
+F1 "PWR_FLAG" 0 180 30 H V C CNN
+DRAW
+X pwr 1 0 0 0 U 20 20 0 0 w
+P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N
+ENDDRAW
+ENDDEF
+#
+# R
+#
+DEF R R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R" 0 0 50 V V C CNN
+$FPLIST
+ R?
+ SM0603
+ SM0805
+ R?-*
+ SM1206
+$ENDFPLIST
+DRAW
+S -40 150 40 -150 0 1 12 N
+X ~ 1 0 250 100 D 60 60 1 1 P
+X ~ 2 0 -250 100 U 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# SW_PUSH
+#
+DEF SW_PUSH SW 0 40 N N 1 F N
+F0 "SW" 150 110 50 H V C CNN
+F1 "SW_PUSH" 0 -80 50 H V C CNN
+DRAW
+S -170 50 170 60 0 1 0 N
+P 4 0 1 0 -40 60 -30 90 30 90 40 60 N
+X 1 1 -300 0 200 R 60 60 0 1 P I
+X 2 2 300 0 200 L 60 60 0 1 P I
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/schematics/mood_lamp.pro b/schematics/mood_lamp.pro
new file mode 100644
index 0000000..ef6a1a0
--- /dev/null
+++ b/schematics/mood_lamp.pro
@@ -0,0 +1,4 @@
+update=Wed 21 Dec 2011 17:03:28 CET
+last_client=kicad
+[general]
+version=1
diff --git a/schematics/mood_lamp.sch b/schematics/mood_lamp.sch
new file mode 100644
index 0000000..f4491e4
--- /dev/null
+++ b/schematics/mood_lamp.sch
@@ -0,0 +1,431 @@
+EESchema Schematic File Version 2 date Wed 21 Dec 2011 17:02:46 CET
+LIBS:power
+LIBS:device
+LIBS:transistors
+LIBS:conn
+LIBS:linear
+LIBS:regul
+LIBS:74xx
+LIBS:cmos4000
+LIBS:adc-dac
+LIBS:memory
+LIBS:xilinx
+LIBS:special
+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
+EELAYER 24 0
+EELAYER END
+$Descr A4 11700 8267
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "21 dec 2011"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+NoConn ~ 4850 4100
+NoConn ~ 4850 3200
+NoConn ~ 4850 3100
+Wire Wire Line
+ 1150 1350 1150 1300
+Wire Wire Line
+ 1550 1600 1550 5700
+Wire Wire Line
+ 3850 1300 1950 1300
+Connection ~ 2700 2700
+Wire Wire Line
+ 2950 2700 2700 2700
+Connection ~ 6550 3900
+Wire Wire Line
+ 4850 3900 6550 3900
+Connection ~ 6550 3800
+Wire Wire Line
+ 5550 3800 6700 3800
+Connection ~ 6050 4000
+Wire Wire Line
+ 6150 4000 5550 4000
+Connection ~ 6050 5700
+Wire Wire Line
+ 6050 5700 6050 4700
+Wire Wire Line
+ 6050 4200 4850 4200
+Wire Wire Line
+ 4850 4000 5050 4000
+Wire Wire Line
+ 5650 5100 5650 5200
+Wire Wire Line
+ 5050 5100 5050 5200
+Wire Wire Line
+ 5350 4600 5350 4400
+Wire Wire Line
+ 5350 4400 4850 4400
+Connection ~ 3850 5700
+Wire Wire Line
+ 3850 5000 3850 5700
+Connection ~ 5350 5700
+Wire Wire Line
+ 5350 5600 5350 5700
+Connection ~ 2700 1300
+Connection ~ 1550 2000
+Wire Wire Line
+ 3850 1300 3850 2100
+Connection ~ 1000 1850
+Wire Wire Line
+ 1000 1850 1000 1900
+Connection ~ 1100 1300
+Wire Wire Line
+ 1100 1300 1100 1250
+Wire Wire Line
+ 700 1850 1950 1850
+Wire Wire Line
+ 700 1850 700 1200
+Wire Wire Line
+ 900 1200 900 1300
+Connection ~ 2250 3800
+Wire Wire Line
+ 2250 3750 2250 3800
+Connection ~ 1550 3800
+Wire Wire Line
+ 1550 3800 1650 3800
+Wire Wire Line
+ 1150 1850 1150 1750
+Connection ~ 1550 3100
+Wire Wire Line
+ 1550 3100 1650 3100
+Wire Wire Line
+ 2200 2400 2950 2400
+Wire Wire Line
+ 2950 2400 2950 2050
+Wire Wire Line
+ 1550 2600 2950 2600
+Connection ~ 1550 2600
+Wire Wire Line
+ 1550 2400 1600 2400
+Connection ~ 1550 2400
+Wire Wire Line
+ 2950 3100 2050 3100
+Wire Wire Line
+ 1950 1850 1950 1750
+Connection ~ 1550 1850
+Wire Wire Line
+ 2950 3300 2650 3800
+Wire Wire Line
+ 2650 3800 2050 3800
+Wire Wire Line
+ 2250 3150 2250 3100
+Connection ~ 2250 3100
+Connection ~ 1150 1850
+Wire Wire Line
+ 1000 1300 1000 1250
+Connection ~ 1000 1300
+Wire Wire Line
+ 850 1850 850 1800
+Connection ~ 850 1850
+Wire Wire Line
+ 2950 1300 2950 1550
+Connection ~ 2950 1300
+Connection ~ 1550 2150
+Wire Wire Line
+ 5650 5700 5650 5600
+Wire Wire Line
+ 5050 5700 5050 5600
+Connection ~ 5050 5700
+Wire Wire Line
+ 4850 4500 5050 4500
+Wire Wire Line
+ 5050 4500 5050 4600
+Wire Wire Line
+ 4850 4300 5650 4300
+Wire Wire Line
+ 5650 4300 5650 4600
+Wire Wire Line
+ 5350 5100 5350 5200
+Wire Wire Line
+ 4850 3800 5050 3800
+Connection ~ 5650 5700
+Wire Wire Line
+ 6050 4300 6050 4000
+Connection ~ 6050 4200
+Wire Wire Line
+ 6550 4300 6550 3800
+Wire Wire Line
+ 6550 4700 6550 5700
+Wire Wire Line
+ 6550 5700 1550 5700
+Wire Wire Line
+ 2950 2800 2700 2800
+Wire Wire Line
+ 2700 2800 2700 1300
+Wire Wire Line
+ 1950 1300 1950 1350
+Wire Wire Line
+ 900 1300 1150 1300
+NoConn ~ 4850 4700
+NoConn ~ 4850 4600
+NoConn ~ 4850 3700
+NoConn ~ 4850 3600
+NoConn ~ 4850 3500
+NoConn ~ 4850 3400
+NoConn ~ 4850 3300
+NoConn ~ 4850 2900
+NoConn ~ 4850 2800
+NoConn ~ 4850 2700
+NoConn ~ 4850 2600
+NoConn ~ 4850 2500
+NoConn ~ 4850 2400
+$Comp
+L C C8
+U 1 1 4BF3FB3B
+P 6550 4500
+F 0 "C8" H 6600 4600 50 0000 L CNN
+F 1 "100 pf" H 6600 4400 50 0000 L CNN
+ 1 6550 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C7
+U 1 1 4BF3FB37
+P 6050 4500
+F 0 "C7" H 6100 4600 50 0000 L CNN
+F 1 "100 pf" H 6100 4400 50 0000 L CNN
+ 1 6050 4500
+ 1 0 0 -1
+$EndComp
+$Comp
+L CONN_1 P3
+U 1 1 4BF3FB22
+P 6300 4000
+F 0 "P3" H 6380 4000 40 0000 L CNN
+F 1 "CONN_1" H 6300 4055 30 0001 C CNN
+ 1 6300 4000
+ 1 0 0 1
+$EndComp
+$Comp
+L CONN_1 P2
+U 1 1 4BF3FB19
+P 6850 3800
+F 0 "P2" H 6930 3800 40 0000 L CNN
+F 1 "CONN_1" H 6850 3855 30 0001 C CNN
+ 1 6850 3800
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R6
+U 1 1 4BF3FACD
+P 5300 4000
+F 0 "R6" V 5380 4000 50 0000 C CNN
+F 1 "R1M" V 5300 4000 50 0000 C CNN
+ 1 5300 4000
+ 0 1 1 0
+$EndComp
+$Comp
+L R R5
+U 1 1 4BF3FAC2
+P 5300 3800
+F 0 "R5" V 5380 3800 50 0000 C CNN
+F 1 "R1M" V 5300 3800 50 0000 C CNN
+ 1 5300 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L R R4
+U 1 1 4BF3F72A
+P 5650 4850
+F 0 "R4" V 5730 4850 50 0000 C CNN
+F 1 "R220" V 5650 4850 50 0000 C CNN
+ 1 5650 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R3
+U 1 1 4BF3F728
+P 5350 4850
+F 0 "R3" V 5430 4850 50 0000 C CNN
+F 1 "R220" V 5350 4850 50 0000 C CNN
+ 1 5350 4850
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R2
+U 1 1 4BF3F723
+P 5050 4850
+F 0 "R2" V 5130 4850 50 0000 C CNN
+F 1 "R220" V 5050 4850 50 0000 C CNN
+ 1 5050 4850
+ -1 0 0 1
+$EndComp
+$Comp
+L LED D3
+U 1 1 4BF3F70E
+P 5650 5400
+F 0 "D3" H 5650 5500 50 0000 C CNN
+F 1 "LED" H 5650 5300 50 0000 C CNN
+ 1 5650 5400
+ 0 1 1 0
+$EndComp
+$Comp
+L LED D2
+U 1 1 4BF3F70A
+P 5350 5400
+F 0 "D2" H 5350 5500 50 0000 C CNN
+F 1 "LED" H 5350 5300 50 0000 C CNN
+ 1 5350 5400
+ 0 1 1 0
+$EndComp
+$Comp
+L LED D1
+U 1 1 4BF3F6EB
+P 5050 5400
+F 0 "D1" H 5050 5500 50 0000 C CNN
+F 1 "LED" H 5050 5300 50 0000 C CNN
+ 1 5050 5400
+ 0 1 1 0
+$EndComp
+$Comp
+L PWR_FLAG #FLG01
+U 1 1 4BB052BE
+P 850 1800
+F 0 "#FLG01" H 850 2070 30 0001 C CNN
+F 1 "PWR_FLAG" H 850 2030 30 0000 C CNN
+ 1 850 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L PWR_FLAG #FLG02
+U 1 1 4BB052B7
+P 1100 1250
+F 0 "#FLG02" H 1100 1520 30 0001 C CNN
+F 1 "PWR_FLAG" H 1100 1480 30 0000 C CNN
+ 1 1100 1250
+ 1 0 0 -1
+$EndComp
+$Comp
+L GND #PWR03
+U 1 1 4BB0529F
+P 1000 1900
+F 0 "#PWR03" H 1000 1900 30 0001 C CNN
+F 1 "GND" H 1000 1830 30 0001 C CNN
+ 1 1000 1900
+ 1 0 0 -1
+$EndComp
+$Comp
+L +8V #PWR04
+U 1 1 4BB0528F
+P 1000 1250
+F 0 "#PWR04" H 1000 1220 20 0001 C CNN
+F 1 "+8V" H 1000 1360 30 0000 C CNN
+ 1 1000 1250
+ 1 0 0 -1
+$EndComp
+$Comp
+L CONN_2 P1
+U 1 1 4BB051DD
+P 800 850
+F 0 "P1" V 750 850 40 0000 C CNN
+F 1 "CONN_2" V 850 850 40 0000 C CNN
+ 1 800 850
+ 0 -1 -1 0
+$EndComp
+$Comp
+L CAPAPOL C1
+U 1 1 4BAF5A58
+P 1150 1550
+F 0 "C1" H 1200 1650 50 0000 L CNN
+F 1 "10 uF" H 1200 1450 50 0000 L CNN
+ 1 1150 1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C4
+U 1 1 4BAF5889
+P 1850 3800
+F 0 "C4" H 1900 3900 50 0000 L CNN
+F 1 "22 pF" H 1900 3700 50 0000 L CNN
+ 1 1850 3800
+ 0 1 1 0
+$EndComp
+$Comp
+L C C3
+U 1 1 4BAF5885
+P 1850 3100
+F 0 "C3" H 1900 3200 50 0000 L CNN
+F 1 "22 pF" H 1900 3000 50 0000 L CNN
+ 1 1850 3100
+ 0 1 1 0
+$EndComp
+$Comp
+L CRYSTAL X1
+U 1 1 4BAF5861
+P 2250 3450
+F 0 "X1" H 2250 3600 60 0000 C CNN
+F 1 "16 MHz" H 2250 3300 60 0000 C CNN
+ 1 2250 3450
+ 0 1 1 0
+$EndComp
+$Comp
+L CAPAPOL C2
+U 1 1 4BAF55FB
+P 1950 1550
+F 0 "C2" H 2000 1650 50 0000 L CNN
+F 1 "10 uF" H 2000 1450 50 0000 L CNN
+ 1 1950 1550
+ 1 0 0 -1
+$EndComp
+$Comp
+L 7805 U1
+U 1 1 4BAF5572
+P 1550 1350
+F 0 "U1" H 1700 1110 60 0000 C CNN
+F 1 "7805" H 1555 1490 60 0000 C CNN
+ 1 1550 1350
+ 1 0 0 -1
+$EndComp
+$Comp
+L SW_PUSH SW1
+U 1 1 4BAF5230
+P 1900 2400
+F 0 "SW1" H 2050 2510 50 0000 C CNN
+F 1 "SW_PUSH" H 1900 2320 50 0000 C CNN
+ 1 1900 2400
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R1
+U 1 1 4BAF5209
+P 2950 1800
+F 0 "R1" V 3030 1800 50 0000 C CNN
+F 1 "R10k" V 2950 1800 50 0000 C CNN
+ 1 2950 1800
+ 1 0 0 -1
+$EndComp
+$Comp
+L ATMEGA8-P IC1
+U 1 1 4BAF4DE2
+P 3850 3500
+F 0 "IC1" H 3150 4750 50 0000 L BNN
+F 1 "ATMEGA8-P" H 4100 2100 50 0000 L BNN
+F 2 "DIL28" H 4350 2025 50 0001 C CNN
+ 1 3850 3500
+ 1 0 0 -1
+$EndComp
+$EndSCHEMATC