Colour graphics demo for a 1.8" TFT Display

Download pre-release library modules and new examples to use with Astrobe for RISC5. Forum members can also upload their own source code examples.
Post Reply
cfbsoftware
Site Admin
Posts: 412
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Colour graphics demo for a 1.8" TFT Display

Post by cfbsoftware » Tue Aug 27, 2019 11:34 am

The attached zip file contains the source code of the Graphics line-drawing functions, ST7735 TFT display driver and a demo program to be used with v7.0 Astrobe for RISC5.

It displays AutoCAD Slide images of St Paul's Cathedral and the Columbia space shuttle on an 1.8" TFT Display:
Slide.jpg
Slide.jpg (86.66 KiB) Viewed 1261 times
The command used to run the demonstration module is SlideDemo.Run Columbia.sld or SlideDemo.Run StPauls.sld

The screen we used is the AdaFruit 1.8" Colour TFT Shield (PID: 802) which conveniently plugs into the Arduino-compatible headers on the Digilent Arty A7 and S7 boards.
Attachments
SlideDemo.zip
(23.51 KiB) Downloaded 41 times

mrlx
Posts: 4
Joined: Sun Oct 20, 2019 6:22 pm

Re: Colour graphics demo for a 1.8" TFT Display

Post by mrlx » Mon Oct 21, 2019 3:10 pm

Would you mind posting a list of the hardware items shown in the photo? I would like to recreate it exactly and am more of a software person than a hardware one. Thank you.

cfbsoftware
Site Admin
Posts: 412
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Colour graphics demo for a 1.8" TFT Display

Post by cfbsoftware » Mon Oct 21, 2019 9:11 pm

The items shown in the photo are:

1. Development board: Arty S7 Development board
2. Screen: AdaFruit 1.8" Colour TFT Shield (PID: 802)
3. MicroSDHC Card adapter: Opus-Two Micro SD-card Adapter for Xilinx ARTY FPGA Evaluation Kit

The following is not required to run the Slide demo:
4. Realtime Clock: SparkFun DeadOn RTC Breakout - DS3234

If you already have Embedded Project Oberon running on an Arty A7 or S7 board the only additional item you will need is the screen. No wiring is involved; it plugs directly into the Arduino-compatible socket on the Arty board.

mrlx
Posts: 4
Joined: Sun Oct 20, 2019 6:22 pm

Re: Colour graphics demo for a 1.8" TFT Display

Post by mrlx » Thu Nov 07, 2019 7:20 pm

I have the Arty S7 working with the RISC5 code using the provided examples. However, I have not been able to get the SlideDemo or TextDisplay samples to work. The Adafruit 1.8" TFT LCD Shield works when connected to an Arduino Uno but not when connected to the Arty S7. One oddity is that my Shield looks somewhat different than the one in the forum. For example, mine has a 6-pin ICSP connector next to the microSD. Any suggestions, please, on what I might try to get this working? (I attempted to attach a photo of my setup(861KB) but the forum rejected it as being too large.)

cfbsoftware
Site Admin
Posts: 412
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Colour graphics demo for a 1.8" TFT Display

Post by cfbsoftware » Fri Nov 08, 2019 10:20 am

I checked the AdaFruit website and it appears that you have 'Version 2' which is significantly different to 'version 1' :o Unfortunately they are currently out of stock of the latest version so I have asked them to notify me when they are back in stock again.

mrlx
Posts: 4
Joined: Sun Oct 20, 2019 6:22 pm

Re: Colour graphics demo for a 1.8" TFT Display

Post by mrlx » Sat Nov 09, 2019 10:17 pm

I have three. I will be happy to ship you one particularly if you are willing to take a look at my problem.

cfbsoftware
Site Admin
Posts: 412
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Colour graphics demo for a 1.8" TFT Display

Post by cfbsoftware » Sun Nov 10, 2019 9:37 am

Thank you for your offer but no need to worry. I've since ordered one from Digi-Key who have 60+ in stock.

Post Reply