Go Down

Topic: Nokia 6100 LCD Display - Arduino Playground (Read 24898 times) previous topic - next topic

Moe Howard 2000

I can post my HEX file here and you can upload it to your arduino to see if its code or set up. Please note that I used the Phillips driver code using this pin setup:

#define SPIPORT PORTB
#define SPIDDR DDRB
#define CS 2
#define CLK 5
#define SDA 3
#define RESET 4


Hex File: http://ukohtq.blu.livefilestore.com/y1pwwnuqLbNseHMCfTA2-dL3KM9N5d6R316OJcUm7VCXRDCVzKEzf02Op1zehGc-TH0cugAJbW3J5oi8izxMJSEHg/Nokia_Phillips_1.hex?download

Based off of the work of Thomas Pfeifer at: http://thomaspfeifer.net/nokia_6100_display_en.htm

Thomas Jespersen

@Moe Howard 2000
Thanks, but the Sparkfun module is using the Epson driver!
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

Mike Mc

Did you manage to get this going? I was considering getting one of these but not if you have had trouble.

Thomas Jespersen

Nope, I didn't get it working!
I don't know if it's me who isn't connecting it properly (I've tried both the resistor and transistor method without luck), or if it's the display which isn't working :(
I haven't tried the 74LC chip method though!
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

CaptainObvious

I got the same problem here, I've tried a few different external power supplies and still only get a blank screen. No humming for me though, lol.

CaptainObvious

Well turns out it was my wiring is why my screen wasn't working! I have the LCD with the Epson driver, and has a voltage booster on board so no need for the external power supply!
I got it connected and was able to type whatever I want, with the like 12 colors the code had. Now my problem is.. I don't understand all of the code, was hoping there was a library out, I found one, but for some reason it's not working with the Arduino IDE I have.
http://blog.lukrop.bplaced.net/archives/Nokia-6610-LCD-+-Arduino.html

But the one that does work, doesn't have any libraries, and I just don't have the experience under my belt to make a library yet :P
http://gravitech.us/MicroResearch/Others/LCD6100/LCD6610_Arduino.pde

Thomas Jespersen

This one isn't Arduino code (http://blog.lukrop.bplaced.net/archives/Nokia-6610-LCD-+-Arduino.html)
It's C code which can be compiled with WinAVR for example!

I will take a look on the other.
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

Mike Mc


CaptainObvious

Haha, I'm so very confused now!

So, that was or wasn't Arduino code?

The only real issue I've had so far, is getting a good library. I've gone over the library writing tutorial a few times, and it seems pretty easy. Until I take a look at longer code that I'm trying to break down into a library, I get overwhelmed.
The second link I posted earlier, the code works, but it's more just sample code, no real useful commands. And I wasn't able to set a background color. Maybe it's just my in-experience.

Thomas Jespersen

#24
Jun 29, 2009, 07:15 pm Last Edit: Jun 29, 2009, 07:15 pm by tkj Reason: 1
Arduino Code is C code - Yes.
But the code you found that can't be compiled with the Arduino compiler is real C code - Arduino Code is an easier version of C (you don't need to include a lot of extra ATMEGA compiling related things)
When you click Compile in Arduino, your Arduino code is compiled to real C code, and then afterwards compiled to a HEX!
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

CaptainObvious

Oh.. haha, smooth.. go me :)
So, if that's the case, what about the zip files on the site? Those aren't Arduino compatible either?

I haven't actually tried the code it self so had no idea, but only because I haven't gotten the "libraries" to work. Or what I think/thought are libraries.

Thomas Jespersen

I'm not sure if the Libraries is Arduino compatible, but I don't think!
But I'm sure that the code snippet can't be used, as this line "#include <WProgram.h>" is allways added before HEX compiling, as that's the ATMEGA HEX Compiling Settings.
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

CaptainObvious

#27
Jun 29, 2009, 07:36 pm Last Edit: Jun 29, 2009, 07:37 pm by thoed Reason: 1
Well, from the pictures and what the guy says, it's all based on the Arduino setup. He said the library was written for the Arduino platform, not 100% sure if that's the same as the Arduino IDE (Assuming they're different)
I could have it all mixed up and be completely wrong, cause I don't have any technical idea of what's going on. I just read and hope it's right, lol :)
Thanks for taking the time to help me try understand :D Much appreciated.
Here's the setup the guy used with his LCD, using those Arduino files, but it was quite a while ago, so I'm not sure how the updated IDE would affect it.



Mike Mc

The Arduino is programmed in bog standard C, no different than any other C. It is based around the AVR-GCC libraries. What it does have is abstractions for the more 'advanced' stuff, i.e. port access, etc. and all they are is libraries sitting on top of C to make things easier for the user. Apart from that, any standard C program will work. If the C is for a different microcontroller you would obviously need to port it over to the hardware you are using, i.e. The Arduino.

Thomas Jespersen

Oh, thanks for that information Mike Mc.
It's good to know another time ;)

So the library CaptainObvious has found can be used with Arduino IDE? Then why can't it be compiled?
Need any help with your electronics projects?
TKJ Electronics, a consultancy company located in Denmark (Europe), has the required ex

Go Up