- Joined
- Dec 18, 2019
- Messages
- 7,693
The Adafruit display can be powered by 3-5V.
picture of display
So no need to use a Teensy LC regulator...
picture of display
So no need to use a Teensy LC regulator...
If the display controller's SPI logic levels remain fixed at 3.3V that's doable. Documentation of that nature for the Adafruit display seems to be nonexistent. Their "data sheet" for the display is nothing but a mechanical drawing.The Adafruit break out display can be powered by either 3.3V or 5V. My chronometer uses the 5V option, so I don't draw current on a Teensy regulator. Should work the same, I think we have the same displays.
I agree 100% with your observations. The majority of hobbyists served by Adafruit and the like don't seem to understand or value the goodness that really complete documentation brings to the table. I think if their customers demanded it things would be different. Operations like PJRC (and likely Adafruit) probably have just a few really technical people and their time is spread out over many products so something has to give, eh?It's good to be cautious. I'm using that display with a Feather M4 Express board for what it is worth. In that case, I regulated a 6.4V battery to 5V. That powered the M4 Express and the display. The M4 has 3.3V I/O. The M4 outputs like SPI controlled the display. You could separately power the display and measure the inputs and outputs.
You've hit upon a peeve of mine about documentation. Seems that the "Maker area" is weak on documentation and Adafruit follows that trend. Really makes it a more difficult for true makers, like HM folks, who come from backgrounds that are expecting actual documentation, in all three dimensions, and actual data sheets with content. If it's a simple breakout board, sometimes one is pointed to a vendor part number. They are peddling incomplete products and are expecting the users to figure it out themselves, in exchange perhaps for lower product cost. Seems to be the nature of the beast these days. My approach is to use this stuff perhaps for one ofs. I don't think I'd ever attempt a product, with the Adafruit's of the business since there's scant evidence that these kinds of products have sufficient configuration management to support a product based on them. PJRC seems to take this a little more seriously, and supports businesses that use PJRC products. That being said, their documentation is not much better than Adafruit's.
They are quite handy displays. Although they are small, you can convey a bit of information.Here's a photo showing the TFT in operation. It's been quite awhile since I've written pixel-level computer graphics code so it took an embarassingly-long time to get the relatively simple code working right. The biggest hangup was correctly addressing the need to plot about 70 data points (about the number of samples I may get per detected x-ray pulse) while fitting them into 320 horizontal pixels.
I _am_ at the 4 day point into Covid so I'll use that as an excuse The anti-viral that's available for it is amazing but....I still have a low grade fever, for me at least. Fully vaxxed/boosted but that clearly is not a guarantee.....
View attachment 430741
To get this display orientation to look right I called tft.setRotation(3). That's using the Adafruit graphics libraries.
I like this little display. I think I will find lots of uses for it.