![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| i found this source: http://www.piclist.com/techref/micro...4bLCD-Lock.htm in keypad i put 4k7 pull-up resistors where row0-3 of keypad are pinned to rb0-rb3 respectively...and col0-2 are directly pinned to ra0-ra2 respectively... the lcd works nicely but the pic only accept input from button 1 and 4 only... can anyone correct my mistake with the keypad interfacing. thanks in advance... | |
| |
| | (permalink) |
| You could have a look at my PIC tutorials, where I show how to use a hex keypad, complete with circuits and veroboard layouts. | |
| |
| | (permalink) |
| thanks a lot for the tutorial...but in our country only pic16f84a are available in market...can you tell the modification needed in your codelock source code and schematic suitable for pic16f84a. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| planning to pinned the row1-4 in rb0-rb3 respectively and col1-col3 in ra0-ra2 respectively...and put a 4094 8-stage shift-and-store bus register...so rb4 to CP, rb5 to D, rb6 to E and rb7 to RS...i save two pins ra3 and ra4...this two can now use for output. sir, will this configuration work to your codelock? | |
| |
| | (permalink) | |
| Quote:
BTW, don't forget, RA4 is an open collector output pin, it can only sink current not source it. | ||
| |