![]() | ![]() | ![]() |
| | #211 |
| Mark, not Matt. I have experimented with another mounting method, which I am using now. I drill a hole through the board, square it off with a file, and put the connector through the board, soldering the connectors to contacts. It means you have to pull the metal contacts down and they are really tough to deal with. It's hard to explain, but I'll take some pictures later tonight.
__________________ Mark Higgins | |
| |
| | #212 |
|
This is the board I'm currently using, but I'm making some more that are slightly updated. Same mounting method, though. Bending the pins to solder to the boards is pretty tricky as they are really springy. I have to use a needle nose pliers to pull them back first, then I use an exacto knife to hold them down as I solder them. The copper is pretty tarnished. I didn't coat the board as I wasn't sure if I would have to change anything. Here's the updated Eagle file with both the old and the new footprints. http://www.higginstribe.com/sam7/lcd...-lcd7110.2.zip I can't attach documents with the image server down, because the button isn't there. I'll edit and attach once it's fixed. ![]() ![]()
__________________ Mark Higgins Last edited by DirtyLude; 1st October 2009 at 02:32 AM. Reason: Attached images | |
| |
| | #213 |
|
Mark. ![]() I like the way the board sits flat with the new design. It looks like I can use the drilled PCB with a new foil pattern. 3v0
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #214 |
|
I've attached the images now. The LCD is so useful and easy to use, it's a big asset. I've ported the library to Stellaris and stripped down a version for the MSP430, that I might strip down even more to just using capital letters. I'm planning on using the LCD in a box with a touchscreen on top of it. The touchscreen is bigger than the LCD, but I can make static touch areas outside the LCD dimensions. I have one enclosure that is almost perfect, but just slightly too small for the touchscreen, which bumps into the mounting hardware for the screws. I'll take the touchscreen to my local electronics store next time I go. They have a pretty big selection of enclosures.
__________________ Mark Higgins | |
| |
| | #215 |
|
A PCB with a precision interior hole looks like a good reason to try (learn) isolation milling to make the PCB. I need to see if I can dig up a useable V milling bit. 3v0
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #216 |
|
Hi Jason, I've decided to play around with my old Nokia 7110 display. I did some google searching to see what all the other hobbyists get up to with them, and what do I find? You're already way ahead of me. Cool! So I've taken a look at your code and most of it seems sensible. I'm hoping to use the SSP module to do the talking though so we'll see how that goes. Anyway, having had a brief look at your code I came across your reset function: void LCD_Reset(void){ CS = 1; Delay1KTCYx(17); //Delay 85mS RST = 1; Delay1KTCYx(17); //Delay 85mS Now, it is my understanding that the reset function is active-low. So, should your code not be something like: Code: void lcd_reset (void)
{
RST = 0 ; // I previously defined RST as the relevant pin on my PIC
delay (14000) ; // Wait some time (this number is specific to my own delay function)
RST = 1 ; // Return RST high
delay (14000) ;
}
I like the progress you guys are making with a suitable home made connection adaptor. I'd be very interested to keep in touch with this thread and see how you get on with it, because I could use one myself. Cheers, Brian | |
| |
| | #217 |
|
Also, I have this (very nit-picky) comment to make about the comments in your main () function: You wrote: LCDt = 0x00; LCD_Init(); CLS(); LCD_Send(0xB0,0); //Page 0 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" AtomSoft",1); LCD_Send(0xB2,0); //Page 1 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)"New Tech.",1); LCD_Send(0xB3,0); //Page 0 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" New World",1); LCD_Send(0xB4,0); //Page 1 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" New You",1); LCD_Send(0xB6,0); //Page 1 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" Thank You",1); while(1){ } But, it appears the page numbers are incorrect in some places (only in your comments). Should it not read: LCDt = 0x00; LCD_Init(); CLS(); LCD_Send(0xB0,0); //Page 0 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" AtomSoft",1); LCD_Send(0xB2,0); //Page 2 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)"New Tech.",1); LCD_Send(0xB3,0); //Page 3 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" New World",1); LCD_Send(0xB4,0); //Page 4 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" New You",1); LCD_Send(0xB6,0); //Page 6 (0xBx (x = page)) LCD_Send(0x11,0); //Column Upper Nybble (0x1x) (x = upper Nybble) LCD_Send(0x02,0); //Column Lower Nybble (0x0x) (x = upper Nybble) LCDString((rom unsigned char*)" Thank You",1); while(1){ } Keep up the real good work! You're way ahead of me that's for sure. Mine isn't working at the moment. I can't get my initialise function to work. I'm in one of those horrible situations where I'm not quite sure if my code is not working, or if the LCD is actually faulty. But it's such a big job to swap the LCD (I've hard wired it) that I'm persevering with the code for now.... :-/ Bri | |
| |
| | #218 |
|
those are the comments only... the code is ok. Thats just my demo code to show text in certain areas on screen. I just copied and pasted and got lazy on comments
__________________ AtomSofts eBay Store AtomSoftTech: C18 TIPS & TRICKS v9 PDF Nokia 6100 Driver/Software My Name: Jason Lopez http://atomsofttech.info/ | My YouTube Videos! My Favorite Store: dipmicro Electronics | |
| |
| | #219 |
|
Yep I understand that they're your comments and that the code is okay, that's fine. I've often found myself making similar CTRL-C, CTRL-V errors. Just thought I'd point them out in case you wanted to change them ![]() Still no luck with my own code. I've found this website: sed1565 based displays (serdisplib) And I think I'm going to build the interface described and try his PC based software. That will at least confirm that the LCD is definitely working. At the moment, any time I work on the code my mind is clouded with doubts about the display so one way or another I think I need to clear that up. I checked out your You Tube page by the way. Very cool stuff. Cheers, Brian | |
| |
| | #220 |
|
heh good luck and i hope your screen is fine oops... forgot to say thanks for the tip.
__________________ AtomSofts eBay Store AtomSoftTech: C18 TIPS & TRICKS v9 PDF Nokia 6100 Driver/Software My Name: Jason Lopez http://atomsofttech.info/ | My YouTube Videos! My Favorite Store: dipmicro Electronics Last edited by AtomSoft; 4th November 2009 at 03:31 PM. | |
| |
| | #221 |
|
Well, the parallel port test is out because I've discovered that there is no parallel port on my PC's motherboard!!! So, in the interests of proving this one way or another, I copied your code over and modified it to suit my compiler. It compiles okay, and when I scope the clock and data lines I can see... well... clock and data, but still there is no response on the LCD. So now, more than ever, I am doubting the display. Time to swap it out, I think. Damn. Bri | |
| |
| | #222 |
|
Sorry to hear that. If i was you i would get a older laptop at least with a parallel port. Will run you about $100 if you look around. Install XP on it and use it as a testing PC. Well worth it. I bought me a laptop like that...
__________________ AtomSofts eBay Store AtomSoftTech: C18 TIPS & TRICKS v9 PDF Nokia 6100 Driver/Software My Name: Jason Lopez http://atomsofttech.info/ | My YouTube Videos! My Favorite Store: dipmicro Electronics | |
| |
| | #223 |
|
Yeah I think you're right. The bizarre thing is, they've gone to the trouble to include an RS232 port but not a parallel port. I wonder if there is actually a parallel port on the motherboard but they've not bothered to provide a connector for it... might be worth a look. Anyway, I've swapped the LCD out, and STILL there is no response. So either there is something inherently wrong with what I'm doing, or I've got two faulty displays in a row. I'm beaten for the moment. Think I need to come away from it for a bit! I need to confirm that my display is definitely okay before I go any further I think, otherwise I'm just going to keep going round in circles. Bri | |
| |
| | #224 |
|
Draw a full schematic and take a picture if possible and show put all your code up here and ill see what i can find
__________________ AtomSofts eBay Store AtomSoftTech: C18 TIPS & TRICKS v9 PDF Nokia 6100 Driver/Software My Name: Jason Lopez http://atomsofttech.info/ | My YouTube Videos! My Favorite Store: dipmicro Electronics | |
| |
| | #225 |
|
I'm getting somewhere! I managed to get hold of a known good LCD and with it I've determined the following: My code doesn't work ![]() Your code does work ![]() Previous LCDs were faulty ![]() So all I need to do now is figure out why my code is failing. Mine is written quite different to yours because I'm using the internal SSP module. I'm betting that it'll be some quirk in the way I've set up the SSP module to communicate that's causing the problem. I know that my code sends out the correct data because I've checked it on my DSO, but perhaps there's a problem with the way the normal logic level for the clock is set (high or low), or whether the data is sent on the rising or falling edge, or some silly setting like that. I'm now going to capture the data sent when I load your code, and compare it to the data sent when I load my code. Back later! Brian | |
| |
|
| Tags |
| 96x64, controller, graphic, lcd, nokia7110, sed1565, w or |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Graphic LCD | baberjaved | Micro Controllers | 2 | 13th November 2007 05:01 PM |
| Graphic LCD | flemmard | Micro Controllers | 1 | 13th September 2007 03:32 AM |
| interfacing of PIC16F877A with graphic LCD controller T6963c | rosamma | Micro Controllers | 1 | 24th March 2007 12:29 PM |
| graphic LCD PIC MCU | tom_electronic | Micro Controllers | 4 | 28th February 2006 12:29 PM |
| graphic lcd help | jijita | General Electronics Chat | 1 | 18th August 2004 07:32 AM |