1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-07-01 02:44:32 +03:00

video/: added Makefile and schematics

This commit is contained in:
Werner Almesberger 2011-04-24 02:36:56 -03:00
parent 18f2957cd4
commit 7d95fe8a35
3 changed files with 304 additions and 0 deletions

19
video/Makefile Normal file
View File

@ -0,0 +1,19 @@
#CC=mipsel-openwrt-linux-uclibc-gcc
CC=mipsel-linux-gcc
CFLAGS=-Wall -g -O9 -march=mips32
.PHONY: all asm sch clean spotless
all: video
asm: video.c
$(CC) $(CFLAGS) -S $<
sch:
eeschema `pwd`/ubb-vga.sch
clean:
rm -f video
spotless: clean

40
video/ubb-vga.pro Normal file
View File

@ -0,0 +1,40 @@
update=Sun Apr 24 01:38:18 2011
last_client=eeschema
[eeschema]
version=1
LibDir=
NetFmt=1
HPGLSpd=20
HPGLDm=15
HPGLNum=1
offX_A4=0
offY_A4=0
offX_A3=0
offY_A3=0
offX_A2=0
offY_A2=0
offX_A1=0
offY_A1=0
offX_A0=0
offY_A0=0
offX_A=0
offY_A=0
offX_B=0
offY_B=0
offX_C=0
offY_C=0
offX_D=0
offY_D=0
offX_E=0
offY_E=0
RptD_X=0
RptD_Y=100
RptLab=1
LabSize=60
PrintMonochrome=1
ShowSheetReferenceAndTitleBlock=1
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=../../kicad-libs/components/8_10-card
LibName4=../../kicad-libs/components/vga

245
video/ubb-vga.sch Normal file
View File

@ -0,0 +1,245 @@
EESchema Schematic File Version 2 date Sun Apr 24 02:16:48 2011
LIBS:power
LIBS:device
LIBS:8_10-card
LIBS:vga
LIBS:ubb-vga-cache
EELAYER 24 0
EELAYER END
$Descr A4 11700 8267
Sheet 1 1
Title "UBB VGA Adapter"
Date "24 apr 2011"
Rev "20110424"
Comp "Werner Almesberger"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 8200 3300 0 60 ~ 0
VSYNC
Text Label 8200 3400 0 60 ~ 0
HSYNC
Text Label 2100 3800 0 60 ~ 0
VSYNC
Text Label 2100 3600 0 60 ~ 0
HSYNC
Text Label 8200 3900 0 60 ~ 0
B
Text Label 8200 3800 0 60 ~ 0
G
Text Label 8200 3200 0 60 ~ 0
R
Wire Wire Line
2550 3800 1800 3800
Wire Wire Line
1800 3800 1800 2550
Wire Wire Line
1800 2550 5150 2550
Wire Wire Line
5150 3300 5150 2550
Wire Wire Line
8850 3300 5150 3300
Wire Wire Line
3750 3600 4750 3600
Wire Wire Line
4750 3600 4750 4000
Wire Wire Line
4750 4000 7000 4000
Wire Wire Line
7000 4000 7200 4000
Wire Wire Line
7200 3800 6650 3800
Wire Wire Line
6650 3800 4850 3800
Connection ~ 3950 4000
Wire Wire Line
3750 4000 3950 4000
Connection ~ 7000 4000
Connection ~ 6300 3200
Wire Wire Line
6650 3800 6650 4200
Wire Wire Line
7000 4600 7000 4800
Wire Wire Line
6300 4800 6300 4600
Wire Wire Line
8850 3800 7700 3800
Wire Wire Line
8850 3700 8650 3700
Wire Wire Line
8650 3700 8650 4300
Wire Wire Line
7700 4000 7900 4000
Wire Wire Line
7900 4000 7900 3900
Wire Wire Line
7900 3900 8850 3900
Wire Wire Line
8850 3200 7700 3200
Wire Wire Line
6650 4600 6650 4800
Wire Wire Line
7000 4000 7000 4200
Wire Wire Line
6300 3200 6300 4200
Connection ~ 6650 3800
Wire Wire Line
3750 3900 3950 3900
Wire Wire Line
3950 3900 3950 4000
Wire Wire Line
3950 4000 3950 4200
Wire Wire Line
3750 3200 6300 3200
Wire Wire Line
6300 3200 7200 3200
Wire Wire Line
3750 3400 4850 3400
Wire Wire Line
4850 3400 4850 3800
Wire Wire Line
8850 3400 5050 3400
Wire Wire Line
5050 3400 5050 2650
Wire Wire Line
5050 2650 1900 2650
Wire Wire Line
1900 2650 1900 3600
Wire Wire Line
1900 3600 2550 3600
NoConn ~ 2550 3200
NoConn ~ 2550 3400
NoConn ~ 2550 4000
Text Label 3950 3600 0 60 ~ 0
BLUE
Text Label 3950 3400 0 60 ~ 0
GREEN
Text Label 3950 3200 0 60 ~ 0
RED
NoConn ~ 3750 3800
NoConn ~ 3750 3700
NoConn ~ 3750 3500
NoConn ~ 3750 3300
NoConn ~ 3750 3100
$Comp
L GND #PWR1
U 1 1 4DB3B0C4
P 3950 4200
F 0 "#PWR1" H 3950 4200 30 0001 C CNN
F 1 "GND" H 3950 4130 30 0001 C CNN
1 3950 4200
1 0 0 -1
$EndComp
$Comp
L GND #PWR4
U 1 1 4DB3B04B
P 7000 4800
F 0 "#PWR4" H 7000 4800 30 0001 C CNN
F 1 "GND" H 7000 4730 30 0001 C CNN
1 7000 4800
1 0 0 -1
$EndComp
$Comp
L GND #PWR3
U 1 1 4DB3B04A
P 6650 4800
F 0 "#PWR3" H 6650 4800 30 0001 C CNN
F 1 "GND" H 6650 4730 30 0001 C CNN
1 6650 4800
1 0 0 -1
$EndComp
$Comp
L GND #PWR2
U 1 1 4DB3B048
P 6300 4800
F 0 "#PWR2" H 6300 4800 30 0001 C CNN
F 1 "GND" H 6300 4730 30 0001 C CNN
1 6300 4800
1 0 0 -1
$EndComp
$Comp
L GND #PWR5
U 1 1 4DB3AFED
P 8650 4300
F 0 "#PWR5" H 8650 4300 30 0001 C CNN
F 1 "GND" H 8650 4230 30 0001 C CNN
1 8650 4300
1 0 0 -1
$EndComp
NoConn ~ 8850 3600
NoConn ~ 8850 3500
$Comp
L DIODE D1
U 1 1 4DB3AF61
P 6300 4400
F 0 "D1" H 6300 4500 40 0000 C CNN
F 1 "1N4148" H 6300 4300 40 0000 C CNN
1 6300 4400
0 -1 1 0
$EndComp
$Comp
L DIODE D2
U 1 1 4DB3AF5F
P 6650 4400
F 0 "D2" H 6650 4500 40 0000 C CNN
F 1 "1N4148" H 6650 4300 40 0000 C CNN
1 6650 4400
0 -1 1 0
$EndComp
$Comp
L DIODE D3
U 1 1 4DB3AF5B
P 7000 4400
F 0 "D3" H 7000 4500 40 0000 C CNN
F 1 "1N4148" H 7000 4300 40 0000 C CNN
1 7000 4400
0 -1 1 0
$EndComp
$Comp
L R R3
U 1 1 4DB3AF4D
P 7450 4000
F 0 "R3" V 7530 4000 50 0000 C CNN
F 1 "1k" V 7450 4000 50 0000 C CNN
1 7450 4000
0 -1 -1 0
$EndComp
$Comp
L R R2
U 1 1 4DB3AF4B
P 7450 3800
F 0 "R2" V 7530 3800 50 0000 C CNN
F 1 "1k" V 7450 3800 50 0000 C CNN
1 7450 3800
0 -1 -1 0
$EndComp
$Comp
L R R1
U 1 1 4DB3AF49
P 7450 3200
F 0 "R1" V 7530 3200 50 0000 C CNN
F 1 "1k" V 7450 3200 50 0000 C CNN
1 7450 3200
0 -1 -1 0
$EndComp
$Comp
L 8:10-CARD P1
U 1 1 4DB3AF38
P 9150 3500
F 0 "P1" H 8950 4050 60 0000 C CNN
F 1 "UBB" H 9200 2900 60 0000 C CNN
1 9150 3500
1 0 0 -1
$EndComp
$Comp
L VGA J1
U 1 1 4DB3AF2A
P 3150 3550
F 0 "J1" H 3350 2850 60 0000 C CNN
F 1 "VGA" H 3150 4300 60 0000 C CNN
1 3150 3550
-1 0 0 1
$EndComp
$EndSCHEMATC