Menu

4x16 Matrix Arduino Uno

2017-04-18
2017-04-18
  • Chrigu Wuethrich

    Hi all
    is there a way to connect an arduinno uno with a 4x16 Matrix
    my old board was 8x8 now i have 4 cables more
    thanks
    chrigu

     
  • diego

    diego - 2017-04-19

    Hi,
    For the Arduino UNO, you have :
    A0-A1-A2-A3-A4-A5 = 6
    and:
    0-1-2-3-4-5-6-7-8-9-10-11-12-13 = 14
    Should be enough in/out

    Check very well which is entry and which is out and don't forget to change the program of the arduino (making the right nuber of columns and lines)

    diego

     
  • Anonymous

    Anonymous - 2017-04-19

    Hi diego
    0 is RX and 1 is TX can i use them also?
    cheers
    chrigu

     
  • diego

    diego - 2017-04-19

    I think it gonna be fine, check:

    https://www.arduino.cc/en/Main/arduinoBoardUno

    it is written:

    "It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs"

     

    Last edit: diego 2017-04-19
  • Chrigu Wuethrich

    Hi diego
    i have taken an Arduino Mega 2560.It works fine.
    But i could not compile the 4x16 ino file from source, there is an error while compiling.
    I have changed the Lines

    //initialize an instance of class NewKeypad
    /Keypad customKeypad = Keypad( makeKeymap(Keys), rowPins, colPins, ROWS, COLS);
    /

    to

    //initialize an instance of class NewKeypad
    /Keypad customKeypad = Keypad( makeKeymap(Keys), rowPins, colPins, ROWS, COLS);
    /

     
  • Andreas

    Andreas - 2017-04-24

    For using PIN 0 and 1 (D0 D1) you have to set in Setup:
    UCSR0B = 0;
    I have not tested it yet, but it schuld work.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.