1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Led Matrix with Arduino Uno

Discussion in 'Electronic and hardware generally' started by MAMNOTH, Feb 12, 2016.

  1. MAMNOTH

    MAMNOTH New Member

    Joined:
    Feb 8, 2016
    Messages:
    12
    Location:
    Portugal
    Balance:
    84Coins
    Ratings:
    +5 / 0 / -0
    HI! Im using a ledmatrix 32*8 with an arduino Uno. I managed to put the code found on " Matrix scripture # #caution# blinking" but the code is displayed vertically instead of horizontally.. .Instead of see the text from right to left or left to right im seing the code from down to the upper part of the modules( vertically).

    Im using the Maxmatrix code.

    Really would like guidance for the matter.
  2. Kirk

    Kirk Member

    Joined:
    May 19, 2014
    Messages:
    91
    Occupation:
    Sr Software Engineer
    Location:
    Texas
    Balance:
    15,087Coins
    Ratings:
    +114 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor
    Is it possible to post a youtube video of what you are seeing?
    Are you using the latest maxmatrix library?
    Could you also post a photo of the back of the matrix board?
    • Like Like x 1
  3. MAMNOTH

    MAMNOTH New Member

    Joined:
    Feb 8, 2016
    Messages:
    12
    Location:
    Portugal
    Balance:
    84Coins
    Ratings:
    +5 / 0 / -0

    The main question for now: Is it possible to make the text run horizontally ? I have two segments of led matrix.

    Attached Files:

  4. MAMNOTH

    MAMNOTH New Member

    Joined:
    Feb 8, 2016
    Messages:
    12
    Location:
    Portugal
    Balance:
    84Coins
    Ratings:
    +5 / 0 / -0
    Sry about the layout of the answer from my behalf but i cant post any f. links and stuff...
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,395
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,025Coins
    Ratings:
    +10,993 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Agree Agree x 1
  6. Kirk

    Kirk Member

    Joined:
    May 19, 2014
    Messages:
    91
    Occupation:
    Sr Software Engineer
    Location:
    Texas
    Balance:
    15,087Coins
    Ratings:
    +114 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor
    Most of them look a bit different, with the LED contacts being left / right.
    That said, instead of shiftLeft, the code could use shiftUp instead, which I *think* would accomplish what you are seeking. (ie. in printCharWithShift, replace "m.shiftLeft" with "m.shiftUp" and see what happens).
    The only thing I'm worried about is the fonts. This *might* be an issue, they might need to be rotated 90 degrees.
    • Like Like x 1
    • Informative Informative x 1
  7. MAMNOTH

    MAMNOTH New Member

    Joined:
    Feb 8, 2016
    Messages:
    12
    Location:
    Portugal
    Balance:
    84Coins
    Ratings:
    +5 / 0 / -0
    Hi,
    Im comunicating to recap the point i stand at:

    I could not change with sucess : (ie. in printCharWithShift, replace "m.shiftLeft" with "m.shiftUp" ).

    I can post the code im using here to see if anyone can visually find something that could change the orientation of the text.

    Thank you.

    Video example of how the text is being displayed in the modules:

  8. Kirk

    Kirk Member

    Joined:
    May 19, 2014
    Messages:
    91
    Occupation:
    Sr Software Engineer
    Location:
    Texas
    Balance:
    15,087Coins
    Ratings:
    +114 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor
    I've been busy with work, haven't had a chance for hobbies. :( I am responding now between builds.

    The modules you have are a bit different than mine (you have the surface mount version).

    If, instead of using the jumpers to interconnect, you use wires, it'd be fine as is (just rotate each module 90 degrees). But those jumpers are cool, it's a very compact design. I will pick some up in the future.

    In the mean time, I can reproduce your issue, once I get time, by rotating My modules by 90 degrees. I had thought that switching shiftLeft to shiftUp would be sufficient.

    There are three potential solutions. First, figure out why shift routines didn't perform as expected, or two: re-do the font table as vertical, or three (the easiest and guaranteed to work) simply render into a horizontal buffer and then rasterize out vertically. The font method has a lot of down sides, but the other two are fairly easy, just have to find time. :(
    • Informative Informative x 1
  9. MAMNOTH

    MAMNOTH New Member

    Joined:
    Feb 8, 2016
    Messages:
    12
    Location:
    Portugal
    Balance:
    84Coins
    Ratings:
    +5 / 0 / -0
    Ok, thank you but about solution 3, i dont know how to render into a horizontal buffer and then rasterize out vertically.

    It is possible to physically rotate them 90º but cant attach them to the board they are at; the connections(pins) are only on 2 sides of the module, like pic below.

    I can wait for your input when you have more time. Thanks for attention!

    Attached Files:

  10. Kirk

    Kirk Member

    Joined:
    May 19, 2014
    Messages:
    91
    Occupation:
    Sr Software Engineer
    Location:
    Texas
    Balance:
    15,087Coins
    Ratings:
    +114 / 2 / -0
    My Motion Simulator:
    2DOF, DC motor
    I've found a exact match for the board you have on e-bay, it should be here in a little over a week (confirmed to have left China yesterday morning), just in case I'm not able to replicate your issue with the modules I already have. That said, I have high hopes that I will be able to get some time in this weekend, as I believe I can do it without the new modules. (they all use the same chip, and only really differ in H vs. V scanning.)
    • Like Like x 2
    • Informative Informative x 1