Go Down

Topic: Question about PIC16C505 (Read 1 time) previous topic - next topic


I have a PIC16c505 attached to a keypad I'm not too sure how it works but how would one go about retrieving values from the keypad? I took a look at the info but i wasn't too sure how one would go about receiving the information via arduino.
The document I was looking at is right here.
Ill keep investigating but If anyone could enlighten me I would really appreciate it.


Arduino is mainly an AVR based universe, if we were PC, your speaking Amiga

its not impossible to get some PIC micros working with AVR, but people make a big deal about getting even partial compatibility

now you could remove the pic and retrofit a Arduino compatible chip in there, but you are going to have to provide more information and do some investigation with a multimeter


I can just link you pictures if that's okay I didn't make the keypad itself I was apart of something I just took it off and was trying to use it with a project but what you're saying is that they aren't compatible?


Well regardless thank you for the quick reply!


yea there is a couple ways to go about it, one is to remove the pic and figure out how the buttons work tap in from there, another is to see what data format the pic is putting out and interpret it, which is going to be hard to do without some nerd tools, yet another is see what the pic is doing with the buttons and tap in the lines, same as #1 but not removing it if its not causing trouble

but yea its going to be incompatible from a plug-n-play standpoint


The PIC16C505 is a microcontroller similar to the chip used on the Arduino.  It could be programmed to implement any number of different ways of sending the button info out the connector.  You could "guess" at "serial" or "ps/2 keyboard" and MAYBE get somewhere, but it's not an easy task.


The original link is just the datasheet for the PIC, and doesn't explain anything about the
board. That is a very old style PIC, which has no on-chip peripherals whatsoever, such
as I2C or RS232. The "C" version is before-flash, so the chip could be programmed one time
only, so you're stuck with the existing code, short of unsoldering the chip from the board.

However, the I/F has 4 wires, no doubt 2 being power/gnd and 2 being control/comms.
I would look at the control/comms lines on a scope and try to figure something out. First
check if the lines are input or output. Maybe data comes out constantly. Proceed from there.

Go Up