Hi guys,
I have tested successfully for Keypad 4x4 by referring the MikroC user manual keypad library coding.
I did test on 7Hz only which trigger interrupt and fed into CLKIN as clock signal.
However, I found out when I use HS mode, 20Mhz external crystal oscillator to run testing, it seem the output result doesn't working as expected.
Does anyone here can suggest idea how to solve this ?
Regards
Linspire
PIC18F4520 & MikroC & Keypad 4x4
Re: PIC18F4520 & MikroC & Keypad 4x4
Hi,
I successfully tested Keypad 4x4 on EasyPIC, using 18F4520 and 20 MHz crystal.
In the attachment I'm sending you the project that demonstrates this.
The keypad is connected to the PORTC, so you should pull-down PORTC lines.
Regards,
Filip.
I successfully tested Keypad 4x4 on EasyPIC, using 18F4520 and 20 MHz crystal.
In the attachment I'm sending you the project that demonstrates this.
The keypad is connected to the PORTC, so you should pull-down PORTC lines.
Regards,
Filip.
- Attachments
-
- Keypad 4x4.rar
- (18.89 KiB) Downloaded 319 times
Re: PIC18F4520 & MikroC & Keypad 4x4
Guys,
I'm stuck on writing on for the keypad code.
How am I supposed to write the logic which work like this:
1. Firstly get user input for storing the data file name. (I done this )
Eg: My keypad allow user key in alpha/numeric to make data file name said: 123abc.txt
2. After storing the data name(123abc.txt), I want to let user to select option from keypad which are
i. Get user to key in the data into the data file
Eg: User key in 1234567, the data will be stored into text file
ii. Or let user pass data directly from hardware interface
second steps (2.) process will be keep repeating.
This is what I'm trying to achieve now.
My PIC18F4520 will be interfaced together with LCD 16x2, SD Card, KEYPAD 4x4, RFID reader for purpose storing data from user or from RFID reader.
I'm confused right now.
Regards
Linspire
I'm stuck on writing on for the keypad code.
How am I supposed to write the logic which work like this:
1. Firstly get user input for storing the data file name. (I done this )
Eg: My keypad allow user key in alpha/numeric to make data file name said: 123abc.txt
2. After storing the data name(123abc.txt), I want to let user to select option from keypad which are
i. Get user to key in the data into the data file
Eg: User key in 1234567, the data will be stored into text file
ii. Or let user pass data directly from hardware interface
second steps (2.) process will be keep repeating.
This is what I'm trying to achieve now.
My PIC18F4520 will be interfaced together with LCD 16x2, SD Card, KEYPAD 4x4, RFID reader for purpose storing data from user or from RFID reader.
I'm confused right now.
Regards
Linspire
Re: PIC18F4520 & MikroC & Keypad 4x4
Does anyone can suggest opinions how to solve it ?
I'm still stuck around.
Linspire
I'm still stuck around.
Linspire