Weitere Ordner entfernt.

main
Tom 8 months ago
parent af9286b69f
commit b220d58bac

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

BIN
External/SSD1306.pdf vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
External/ts04.pdf vendored

Binary file not shown.

Binary file not shown.

BIN
External/vod205t.pdf vendored

Binary file not shown.

Binary file not shown.

@ -1,5 +0,0 @@
t = -0.02:.001:.0625;
y = 0.5*square(2*pi*30*t);
plot(t,y,'-o')

@ -1,15 +0,0 @@
% Squarewave.m - Octave Script
%
% Dieses Skript generiert die Bilder für die BJ-Keyer Dokumentation
%
% 2023-07-09 Tom, DL7BJ
pkg load signal
for i=1:10
t=linspace(0,3*pi)';
duty_cycle=sin(i); % Percentage
x = square(t,duty_cycle);
plot(t/pi,x);
hold on;
end
grid on;

@ -1,51 +0,0 @@
#!/usr/bin/env python
#
# pwm_sinewave
#
# Calculate values for generate a PWM table for a Sinewave
# Used on a AVR ATMEGA 328
#
# 2023-07-10 tom@dl7bj.de Tom, DL7BJ
#
import sys
import matplotlib.pyplot as plot
from math import pi, sin, cos, asin, acos
pwmbit = 63
zerobeat = 0
peaktopeak = 254
def compute_sinewave(pwmbit, fpeaktopeak, zerobeat):
t = 0
ul = []
tl = []
l = 0
while t <= pwmbit:
u = sin(2*pi*t/pwmbit)
u = u * fpeaktopeak/2
u = u + zerobeat
u = int(round(u))
if t < pwmbit:
print(format(u,'#04x'),',',sep='',end='')
else:
print(format(u,'#04x'),' ',sep='',end='')
l = l + 1
if l == 16:
print(' // ', t + 1)
l = 0
ul.append(u)
tl.append(t)
t = t + 1
return ul,tl
print("Zerobeat on PWM step ", zerobeat)
print("Peak to peak on PWM ", peaktopeak)
print("const unsigned char sinewave[] PROGMEM = {")
ulist,tlist = compute_sinewave(pwmbit,peaktopeak,zerobeat)
print("};")
plot.plot(tlist,ulist)
plot.savefig('../Pictures/sinewave-line.jpg')
plot.plot(tlist,ulist,linestyle=':',marker='.')
plot.savefig('../Pictures/sinewave-dots.jpg')
print("Ready.")

@ -1,647 +0,0 @@
%!PS-Adobe-3.0 EPSF-3.0
%%Title: tmp.eps
%%Creator: matplotlib version 3.3.4, http://matplotlib.org/
%%CreationDate: Mon Jul 10 16:39:55 2023
%%Orientation: portrait
%%BoundingBox: 75.6 223.20000000000002 536.4 568.8
%%EndComments
%%BeginProlog
/mpldict 8 dict def
mpldict begin
/m { moveto } bind def
/l { lineto } bind def
/r { rlineto } bind def
/c { curveto } bind def
/cl { closepath } bind def
/box {
m
1 index 0 r
0 exch r
neg 0 r
cl
} bind def
/clipbox {
box
clip
newpath
} bind def
%!PS-Adobe-3.0 Resource-Font
%%Title: DejaVu Sans
%%Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. DejaVu changes are in public domain
%%Creator: Converted from TrueType to type 3 by PPR
25 dict begin
/_d{bind def}bind def
/_m{moveto}_d
/_l{lineto}_d
/_cl{closepath eofill}_d
/_c{curveto}_d
/_sc{7 -1 roll{setcachedevice}{pop pop pop pop pop pop}ifelse}_d
/_e{exec}_d
/FontName /DejaVuSans def
/PaintType 0 def
/FontMatrix[.001 0 0 .001 0 0]def
/FontBBox[-1021 -463 1793 1232]def
/FontType 3 def
/Encoding [ /zero /one /two /five ] def
/FontInfo 10 dict dup begin
/FamilyName (DejaVu Sans) def
/FullName (DejaVu Sans) def
/Notice (Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. DejaVu changes are in public domain ) def
/Weight (Book) def
/Version (Version 2.35) def
/ItalicAngle 0.0 def
/isFixedPitch false def
/UnderlinePosition -130 def
/UnderlineThickness 90 def
end readonly def
/CharStrings 5 dict dup begin
/.notdef 0 def
/zero{636 0 66 -13 570 742 _sc
318 664 _m
267 664 229 639 203 589 _c
177 539 165 464 165 364 _c
165 264 177 189 203 139 _c
229 89 267 64 318 64 _c
369 64 407 89 433 139 _c
458 189 471 264 471 364 _c
471 464 458 539 433 589 _c
407 639 369 664 318 664 _c
318 742 _m
399 742 461 709 505 645 _c
548 580 570 486 570 364 _c
570 241 548 147 505 83 _c
461 19 399 -13 318 -13 _c
236 -13 173 19 130 83 _c
87 147 66 241 66 364 _c
66 486 87 580 130 645 _c
173 709 236 742 318 742 _c
_cl}_d
/one{636 0 110 0 544 729 _sc
124 83 _m
285 83 _l
285 639 _l
110 604 _l
110 694 _l
284 729 _l
383 729 _l
383 83 _l
544 83 _l
544 0 _l
124 0 _l
124 83 _l
_cl}_d
/two{{636 0 73 0 536 742 _sc
192 83 _m
536 83 _l
536 0 _l
73 0 _l
73 83 _l
110 121 161 173 226 239 _c
290 304 331 346 348 365 _c
380 400 402 430 414 455 _c
426 479 433 504 433 528 _c
433 566 419 598 392 622 _c
365 646 330 659 286 659 _c
255 659 222 653 188 643 _c
154 632 117 616 78 594 _c
78 694 _l
118 710 155 722 189 730 _c
223 738 255 742 284 742 _c
}_e{359 742 419 723 464 685 _c
509 647 532 597 532 534 _c
532 504 526 475 515 449 _c
504 422 484 390 454 354 _c
446 344 420 317 376 272 _c
332 227 271 164 192 83 _c
_cl}_e}_d
/five{{636 0 77 -13 549 729 _sc
108 729 _m
495 729 _l
495 646 _l
198 646 _l
198 467 _l
212 472 227 476 241 478 _c
255 480 270 482 284 482 _c
365 482 429 459 477 415 _c
525 370 549 310 549 234 _c
549 155 524 94 475 51 _c
426 8 357 -13 269 -13 _c
238 -13 207 -10 175 -6 _c
143 -1 111 6 77 17 _c
77 116 _l
106 100 136 88 168 80 _c
199 72 232 69 267 69 _c
}_e{323 69 368 83 401 113 _c
433 143 450 183 450 234 _c
450 284 433 324 401 354 _c
368 384 323 399 267 399 _c
241 399 214 396 188 390 _c
162 384 135 375 108 363 _c
108 729 _l
_cl}_e}_d
end readonly def
/BuildGlyph
{exch begin
CharStrings exch
2 copy known not{pop /.notdef}if
true 3 1 roll get exec
end}_d
/BuildChar {
1 index /Encoding get exch get
1 index /BuildGlyph get exec
}_d
FontName currentdict end definefont pop
end
%%EndProlog
mpldict begin
75.6 223.2 translate
460.8 345.6 0 0 clipbox
gsave
0 0 m
460.8 0 l
460.8 345.6 l
0 345.6 l
cl
1.000 setgray
fill
grestore
gsave
57.6 38.016 m
414.72 38.016 l
414.72 304.128 l
57.6 304.128 l
cl
1.000 setgray
fill
grestore
0.800 setlinewidth
1 setlinejoin
0 setlinecap
[] 0 setdash
0.000 setgray
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
0 0 m
0 -3.5 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
73.8327 38.016 o
grestore
/DejaVuSans findfont
10.000 scalefont
setfont
gsave
70.653040 23.422250 translate
0.000000 rotate
0.000000 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
0 0 m
0 -3.5 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
137.49 38.016 o
grestore
gsave
131.131106 23.422250 translate
0.000000 rotate
0.000000 0 m /five glyphshow
6.362305 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
0 0 m
0 -3.5 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
201.148 38.016 o
grestore
gsave
191.609173 23.422250 translate
0.000000 rotate
0.000000 0 m /one glyphshow
6.362305 0 m /zero glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
0 0 m
0 -3.5 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
264.806 38.016 o
grestore
gsave
255.266927 23.422250 translate
0.000000 rotate
0.000000 0 m /one glyphshow
6.362305 0 m /five glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
0 0 m
0 -3.5 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
328.464 38.016 o
grestore
gsave
318.924681 23.422250 translate
0.000000 rotate
0.000000 0 m /two glyphshow
6.362305 0 m /zero glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
0 0 m
0 -3.5 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
392.121 38.016 o
grestore
gsave
382.582435 23.422250 translate
0.000000 rotate
0.000000 0 m /two glyphshow
6.362305 0 m /five glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
-0 0 m
-3.5 0 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
57.6 49.1596 o
grestore
gsave
44.240625 45.362684 translate
0.000000 rotate
0.000000 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
-0 0 m
-3.5 0 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
57.6 96.7816 o
grestore
gsave
37.881250 92.984731 translate
0.000000 rotate
0.000000 0 m /five glyphshow
6.362305 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
-0 0 m
-3.5 0 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
57.6 144.404 o
grestore
gsave
31.521875 140.606779 translate
0.000000 rotate
0.000000 0 m /one glyphshow
6.362305 0 m /zero glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
-0 0 m
-3.5 0 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
57.6 192.026 o
grestore
gsave
31.521875 188.228826 translate
0.000000 rotate
0.000000 0 m /one glyphshow
6.362305 0 m /five glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
-0 0 m
-3.5 0 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
57.6 239.648 o
grestore
gsave
31.521875 235.850873 translate
0.000000 rotate
0.000000 0 m /two glyphshow
6.362305 0 m /zero glyphshow
12.724609 0 m /zero glyphshow
grestore
gsave
/o {
gsave
newpath
translate
0.8 setlinewidth
1 setlinejoin
0 setlinecap
-0 0 m
-3.5 0 l
gsave
0.000 setgray
fill
grestore
stroke
grestore
} bind def
57.6 287.27 o
grestore
gsave
31.521875 283.472920 translate
0.000000 rotate
0.000000 0 m /two glyphshow
6.362305 0 m /five glyphshow
12.724609 0 m /zero glyphshow
grestore
1.500 setlinewidth
2 setlinecap
0.122 0.467 0.706 setrgbcolor
gsave
357.1 266.1 57.6 38.02 clipbox
73.832727 171.072 m
78.925348 182.501291 l
80.198503 186.311055 l
95.476364 220.598929 l
96.749519 222.503811 l
101.842139 233.933102 l
103.115294 235.837984 l
104.388449 238.695307 l
105.661604 240.600189 l
106.934759 243.457512 l
108.207914 245.362394 l
109.48107 248.219717 l
110.754225 250.124598 l
112.02738 252.981921 l
126.032086 273.935622 l
127.305241 274.888063 l
128.578396 276.792945 l
129.851551 277.745386 l
131.124706 279.650268 l
133.671016 281.55515 l
134.944171 283.460031 l
141.309947 288.222236 l
142.583102 288.222236 l
145.129412 290.127118 l
146.402567 290.127118 l
147.675722 291.079559 l
150.222032 291.079559 l
151.495187 292.032 l
159.134118 292.032 l
160.407273 291.079559 l
161.680428 291.079559 l
162.953583 290.127118 l
164.226738 290.127118 l
165.499893 289.174677 l
166.773048 289.174677 l
176.958289 281.55515 l
178.231444 279.650268 l
180.777754 277.745386 l
183.324064 273.935622 l
184.597219 272.983181 l
197.32877 253.934362 l
198.601925 251.077039 l
201.148235 247.267276 l
202.42139 244.409953 l
203.694545 242.505071 l
206.240856 236.790425 l
207.514011 234.885543 l
210.060321 229.170898 l
211.333476 227.266016 l
218.972406 210.122079 l
220.245561 208.217197 l
221.518717 205.359874 l
222.791872 201.55011 l
235.523422 172.976882 l
236.796578 169.167118 l
249.528128 140.59389 l
250.801283 136.784126 l
252.074439 133.926803 l
253.347594 132.021921 l
260.986524 114.877984 l
262.259679 112.973102 l
264.805989 107.258457 l
266.079144 105.353575 l
268.625455 99.638929 l
269.89861 97.734047 l
271.171765 94.876724 l
273.718075 91.066961 l
274.99123 88.209638 l
287.722781 69.160819 l
288.995936 68.208378 l
291.542246 64.398614 l
294.088556 62.493732 l
295.361711 60.58885 l
305.546952 52.969323 l
306.820107 52.969323 l
308.093262 52.016882 l
309.366417 52.016882 l
310.639572 51.064441 l
311.912727 51.064441 l
313.185882 50.112 l
320.824813 50.112 l
322.097968 51.064441 l
324.644278 51.064441 l
325.917433 52.016882 l
327.190588 52.016882 l
329.736898 53.921764 l
331.010053 53.921764 l
337.375829 58.683969 l
338.648984 60.58885 l
341.195294 62.493732 l
342.468449 64.398614 l
343.741604 65.351055 l
345.014759 67.255937 l
346.287914 68.208378 l
360.29262 89.162079 l
361.565775 92.019402 l
362.83893 93.924283 l
364.112086 96.781606 l
365.385241 98.686488 l
366.658396 101.543811 l
367.931551 103.448693 l
369.204706 106.306016 l
370.477861 108.210898 l
375.570481 119.640189 l
376.843636 121.545071 l
392.121497 155.832945 l
393.394652 159.642709 l
398.487273 171.072 l
398.487273 171.072 l
stroke
grestore
0.800 setlinewidth
0 setlinejoin
0.000 setgray
gsave
57.6 38.016 m
57.6 304.128 l
stroke
grestore
gsave
414.72 38.016 m
414.72 304.128 l
stroke
grestore
gsave
57.6 38.016 m
414.72 38.016 l
stroke
grestore
gsave
57.6 304.128 m
414.72 304.128 l
stroke
grestore
end
showpage

@ -1 +0,0 @@
Subproject commit df83fbf22cfff76b875c13d324baf584c74e96d0
Loading…
Cancel
Save