Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:20 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : uM2(+): 64x32 RGB LED matrix display

     Page 2 of 4    
Author Message
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 10:36pm 08 Jul 2016
Copy link to clipboard 
Print this post

Hi Lewis,

Does the filled BOX command not work (cycling through R, G, and B)?

(oh - I see you just edited your post!)

Please update us . . .
WW
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 10:42pm 08 Jul 2016
Copy link to clipboard 
Print this post

I have a faulty display
The first vertical row of led’s on the left doesn’t work and the top row of led’s has mostly faulty leds.
Arghh
But I guess as long as I don’t write to those ones it should be ok

Moral - if you want guaranteed quality - don't buy really cheap stuff
But for the price I paid I can't complain
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 01:46pm 09 Jul 2016
Copy link to clipboard 
Print this post

  WhiteWizzard said   My little brain is just wondering about something and thought I would 'share'.

Those media panels you see everywhere now (i.e. electronic billboards) must consume a shed load of power.
If the resolution was lets say 640x320, then that is 100 lots of these 64x32 modules in affect.
So if one of these modules needs a decent 5A to drive (all RGB LEDs on), then a 640x320 would need 500A??

But a lot of those media panels are much bigger than 640x320 pixels . . . .

WOW - thats some power requirement

Any thoughts here?


Maybe they are running scan lines a bit like an old CRT TV & not illuminating all the pixels at the same time.

Relying on our persistence of vision.

Phil.
 
Bill7300
Senior Member

Joined: 05/08/2014
Location: Australia
Posts: 159
Posted: 06:46pm 09 Jul 2016
Copy link to clipboard 
Print this post

Multiplexing?
Bill
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 09:15pm 09 Jul 2016
Copy link to clipboard 
Print this post

  Quote  Maybe they are running scan lines a bit like an old CRT TV & not illuminating all the pixels at the same time.


That is what the 64x32 panel is doing. Only one row in 16 is illuminated at any time.

However, this means two of the 32 rows are illuminated at any one time. If all pixels in the row are "white" then there are effectively 2 * 64 * 3 LEDs lit (R+ G +B in each physical package).

Assume 10mA per LED and you get 3.84A which is almost exactly what I see.Edited by matherp 2016-07-11
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 03:13am 10 Jul 2016
Copy link to clipboard 
Print this post

I REALLY love this display
Another example of it running
HERE - YOUTUBE

Cheap Chinese Matrix as you can see by some of the pixels not lighting, Unfortunately I bought it at the start of the year so can't really return it, BUT Matherp's brilliant code for this display is fantastic and I'm going to buy a genuine one as soon as I can afford it

btw the last message on the display actually says "Too Close" "Backup" but the pixels not lighting ruins it

Peter - any chance of it displaying Orange?
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 06:51am 10 Jul 2016
Copy link to clipboard 
Print this post

I love your 'technical fix' 31seconds in
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 08:58am 10 Jul 2016
Copy link to clipboard 
Print this post

  Quote  Peter - any chance of it displaying Orange?


Use Jim's TFT colour chooser

Something like RGB( 255, 138, 65)
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 05:31am 13 Jul 2016
Copy link to clipboard 
Print this post

Got the RGB matrix earlier today and all working reasonably well.

One observation with my panel here is that I am experiencing some vertical 'bleed' under certain conditions - and I am curious if anyone else is seeing this.

Can I ask anyone with a 64x32 RGB matrix connected to a MM to try: LINE 0,0,0,0,1,RGB(WHITE) and see if the 15 pixels below the illuminated pixel (i.e. below top left pixel) are 'partially' illuminated. Note to CLS first.

The strange thing is that if I draw a horizontal line, then I get no bleed below a single pixel.

I have a feeling it is to do with the unit's multiplexing circuit and power circuit (and nothing at all to do with matherp's excellent driver code).

The above 'bleed' occurs with all three R, G, B colours - white just highlights it better.

This 'bleed' only affects the 15 other vertical pixels in either the top half, or the bottom half of the panel in the 'column' that the single illuminated pixel is in. So if the 28th from top (single pixel) in the first column is illuminated (i.e. LINE 0,27,0,27,1,RGB(WHITE)), then the 4 pixels below it, and the 11 pixels above it are showing signs of 'bleed'; and the top 16 pixels (top half of panel) are all 'off' with zero bleed.

Any feedback would be useful to see if it could be my panel at 'fault' . . .

WW
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 05:34am 13 Jul 2016
Copy link to clipboard 
Print this post

@matherp

The above 'issue' is on a 64pinner by the way.

One question: Is there any 'brightness' control possible with this panel (either as a whole, or ideally on an individual pixel?

One more thing, I am well impressed with your code - and no signs of flicker (yet!)

Please let me know about brightness (assuming this is linked with multiplexing?).

WW
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 06:08am 13 Jul 2016
Copy link to clipboard 
Print this post

  Quote  Is there any 'brightness' control possible with this panel


There are 4 brightness levels for each of the LEDs, off + 3 other

so rgb(64,0,0) is a dull red, RGB(128,0,0) is mid level and RGB(192,0,0) is full bright red.

i.e. the colour map is RGB222

To get panel level control you could maybe OR the R1,G1,B1,R2,G2,B2 signals with a PWM'd output: UNTESTED

  Quote  I am experiencing some vertical 'bleed' under certain conditions


I can only suspect this is to do with the switching of the mosfet drivers and some sort of capacitance effect so when only one pixel is lit at the point of switching to the next row there is some energy stored in the system which then partially illuminates the next row until the stored energy is used up
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 06:45am 13 Jul 2016
Copy link to clipboard 
Print this post

@WhiteWizzard
I've dismantled my test setup for this to carry on working on the weather code, but if you want me to wire it back up to test I can do
However mine definitely has faults on the board so it might not be a fair test
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 08:24am 13 Jul 2016
Copy link to clipboard 
Print this post

@lew247

Don't worry about setting up a test - matherp has provided an answer which I believe to be the case.

If I light more LEDs then no issues - but am testing thoroughly so may find other 'niggles'.

@matherp
Thanks for your response - will carry on 'playing'. Having lots of fun here thanks to your driver
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 09:38pm 13 Jul 2016
Copy link to clipboard 
Print this post

@matherp

I am needing you to confirm/check something if you don't mind.

Using your 64pin code on first page of this thread, and am expecting to see four brightness levels (on either the R, G, or B channels). Pinout is as in code i.e. not modified any pin numbers for the 'configurable' pins.

Using RGB values as per your last post (255,192,128, and 64). No matter what colour I use these values, I am only seeing two brightness levels. 255,192,128 all give the same brightness; and 64 gives a dimmer level.

Is the 64pin code definitely the four-brightness levels version of the code?

Any help/advice appreciated . . .

WW
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 09:56pm 13 Jul 2016
Copy link to clipboard 
Print this post

The driver is RGB222 so anything 0-63 is off, 64-127 is dim, 128-191 is medium, 192-255 is full bright. i.e. just the top two bits of each colour have an effect.

The way the driver works is as follows:
The 16-way multiplex happens continuously but within it there is a cycle of three where the program displays top-bit, top-bit, second-bit.

So for 192 each cycle is ON
for 128: 2 out of 3 cycles are on
for 64: 1 out of 3 cycles are on
for less than 64: no cycles are on

To check the "bleed" I used re-wring my panel as an excuse to develop the 100-pin version attached below.

Using this I can confirm there is no bleed on my panel and the brightness levels definitely act as described above. The difference between 128 and 192 is not great but definitely there.

Option explicit
option default NONE
'
' 64x32 RGB LED display driver for 100-pin Micromite
' operates in RGB222 mode
'
' freely selectable pins
' OE
' CLK
' LAT
'
' connect other pins exactly as follows:
' HA=4
' HB=5
' HC=18
' HD=19
' R1=93
' G1=94
' B1=98
' R2=99
' G2=100
' B2=3
'
sub MM.startup
const OE=10
const CLK=47
const LAT=1
RGBled100(LAT, CLK, OE)
font 8
end sub

CSub RGBled100
000001EC
'updatedisplay
27BDFFD0 AFBF002C AFB50028 AFB40024 AFB30020 AFB2001C AFB10018 AFB00014
3C109D00 8E02008C 8C540000 8E030090 8E020028 0040F809 8064002D 24110001
00518804 8E030090 8E020024 8064002D 0040F809 24050006 00409821 8E030090
8E020024 8064002D 0040F809 24050005 00409021 92821803 54400005 92831803
240302BC 3C02BF80 AC430E20 92831803 24020001 14620005 24100080 2403015E
3C02BF80 AC430E20 24100040 92831803 24020002 14620007 24020003 24030118
3C02BF80 AC430E20 24100020 92831803 24020003 54620006 92951802 24030190
3C02BF80 AC430E20 00008021 92951802 3C029D00 8C430090 8C42001C 8064002E
0040F809 24050006 92831801 240200F5 14620038 3C029D00 001511C0 00151A40
00621823 24660180 0066102A 10400025 00741021 0015A980 3C08BF88 3C07BF81
32B503C0 90450000 02052824 36A40001 0085A80B 90450001 02052824 36A40002
0085A80B 90450002 02052824 36A40004 0085A80B 90450003 02052824 36A40008
0085A80B 90450004 02052824 36A40010 0085A80B 24630006 90450005 02052824
36A40020 0085A80B AD156430 AE710000 8CE4F220 AE510000 0066202A 1480FFE0
24420006 3C109D00 8E030090 8E02001C 8064002C 0040F809 24050006 8E030090
8E02001C 8064002C 0040F809 24050005 3C029D00 8C430090 8C42001C 8064002E
0040F809 24050005 92821802 24420001 3042000F 14400008 A2821802 92821803
24420001 304200FF 24030004 14430002 A2821803 A2801803 8FBF002C 8FB50028
8FB40024 8FB30020 8FB2001C 8FB10018 8FB00014 03E00008 27BD0030
'DrawRectangleMEM
27BDFFD0 AFBF002C AFB50028 AFB40024 AFB30020 AFB2001C AFB10018 AFB00014
00808021 00A09021 00C08821 00E09821 3C029D00 8C42008C 8C420000 90441801
240300F5 10830009 8FB40040 3C159D00 8EA2003C 0040F809 24041900 8EA3008C
AC620000 2403FFF5 A0431801 0211182A 14600005 0253182A 02001821 02208021
00608821 0253182A 14600005 2A030000 02401821 02609021 00609821 2A030000
0003800B 2403003F 2A040040 0064800A 2A240000 0004880B 2A240040 0064880A
2A430000 0003900B 2403001F 2A440020 0064900A 2A640000 0004980B 2A640020
0064980A 7E863C00 7E873A00 0230182A 14600022 329400FF 001219C0 00124240
01034023 00101840 001020C0 00831823 01034021 00484021 10000013 0272482A
28450010 50A00005 A0860000 A0660000 A0670001 10000003 A0740002 A0870001
A0940002 24420001 24630180 0262282A 10A0FFF3 24840180 26100001 0230102A
14400006 25080006 1520FFFB 02401021 2504E803 1000FFEA 01001821 8FBF002C
8FB50028 8FB40024 8FB30020 8FB2001C 8FB10018 8FB00014 03E00008 27BD0030
'DrawBitmapMEM
27BDFF80 AFBF007C AFBE0078 AFB70074 AFB60070 AFB5006C AFB40068 AFB30064
AFB20060 AFB1005C AFB00058 AFA40080 00A09021 00C0A021 AFA7008C 8FB00090
8FB30094 3C029D00 8C42008C 8C420000 90441801 240300F5 10830009 8FBE0098
3C119D00 8E22003C 0040F809 24041900 8E23008C AC620000 2403FFF5 A0431801
7E633C00 AFA30010 7E643A00 AFA40014 327300FF AFB30018 7FC53C00 AFA5001C
7FC73A00 AFA70020 8FA3008C 1860009A 33DE00FF 0200B021 AFB2003C 24030180
02030018 00002012 AFA40050 24040006 8FA50080 70A42002 72432802 00A41821
2463E803 00431821 AFA30038 00143823 AFA70044 8FA3008C 70741002 2442FFFF
AFA20034 AFB40048 0000A821 AFA00040 00101040 001090C0 02429023 02409821
24170001 AFBE0024 10000072 0280F021 00483821 2CE70040 50E00025 24420001
05220023 24420001 51800021 24420001 92270000 00F93824 10E0000F 00000000
12800007 8FA70010 A0C70000 8FA70014 A0C70001 8FA70018 10000014 A0C70002
A0670000 8FA70014 A0670001 8FA70018 1000000E A0670002 12800007 8FA7001C
A0870000 8FA70020 A0870001 8FA70024 10000006 A0870002 A0A70000 8FA70020
A0A70001 8FA70024 A0A70002 24420001 24630006 24840006 24A50006 1450FFD4
24C60006 254A0001 256BFFFF 01B26821 01D27021 01F37821 0313C021 115E0014
01164021 01551021 24430007 28510000 0071100B 000288C3 8FA2009C 00518821
000B17C3 00021742 0162C821 33390007 0322C823 0337C804 03003021 01E02821
01C02021 01A01821 1000FFB9 00001021 8FA30030 24630001 AFA30030 25290001
8FA40028 24840180 AFA40028 8FA5002C 24A50180 1070000C AFA5002C 1BC0FFF4
8FA80080 8FB8002C 8FAF0028 03007021 01E06821 8FAB0034 00005021 292C0020
1000FFD8 29340010 8FA70040 24E70001 AFA70040 8FA2003C 00561021 AFA2003C
8FA30038 8FA40050 00641821 AFA30038 8FA50034 8FA70044 00A72821 AFA50034
8FA20048 8FA30040 8FA4008C 1064000A 02A2A821 1A00FFEC 8FA50038 24A517FD
AFA5002C 8FA70038 AFA70028 8FA9003C 1000FFDA AFA00030 8FBF007C 8FBE0078
8FB70074 8FB60070 8FB5006C 8FB40068 8FB30064 8FB20060 8FB1005C 8FB00058
03E00008 27BD0080
'getFPC
27BDFFF8 AFBF0004 00852023 03E42021 ACC40000 8FBF0004 03E00008 27BD0008
'pstring
27BDFFE0 AFBF001C AFB00018 00808021 00002021 3C059D00 24A5078C 27A60010
0411FFEF 00000000 8FA40010 3C029D00 8C42002C 0040F809 02042021 8FBF001C
8FB00018 03E00008 27BD0020
'main
27BDFFA8 AFBF0054 AFB30050 AFB2004C AFB10048 AFB00044 00808021 00A08821
00C09021 00002021 3C059D00 24A507EC 27A60010 0411FFD7 00000000 3C029D00
8C430090 8E040000 A064002C 8C430090 8E240000 A064002D 8C420090 8E430000
A043002E 2402005D AFA20014 2402005E AFA20018 24020062 AFA2001C 24020063
AFA20020 24020064 AFA20024 24020003 AFA20028 24020004 AFA2002C 24020005
AFA20030 24020012 AFA20034 24020013 AFA20038 27B20014 27B3003C 3C109D00
8E510000 8E020010 02202021 24050008 0040F809 00003021 8E020010 02202021
24050065 0040F809 00003021 8E02001C 02202021 0040F809 24050005 26520004
5653FFF0 8E510000 3C109D00 8E020094 24030040 AC430000 8E020098 24030020
AC430000 8E02003C 0040F809 24041900 00408821 8E02008C AC510000 2402FFF5
A2221801 8E030090 8E02001C 8064002E 0040F809 24050005 8E030090 8E020010
8064002E 24050008 0040F809 00003021 8E030090 8E020010 8064002E 24050065
0040F809 00003021 8E030090 8E02001C 8064002D 0040F809 24050005 8E030090
8E020010 8064002D 24050008 0040F809 00003021 8E030090 8E020010 8064002D
24050065 0040F809 00003021 8E030090 8E02001C 8064002C 0040F809 24050006
8E030090 8E020010 8064002C 24050008 0040F809 00003021 8E030090 8E020010
8064002C 24050065 0040F809 00003021 A2201802 A2201803 02201021 26311800
A0400000 24420001 5451FFFE A0400000 8FA50010 3C029D00 8C430048 3C049D00
2484025C 00852021 AC640000 8FA50010 8C43004C 3C049D00 248403FC 00852021
AC640000 8FA40010 8C4200B0 3C039D00 24630000 00641821 AC430000 24030320
3C02BF80 AC430E20 34038030 3C02BF80 AC430E00 2403001C 3C02BF88 AC4310E4
24030004 3C02BF88 AC4310E8 3C020100 3C03BF88 AC621034 3C03BF88 AC621064
3C03BF88 AC621068 3C049D00 24840AA4 0411FF38 00000000 8FBF0054 8FB30050
8FB2004C 8FB10048 8FB00044 03E00008 27BD0058
'.rodata
'startup
20424752 2064654C 76697264 6C207265 6564616F 000A0D64
End CSub
'
DefineFont #8 '8x6 font ideal for this display
5C200806
00000000 82200000 00800008 00004551 4F510000 0045F994 2B1CEA21 690000C2
B04C2090 AA104A62 84608046 00000000 40108410 81400081 00841004 A89C8A00
82000080 0080203E 30000000 00000042 0000003E 01000000 21000086 00004208
CAAA2972 82210027 00872008 21842072 42F8800F 00270A04 F824C510 0FFA0041
00270A02 8A3C0831 21F80027 00044108 8A9C2872 28720027 0027089E 61008601
86010080 00846000 40208410 0F000081 0000F880 10028140 20720084 00022084
BA9A2072 28720027 8028FAA2 8ABC28F2 2872002F 00278220 8AA248E2 08FA004E
800F823C 823C08FA 28720008 80278A2E 8ABE288A 82708028 00872008 12044138
4A8A0046 8048A230 82200882 6A8B800F 80288AAA 9AAA2C8A 28728028 00278AA2
82BC28F2 28720008 8046AAA2 A2BC28F2 087A8048 002F081C 200882F8 288A0082
00278AA2 89A2288A 288A0042 00A5AAAA 5208258A 288A8028 00822094 420821F8
0471800F 00074110 A9944AA9 4170804A 00471004 00804821 00000000 800F0000
00008140 07000000 80277A02 8A320B82 0700002F 00278220 8AA62608 07008027
0007FA22 41382431 E8010004 002778A2 8A320B82 06208028 00872008 12040310
09820046 0089C228 20088260 0D000087 8028AA2A 8A320B00 07008028 00278A22
F2220F00 06000008 802078A6 82320B00 07000008 002F7020 41100E41 08000023
80668AA2 89A20800 08000042 00A5AAA2 21940800 08008048 002778A2 21840F00
0400800F 0EE24028
End DefineFont
Edited by matherp 2016-07-15
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10067
Posted: 12:11am 14 Jul 2016
Copy link to clipboard 
Print this post

  Quote  Is the 64pin code definitely the four-brightness levels version of the code?


WW

Try this version (untested on the 64-pin but works well on the 100-pin) which is now RGB333 (8 steps of 32) and I've tried to get the perceived brightness changes more linear.

I've also updated the 100-pin version in the previous post to RGB333

Option explicit
option default NONE
'
' 64x32 RGB LED display driver for 64-pin Micromite
' operates in RGB222 mode
'
' freely selectable pins
' OE
' CLK
' LAT
'
' connect other pins as follows
' HA=2
' HB=3
' HC=27
' HD=24
' R1=60
' G1=61
' B1=62
' R2=63
' G2=64
' B2=1
'
sub MM.startup
const OE=21
const CLK=51
const LAT=52
RGBled64(LAT, CLK, OE)
font 8
end sub

CSub RGBled64
00000208
'updatedisplay
27BDFFD0 AFBF002C AFB50028 AFB40024 AFB30020 AFB2001C AFB10018 AFB00014
3C109D00 8E02008C 8C510000 8E030090 8E020028 0040F809 8064002D 24120001
00529004 8E030090 8E020024 8064002D 0040F809 24050006 0040A021 8E030090
8E020024 8064002D 0040F809 24050005 00409821 92221803 54400005 92231803
240302BC 3C02BF80 AC430E20 92231803 24020001 14620005 24100080 2403015E
3C02BF80 AC430E20 24100040 92231803 24020002 14620007 24020003 24030118
3C02BF80 AC430E20 24100020 92231803 24020003 54620006 92351802 24030190
3C02BF80 AC430E20 00008021 92351802 3C029D00 8C430090 8C42001C 8064002E
0040F809 24050006 92231801 240200F5 14620054 3C029D00 92221802 30420004
10400007 3C029D00 8C42001C 2404001B 0040F809 24050006 10000006 92221802
8C42001C 2404001B 0040F809 24050005 92221802 30420008 10400007 3C029D00
8C42001C 24040018 0040F809 24050006 10000006 001511C0 8C42001C 24040018
0040F809 24050005 001511C0 00151A40 00621823 24660180 0066102A 10400025
00711021 0015A980 3C08BF88 3C07BF81 32B500C0 90450000 02052824 36A40001
0085A80B 90450001 02052824 36A40002 0085A80B 90450002 02052824 36A40004
0085A80B 90450003 02052824 36A40008 0085A80B 90450004 02052824 36A40010
0085A80B 24630006 90450005 02052824 36A40020 0085A80B AD156430 AE920000
8CE4F220 AE720000 0066202A 1480FFE0 24420006 3C109D00 8E030090 8E02001C
8064002C 0040F809 24050006 8E030090 8E02001C 8064002C 0040F809 24050005
3C029D00 8C430090 8C42001C 8064002E 0040F809 24050005 92221802 24420001
3042000F 14400008 A2221802 92221803 24420001 304200FF 24030004 14430002
A2221803 A2201803 8FBF002C 8FB50028 8FB40024 8FB30020 8FB2001C 8FB10018
8FB00014 03E00008 27BD0030
'DrawRectangleMEM
27BDFFD0 AFBF002C AFB50028 AFB40024 AFB30020 AFB2001C AFB10018 AFB00014
00808021 00A09021 00C08821 00E09821 3C029D00 8C42008C 8C420000 90441801
240300F5 10830009 8FB40040 3C159D00 8EA2003C 0040F809 24041900 8EA3008C
AC620000 2403FFF5 A0431801 0211182A 14600005 0253182A 02001821 02208021
00608821 0253182A 14600005 2A030000 02401821 02609021 00609821 2A030000
0003800B 2403003F 2A040040 0064800A 2A240000 0004880B 2A240040 0064880A
2A430000 0003900B 2403001F 2A440020 0064900A 2A640000 0004980B 2A640020
0064980A 7E863C00 7E873A00 0230182A 14600022 329400FF 001219C0 00124240
01034023 00101840 001020C0 00831823 01034021 00484021 10000013 0272482A
28450010 50A00005 A0860000 A0660000 A0670001 10000003 A0740002 A0870001
A0940002 24420001 24630180 0262282A 10A0FFF3 24840180 26100001 0230102A
14400006 25080006 1520FFFB 02401021 2504E803 1000FFEA 01001821 8FBF002C
8FB50028 8FB40024 8FB30020 8FB2001C 8FB10018 8FB00014 03E00008 27BD0030
'DrawBitmapMEM
27BDFF80 AFBF007C AFBE0078 AFB70074 AFB60070 AFB5006C AFB40068 AFB30064
AFB20060 AFB1005C AFB00058 AFA40080 00A09021 00C0A021 AFA7008C 8FB00090
8FB30094 3C029D00 8C42008C 8C420000 90441801 240300F5 10830009 8FBE0098
3C119D00 8E22003C 0040F809 24041900 8E23008C AC620000 2403FFF5 A0431801
7E633C00 AFA30010 7E643A00 AFA40014 327300FF AFB30018 7FC53C00 AFA5001C
7FC73A00 AFA70020 8FA3008C 1860009A 33DE00FF 0200B021 AFB2003C 24030180
02030018 00002012 AFA40050 24040006 8FA50080 70A42002 72432802 00A41821
2463E803 00431821 AFA30038 00143823 AFA70044 8FA3008C 70741002 2442FFFF
AFA20034 AFB40048 0000A821 AFA00040 00101040 001090C0 02429023 02409821
24170001 AFBE0024 10000072 0280F021 00483821 2CE70040 50E00025 24420001
05220023 24420001 51800021 24420001 92270000 00F93824 10E0000F 00000000
12800007 8FA70010 A0C70000 8FA70014 A0C70001 8FA70018 10000014 A0C70002
A0670000 8FA70014 A0670001 8FA70018 1000000E A0670002 12800007 8FA7001C
A0870000 8FA70020 A0870001 8FA70024 10000006 A0870002 A0A70000 8FA70020
A0A70001 8FA70024 A0A70002 24420001 24630006 24840006 24A50006 1450FFD4
24C60006 254A0001 256BFFFF 01B26821 01D27021 01F37821 0313C021 115E0014
01164021 01551021 24430007 28510000 0071100B 000288C3 8FA2009C 00518821
000B17C3 00021742 0162C821 33390007 0322C823 0337C804 03003021 01E02821
01C02021 01A01821 1000FFB9 00001021 8FA30030 24630001 AFA30030 25290001
8FA40028 24840180 AFA40028 8FA5002C 24A50180 1070000C AFA5002C 1BC0FFF4
8FA80080 8FB8002C 8FAF0028 03007021 01E06821 8FAB0034 00005021 292C0020
1000FFD8 29340010 8FA70040 24E70001 AFA70040 8FA2003C 00561021 AFA2003C
8FA30038 8FA40050 00641821 AFA30038 8FA50034 8FA70044 00A72821 AFA50034
8FA20048 8FA30040 8FA4008C 1064000A 02A2A821 1A00FFEC 8FA50038 24A517FD
AFA5002C 8FA70038 AFA70028 8FA9003C 1000FFDA AFA00030 8FBF007C 8FBE0078
8FB70074 8FB60070 8FB5006C 8FB40068 8FB30064 8FB20060 8FB1005C 8FB00058
03E00008 27BD0080
'getFPC
27BDFFF8 AFBF0004 00852023 03E42021 ACC40000 8FBF0004 03E00008 27BD0008
'pstring
27BDFFE0 AFBF001C AFB00018 00808021 00002021 3C059D00 24A507FC 27A60010
0411FFEF 00000000 8FA40010 3C029D00 8C42002C 0040F809 02042021 8FBF001C
8FB00018 03E00008 27BD0020
'main
27BDFFA8 AFBF0054 AFB30050 AFB2004C AFB10048 AFB00044 00808021 00A08821
00C09021 00002021 3C059D00 24A5085C 27A60010 0411FFD7 00000000 3C029D00
8C430090 8E040000 A064002C 8C430090 8E240000 A064002D 8C420090 8E430000
A043002E 2402003C AFA20014 2402003D AFA20018 2402003E AFA2001C 2402003F
AFA20020 24020040 AFA20024 24020001 AFA20028 24020002 AFA2002C 24020003
AFA20030 2402001B AFA20034 24020018 AFA20038 27B20014 27B3003C 3C109D00
8E510000 8E020010 02202021 24050008 0040F809 00003021 8E020010 02202021
24050065 0040F809 00003021 8E02001C 02202021 0040F809 24050005 26520004
5653FFF0 8E510000 3C109D00 8E020094 24030040 AC430000 8E020098 24030020
AC430000 8E02003C 0040F809 24041900 00408821 8E02008C AC510000 2402FFF5
A2221801 8E030090 8E02001C 8064002E 0040F809 24050005 8E030090 8E020010
8064002E 24050008 0040F809 00003021 8E030090 8E020010 8064002E 24050065
0040F809 00003021 8E030090 8E02001C 8064002D 0040F809 24050005 8E030090
8E020010 8064002D 24050008 0040F809 00003021 8E030090 8E020010 8064002D
24050065 0040F809 00003021 8E030090 8E02001C 8064002C 0040F809 24050006
8E030090 8E020010 8064002C 24050008 0040F809 00003021 8E030090 8E020010
8064002C 24050065 0040F809 00003021 A2201802 A2201803 02201021 26311800
A0400000 24420001 5451FFFE A0400000 8FA50010 3C029D00 8C430048 3C049D00
248402CC 00852021 AC640000 8FA50010 8C43004C 3C049D00 2484046C 00852021
AC640000 8FA40010 8C4200B0 3C039D00 24630000 00641821 AC430000 24030320
3C02BF80 AC430E20 34038030 3C02BF80 AC430E00 2403001C 3C02BF88 AC4310E4
24030004 3C02BF88 AC4310E8 3C020100 3C03BF88 AC621034 3C03BF88 AC621064
3C03BF88 AC621068 3C049D00 24840B14 0411FF38 00000000 8FBF0054 8FB30050
8FB2004C 8FB10048 8FB00044 03E00008 27BD0058
'.rodata
'startup
20424752 2064654C 76697264 6C207265 6564616F 000A0D64
End CSub
'
DefineFont #8 '8x6 font ideal for this display
5C200806
00000000 82200000 00800008 00004551 4F510000 0045F994 2B1CEA21 690000C2
B04C2090 AA104A62 84608046 00000000 40108410 81400081 00841004 A89C8A00
82000080 0080203E 30000000 00000042 0000003E 01000000 21000086 00004208
CAAA2972 82210027 00872008 21842072 42F8800F 00270A04 F824C510 0FFA0041
00270A02 8A3C0831 21F80027 00044108 8A9C2872 28720027 0027089E 61008601
86010080 00846000 40208410 0F000081 0000F880 10028140 20720084 00022084
BA9A2072 28720027 8028FAA2 8ABC28F2 2872002F 00278220 8AA248E2 08FA004E
800F823C 823C08FA 28720008 80278A2E 8ABE288A 82708028 00872008 12044138
4A8A0046 8048A230 82200882 6A8B800F 80288AAA 9AAA2C8A 28728028 00278AA2
82BC28F2 28720008 8046AAA2 A2BC28F2 087A8048 002F081C 200882F8 288A0082
00278AA2 89A2288A 288A0042 00A5AAAA 5208258A 288A8028 00822094 420821F8
0471800F 00074110 A9944AA9 4170804A 00471004 00804821 00000000 800F0000
00008140 07000000 80277A02 8A320B82 0700002F 00278220 8AA62608 07008027
0007FA22 41382431 E8010004 002778A2 8A320B82 06208028 00872008 12040310
09820046 0089C228 20088260 0D000087 8028AA2A 8A320B00 07008028 00278A22
F2220F00 06000008 802078A6 82320B00 07000008 002F7020 41100E41 08000023
80668AA2 89A20800 08000042 00A5AAA2 21940800 08008048 002778A2 21840F00
0400800F 0EE24028
End DefineFont

 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 01:06am 14 Jul 2016
Copy link to clipboard 
Print this post

Thanks Peter - give me an hour or so and will get back to you . . .
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 01:46am 14 Jul 2016
Copy link to clipboard 
Print this post

WOW! It is so clear now to distinguish the brightness levels.
Here is a photo of all 512 colours



Poor Photo - sorry; but looks really 'colourful' now when viewed 'in the flesh' .

One question; can we daisy chain two panels to give a 64x64 OR will there be a detrimental affect on 'flicker'?

Thanks once again . . . .
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 01:49am 14 Jul 2016
Copy link to clipboard 
Print this post

It is probably worth the money to put a dedicated uMite on each display and then connect them with RS485 or i2c.
Scrolling from one to the other will be a challenge though. :)

Microblocks. Build with logic.
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2927
Posted: 01:55am 14 Jul 2016
Copy link to clipboard 
Print this post

@MicroBlocks

I was thinking of doing something like that - just be good if 2 panels (64x64) could be controlled by one MM.

Currently this is 64x32 x 512 colours and FLICKER FREE to my eyes which is fantastic.

Once again Peter M has created a 'masterpiece'

Will try and find SLR tonight and post a better picture (maybe Full HD by tonight with the speed Peter works!!)
 
     Page 2 of 4    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025