adafruit tft lcd arduino mega manufacturer
Because the Arduino (and Basic Stamp) are 5V devices, and most modern sensors, displays, flashcards, and modes are 3.3V-only, many makers find that they need to perform level ...
I removed the USB host to eliminate another set of variables. With only the Adafruit Music Maker installed on the Mega, it works flawlessly. Once I add the TFT, things get a bit wonky. If I print any text before initializing the Music Maker shield, it will print it to the screen clearly. Once the MM is initialized, anything printed to the screen is distorted.
My understanding of the Adafruit Music Maker player_interrupt example was that using the VS1053 Data request/interrupt pin allowed the sketch to run other tasks while the MM shield is playing songs. I can use:
SeeedStudio"s shield should work with their examples with no changes on a MEGA as the library has a conditional section that queries what board is being used and correctly configures the compile for that board. I just checked their Circles example with my boards and it works.
If you"re trying to use other libraries, I have a forum topic in which I posted how I got this same screen to work with the MEGA, it"s at Using the UTFT libraries with the Seeedstudio 2.8"" TFT Touch Shield V2.0 - Displays - Arduino Forum.
The topic is somewhat specific to using the UTFT library, but the connection info for specifying the correct pins of the MEGA are generic to all libraries. Basically, the SPI bus, though specified for the UNO as the D11 - D13 pins, is actually routed through the ISP connector. Therefore, for other libraries, the SPI bus must be specified in other libraries as the duplicate pins found on the other connectors, i.e. on the MEGA, pins 50 - 52.
I"m building a custom headunit for my motorcycle using the Arduino platform. I wanted to try it as the modular nature of the board and shields looked very versatile. While there does seem to be plenty of documentation on how to use a single shield on a board, there seems to be very scant documentation on how to use multiple shields on a single board.
I tested the Adafruit Music Maker and the TFT separately. My code for each works as expected. However, when I stack them, I run into the issue of how to call each shield to perform it"s task.
By itself, the MM shield works correctly using these pins, but in order for the TFT to work, the TFT needs pins D2 to D9 to send LCD data. That means I need to reroute D3,4,6, & 7 for the MM so the signals to the TFT are not interfering on those pins.