CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC24EP - Biggest TFT with touch and drivers?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PIC24EP - Biggest TFT with touch and drivers?
PostPosted: Wed Sep 18, 2024 9:07 am     Reply with quote

Device: PIC24EP512GP806

Hi all,

Just wondering if some of you have used TFT capacitive touch-displays with PIC24 devices or something similar.... and of course, the library code for it. I'm looking in the 3.3V - 3.5V range. I don't like resistive touch, I like capacitive touch like on smartphones.

I'm currently using a 128x128 TFT non-touch which uses the ST7735 driver and it works well but I find it too small. Ideally, I'd like something like 3.4" / 85mm diagonally. The touch part is not critical but nice to have.

I don't need to display anything fancy or fast like video, I just want to display text and buttons so my guess is that it would probably have an SPI interface?

I know that there are some for Arduino but what I briefly saw had many many pins (although they could mostly be ground pins for solid mounting on the Arduino...).

Thanks!

Ben
dyeatman



Joined: 06 Sep 2003
Posts: 1933
Location: Norman, OK

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 9:28 am     Reply with quote

I have used 18F46K22, 24EP512GU810 and 33FJ256GP710A PICs
with the CCS 4.3 Resistive LCD and the ER-TFTM070 Capacitive 5 and 7 Inch
touch displays. Too slow for full screen graphics but worked fine as a user
interface for menus and text displays etc. Used CCS Drivers and Adafruit CCS_GFX_Library.c
_________________
Google and Forum Search are some of your best tools!!!!


Last edited by dyeatman on Wed Sep 18, 2024 9:30 am; edited 1 time in total
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 9:30 am     Reply with quote

Oh! And do you have a link for the drivers for the ER-TFTM070?

Actually, is it possible that this has a parallel interface? Therefore requiring many pins?

And what is the link for the CCS one?

Ben
Ttelmah



Joined: 11 Mar 2010
Posts: 19495

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 9:34 am     Reply with quote

For simplicity to drive, look at some of the 'smart' modules. These accept
simple commands to do things like draw text, draw lines etc.. Very much
less work to drive than a simple screen. Something like the
RVT43HLBFNN00 is a 4.3" display with your capacitive touch. There are
libraries for these available for the PIC.
As standard these have a very thin ribbon cable connector, but they do
offer a breakout board for this.
There are many other similar smart displays, even serial driven ones.
Much simpler to drive than directly controlling a LCD, especially once
the number of pixels goes up. I'm using the 7" and 10" versions of these
modules.
dyeatman



Joined: 06 Sep 2003
Posts: 1933
Location: Norman, OK

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 9:37 am     Reply with quote

I use the SPI interface for all of my graphics displays. I got the core graphics
library from simple-circuit.com and tweaked it a bit for my application. You
can find the CCS one on their website.
_________________
Google and Forum Search are some of your best tools!!!!
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 9:44 am     Reply with quote

@TTelmah: for your RVT43HLBFNN00, do you happen to have a link? I plugged that number exactly as-is in Google and nothing comes-up.
Jerson



Joined: 31 Jul 2009
Posts: 125
Location: Bombay, India

View user's profile Send private message Visit poster's website

PostPosted: Wed Sep 18, 2024 10:36 am     Reply with quote

If you are willing to use a UART running anywhere from 9600 to 115200 baud, I suggest you look at HMI displays like the DWIN displays with either capacitive or resistive touch. Their website is www.dwin-global.com Another alternative is to use the Nextion HMI displays or Stone HMI displays.

The difference between these HMI displays and the regular TFT type is that the interface is just a UART. You sketch the screens on a PC using your favourite paint tool, upload the images with the overlying objects which would display values or read touches. Takes a little work initially, but once you're used to doing this, it is easier and lighter on the code space requirements of your microcontroller.

These are Chinese displays and if you need someone who has used them to guide you, I can help.
_________________
Regards
Jerson Fernandes
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 10:44 am     Reply with quote

Oh thanks really cool, thank you so much. I will definitely have a look. For sure I'm comfortable with UART. Will have a look and if I get to the point of ordering one, I will let you know.

Thanks!

Ben
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 10:51 am     Reply with quote

@Jerson: I guess the problem now is how to buy these from Canada.... I'm looking online for something like the GME0831B but there aren't much results.
Ttelmah



Joined: 11 Mar 2010
Posts: 19495

View user's profile Send private message

PostPosted: Wed Sep 18, 2024 11:43 am     Reply with quote

Go on the Riverdi site. Select their Eve displays, and there are several
similar to this. The last few digits are 'optonns', like mounting type, so
probably peaope just list then on the main part of the number.
Jerson



Joined: 31 Jul 2009
Posts: 125
Location: Bombay, India

View user's profile Send private message Visit poster's website

PostPosted: Wed Sep 18, 2024 8:06 pm     Reply with quote

benoitstjean wrote:
@Jerson: I guess the problem now is how to buy these from Canada.... I'm looking online for something like the GME0831B but there aren't much results.


That seems to be just the capacitive touch overlay, not a display with touch.

I suggest you look at a product like DMG80480C050_04WTC which is a 5" HMI display with capacitive touch panel.

As for sourcing DWIN in Canada, I guess you will need to get in touch with their sales people to see how that can be arranged. In India, where I am, we get these off the shelf from most electronics online retailers.

TFT needs lots of code space to keep fonts, images and such. This burden is offloaded when using the HMI as it is stored on the HMI itself.

Maybe Nextion (also a taiwanese IIRC) might be available to you where you are located. I haven't checked


edit : Have you considered waveshare.com? They might be available to you
_________________
Regards
Jerson Fernandes
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PostPosted: Thu Sep 19, 2024 6:43 am     Reply with quote

Hi Jerson,

I send them an email. I'll wait to see what they respond.

I couldn't find the proper documentation that explains all the commands that can be sent over the UART and how to control it. I did find documentation but it didn't appear to contain much information... or did I miss something?

Ben
Jerson



Joined: 31 Jul 2009
Posts: 125
Location: Bombay, India

View user's profile Send private message Visit poster's website

PostPosted: Thu Sep 19, 2024 7:23 am     Reply with quote

You could look at this document for DWIN HMI
https://ecdn6.globalso.com/upload/p/1355/source/2024-09/T5L_DGUSII-Application-Development-Guide-V2.9-0905.pdf

I am not in any way affiliated with DWIN. Just a user of their products
_________________
Regards
Jerson Fernandes
benoitstjean



Joined: 30 Oct 2007
Posts: 566
Location: Ottawa, Ontario, Canada

View user's profile Send private message

PostPosted: Fri Sep 20, 2024 5:01 pm     Reply with quote

Alrighty! So I ordered the Nextion p/n NX4827P043-011C from Amazon:

https://www.amazon.ca/dp/B0B9GT6L8K?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1

Not cheap (92$ CAD + a 10$ discount) but for the time it saves, that's nothing. Their GUI software seems pretty straight forward. I tried it a bit today.

Thanks all for your input!

Ben
Ttelmah



Joined: 11 Mar 2010
Posts: 19495

View user's profile Send private message

PostPosted: Sat Sep 21, 2024 12:18 am     Reply with quote

Just one possible caveat here.
Is this for a 'one off', or something you intend to carry on making more?.
If the latter, I think the Nextion displays are EOL.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group