6100 breakout board issues

I have one of these: http://www.sparkfun.com/products/8600

Although it looks like this: Untitled by mikehiow, on Flickr

I have supplied it 3.3V from an external power supply (to VBATT and 3.3v) and tried CS, SCK, DIO and Reset both straight from the Arduino and with voltage dividers (Some documentation suggested this was a simple case of doing Arduino->680 Ohm Resistor->T-off to display->680 Ohm Resistor->GND)

I'm using the Color LCD Shield library and connecting the pins up the same as the shield (CS=8, RESET=9,DIO=11,SCK=13), my screen had a red tag on it, so I'm led to believe it is an Epson unit, however I have tried the Phillips argument as well.

I cannot get it to fire up - the backlight lights up when supplied with 3.3v from a decent supply, but that is all that seems to happen.

If it makes any odds, I am using a Mega.

Any suggestions?

I have one of these: http://www.sparkfun.com/products/8600

Although it looks like this:

Then you really have one of these: http://www.sparkfun.com/products/11062

I'm using the Color LCD Shield library...

If you provide a link to the library you are using then you will have a better chance of getting some help.


This is the Library I tried: http://peterdavenport.posterous.com/pages/prodjects

I've also tried the library from here: http://arduino.cc/playground/S1D15G10NokiaLCD/S1D15G10NokiaLCD

Has no one had the 6100 breakout board working?


1st thing to check → the libraries you’ve pointed to - like MOST Arduino libraries - are written with Uno/Duemilanove in mind which DOES have SPI pins at 10,11,12,13 & you can use pin 9 for the RST

The SPI pins for Mega however are 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS) as per the Mega’s hardware page: http://arduino.cc/en/Main/ArduinoBoardMega. This means you’ll probably need to start by tweaking the code to point to the right pins. Furthermore, you probably also need to check with the ATmega1280 microcontroller’s datasheet whether the same SPI commandsets apply as compared to the ATmega168/328 families. Note that Arduino’s SPI library for some reason doesn’t work right with the LCD - probably because the SPI library is designed for 8 bit SPI while the LCD uses a 9 bit SPI convention.

My suggestion is → first try making the LCD work with the mega using “bit-banging”/ShiftOut SPI. Then try using the hardware SPI features of the microcontroller.

As an aside, i’ve the same breakout board working & have just recently released a graphics library for it called ArdGrafix6100 http://code.google.com/p/ardgrafix6100/. This is released under the Mozilla Public Licence v. 2.0 & currently supports Philips controller & is mainly built for Uno/Duemilanove. However, if you’re interested in helping port it for Mega/Epson controller, would be happy to collaborate :slight_smile:


I'm more than willing to port it to the Mega if you're willing to point me in the right direction. I'm new to C and the lower level stuff, but I'm a fairly apt developer and a fast learner, so I'm sure I could work it out with a nudge in the right direction.

I shall look at it later once I'm back on my Laptop.

Ok cool... I'll dig around my laptop tomorrow (it's really late in the night where I live right now) and see if I have my old Testing code which uses ShiftOuts lying around and share it for you to tweak for the mega. I seem to also recall there were some pieces of such code also in the Arduino play ground section for both Epson and philips controllers. Once your lcd works with ShiftOuts, porting the library will be much easier since only 5-6 functions are tied to the SPI and LCD controller specifics.