ra8875 tft display in stock
ER-TFTM050-2 is 480x272 dots 5" color tft lcd module display with RA8875 controller board,superior display quality,super wide viewing angle and easily controlled by MCU such as 8051, PIC, AVR, ARDUINO,and ARM .It can be used in any embedded systems,industrial device,security and hand-held equipment which requires display in high quality and colorful image.
It supports 8080 6800 8-bit,16-bit parallel,3-wire,4-wire,I2C serial spi interface. Built-in MicroSD card slot. It"s optional for 4-wire resistive touch panel (IC RA8875 built-in touch controller),capacitive touch panel with controller,font chip, flash chip and microsd card. We offer two types connection,one is pin header and the another is ZIF connector with flat cable.Mounting on board by default. There is no capacitive touch panel connection on the board of ER-TFTM50-2,its capacitive touch panel needs to be connected with your external board.Now we design another new board with capacitive touch connection named_ER-TFTM050A-2.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!".Here is the link for 5" TFT Touch Shield with Libraries, Examples.Schematic Diagram for Arduino Due,Mega 2560 and Uno . For 8051 microcontroller user,we prepared the detailed tutorial such as interfacing, demo code and development kit at the bottom of this page.
ER-TFTM050A2-3-3661 is 800x480 dots 5" color tft lcd display with RA8875 controller board and capacitive touch panel with touch controller,superior display quality,super wide viewing angle and easily controlled by MCU such as 8051, PIC, AVR, ARDUINO,and ARM .It can be used in any embedded systems,industrial device,security and hand-held equipment which requires display in high quality and colorful image.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!".Here is the link for5" TFT capacitive touch shield with libraries,examples,schematic diagram for Arduino Due,Mega 2560 and Uno. For 8051 microcontroller user,we prepared the detailed tutorial such as interfacing, demo code and development kit at the bottom of this page.
Have you gazed longingly at large TFT displays - you know what I"m talking about here, 4", 5" or 7" TFTs with up to 800x480 pixels. Then you look at your Arduino. You love your Arduino (you really do!) but there"s no way it can control a display like that, one that requires 60Hz refresh and 4 MHz pixel clocking. Heck, it doesn"t even have enough pins. I suppose you could move to ARM core processors with TTL display drivers built in but you"ve already got all these shields working and anyways you like small micros you"ve got.
What if I told you there was a driver chip that could fulfill those longings? A chip that can control up 800x480 displays, and heck, a resistive touchscreen as well. All you need to give up is 5 or so SPI pins. Would you even believe me? Well, sit down because this product may shock you.
The RA8875 is a powerful TFT driver chip. It is a perfect match for any chip that wants to draw on a big TFT screen but doesn"t quite have the oomph (whether it be hardware or speed). Inside is 768KB of RAM, so it can buffer the display (and depending on the screen size also have double overlaying). The interface is SPI with a very basic register read/write method of communication (no strange and convoluted packets). The chip has a range of hardware-accelerated shapes such as lines, rectangles, triangles, ellipses, built in and round-rects. There is also a built in English/European font set (see the datasheet section 7-4-1 for the font table) This makes it possible to draw fast even over SPI.
The RA8875 can also handle standard 4-wire resistive touchscreens over the same SPI interface to save you pins. There"s an IRQ pin that you can use to help manage touch interrupts. The touchscreen handler isn"t the most precise driver we"ve used, so we broke out the X/Y pins so 11:54)
This component is an inexpensive display module, and with a lot of options; different sizes, with and without touch, support for external font chips, scanning keypad, various micro interface types, and more.
The supporting library is for a display using an RA8875 Display Controller chip. The referenced web site Buy Display has several different displays, many of which are based on the RA8875 Display Controller - and therefore should be compatible with this library. More details are shown in the "Compatibility" section.
CAUTION: There is an undocumented defect in the RA8875 controller. The defect is that the controller does not always release its SPI data output pin when the chip is deselected.
The communications to the 2nd device will fail because of the RA8875 behavior. Best advice, keep those interfaces on separate SPI ports. Several users have added an external tristate buffer, gated by the chip select pin.
"Buy-Display" has several displays that have the RA8875. This library currently has a default setting of 480 x 272 definition in it, but it is designed to support the 800 x 480 display as well.
This library uses the 4-wire SPI interface, however the RA8875 controller chip, and the referenced display module support I2C, 3-Wire SPI, 4-Wire SPI, 8-bit Parallel and 16-bit Parallel. The RA8875 has on-board RAM sufficient for most needs, and it includes some fonts built-in. It supports an external serial flash for additional fonts (including UNICODE) and graphics, and has a micro SD interface, also for graphics. The RA8875 has integrated support for backlight control, resistive touch screen, and a matrix keypad. These options can simplify the system design.
With careful study of the image below, you can see a number of solder-blob jumpers. These jumpers are described quite well in the manual, and configure the many different options. The specific unit shown here is the "entry point" model, it does not have touchscreen, SD card, extra font memory, or the key pad interface. As you see in the top left, it is wired with an 8-signal ribbon cable (but note in the schematic that it only needs 6 as the two power and two ground are internally connected together in the module). The display can be powered from 5v or 3.3v; 5v as shown on this page.
Also note, that some configuration changes go beyond the jumpers. I decided to switch my as-purchased configuration to 4-Wire SPI and had to apply some changes (e.g. solder-blob jumpers). Had I ordered the display with the support for 4-Wire SPI, that would not have been necessary. The buydisplay web site makes the option selection quite easy.
The library should be able to work with any SPI port, and the Chip Select is a simple DigitalOut pin, shown here from the unallocated pins on this baseboard. The library also permits a definition for a reset pin, but in the initial work, this was unnecessary as a display reset function is easily activated via the SPI interface.
Schematic for the display module - I have not found a schematic for the display module itself, and by working through the various datasheets, it has not been necessary. For educational reasons, I wish I did have that to study.
NOTE In this second example, the display power requirements can be well over 300 mA. When combined with an LPC1768 (which can consume up to 200 mA), it can exceed the capacity of most USB ports. I have found that if you keep the brightness setting quite low, your PC source may adequately support this. If you don"t init( ) it with a low brightness level, you may see a blank white (or black) screen and try to troubleshoot the wrong issue.
Here is a full program that uses this library. As you can see, it is very simple to use. Be sure to have the mbed and the RA8875 libraries in your project.
This information is based on 4-wire SPI, where the answer is, "it depends". The driver is configured for 5 MHz by default, and the chip can support a faster clock rate. But be forewarned, this interface is not suitable for streaming video. That said, the RA8875 has a number of hardware accelerator features built-in - to draw text (using the internal fonts or optional external fonts), lines, circles, rectangles, triangles - all filled or unfilled. And it does this very fast. Because it supports these in the hardware, this can greatly reduce the memory footprint in the host micro. For displayable "information", the performance of this part is most likely more than good enough.
Starting with a 24-bit color picture, scaled to about 350 pixels wide by 272 tall, and saved as a 24-bit BMP file of about 382KB. The driver library parses the 24-bit data, down-scales it to 16-bit, and streams it to the RA8875 and therefore to the screen. Keeping in mind that the LPC1768 has less than 32KB of usable memory, the driver buffers only a single scanline as it does this processing.
(1) SDFileSystem v22 from https://developer.mbed.org/users/neilt6/code/SDFileSystem/ [On my hardware, I could only set the FileSystem to 17 MHz, and the RA8875 is set for the default of 5 MHz.
Burst SPI is another library on the site that may provide a significant performance boost. This has not been investigated, but note that while this RA8875 library mostly writes to the display, it also reads from the display. The Burst SPI library does not currently support reading. With some careful work it should be possible to integrate this performance enhancement.
The RA8875 has built-in support for a 4 x 5 matrix keypad. The library was updated to provide support for that interface. This has not been tested to any strong degree.
A Touchscreen example program showing the RA8875 driver library. This is easily configured for either the Resistive touch panel or the Capacitive touch panel.
The RA8875 has built-in support for a 4-wire resistive touch screen. This library was updated to support that interface, including methods for calibration.
Those using the GSL1680 capacitive touch controller will find two options, one supporting five fingers and the other supporting ten fingers simultaneously. Note that documentation for the GSL1680 is "limited", and the controller is a micro. The micro is booted from a binary image hosted by the RA8875 library, for which no source has been found.
Capacitive touch has numerous advantages, typically a "cleaner" and brighter looking display among them as there are fewer front-side layers. Take care if you choose one of those displays - since the RA8875 _does not_ have native support for this technology, the display module adds another chip set to it. This in itself is no problem, but this additional chip requires another interface to the mbed - that being I2C. Be sure your hardware design can support giving up 4 more pins!
Another major advantage is that a capacitive display requires a simple touch, where a resistive display requires sufficient "pressure" to be applied to close the contacts.
Another developer implemented support for the external font chip which you can purchase with this display (the driver software does not provide support at this time). See that work at External Font Chip
The display modules have an optional micro SD Card Interface. This is not wired into the display controller, but is made available on another connector, which you would then wire to the mbed. Thus, there is no support in the display driver library for this - instead find an mbed library that supports SD Cards.
Take note that some of these displays require significant power. Some of the mbed modules have an onboard regulator, and that power is provided on one of the available interface pins. In general, you should not try to power the display from the mbed regulator, as the display may require more than is available from the mbed. In some cases, it may appear to work, but it may also lead to power dips, and instability of the software on the mbed. If you have a USB wall adapter that is a higher power module, the 5v from it, coupled with a 5v display (or an additional 3.3v regulator) may be a good configuration. The mbed modules themselves can run from this same power source.
Recommendation: Choose a 5v display module after ensuring that your mbed module has 5v tolerant IO pins (the LPC1768 does, the others have not been evaluated). Use a high power USB power adapter, and run both the display and the mbed from that power supply.
CAUTION If you don"t wire power correctly, you may destroy the display"s touch controller. In the author"s experience, the display remains functional, but touch becomes non-functional. The I2C controller is no longer detected by the host micro.
Most of the development, and ongoing use of this library (by the library author), is based on mbed os v2. Unfortunately, some of the newer versions have "decayed", so most applications use OS 2 version 127 or 128. With newer versions of OS 2, and when using a multi file system (sdCard and USB) it is difficult to get it to work, and with even newer versions the display will not properly initialize - suspecting it is related to the SPI driver. That said, it has been proven to work with several newer versions of the OS 2 library.
The author has run some of the demo"s with OS version 5.10 quite successfully. There are some API changes in the RA8875 Library that accommodate the newer OS version. Some of those are configured in the library against a specific minor version change in OSv5, and not all minor version changes have been tested. What this means is that in some of the v5.x versions, it might fail to compile properly, and in the newer 5.x versions it will. Contact the author if you have trouble with a specific combination.
Powering an mbed and the 4" display from an under-powered USB port is one of the first things to check. The default init() function turns the backlight to the max, which may be more than your port can provide. And if you have the larger displays, they will take even more power. In the example below, try reducing the backlight value (its permissible range is 0 to 255) to something quite low - perhaps 20 or 40.
One user acquired a display module from another source. It had the RA8875 controller, and it was wired for 4-wire SPI. And yet it did not work with this library. We exchanged quite a few emails in an attempt to solve this compatibility issue. I had compared the source in the other library but it was so dramatically different that it was a challenging effort. The user found another library that met their needs. This went unsolved. If others find themselves in a similar situation, I am more than willing to collaborate.
A simple simulation of the game of life on the display. This was put together before the touchscreen support was added - that might be an interesting update.
This is more of a demo program that shows 3 bars (one each for Red, Green, and Blue). As you touch on the color bars, it creates a composite RGB value and shows that color to you. With a "Screen Capture" option, you can extract the image to a BMP on the local file system, and then compare the colors on your display with the actual values.
Have you gazed longingly at large TFT displays - you know what I"m talking about here, 4", 5" or 7" TFTs with up to 800x480 pixels. Then you look at your Arduino. You love your Arduino (you really do!) but there"s no way it can control a display like that, one that requires 60Hz refresh and 4 MHz pixel clocking. Heck, it doesn"t even have enough pins. I suppose you could move to ARM core processors with TTL display drivers built in but you"ve already got all these shields working and anyways you like small micros you"ve got.
What if we told you there was a driver chip that could fulfill those longings? A chip that can control up to 800x480 displays, and heck, a resistive touchscreen as well. All you need to give up is 5 or so SPI pins.
The RA8875 is a powerful TFT driver chip. It is a perfect match for any chip that wants to draw on a big TFT screen but doesn"t quite have the oomph (whether it be hardware or speed). Inside is 768KB of RAM, so it can buffer the display (and depending on the screen size also have double overlaying). The interface is SPI with a very basic register read/write method of communication (no strange and convoluted packets). The chip has a range of hardware-accelerated shapes such as lines, rectangles, triangles, ellipses, built in and round-rects. There is also a built in English/European font set (see the datasheet section 7-4-1 for the font table) This makes it possible to draw fast even over SPI.
The RA8875 can also handle standard 4-wire resistive touchscreens over the same SPI interface to save you pins. There"s an IRQ pin that you can use to help manage touch interrupts. The touchscreen handler isn"t the most precise driver we"ve used, so Adafruit broke out the X/Y pins soyou can connect them up to something like the STMPE610 which is a nice touchscreen controller.
On the PCB we have the main chip, level shifting so you can use safely with 3-5V logic. There is also a 3V regulator to provide clean power to the chip and the display. For the backlight, we put a constant-current booster that can provide 25mA or 50mA at up to 24V. The connector to the screen is a classic "40 pin" connector. All of Adafruit"s 40-pin TFT"s are known to work well. There are other 40-pin displays that have different pinouts or backlight management and these may not work - they may even damage the driver or TFT if the boost converter pushes 24V into the display logic pins! For that reason, we only recommend the displays we"ve tested and sell here.
Each order comes with an assembled, tested RA8875 breakout and a stick of header. You"ll also need to purchase a 40-pin TFT screen. We currently have 4.3", 5.0" and 7.0" screens available.
To get you started we"ve written a graphics library that handles the basic interfacing, drawing and reading functions.Download the Adafruit RA8875 library from githubandinstall as described in their tutorial.Connect a 40 pin TFT to the FPC port and wire up the SPI interface to an Arduino as described in the example code. Once started you"ll be able to see the graphic/text demo and then touch the screen to "paint". For more advanced details on what the RA8875 can do (and it can do a lot) check the datasheet.
Yesterday I got the shipment for my RA8875 driver and the 5.0" TFT display. I did some readings before the arrival of the driver and display and used the example programs in the libraries for some initial help. The TFT does not seem to be working for some reason. I did some troubleshooting by haveing some initialization commands in the Serial Monitor which stated the screen has been enabled and the RA8875 was detected.
The first seven variables are displayed correctly on the 7 inch display, however subsequent variable transmissions results in the each old variable being overwritten by the new variable data.
Example: The value 6.50 is sent to a given display location and is displayed correctly. However when I send 6.70 to the same display location, the 6.50 is not erased and the 6.70 is just overlaid on the 6.50. I can see the .70 being displayed along with the .50 value like a ghost in the background.
I have tried erasing each location prior to the next variable update, but it still results in the new variable data being overwritten on the existing variable data being displayed.
This 5.0" TFT screen has lots of pixels, 800x480 to be exact, and an LED backlight. Its great for when you need a lot of space for graphics. These screens are commonly seen in consumer electronics, such as miniature TV"s, GPS"s, handheld games car displays, etc. A 40-pin connector has 8 red, 8 green, and 8 blue parallel pins, for 24 bit color capability.
This version does not have touchscreen attached It"s exactly the same TFT display as PID 1596 but without the resistive touch panel so it is a little less expensive.
This is a "raw pixel-dot-clock" display and does not have an SPI/parallel type controller or any kind of RAM. The display is supposed to be constantly refreshed, at 60Hz, with a pixel clock, V sync, H sync, etc. There are some high end processors such as that used in the BeagleBone that can natively support such RGB TTL displays. However, it is extremely rare for a small microcontroller to support it, as you need dedicated hardware or a very fast processor such as an FPGA. Not only that, but the backlight requires a constant-current mode boost converter that can go as high as 24V instead of our other small displays that can run the backlight off of 5V
For that reason, we are carrying it as a companion to the Adafruit RA8875 driver board in the store, which is a chip that can handle the huge video RAM and timing requirements, all in the background. That"s the best way to interface this display to just about any microcontroller (including Arduino & friends) If you want to control with from an HDMI or DVI output, check out our TFP401 driver board. If you are an advanced electronics enthusiast you can try wiring this directly to your processor, but it we don"t have any support or tutorials for that purpose.