fritzing ips tft display made in china

These are nice displays but slow with graphics on an UNO, they recommend only text with the UNO boards due to memory. I tested the graphics on the UNO (Official) and the Elegoo variant UNO boards, both function the same.

fritzing ips tft display made in china

I’m mostly finished a modification of the adafruit part to convert it to this. I’m done for tonite and busy tomorrow but a part should be along soon (only pcb and the fzp file to finish). I found board dimensions (if not hole nor header placement which are just guesses) on ebay so it won’t be quite correct unless you can measure the placement of the holes and the pins with calipers but it should do the job. The adafruit part looks to be the alternate layout for this same display (only 10 pins in…

fritzing ips tft display made in china

In this blog I will show how to connect a 0.96" IPS color display that is 80x160 pixels to Arduino Nano. Then I will try the new Arduino Web Editor to create and later to share this project.

Sometimes it is handy to have a small screen in your Arduino project. The 0.96 inch IPS color diplay is perfect for this. You can get the original Adafruit Color TFT display with SD card readerfor this for $20 (excluding shipping costs), but you can also find a clone on Chinese reseller websites or eBay. Mine did not include a SD card reader, but it was $3 (including shipping).

To make your project better to understand, you can also add board diagrams. This can be done using Fritzing. Just download the version supported by your OS. I have used the Windows 64-bit version and just needed to unzip it and start Fritzing.exe.

In my case I also needed a part that was not in the Fritzing database. Luckily there is a community that submits parts. It is located on the forum page.  Adafruit also has parts on their Github page. To import the part just click the icon in the Parts frame and select Import...

I was now able to create the breadboard diagram. Below you see the breadboard diagram created with Fritzing app of how to connect the display to Arduino Nano.

The display part is Adafruit based, but I have created a table on how to translate the Original Adafruit 0.96" 160x80 Color TFT Display to Chinese Clone IPS 0.96 inch 7P SPI ST7735 module

fritzing ips tft display made in china

And here’s what we designed! The BrainCraft HAT has a 240×240 TFT IPS display for inference output, slots for a camera connector cable for imaging projects, a 5 way joystick and button for UI input, left and right microphones, stereo headphone out, a stereo 1 Watt speaker out, three RGB DotStar LEDs, two 3 pin STEMMA connectors on PWM pins so they can drive NeoPixels or servos, and Grove/STEMMA/Qwiic I2C port. This will let people build a wide range of audio/video AI projects while also allowing easy plug-in of sensors and robotics!

MOSI, SCK, GPIO #25, CE0 - These are the display control pins. Note that MISO is not connected even though it is a SPI pin because you cannot read back from the display

SCL, SDA - I2C data for the STEMMA QT / Qwiic connector. Not used by buttons or display. Can also use with Grove sensors with an adapter cable. Great for quickly adding sensors or accessories with plug-and-play.

There"s two ways you can use the 1.54" 240x240 display on the BrainCraft HAT. For machine learning purposes, the advanced method is the way to go, so that"s what we"ll be covering in this guide.

The easy way is to use "pure Python 3" and Pillow library to draw to the display from within Python. This is great for showing text, stats, images etc that you design yourself. If you want to do that, the BrainCraft HAT has a pretty close layout to the Adafruit 1.3" Color TFT Bonnet including the same type of display and a joystick, though the pinouts are slightly different. If you choose this option, You can skip this page and view the Python Setup page for instruction for that display.

The advanced way is to install a kernel module to add support for the TFT display that will make the console appear on the display. This is cute because you can have any program print text or draw to the framebuffer (or, say, with pygame) and Linux will take care of displaying it for you. If you don"t need the console or direct framebuffer access, please consider using the "pure Python" technique instead as it is not as delicate.

Besides the display, audio, and fan, this board has quite a few other useful features on it that can be controlled through Python. We"ll go through those and how to control them in Python.

fritzing ips tft display made in china

I changed the Adafruit libraries for TFT: GFX , TFTLCD and TouchScreen. I join all in this one library, the library SPFD5408, to avoid problems with duplicate libraries and enables also have the original library Adafruit ready for use in other projects with another TFT hardware.