No changes between revisions
/Designs/Oscilloscope/DOC/stav.txt
1,10 → 1,16
Zatim je zprovezneno zakladni samplovani a binarni data transfer na strane atmegy a
prijem a zobrazeni dat na strane PC. Ovladani uz nejak vypada.
prijem a zobrazeni dat na strane PC. Ovladani uz nejak vypada. Je k dispozici zapojeni modulu.
 
Dal:
Zakladni dokumentace. Nakreslit zapojeni modulu a analogove cesty.
CHYBI:
Zakladni dokumentace. Nakreslit schema analogove cesty.
Oboustrana komunikace.
Nastavitelny time base. Mereni time base pomoci timeru.
Musim vykrast trigger ze sveho starsiho projektu.
Oboustrana komunikace.
Implementovan trigger (vemu ze sveho starsiho projektu).
Mody on-first-trigger, on-every-trigger, logger (slow)
 
Zlepsit uroven kodu qscope....
Budoucnost:
Spinatelna reference/bias, automaticka kalibrace.
Spektralni analyza.
Propojit se signalovym generatorem.
Vymyslet, jak posilat a zobrazovat vice kanalu a nastavovat generator prubehu
 
/Designs/Oscilloscope/SCH/Oscilloscope_SCH.pdf
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/Designs/Oscilloscope/SCH/Oscilloscope_SCH.ps
0,0 → 1,245
%!PS-Adobe-3.0
%%Title: Oscilloscope_SCH.ps
%%Creator: XCircuit v3.6 rev165
%%CreationDate: Mon Aug 15 01:46:54 2011
%%Pages: 1
%%BoundingBox: 0 0 612 792
%%DocumentNeededResources: font Helvetica Times-Roman
%%EndComments
%%BeginProlog
%
% PostScript prolog for output from xcircuit
% Version: 3.3
%
% Electrical circuit (and otherwise general) drawing program
%
% Written by Tim Edwards 8/5/93--7/13/05 (tim.edwards@multigig.com)
% The Johns Hopkins University (1993-2004)
% MultiGiG, Inc. (2004-present)
%
%%BeginResource: procset XCIRCproc 3.3 0
%
% supporting definitions --- these are the primary xcircuit types.
 
/XCIRCsave save def
/topmat matrix currentmatrix def
 
/fontslant { /slant exch def [1 0 slant 1 0 0]
exch findfont exch makefont dup length dict /ndict exch def
{ 1 index /FID ne { ndict 3 1 roll put } { pop pop } ifelse } forall
ndict definefont pop} def
/ul { dup type /stringtype eq showflag 1 eq and { gsave
currentpoint topmat setmatrix 0 0 moveto 2 index stringwidth pop (_)
false charpath flattenpath pathbbox grestore exch pop 1 index
sub setlinewidth exch pop currentpoint 3 -1 roll add moveto 0
rlineto stroke moveto } if } def
/ol { dup type /stringtype eq showflag 1 eq and { gsave gsave
currentpoint topmat setmatrix 2 index stringwidth pop 3 index
true charpath flattenpath pathbbox grestore exch pop
exch pop topmat setmatrix (_) true charpath pathbbox grestore
exch pop 1 index sub setlinewidth exch pop currentpoint
exch 4 1 roll exch sub add moveto pop 0 rlineto stroke
moveto } if } def
/stW { gsave currentpoint newpath moveto true charpath flattenpath
pathbbox pop exch pop sub grestore } def
/Ts {mark Tabs aload pop counttomark 1 add array astore /Tabs exch def Tabs
0 currentpoint pop put} def
/Tbn {mark Tabs aload pop counttomark dup 2 add 1 roll cleartomark 1 sub} def
/Tb { 0 1 Tbn {Tabs exch get dup currentpoint pop lt
{currentpoint exch pop moveto exit} {pop} ifelse } for } def
/Tf { Tbn -1 0 {Tabs exch get dup currentpoint pop gt
{currentpoint exch pop moveto exit} {pop} ifelse } for } def
/qS { (aa) stW (a a) stW sub 4 div 0 Kn } def
/hS { qS qS } def
/pspc 0 def
/cf0 { scalefont setfont } bind def
/Kn { dup kY add /kY exch def rmoveto } bind def
/ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
0.33 mul neg Kn} def
/Ss { /fscale fscale 0.67 mul def currentfont 0.67 cf0 0 fscale0 fscale mul
0.67 mul Kn } def
/ns { 0 kY neg Kn /kY 0 def /fscale 1.0 def xfont0 1.0 cf0 } def
/CR { ns 0 /Bline Bline fscale0 neg add def Bline moveto } def
/cf { dup type /realtype ne {1.0} if exch findfont exch kY 0 eq
{ 40 mul dup /fscale0 exch def cf0 /xfont0 currentfont def}
{fscale0 mul fscale mul cf0} ifelse } def
/ctmk { counttomark dup 2 add -1 roll pop } bind def
/label { gsave translate 0 0 moveto dup scale neg /rotval exch def
/just exch def just 384 and 0 gt {/mshow {pop} def} {/mshow {show}
def} ifelse just 16 and 0 gt {gsave rotval rotate 0 1 dtransform
gsave pagemat setmatrix idtransform exch grestore 1 0 dtransform
gsave pagemat setmatrix idtransform exch grestore dup abs 1e-9 lt
{pop mul 0 gt} {3 1 roll pop pop 0 lt} ifelse grestore {-1 /rotval
rotval neg def /just just dup 3 and 1 ne {3 xor} if def} {1} ifelse
exch -1e-9 lt {-1 /rotval rotval neg def /just just dup 12 and
4 ne {12 xor} if def} {1} ifelse scale } if /showflag 0 def
/fspc pspc def /Bline 0 def /Tabs 0 array def /fscale 1.0 def
/kY 0 def gsave dup 1 add copy 0 exch 1 0 dtransform exch atan rotate
{exch dup type /stringtype eq {true charpath flattenpath} {dup type
/arraytype eq {exec} {12 string cvs true charpath flattenpath} ifelse}
ifelse} repeat pop pathbbox grestore 3 -1 roll pop 3 1 roll just
1 and 0 gt {just 2 and 0 gt {exch pop neg fspc sub} {exch sub 0.5
mul neg} ifelse} {pop neg fspc add} ifelse exch Bline exch just 4
and 0 gt {just 8 and 0 gt {exch pop neg fspc sub} {add 0.5 mul neg}
ifelse} {pop neg fspc add} ifelse rotval rotate Kn currentpoint
translate /showflag 1 def /Bline 0 def /Tabs 0 array def /fscale
1.0 def /kY 0 def {dup type /stringtype eq {mshow} {dup type
/arraytype eq {exec} {12 string cvs mshow} ifelse} ifelse} repeat
grestore } def
/pinlabel { 4 index 32 and 0 ne hlevel 0 eq or { /pspc 10 def label
/pspc 0 def } { pop pop pop pop pop {pop} repeat } ifelse } def
/pinglobal { pinlabel } def
/infolabel { pinlabel } def
/graphic { gsave 4 index cvx exec /DataSource get resetfile translate
0 0 moveto neg rotate dup scale cvx exec image grestore } def
 
/scb { setrgbcolor } bind def /sce { defColor aload pop scb } bind def
/cRedef {/defColor currentcolor 3 array astore def} def
/begingate {dup type /dicttype ne {1 dict} if begin % default params
dup type /dicttype ne {1 dict} if begin % instanced params
/hlevel hlevel 1 add def /defColor currentcolor sce 3 array
astore def gsave sce translate 0 0 moveto neg rotate dup abs scale
} bind def
/endgate { /hlevel hlevel 1 sub def grestore defColor aload pop cRedef
scb end end} bind def
 
/hlevel 0 def
/tmpa [1 0 0 1 0 0] def
/gar {8 8 true tmpa {<c0 c0 00 00 0c 0c 00 00>} imagemask} bind
{8 8 true tmpa {<30 70 60 02 03 07 06 20>} imagemask} bind
{8 8 true tmpa {<0c 1e 1e 0c c0 e1 e1 c0>} imagemask} bind
{8 8 true tmpa {<0f 0f 0f 0f f0 f0 f0 f0>} imagemask} bind
{8 8 true tmpa {<3f f3 e1 e1 f3 3f 1e 1e>} imagemask} bind
{8 8 true tmpa {<df cf 8f 9f fd fc f8 f9>} imagemask} bind
{8 8 true tmpa {<ff 3f 3f ff ff f3 f3 ff>} imagemask} bind 7 array astore def
/ppaint { gsave clip tmpa dup setmatrix pathbbox neg exch neg 4 2 roll
neg 4 -1 roll 2 copy gt {exch} if 8 div ceiling 8 mul 4 2 roll neg 2 copy
gt {exch} if 8 div ceiling 8 mul 3 -1 roll -8 5 -1 roll
{ 3 index exch 5 exch put dup -8 3 index { 3 index
exch 4 exch put 3 index exec } for } for pop pop pop pop grestore } bind def
/setstyles {
currentlinewidth mul setlinewidth /style exch def
style 1 and 0 gt not {closepath} if
style 1024 and 0 gt {2 setlinecap} if
style 2 and 0 gt {currentlinewidth 4 mul dup 2 array astore 0 setdash} if
style 4 and 0 gt {0.5 currentlinewidth 4 mul 2 array astore 0 setdash} if
gsave style 16 and 0 gt { style 224 and -5 bitshift style 256 and 0 gt {
7 exch sub 8 div dup 1 exch sub currentrgbcolor 3 array astore
{3 copy mul add 4 1 roll pop} forall pop pop setrgbcolor eofill}
{dup 7 lt {gar exch get ppaint} {pop eofill} ifelse} ifelse}
{style 256 and 0 gt {1 setgray eofill} if} ifelse grestore style 8 and 0 gt
style 512 eq or {newpath} {stroke} ifelse grestore} def
 
/polygon { gsave /num exch def moveto num 1 sub {lineto} repeat setstyles } def
/xcarc { gsave newpath arc setstyles } def
/elb { matrix currentmatrix 7 -1 roll 7 -1 roll translate 5 1 roll 4 -1 roll
3 index div 1 scale } def
/ele { 0 4 1 roll 0 4 1 roll } bind def
/ellipse { gsave elb newpath ele arc setmatrix setstyles } def
/pellip { elb ele arc setmatrix } def
/nellip { elb ele arcn setmatrix } def
/spline { gsave moveto curveto setstyles } def
/polyc { {lineto} repeat } bind def
/beginpath { gsave moveto } bind def
/endpath { setstyles } bind def
/bop { 1 setlinecap 0 setlinejoin 6 setmiterlimit 0 0 0 scb cRedef } def
/psinsertion {/PSobj save def /showpage {} def /setpagedevice {pop} def bop
rotate translate dup scale} def
/end_insert {PSobj restore} def
/setpagemat {/pagemat matrix currentmatrix def} def
/inchscale {setpagemat 0.375 mul dup scale} def
/cmscale {setpagemat 0.35433071 mul dup scale} def
 
%%EndResource
%%EndProlog
 
% XCircuit output starts here.
 
%%BeginSetup
 
/generic::circle {
% trivial
begingate
1 1.000 16 0 6 0.000 360.000 xcarc
1 1.000 0 0 10 0 2 polygon
1.000 0.000 0.000 scb
(out) {/Times-Roman cf} 2 4 0 1.000 16 0 pinlabel
(out) {/Times-Roman cf} 2 7 0 1.000 0 0 pinlabel
endgate
} def
 
 
%%EndSetup
 
%%Page: Oscilloscope_SCH 1
%%PageOrientation: Portrait
%%PageBoundingBox: 0 0 612 792
/pgsave save def bop
0.8571 inchscale
2.6000 setlinewidth 1728 1472 translate
 
(Personal computer) {/Helvetica cf} 2 16 0 1.000 -1072 432 label
(ATprogISPUSBA01) {/Helvetica cf} 2 21 0 1.000 -1168 128 label
(USB232R01B) {/Helvetica cf} 2 21 0 1.000 -688 128 label
(ATMEGA801B) {/Helvetica cf} 2 16 0 1.000 -1056 -160 label
(ADCmonoSPI01B) {/Helvetica cf} 2 21 0 1.000 -400 -480 label
(USB) {/Helvetica cf} 2 16 0 1.000 -688 272 label
(USB) {/Helvetica cf} 2 16 0 1.000 -1152 272 label
(AT PC supply unit) {/Helvetica cf} 2 16 0 1.000 -1472 -928 label
(Analog power supply) {/Helvetica cf} 2 16 0 1.000 -912 -960 label
(+/-8 V) {/Helvetica cf} 2 21 0 1.000 -816 -896 label
(5 V) {/Helvetica cf} 2 21 0 1.000 -640 -896 label
(TX) {/Helvetica cf} 2 16 0 1.000 -848 -80 label
(RX) {/Helvetica cf} 2 16 0 1.000 -784 -80 label
(ISP 6-pin) {/Helvetica cf} 2 20 0 1.000 -1472 -256 label
(RX) {/Helvetica cf} 2 16 0 1.000 -784 32 label
(TX) {/Helvetica cf} 2 16 0 1.000 -848 32 label
(5 V) {/Helvetica cf} 2 21 0 1.000 -528 16 label
(50 kHz lowpass) {/Helvetica cf} 2 16 0 1.000 -1056 -688 label
(bias 2.5 V) {/Helvetica cf} 2 16 0 1.000 -704 -688 label
(protection clamp) {/Helvetica cf} 2 16 0 1.000 -448 -688 label
(INPUT) {/Helvetica cf} 2 16 0 1.000 -1488 -688 label
0 1.000 -1376 512 -1376 384 -432 384 -432 512 4 polygon
0 1.000 -1376 192 -1376 64 -944 64 -944 192 4 polygon
0 1.000 -896 192 -896 64 -464 64 -464 192 4 polygon
0 1.000 -1168 -96 -1168 -352 -656 -352 -656 -96 4 polygon
(SPI) {/Helvetica cf} 2 16 0 1.000 -1136 -336 label
1 1.000 -1168 192 -1168 384 2 polygon
1 1.000 -688 192 -688 384 2 polygon
1 1.000 -848 64 -848 0 -784 -32 -784 -96 4 polygon
1 1.000 -784 64 -784 0 -848 -32 -848 -96 4 polygon
1 1.000 -1296 64 -1296 -400 -1104 -400 -1104 -352 4 polygon
1 1.000 -1344 -688 -1216 -688 2 polygon
1 1.000 -1216 -688 -1216 -608 -1120 -688 -1216 -768 -1216 -688 5 polygon
1 1.000 -576 64 -576 -128 2 polygon
1 1.000 -576 -128 -656 -192 2 polygon
1 1.000 -256 -432 -576 -432 -576 -528 -256 -528 -192 -480 -256 -432 6 polygon
0 1.000 -1072 -624 -1072 -736 -752 -736 -752 -624 4 polygon
0 1.000 -720 -624 -720 -736 -496 -736 -496 -624 4 polygon
0 1.000 -464 -624 -464 -736 -144 -736 -144 -624 4 polygon
0 1.000 -944 -864 -944 -992 -528 -992 -528 -864 4 polygon
-1.000 0 -1344 -688 generic::circle
1 1.000 -1120 -688 -1072 -688 2 polygon
1 1.000 -752 -688 -720 -688 2 polygon
1 1.000 -496 -688 -464 -688 2 polygon
1 1.000 -144 -688 -112 -688 -112 -480 -192 -480 4 polygon
1 1.000 -576 -480 -1088 -480 -1088 -352 3 polygon
(SCK,SDO) {/Helvetica cf} 2 16 0 1.000 -752 -512 label
(SCK,MISO) {/Helvetica cf} 2 16 0 1.000 -1088 -384 label
1 1.000 -880 -352 -880 -464 -576 -464 3 polygon
(SS) {/Helvetica cf} 2 16 0 1.000 -880 -384 label
(CONV) {/Helvetica cf} 2 16 0 1.000 -704 -448 label
1 1.000 -832 -864 -832 -736 2 polygon
1 1.000 -816 -864 -816 -816 -720 -736 3 polygon
1 1.000 -800 -864 -800 -832 -720 -768 -432 -768 -400 -736 5 polygon
1 1.000 -640 -864 -640 -848 -592 -800 -176 -800 -48 -704 -48 -448 -128 -368
-352 -368 -400 -416 -400 -432 10 polygon
(5 V) {/Helvetica cf} 2 21 0 1.000 -304 -336 label
0 1.000 -1504 -864 -1504 -992 -1136 -992 -1136 -864 4 polygon
1 1.000 -1136 -928 -944 -928 2 polygon
(+/- 12 V) {/Helvetica cf} 2 16 0 1.000 -1120 -912 label
pgsave restore showpage
 
%%Trailer
XCIRCsave restore
%%EOF