• 0
nicholkj

How to connect a PMOD MTDS to an Arduino Uno

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!

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 1

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now