max7219 4x 8x8 panels spi


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696


    Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    Last edited by richard; - 16th January 2022 at 12:54.
    Warning I'm not a teacher

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    Well, results don't match.

    I do this:

    1. on GLCD Font Creator 5x6 is selected since that is what says in the program: '//GLCD FontSize : 5 x 6

    Name:  1.JPG
Views: 2517
Size:  22.3 KB

    2. Then the character 48 is designed

    Name:  2.JPG
Views: 2772
Size:  96.8 KB

    3.Then Export for GLCD

    Name:  4.JPG
Views: 3201
Size:  82.5 KB

    The data do not match as can be seen. I am sure that I did something wrong, but what?

    Ioannis

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696


    Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    thats glcd mode you need tft mode
    Attached Images Attached Images  
    Warning I'm not a teacher

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    Yes, that did it.

    Thanks,
    Ioannis

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Question Re: max7219 4x 8x8 panels spi

    The 5x6 grid is not very roomy for good fonts. After a bit of experimenting I ended up with the rectangular fonts that follow. I thing they are readable from longer distance.

    Code:
    @ dw 0x89F,	0x891,	0xF91      ; 0
    @ dw 0x206,	0x204,	0xF84      ; 1
    @ dw 0x81F,	0x9F,	0xF81      ; 2
    @ dw 0x81F,	0x81E,	0xF90      ; 3
    @ dw 0x489,	0xF89,	0x408      ; 4
    @ dw 0x9F,	0x81F,	0xF90      ; 5
    @ dw 0x9F,	0x89F,	0xF91      ; 6
    @ dw 0x81F,	0x410,	0x408      ; 7
    @ dw 0x89F,	0x89F,	0xF91      ; 8
    @ dw 0x89F,	0x81F,	0xF90      ; 9
    @ dw 0x200,     0x0,	0x200      ; :
    @ dw 0,0,0                         ; space
    A small demo video is uloaded here:



    Ioannis
    Last edited by Ioannis; - 22nd January 2022 at 11:29.

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    I'm slowly working on an 18F version.
    Currently running on the 18F57Q43 using the SPI peripheral (planning to get to DMA eventually) but can work with MSSP or even SHIFTOUT.
    Supports an arbitrary width display (within limits of available RAM) but only one row (starting to second guess myself on that one). Pixel by pixel scrolling left/right/up/down is almost working. We'll see where this ends up in the comming weeks...

    Name:  DSCF2561.JPG
Views: 2262
Size:  100.4 KB

  7. #7
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696


    Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    you could always just add a driver to suit this and not have to reinvent the wheel font&graphics wise etc

    http://www.picbasic.co.uk/forum/showthread.php?t=24218

    i'm sure a max7219 driver would be easy enough to contrive and it would make multi row /column display simpler
    Warning I'm not a teacher

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: max7219 4x 8x8 panels spi

    Quote Originally Posted by HenrikOlsson View Post
    I'm slowly working on an 18F version....
    Very interesting work! Looking forward!

    Ioannis

Similar Threads

  1. 8x8 keypad matrix...
    By mbox in forum General
    Replies: 5
    Last Post: - 9th October 2014, 19:43
  2. 8x8 Scrolling LED display (Simple example)
    By wellyboot in forum Code Examples
    Replies: 68
    Last Post: - 11th July 2013, 06:03
  3. DC/DC with MPPT for solar panels
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 14th May 2013, 03:26
  4. MY FIRST scrolling 8X8 LED
    By earltyso in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 15th August 2008, 17:23
  5. SPI instead of SHIFTOUT - MAX7219
    By Momboz in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 26th April 2008, 23:58

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts