Pretty new to working with displays and it's possible I just have some junk hardware, but maybe there's something I'm overlooking.
I'm trying to get an off-brand (REXQualis) Arduino Nano to display anything at all to a cheap 1.8" SPI TFT display, as seen here. As far as I can tell, the Nano has a pinout identical to the official branded ones.
The display lights up, but no further changes take place no matter what I upload to the Nano.
I've tried a few different tutorials including this one that seems to use the exact same display module. Currently my sketch is an almost-exact copy/paste of the "hello world" example from ucglib's documentation, as shown here:
Here's how I have everything wired up on my breadboard. (Couldn't find a suitable part for the display, so it's represented by a perf board with labels matching the headers on the display module.)
Fair enough! Here's one photo from overhead. If you need greater detail on the cluster of jumper wires connected to the TFT module, I can upload that in a separate reply.
The headers came pre-soldered and, as far as I can see, don't have any shorts or missing solder.
It claims in the listing to be SPI, and I've seen tutorials using (what appears to be) the same module with SPI rather than I2C. Do you think I should try using I2C protocol anyway?
Hi Treetop,
I would suggest to use the Adafruit_GFX and Adafruit_ST7735 libraries. I got one of these ST7735 TFTs working some time ago powered by a Nano.
See my post on this issue on TheSolarUniverse. There is a wiring scheme (DC wired to pin 9) and a sketch.
Good luck, Photoncatcher
@photoncatcher Thanks! I gave this a try (after correcting a few errors caused by Wordpress formatting) but still got the exact same result. Wondering if maybe I just have a faulty TFT module.
@david_prentice Thanks for the note about the resistors and the male-male jumpers; I'll keep that in mind for further testing.
For the sake of completion, here are a few more photos showing the connections and the solder joints on the leads. Hopefully the wiring is clear enough here. It matches what's shown on the Fritzing diagram. (To be clear, I based the Fritzing diagram on the connections I'd made in reality, not the other way around.)
Well, to conclude this thread: I'm almost certain I had a faulty display. I bought another display (slightly different board design but same chip) and wired it up the exact same way; it worked perfectly.