Arduino Forum

Using Arduino => Displays => Topic started by: Nattress on Mar 12, 2014, 05:06 pm

Title: Will this screen work and how
Post by: Nattress on Mar 12, 2014, 05:06 pm
Hi I'm new to arduino I'd like to know would this screen work
http://imall.iteadstudio.com/im120419001.html (http://imall.iteadstudio.com/im120419001.html)
With the mini pro arduino. I'm trying to make a smart watch if these aren't compatible please suggest alternatives.
Thank you in advance :)
Andrew
Title: Re: Will this screen work and how
Post by: Grumpy_Mike on Mar 12, 2014, 05:14 pm
Quote
would this screen work

Yes looks like it would.

However, unless you can find a library then you will have to write the code yourself which might be beyond you at the moment.

Edit.
Just looked at the web site deeper and there are libraries for the arduinio.
Title: Re: Will this screen work and how
Post by: Nattress on Mar 12, 2014, 05:20 pm
Part number is ITDB02-1.8SP
And it is on the Imall website
Title: Re: Will this screen work and how
Post by: raschemmel on Mar 12, 2014, 05:21 pm
http://henningkarlsen.com/electronics/library.php?id=51   (http://henningkarlsen.com/electronics/library.php?id=51)
Title: Re: Will this screen work and how
Post by: Nattress on Mar 12, 2014, 05:23 pm
Wow thanks I've never used a forum before you've been a great help will this work with the pro mini arduino ;)
Title: Re: Will this screen work and how
Post by: Grumpy_Mike on Mar 12, 2014, 05:25 pm
Quote
will this work with the pro mini arduino

Yes
Title: Re: Will this screen work and how
Post by: Nattress on Mar 12, 2014, 05:26 pm
Are you sure as it isn't listed in the compatablilty
Title: Re: Will this screen work and how
Post by: Grumpy_Mike on Mar 12, 2014, 05:27 pm
Yes I am very sure.
Title: Re: Will this screen work and how
Post by: Nattress on Mar 12, 2014, 05:29 pm
Well thank you very much!!!!!! :D
Title: Re: Will this screen work and how
Post by: raschemmel on Mar 12, 2014, 05:36 pm
If it will work with an UNO it would work with a Pro-Mini but some Pro-Minis are 3.3V. That would be perfect for this display because it is 3.3V as well.  If your Pro-Mini is a 5V version then you may need to provide level conversion using a CD4050  or CD4050E , or 74LVC245 ic. All the pins on the interface are inputs. (see attached diagram)
Title: Re: Will this screen work and how
Post by: raschemmel on Mar 12, 2014, 05:45 pm
SCL & SDA are I2C signal names and the description says it is serial so if you are not familiar with I2C you may want to learn something about that and you may (or may not) need 4.7k ohm pullup resistors on SDA (to A4) and SCL (to A5) which are shown in attached image
Title: Re: Will this screen work and how
Post by: Grumpy_Mike on Mar 12, 2014, 09:28 pm
Quote
SCL & SDA are I2C signal names and the description says it is serial

Yes but if you look at the sample code you will see it is not I2C, sometimes these names are used for SPI or SPI like interfaces because they are serial as well as I2C.
Title: Re: Will this screen work and how
Post by: raschemmel on Mar 12, 2014, 09:37 pm
Code: [Select]
For 1.8inch SPI TFT LCD
*************************/
//#define [signalname] [Pro-Mini pin#]
#define SCL 6
#define SDA 7
#define RS 8
#define WR 9
#define CS 10
#define RST 11
 


Right you are...