Herzlich Willkommen im einzigen (deutschsprachigem) Picaxe-Forum.

Der Ursprung dieses Forum reicht bis in das Jahr 2008 zurück


8-stellige 7-Segment mit der 08M2

#1 von BoomBoomMagic , 08.03.2019 18:59

( für Harry02 )

Ich habe ja bereits viele Möglichkeiten aufgezeigt , wie man eine oder mehrere 7-Segmentanzeigen mit einer Picaxe 08M2 steuern könnte.
Hier jetzt mal mit einem MAX7219.

Der MAX7219 ist ein Treiber-IC für ein 8x8 Matrix Modul oder für eine 8-stellige 7-Segmentanzeige.

Ich habe dieses IC jetzt einmal so konfiguriert , das man eine 8-stellige 7-Segmentanzeige damit steuern kann.
Als Beispiel habe ich einen (Spaß)Code geschrieben , der den Dezimalpunkt wandern läßt um zu zeigen das jeder Punkt wahlweise aktiviert werden kann.
Dann noch einen "Hilferuf" von der Anzeige und schließlich zählen alle Segmente einmal von 0 bis 9.


Das sieht dann so aus ......




Schaltplan :




Und hier noch der Code dazu :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
 

 
#picaxe 08M2
 
let dirsc=%11110111
 
symbol Adresse = b0
symbol Data_ = b1
 

 
high c.4
pause 1000
 
gosub Init_Max
 
gosub Blank
pause 500
 

 
do
 
gosub Intro

'---------------------

'DIGIT1 zählt von 0-9
for b26=0 to 9
Data_=b26
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
Data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'--------------------

'DIGIT2 zählt von 0-9
for b26=0 to 9
Data_=15
Adresse=1
Gosub Send_max
 
Data_=b26
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
Data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'--------------------

'DIGIT3 zählt von 0-9
for b26=0 to 9
Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=b26
Adresse=3
Gosub Send_max
 
Data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'--------------------

'DIGIT4 zählt von 0-9
for b26=0 to 9
Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=b26
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'--------------------

'DIGIT5 zählt von 0-9
for b26=0 to 9
Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=b26
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'--------------------

'DIGIT6 zählt von 0-9
for b26=0 to 9
Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=b26
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'--------------------

'DIGIT7 zählt von 0-9
for b26=0 to 9
Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=b26
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
next b26

'###########################

' Doppelpunkt wandern lassen (Doppelpunkt [128] + Blank [15] = 143 )
for b26=1 to 4

Data_=143
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------

Data_=15
Adresse=1
Gosub Send_max
 
Data_=143
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------


Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=143
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------

Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=143
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------

Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=143
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------

Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=143
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------

Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=143
Adresse=7
Gosub Send_max
 
Data_=15
Adresse=8
Gosub Send_max
 
pause 5
'----------------

Data_=15
Adresse=1
Gosub Send_max
 
Data_=15
Adresse=2
Gosub Send_max
 
Data_=15
Adresse=3
Gosub Send_max
 
data_=15
Adresse=4
Gosub Send_max
 
Data_=15
Adresse=5
Gosub Send_max
 
Data_=15
Adresse=6
Gosub Send_max
 
Data_=15
Adresse=7
Gosub Send_max
 
Data_=143
Adresse=8
Gosub Send_max
 
pause 5
'----------------
next b26
 
loop
 

 

end
 
'#########################################################
 
Init_Max:
 
Adresse = 12 : Data_ = 0 ' Shutdown On
Gosub Send_max
 
Adresse = 9 : Data_ = 255 ' Decode "B" hier wird eingestellt das wir eine 7-Segmentanzeige nutzen wollen
Gosub Send_max
 
Adresse = 10 : Data_ = 8 ' Helligkeit voll
Gosub Send_max
 
Adresse = 11 : Data_ = 7 ' Anzahl Digits 8
Gosub Send_max
 
Adresse = 15 : Data_ = 0 ' Test Off
Gosub Send_max
 
Adresse = 12 : Data_ = 1 ' Shutdown Off
Gosub Send_max
 

return
 

 

Send_Max:
 
high c.4
low c.2
low c.1

'C.1= Data / C.2 = Clock
pinc.1=bit7
pulsout c.2,1
'--------------
pinc.1=bit6
pulsout c.2,1
'--------------
pinc.1=bit5
pulsout c.2,1
'--------------
pinc.1=bit4
pulsout c.2,1
'--------------
pinc.1=bit3
pulsout c.2,1
'--------------
pinc.1=bit2
pulsout c.2,1
'--------------
pinc.1=bit1
pulsout c.2,1
'--------------
pinc.1=bit0
pulsout c.2,1
'--------------
 


'C.1= Data / C.2 = Clock
pinc.1=bit15
pulsout c.2,1
'--------------
pinc.1=bit14
pulsout c.2,1
'--------------
pinc.1=bit13
pulsout c.2,1
'--------------
pinc.1=bit12
pulsout c.2,1
'--------------
pinc.1=bit11
pulsout c.2,1
'--------------
pinc.1=bit10
pulsout c.2,1
'--------------
pinc.1=bit9
pulsout c.2,1
'--------------
pinc.1=bit8
pulsout c.2,1
'--------------
 
low c.4
 
return
 

Blank:
 
Data_=15
for b25=1 to 8

Adresse=b25
gosub Send_max

next b25
 
return
 

 
Intro:
 
for b26=1 to 4
 
Adresse=1
Data_=15
gosub Send_max

 
Adresse=2
Data_=12
gosub Send_max
 
Adresse=3
Data_=11
gosub Send_max
 
Adresse=4
Data_=13
gosub Send_max
 
Adresse=5
Data_=14
gosub Send_max
 
Adresse=6
Data_=15
gosub Send_max
 
Adresse=7
Data_=15
gosub Send_max
 
Adresse=8
Data_=15
gosub Send_max
 
pause 800

gosub Blank
pause 300

next b26
return
 
 


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019

zuletzt bearbeitet 08.03.2019 | Top

RE: 8-stellige 7-Segment mit der 08M2

#2 von BoomBoomMagic , 09.03.2019 09:19

vielleicht war das Beispiel etwas viel auf einem Mal ....

Hier jetzt mal eine (vielleicht) kürzere , verständlichere Version

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
 

 
#rem
 
C.1 = Daten
C.2 = Clock
C.4 = CS
 

Wert | Anzeige
--------------
0 | 0
1 | 1
2 | 2
3 | 3
4 | 4
5 | 5
6 | 6
7 | 7
8 | 8
9 | 9
10 | -
11 | E
12 | H
13 | L
14 | P
15 | blank



#endrem
 

 

#picaxe 08M2
 

let dirsc=%11110111
 

symbol Segment = b0
symbol Zahlenwert = b1
symbol Adresse = b0
symbol Data_ = b1
 

 
high c.4
pause 1000
 
gosub Init_Max ' den MAX7219 einstellen
 
gosub Blank ' alle Segmente leeren
pause 500
 

 

'Beispiel:
 
Zahlenwert=0
Segment=1
Gosub Send_max
'
Zahlenwert=1
Segment=2
Gosub Send_max
'
Zahlenwert=2
Segment=3
Gosub Send_max
'
Zahlenwert=3
Segment=4
Gosub Send_max
'
Zahlenwert=4
Segment=5
Gosub Send_max
'
Zahlenwert=5
Segment=6
Gosub Send_max
'
Zahlenwert=6
Segment=7
Gosub Send_max
'
Zahlenwert=7
Segment=8
Gosub Send_max
'
 
end
 
'#########################################################
 
Init_Max:
 
Adresse = 12 : Data_ = 0 ' Shutdown On
Gosub Send_max
 
Adresse = 9 : Data_ = 255 ' Decode "B"
Gosub Send_max
 
Adresse = 10 : Data_ = 8 ' Helligkeit voll
Gosub Send_max
 
Adresse = 11 : Data_ = 7 ' Anzahl Digits 8
Gosub Send_max
 
Adresse = 15 : Data_ = 0 ' Test Off
Gosub Send_max
 
Adresse = 12 : Data_ = 1 ' Shutdown Off
Gosub Send_max
 

return
 

 

Send_Max:
 

#rem

gesendet werden immer 2 Bytes
Erst die Adresse / Speicherbereich des MAX7219 ,
dann der Wert :
- bei der Initialisierung ein Kommand
- beim Betrieb der Zahlenwert


gesendet wird "rückwärts" , d.h. : das letzte Bit zuerst (MSB first )
bit7 - bit0 = b0
bit15 - bit 8 = b1

#endrem
 

high c.4
low c.2
low c.1

'C.1= Data / C.2 = Clock
pinc.1=bit7
pulsout c.2,1
'--------------
pinc.1=bit6
pulsout c.2,1
'--------------
pinc.1=bit5
pulsout c.2,1
'--------------
pinc.1=bit4
pulsout c.2,1
'--------------
pinc.1=bit3
pulsout c.2,1
'--------------
pinc.1=bit2
pulsout c.2,1
'--------------
pinc.1=bit1
pulsout c.2,1
'--------------
pinc.1=bit0
pulsout c.2,1
'--------------
 


'C.1= Data / C.2 = Clock
pinc.1=bit15
pulsout c.2,1
'--------------
pinc.1=bit14
pulsout c.2,1
'--------------
pinc.1=bit13
pulsout c.2,1
'--------------
pinc.1=bit12
pulsout c.2,1
'--------------
pinc.1=bit11
pulsout c.2,1
'--------------
pinc.1=bit10
pulsout c.2,1
'--------------
pinc.1=bit9
pulsout c.2,1
'--------------
pinc.1=bit8
pulsout c.2,1
'--------------
 
low c.4
 
return
 

Blank:
 
Data_=15
for b25=1 to 8

Adresse=b25
gosub Send_max

next b25
 
return
 
 


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


RE: 8-stellige 7-Segment mit der 08M2

#3 von BoomBoomMagic , 09.03.2019 09:27

Hier der gleiche Code , ... nur andere schreibweise .....

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
 

 
#picaxe 08M2
 

let dirsc=%11110111
 

symbol Segment = b0
symbol Zahlenwert = b1
symbol Adresse = b0
symbol Data_ = b1
 

 
high c.4:pause 1000
gosub Init_Max ' den MAX7219 einstellen
gosub Blank:pause 500 ' alle Segmente leeren
 

 
'#########################################################
 

'Beispiel:
 
Zahlenwert=0:Segment=1:Gosub Send_max
Zahlenwert=1:Segment=2:Gosub Send_max
Zahlenwert=2:Segment=3:Gosub Send_max
Zahlenwert=3:Segment=4:Gosub Send_max
Zahlenwert=4:Segment=5:Gosub Send_max
Zahlenwert=5:Segment=6:Gosub Send_max
Zahlenwert=6:Segment=7:Gosub Send_max
Zahlenwert=7:Segment=8:Gosub Send_max
'
 
end
 
'#########################################################
 

 
Init_Max:
Adresse = 12 : Data_ = 0 :Gosub Send_max
Adresse = 9 : Data_ = 255:Gosub Send_max
Adresse = 10 : Data_ = 8:Gosub Send_max
Adresse = 11 : Data_ = 7 :Gosub Send_max
Adresse = 15 : Data_ = 0:Gosub Send_max
Adresse = 12 : Data_ = 1 :Gosub Send_max
return
 

 

Send_Max:
high c.4
low c.2
low c.1

pinc.1=bit7:pulsout c.2,1
pinc.1=bit6:pulsout c.2,1
pinc.1=bit5:pulsout c.2,1
pinc.1=bit4:pulsout c.2,1
pinc.1=bit3:pulsout c.2,1
pinc.1=bit2:pulsout c.2,1
pinc.1=bit1:pulsout c.2,1
pinc.1=bit0:pulsout c.2,1
pinc.1=bit15:pulsout c.2,1
pinc.1=bit14:pulsout c.2,1
pinc.1=bit13:pulsout c.2,1
pinc.1=bit12:pulsout c.2,1
pinc.1=bit11:pulsout c.2,1
pinc.1=bit10:pulsout c.2,1
pinc.1=bit9:pulsout c.2,1
pinc.1=bit8:pulsout c.2,1
 
low c.4
return
 

Blank:
Data_=15
for b25=1 to 8
Adresse=b25:gosub Send_max
next b25
return
 
 


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


RE: 8-stellige 7-Segment mit der 08M2

#4 von BoomBoomMagic , 09.03.2019 11:22

Bei Ebay gibts für bummelig 5€ ja schon fertige Module.
Dann muss man sich nicht die Arbeit machen und löten wie n Wilder


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


RE: 8-stellige 7-Segment mit der 08M2

#5 von harry02 , 14.04.2019 21:42

Danke BBM, habe das Teil nun bekommen und werde mich mal damit mit Hilfe Deiner Codes beschäftigen. Gruß Harry02

harry02  
harry02
Beiträge: 45
Registriert am: 16.02.2019


RE: 8-stellige 7-Segment mit der 08M2

#6 von BoomBoomMagic , 15.04.2019 09:33

Hallo Harry ,
ich bin sehr gespannt :-)


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


RE: 8-stellige 7-Segment mit der 08M2

#7 von BoomBoomMagic , 17.04.2019 16:29

Tja Harry ,
jetzt würd ich ja mal wissen wollen obs denn hingehaun hat ?


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


RE: 8-stellige 7-Segment mit der 08M2

#8 von harry02 , 23.04.2019 21:00

Hallo BBM, bin gerade im Urlaub und kann Dir erst wieder berichten, wenn ich wieder zuhause bin. Musst Dich noch ein bisschen gedulden. Ich melde mich aber auf jeden Fall.
Gruß Harry02

harry02  
harry02
Beiträge: 45
Registriert am: 16.02.2019


RE: 8-stellige 7-Segment mit der 08M2

#9 von harry02 , 21.05.2019 21:19

Hallo BBM,
Urlaub ist rum, und ich befasse mich wieder mit Deinem Beitrag. Ich habe genau das Teil, das Du als Bild hier eingestellt hast. Obwohl ich alle 3 Codes ausprobiert habe, bleiben die Segmente dunkel. Kein Flimmern, nichts, einfach dunkel. Entweder ist das Teil defekt, oder ich habe etwas falsch angeschlossen. Ehrlich gesagt verstehe ich die Steuerprogramme nicht. Dafür habe ich einfach nicht die volle Programmierkenntnis.
Mir ist einfach nicht klar, wie man die einzelnen Digids oder Segmente ansteuern kann. In Deinem Video sieht alles so leicht aus.
Ich werde aber trotzdem nochmal verschiedene Möglichkeiten ausprobieren, um die Digids zum Leuchten zu bringen.
Gruß Harry

harry02  
harry02
Beiträge: 45
Registriert am: 16.02.2019


RE: 8-stellige 7-Segment mit der 08M2

#10 von BoomBoomMagic , 22.05.2019 08:10

Oh , das ist schade zu hören ....
Hast Du alles genauso angeschlossen ?


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


RE: 8-stellige 7-Segment mit der 08M2

#11 von harry02 , 23.05.2019 21:04

Hab mir mal auf der unten stehenden Web-Adresse die Beschreibung und die Ansteuerung des MAX7219 angeschaut. Ist schon sehr komplex für meine Kenntnisse. Aber ich sehe, dass man mit Programmieren viel damit anstellen kann, wenn man programmieren kann.

https://www.mikrocontroller.net/attachme...AX7219_Doku.pdf

harry02  
harry02
Beiträge: 45
Registriert am: 16.02.2019


RE: 8-stellige 7-Segment mit der 08M2

#12 von BoomBoomMagic , 23.05.2019 22:24

Ja der Max7219 is schon extrem simpel.
Lediglich die Initialisierung machts.
solls eine Matrix 8x8 sein oder nur eine 8 fach 7-Segment ?

Die meisten Kaskadieren den 7219 aber ich würde auf einzel CS gehen - zumindest bei Matrix
Wenn man das Prinzip einmal verstanden hat isset schon Recht einfach


*** Die Picaxe muß nicht alles können , es reicht wenn sie sagt wo's lang geht ***

 
BoomBoomMagic
Beiträge: 876
Registriert am: 24.01.2019


   

Variablen der Picaxe
Bin ich Eingang oder Ausgang - Die Let Dirs Frage

Picaxe Editor 5.5.5 Download
Update auf Picaxe Editor 5.5.6 Download
Picaxe Editor 6.x.x.x Download
Manual1.pdf        -      Grundwissen Download
Manual2.pdf        -      Befehle Download
Manual3.pdf        -      Beispiele Download


Press [Backspace] for back to Menu


Counter
Xobor Forum Software ©Xobor.de | Forum erstellen
Datenschutz