Jump to content
  • 0

How to connect a PMOD MTDS to an Arduino Uno


nicholkj

Question

Hello,

I'm trying to get a PMOD MTDS working with an Arduino Uno. I've read over the MTDS quick start guide and many other reference guides but cant seem to which pins to connect to/from the pmod to/from Arduino. Does it matter if I use digital vs analog pins? And how do I define those pins to ensure that the pins are receiving/ sending the correct information?

Thanks in advance!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Hi @nicholkj,

If you look at the arduino Uno's pin out here you can see that pins

10- cs 

11- mosi

12 - miso

13-  sck

which relate to pin 1-4 on the Pmod MTDS here.

Reset on the Pmod MTDS relates to the CS pin number +5. You can find this in the MtdsHal.cpp on line 233  

bool MtdsHalResetDisplay(int pinSel) {
    int pinRst = pinSel + 5;

You can change this to be any digital pin number on the Arduino. I would suggest choosing a digital pin from 5 - 7.

You can find the Arduino code on the Multi-Touch Display System page. 

thank you,

Jon

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...