Pages: [1]   Go Down
Author Topic: Question about PIC16C505  (Read 683 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 137
Posts: 6805
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2927
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pages: [1]   Go Up
Jump to: