Author |
Message |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Sat Jul 04, 2009 3:23 pm Subject: How to drive GLCD with Controller AVANT SBN0064G |
I uploaded a video showing exactly what I am getting now. The "Volts" text no longer appears !! (note the blinking green LED in the bottom right corner, that is PIN_A0)
http://tinypic ... |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Sat Jul 04, 2009 3:11 pm Subject: How to drive GLCD with Controller AVANT SBN0064G |
Hi,
I commented out the line #define FAST_GLCD, and it didn't make any difference.
I did notice though that sometimes the lcd displays partly the text "Volts:" and the text shakes for ... |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Tue Jun 30, 2009 9:14 am Subject: How to drive GLCD with Controller AVANT SBN0064G |
To try and figure out what could be wrong, I wrote the following routine:
#include <18F46K20.h>
#fuses XT, NOWDT, PUT ,BROWNOUT, NOLVP
#FUSES NOXINST //Extended se ... |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Tue Jun 30, 2009 5:09 am Subject: How to drive GLCD with Controller AVANT SBN0064G |
Thanks again for the response. I fixed the wiring as you suggested (4 wires), and it's still showing nothing (screen is blank)
What else could be the reason ? |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Mon Jun 29, 2009 8:29 pm Subject: How to drive GLCD with Controller AVANT SBN0064G |
GLCD ----------- PIC
4 (RS) ---------- 35 (B2)
5 (RW) ---------- 37 (B4)
6 (E) ------------- 38 (B5)
7 ------------- 19 (D0)
8 ------------- 20 (D1)
9 --------------- 21 (D2)
10 ------------- ... |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Mon Jun 29, 2009 5:49 pm Subject: How to drive GLCD with Controller AVANT SBN0064G |
I don't think that is the cause of the problem as I tried to get some text displayed on a basic 2-line LCD, and it worked perfectly fine.
I changed the fuse to HS anyway to see if it would make a ... |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Mon Jun 29, 2009 5:22 pm Subject: How to drive GLCD with Controller AVANT SBN0064G |
Thanks for the response.
I tried running a simple software on to see if I got the right driver, but screen is showing nothing (blank), not even garbage characters.
#include <18F46K20.h>
... |
Topic: How to drive GLCD with Controller AVANT SBN0064G |
seme1
Replies: 13
Views: 19186
|
Forum: General CCS C Discussion Posted: Mon Jun 29, 2009 8:47 am Subject: How to drive GLCD with Controller AVANT SBN0064G |
I have a graphics lcd with the controller AVANT SBN0064G. I have seen the example code provided with CCS, but it was for a different controller.
The GLCD datasheet is
http://download.maritex.com ... |
Topic: Displaying 150 different custom characters on a 2-line LCD |
seme1
Replies: 4
Views: 5880
|
Forum: General CCS C Discussion Posted: Wed Jun 24, 2009 2:13 pm Subject: Displaying 150 different custom characters on a 2-line LCD |
I am still out of luck finding a manufacturer selling 2 line LCDs with bigger CG ROMs...
Could anybody please help ? or give some pointers to where I can find them ? |
Topic: Displaying 150 different custom characters on a 2-line LCD |
seme1
Replies: 4
Views: 5880
|
Forum: General CCS C Discussion Posted: Fri Jun 19, 2009 3:05 pm Subject: Displaying 150 different custom characters on a 2-line LCD |
Thanks for the fast response.
Can you please provide more details on where you got your units from ? or links to different manufacturers,, or what terms to use when searching google, or any other hi ... |
Topic: Displaying 150 different custom characters on a 2-line LCD |
seme1
Replies: 4
Views: 5880
|
Forum: General CCS C Discussion Posted: Fri Jun 19, 2009 2:31 pm Subject: Displaying 150 different custom characters on a 2-line LCD |
I have a 2-line LCD (Powertrip pc1602f) that can only store 8 custom characters. I need to display the characters of a language other than English on the LCD (150 different characters) .
Is there a ... |
Topic: Problem with INTRC + 18F46K20 |
seme1
Replies: 8
Views: 11177
|
Forum: General CCS C Discussion Posted: Sun Jun 14, 2009 4:37 pm Subject: Problem with INTRC + 18F46K20 |
Thanks alot...
It turned out I was missing the pull-up resistor. It's working now fine. |
Topic: Problem with INTRC + 18F46K20 |
seme1
Replies: 8
Views: 11177
|
Forum: General CCS C Discussion Posted: Sun Jun 14, 2009 3:07 pm Subject: Problem with INTRC + 18F46K20 |
I am testing it on a hardware board.
I just compiled and ran your code, and it kept B0 HIGH all the time. I then tried the following
output_high(PIN_B0);
delay_ms(500);
... |
Topic: Problem with INTRC + 18F46K20 |
seme1
Replies: 8
Views: 11177
|
Forum: General CCS C Discussion Posted: Sun Jun 14, 2009 1:28 pm Subject: Problem with INTRC + 18F46K20 |
I tried reducing the delay time from 1000 ms to 10 (delay_ms(100) ) hoping that it would make it work. Unfortunately, it didn't make any difference (B1 is HIGH while B0 is LOW)
:cry ... |
Topic: Problem with INTRC + 18F46K20 |
seme1
Replies: 8
Views: 11177
|
Forum: General CCS C Discussion Posted: Sun Jun 14, 2009 7:38 am Subject: Problem with INTRC + 18F46K20 |
I just tried with pins B0 and B1 instead of A0 and A1 and it didn't make any different. I then tried replacing the section inside the while loop with the following
while(TRUE){
o ... |
|