Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 14:53 19 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : need a larger LCD than 2.8 for 170

Author Message
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 529
Posted: 07:40pm 29 May 2017
Copy link to clipboard 
Print this post

I have been using the 2.8 LCD on my controllers. But now they want a bigger area
for touch. So what 3.2 or bigger will work with the back packs. The chip works great
for what I am doing. Looked at some 3.2, 4 and 7 but not sure of the interface.
I am not doing any main graphics just keypad / keyboard and pages of text.
I like how easy the ILI9431 is to use. I did a search for it on Ebay and all I see
is the dual row header showing touch and sd but Im not seeing it for the display.

A 2nd question is can I use the SD on the displays with the 170.

Thanks For being here.
Slowing reading up on the past post.

Quazee137

4004 to 8008 1st builds. Lots of memory LOL
MicroAce kit of the ZX180
Xerox 820 2 8" floppy's and 5 Meg HD
oldschool DEC LS1145 in the mid 80's
now anything I can run Linux on.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 03:52am 30 May 2017
Copy link to clipboard 
Print this post

Hello.

That might be difficult. The problem as far as I know, is that once you get up above 2.8" or so, SPI is too slow to update the screen. SPI is ideal for the smaller LCD's, but the bigger ones would take too long to refresh when they are re-drawn. Not saying it would not work, but the refresh rate would be so slow as to make them impractical.

I myself also looked for bigger LCD's for the 170 chip recently, but there does not appear to be anything above 2.8" in SPI - probably for the reason above.

matherp would probably know for sure, as he has an in-depth understanding of what is required to drive those screens, as he wrote most of the LCD drivers. He may comment here.

I think that the only way you can get a bigger screen, is to go to 8-bit or 16-bit parallel port interface(needing 8 I/O lines at least just for the bus), and THEY are pretty much impractical on the 170, as you use pretty much all the pins just to connect the LCD!

What all this means, is that if you want an LCD bigger then 2.8", you HAVE to move up to the MicroMite Plus or MicroMite Extreme chips which can drive those bigger LCD's with the aforementioned parallel-port interface.

EDIT: SD card socket on the LCD's - No. The 170 has no native support for an SD card or a filesystem to talk to it, due to silicon restraints. I believe that someone DID release a super-cut-down SD card driver, but it cannot create files or folders. You have to create zero-length files on another machine, which that concept can open and append to. I forget exactly where I read that, but I am sure someone here will link us both to it. Edited by Grogster 2017-05-31
Smoke makes things work. When the smoke gets out, it stops!
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1141
Posted: 05:16am 30 May 2017
Copy link to clipboard 
Print this post

  Grogster said   EDIT: SD card socket on the LCD's - No. The 170 has no native support for an SD card or a filesystem to talk to it, due to silicon restraints. I believe that someone DID release a super-cut-down SD card driver, but it cannot create files or folders. You have to create zero-length files on another machine, which that concept can open and append to. I forget exactly where I read that, but I am sure someone here will link us both to it.

I guess you are meaning THIS ?

Regards
Michael
 
PicFan
Senior Member

Joined: 18/03/2014
Location: Austria
Posts: 133
Posted: 07:25am 30 May 2017
Copy link to clipboard 
Print this post

I use this:Display with Touch and Serial Interface.Edited by PicFan 2017-05-31
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 529
Posted: 08:44am 30 May 2017
Copy link to clipboard 
Print this post

Then will the 44 pin drive the 3.2 and up in 8 bit mode?

If so what boards are there like the backpack with a
simple header for the pins.

I was working on one but they want a socket for the PIC
for field updating by swapping chips. Three of the bigger
clients insist on this.

I have I2C to the relays (4 up to 8). old pic work 18F2520
thinking of 170 slave but new board then.

I use ADS1115 for each probe.
pH(diff) + Temp(single) + flow(single)
conductivity(diff) + temp(single) + flow(single)

Trying to get the ok to make them MikroBUS click boards.

Using 170's ADC pins for 4-20 in.
playing with PWM for 4-20 out but
for now using lm317 with I2C pots for that.

 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 03:58pm 30 May 2017
Copy link to clipboard 
Print this post

  Quazee137 said   Then will the 44 pin drive the 3.2 and up in 8 bit mode?


Not that I am aware of. The little LCD's with basic touch functions are available on the 28-pin 170 chip, and the 44-pin 170 chip, but you need the 64-pin or 100-pin MicroMite Plus chip, or the MicroMite Extreme chip for the bigger LCD's that use the parallel interface.

The 44-pin 170 chip, is essentially the same chip as the 28-pin one, but it just has more I/O pins. It's flash and RAM specs are the same as the 28-pin one though, and so are it's capabiolities.

I know what you WANT to do - I myself looked into that too as I mentioned, but I just don't think it is possible as no LCD's bigger then 2.8" are made with an SPI interface - the larger ones are all parallel interface. Even assuming you COULD find an SPI LCD bigger then 2.8", the MM would not support it without a suitable Cfunction driver, and matherp is the Cfunction God here, so he would have to agree to write one. I think he might be on holiday at the moment, which is why he has not posted here.

You might just have to redesign to get the bigger screen in. You could employ the likes of an Explore-64 module - which could be socketed in the PCB making for nice easy replacement as your clients want, and the E64 can drive ALL the LCD's - the bigger parallel ones AND the older SPI ones, so your bases are well covered with the MM+ chips for any future LCD size change right up to an 8" LCD if you wanted it to be really big.

As far as being able to do it on the 170 series chips, I think you are snookered, really.
Smoke makes things work. When the smoke gets out, it stops!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8605
Posted: 06:51pm 30 May 2017
Copy link to clipboard 
Print this post

  Quote  Then will the 44 pin drive the 3.2 and up in 8 bit mode?


  Quote  A 2nd question is can I use the SD on the displays with the 170.



here
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 07:35pm 30 May 2017
Copy link to clipboard 
Print this post

It indeed looks like I may have been quite wrong on that then.
It would appear there is a SSD1963 parallel LCD driver for the 44-pin 170 chip as a paged driver - that may suit your purposes.

If I can get time over the weekend, I will find a 44, and load this driver and hook up a 3.2" LCD and try it out.

The 44 is a SMD chip though, not DIL, so if you were moving from the 28 to the 44, I would still be inclined to move up to the 64-pin MM+ chip, and take advantage of it's features over the 44. Just my 2c.
Smoke makes things work. When the smoke gets out, it stops!
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 10:03pm 30 May 2017
Copy link to clipboard 
Print this post

A hassle with small touchscreens is that the hand obscures the display

May be an idea worth considering, use a separate touchscreen (they are really cheap) either bigger/overlapped or to the right of the display...just a thought.
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 844
Posted: 11:34pm 30 May 2017
Copy link to clipboard 
Print this post


This one is SPI and 4" and 480 by 320 pixel resolution. Peter has supported it on the extreme, but a CFunction could probably make is work with a 28-pin 170 chip. You would have to come up with a backpack to suit it, but does give the larger screen and allows a socket for the PIC.i.e. can use the 28-pin 170 chip.
Latest F4 Latest H7
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 05:36am 31 May 2017
Copy link to clipboard 
Print this post

NICE FIND, DISCO4NOW!!!

I was completely unaware of that thread - must have missed it somehow.

That screen has possibilities, if we can get matherp to produce a stand-alone driver for the 170 series. Perhaps if he reads this thread again.....
Smoke makes things work. When the smoke gets out, it stops!
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 05:41am 31 May 2017
Copy link to clipboard 
Print this post

What about a keypad. :)

Microblocks. Build with logic.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 05:47am 31 May 2017
Copy link to clipboard 
Print this post

What do you mean?
Smoke makes things work. When the smoke gets out, it stops!
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 06:24am 31 May 2017
Copy link to clipboard 
Print this post

It was a bit in jest.
For "More room to make touch easier"
A keypad offers that and more. :)
Sometimes alternatives are overlooked.
I tend to use keypads in favor of a small touch screen as they offer tactile feedback.

Microblocks. Build with logic.
 
gumath
Newbie

Joined: 25/04/2017
Location: Austria
Posts: 10
Posted: 08:14am 31 May 2017
Copy link to clipboard 
Print this post

good evening my women and men

For simple text output I use Geoffs VT-100 terminal in connection
With cheap screens for rear cameras, is simple and cheap.
And I have a use for my MX-150.
For inputs I often use infrared remote control.
You need only a few pins, on the MX-170 and has enough pins
Free for other applications.

Vy 73 de Guenter, OE7GMT
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 529
Posted: 10:29am 31 May 2017
Copy link to clipboard 
Print this post


A big THANKS to everyone.

I have used keypads and even touch screen overlays
on silk screened glass panels with leds under the
touch point making a water proof touch panel keypad.
But the use of the LCD's with touch makes for very
streamlined devices. And with most every thing being
touch the UI is friendlier. Easy to change only software
to give each client a customized version.

The simple power of the 28 pin under MMBasic has done
more in far less time that all the other chip/code combos
I have ever used. It has replaced boards 10 times in size
and well over 100 times in cost.

I have a few of the 3.2, 3.5 and 4 on order going and
looking at doing 28 pin backpack along with click boards
for expandable i/o(probes). As this is on my own time and
cost I will post the journey.



 
GoodToGo!

Senior Member

Joined: 23/04/2017
Location: Australia
Posts: 188
Posted: 12:57pm 31 May 2017
Copy link to clipboard 
Print this post

@Quazee I look forward to seeing the posts!

GTG!
...... Don't worry mate, it'll be GoodToGo!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9083
Posted: 05:01pm 31 May 2017
Copy link to clipboard 
Print this post

If matherp does a driver for the 4" SPI LCD, I would definitely be into using that! I THINK it is just a matter of extracting the already-written Cfunction he has included in the MMX chip, but he would be the one to know about that.

Hopefully he will read this thread again, and put it on his to-do pile.
Smoke makes things work. When the smoke gets out, it stops!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024