Author |
Message |
Topic: Data logging in PIC16F877A |
Marq
Replies: 2
Views: 3545
|
Forum: General CCS C Discussion Posted: Sat Nov 28, 2009 8:30 am Subject: Data logging in PIC16F877A |
Currently, i have both humidity and temperature sensor in my circuit where the readings is output to a LCD_module. But i wonder how can I retrieve this temperature and humidity readings from the PIC16 ... |
Topic: Modifying kbd.c (from ccs) to use in PORT_D |
Marq
Replies: 1
Views: 3926
|
Forum: General CCS C Discussion Posted: Sun Oct 11, 2009 4:00 am Subject: Modifying kbd.c (from ccs) to use in PORT_D |
The below codes is taken directly from the ccs kbd.c, and i want to change it to apply in PORT_D(i am using PIC16F877A ). What
changes i should make to the code?
Furthermore, what are this value ... |
Topic: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
Marq
Replies: 14
Views: 21404
|
Forum: General CCS C Discussion Posted: Sun Oct 11, 2009 3:44 am Subject: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
If i intend to use this 4x4 keypad code and applied it to my PORT_D then i should comment out the followings:
//set_tris_b(0xF0);
//output_b(0xF0);
//port_b_pullups(true);
And i should applied ... |
Topic: Is PIC spoiled easily? |
Marq
Replies: 2
Views: 3069
|
Forum: General CCS C Discussion Posted: Sat Oct 10, 2009 9:05 pm Subject: Is PIC spoiled easily? |
Thanks for the reply, i think my PIC burn out due to over voltage (it really get hot), it shouldn't be the problem with the programmer.
Because i am drawing voltage from the ac to dc adaptor at (9V s ... |
Topic: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
Marq
Replies: 14
Views: 21404
|
Forum: General CCS C Discussion Posted: Sat Oct 10, 2009 8:33 pm Subject: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
I have gone through the review that you have directed me to, it really help thanks.
But from your 4x4 keypad driver i still have some doubt on the following line:
void kbd_init()
{ ... |
Topic: Is PIC spoiled easily? |
Marq
Replies: 2
Views: 3069
|
Forum: General CCS C Discussion Posted: Fri Oct 09, 2009 8:25 pm Subject: Is PIC spoiled easily? |
I have encountered some problems, when I am using a new PIC16F877 and try to program the coding onto it. At the first few times of trying it works just fine, but then the error come in like exp: rom e ... |
Topic: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
Marq
Replies: 14
Views: 21404
|
Forum: General CCS C Discussion Posted: Thu Oct 08, 2009 9:12 am Subject: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
1) I come across to your keypad driver coding and notice that the following:
void kbd_init()
{
//set_tris_b(0xF0);
//output_b(0xF0);
port_b_pullups(true);
}
Do we need to unchecked t ... |
Topic: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
Marq
Replies: 14
Views: 21404
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2009 3:11 am Subject: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
From the code below, it only define lcd pin4 to pin7 how about lcd pin0 to pin3 not using it?
#define LCD_DB4 PIN_D0
#define LCD_DB5 PIN_D1
#define LCD_DB6 PIN_D2
#define LCD_DB7 PIN_ ... |
Topic: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
Marq
Replies: 14
Views: 21404
|
Forum: General CCS C Discussion Posted: Tue Oct 06, 2009 7:23 am Subject: Interfacing 4x4 keypad to 2x16 hd44780LCD Driver |
I am currently need to connect 4x4 kepad to the hd44780 lcd driver with 40 pin pic16f874A, and I'm using ccs c compiler. I am new to c programming, can someone guide me on the hardware connection of t ... |
|