CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

NetMedia 2X16 LCD
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Aug 19, 2004 11:07 am     Reply with quote

Quote:
When I use INVERT it becomes hot. My chip become so hot, I am afraid it burned.


When the software USART is put into INVERT mode, the idle state
from the RS232 Tx pin (pin B7) is a logic low level (0 volts).

So if your PIC becomes very hot when it puts out a 0v level on the
Tx pin, then something is very wrong. Just putting out a logic low level
should not cause this problem. I think you have the Tx pin connected
to the wrong pin on the LCD.

I think you need to study the manual that came with the LCD, and
make sure you have the Tx pin (pin B7) on the PIC connected to
the Rx pin on the LCD. Also connect a wire between the Ground pin
(Vss) on the PIC and the GND pin on the LCD. Also connect +5v
to the +5v pin on the LCD and the PIC.

I can't fix your wiring problems over the internet. You will have to
study the LCD manual and fix it.
Guest








PostPosted: Thu Aug 19, 2004 11:23 am     Reply with quote

It looks rightnow it is working. I will do final tunning about the program.
Guest








PostPosted: Thu Aug 19, 2004 11:31 am     Reply with quote

I do not know what is the reason, but the thing is I have to connected the RA5/MCLR?VPP pin to high to see the output.

Thank you PCM!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Aug 19, 2004 11:41 am     Reply with quote

Quote:
I do not know what is the reason, but the thing is I have to
connected the RA5/MCLR/VPP pin to high to see the output.


Download the 16F819 data sheet, here:
http://ww1.microchip.com/downloads/en/DeviceDoc/39598d.pdf
Look at Figure 12-2 "Recommended MCLR Circuit".
It shows that MCLR must be connected to Vdd (+5v for your circuit)
with a 1K resistor.
Guest








PostPosted: Thu Aug 19, 2004 12:38 pm     Reply with quote

Thank you very much, I am thinking to ask you about it, you already got the answer. I really appreciate it.


Best regard
Guest








PostPosted: Tue Aug 24, 2004 2:05 pm     Reply with quote

I find another problem with it. That is when I use printf("reading:%lu",i) or puts("another try");the LCD does not show stable characters, it sometimes show weird characters, what might be the correction?
Guest








PostPosted: Tue Aug 24, 2004 2:20 pm     Reply with quote

I setup the output location, but it does not follow the command to the position. my cursor position command is
Code:

void LCDSetCursorPos(int8 x, int8 y)
{
   putc(17);
 //  delay_ms(10);
   putc(y);
 //  delay_ms(10);
   putc(x);
   delay_ms(100);
}

what might be wrong?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group