Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Sarge

  • Rank

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location
  • Interests
    Computers, Gaming, Programming, Electronics
  1. Yes, I moved it to RA0 and left RW and E where they were.
  2. I was under the impression that that was referring to the upper or lower nibble of the port on the PIC. Just to see I tried hooking up DB0-DB3 to RC0-RC3 and there is no noticeable difference.
  3. There should have been a post above that said I think I fragged the LCD. I then asked what LCD's do when they die. Well I'm not to sure it is dead anymore. I just think it isn't sending the necessary signals or something. Err now I am thinking I might have fragged it again. Ahh so confused. EDIT: Found broken solder joint. I am going to fix it then try again and see if luck is on my side. Broken connection is DB7. EDIT: ...No luck. How can I see a flashing cursor when I first try cac001's code, not I see the top line all blocks... EDIT: Pulled out all of the LCD conn
  4. It kind of worked but I think I just fragged it... What do LCD's typically do when they die?
  5. Well the problem now is I don't exactly know why it isn't working. Here is the code: main_lcd.c #include <system.h> #include "lcd_drv.h" #pragma CLOCK_FREQ 4000000 #pragma DATA 0x2007, _HS_OSC & _WDT_OFF void main() { lcd_setup(); porta = 0; lprintf( "4Bit test :-)" ); while(1){ ; } } lcd_drv.h (Slightly modifed version of lcd_driver.h) I removed comments at start to shorten this post: #define LCD_ARGS 1, /* Interface type: mode 0 = 8bit, 1 = 4bit(low nibble), 2 = 4bit(upper nibble) */ \ 1, /* Use busy signal: 1 = use busy, 0 = use time delays */\ PORTC,
  6. I played around with one and it compiled, but doesn't work. I'm 99% sure it isn't the wiring. It's probably the signals sent to the LCD, but I am not sure what ones are right for my LCD. I basically just slightly modified the lcd_driver.h file that comes with SB IDE. Here is my project on my webserver, zipped: http://tekcube.ath.cx/lcd.zip Thanks!
  7. I have been looking for code to control it and modify it to control it. It doesn't even compile, thats how I know if it works or not.
  8. I pretty much have nothing code wise or wiring wise, so I don't have anything to provide other then the fact that I want to use a 16F688 to control an LCD. I contacted the LCD manufacturer for two things here is the response: "The EW24210BFW uses the NT3881 chipset. All EDT character modules are 8 bit interface." The NT3881 datasheet: http://www.datasheets.org.uk/datasheet.php?article=2582472 Thanks again.
  9. Sounds easy enough but how is that going to look in code compatible with the 16F688?
  10. Is there a trace I need to solder for 4 bit or something? I know it isn't a wiring problem, because I haven't even been able to get a working program compatible with a 16F688. As for the display driver, its gooped up and I am not seeing anything that is clearly the display driver model. Oh and the contrast is on a pot (I have tested and confirmed that works).
  11. Well I am new to PIC's and obviously LCD's so, this is all uncharted territory for me. The LCD is http://www.allelectronics.com/cgi-bin/item..._LINE_LCD_.html The datasheet: http://www.allelectronics.com/spec/LCD-113.pdf I didn't write my own functions because I have no idea where to start.
  12. Please someone help me out. I've been trying for almost a week to get a 16F688 driving an LCD (4 Bit). I've tried EVERY language in the Source Boost system and I've scoured the darkest corners of the net for code. I have tried the samples that come with Source Boost and nothing works. I have tried to modify each and every bit and byte of code I have found. I am to the point where I am damn near ready to give up. Can anyone lend me a much needed hand? Thanks 999 Trillion!
  • Create New...