Go Down

Topic: Question about PIC16C505 (Read 740 times) 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.
http://ww1.microchip.com/downloads/en/devicedoc/40192c.pdf
Ill keep investigating but If anyone could enlighten me I would really appreciate it.

Osgeld

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
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

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?

Pictures:
http://i.imgur.com/3ylnr.jpg
http://i.imgur.com/O10OY.jpg
http://i.imgur.com/7IQLE.jpg

Well regardless thank you for the quick reply!

Osgeld

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
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

westfw

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.

oric_dan

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