KeyPad detects it and transmits TX Output

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

KeyPad detects it and transmits TX Output

Post by Monie Jacobsen »

Two all C programøre

When a key is pressed the 16F84 micro detects it and transmits
the ascii character for that key on a 1 wire rs232 interface.

Are there anybody who would please help me with the codes here under?
And please after this make a HEX file or Flowcode 5.2 for PICmicro file.
I do not know how to do it.

I hope it is the wright place i ask this question

The original C codes (KeyPad 4x4) Se http://www.viddata.com/keypad_hardware.htm

I have bought and want to use KeyPad 4x3 Se: http://www.matrixmultimedia.com/datashe ... 4-30-1.pdf

I would be very happy if somebody will converter the codes to KeyPad 4x3.
So i could use KeyPad 4x3 together with Flowcode 5.2 for PICmicro

Best regards
Monie
Best Regard
Monie

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Enamul »

Hi,
You can have a try with the attached program and let me know how its going..
Enamul
Attachments
KEYpad_Rs232.fcf
(13.5 KiB) Downloaded 443 times
Enamul
University of Nottingham
enamul4mm@gmail.com

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Monie Jacobsen »

For Enamul
Thank you very much
It was just what I was looking for :-)

I make some tests and returns back!

Best regards
Monie
Best Regard
Monie

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Monie Jacobsen »

For Enamul

How can I print the key number forom Display Port D on ECIO40P
When the signal coming from Keynumber PIC16F628
Please see the 2 attached files
Would you please give me an example of output at ECIO40P display?
Attachments
RS232KeyOutputDisplay.fcf
PECIO40P
(11.5 KiB) Downloaded 435 times
KEYpad_Rs232.fcf
PIC16F628
(13.5 KiB) Downloaded 407 times
Best Regard
Monie

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Enamul »

How can I print the key number forom Display Port D on ECIO40P
When the signal coming from Keynumber PIC16F628
Please see the 2 attached files
Would you please give me an example of output at ECIO40P display?
Here is an example of ECIO40P display program...You have to put LCD start macro first...
Note: What you want to do please explain in details I can help you then..
Are you trying to read keypad data using PIC16f628 and send that using RS232 and receive by ECIO40P and display that in LCD which is connected to PORTD?
Please let me know!!
Enamul
Attachments
RS232KeyOutputDisplay.fcf
(10 KiB) Downloaded 424 times
Enamul
University of Nottingham
enamul4mm@gmail.com

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Monie Jacobsen »

To Enamul
Sorry, I meant when number was the election of PIC628 (independent entity) then with a wire over to ECIO40P RX input
See the picture below ilustrationen

Yes
I trying to read keypad data using PIC16f628 and send that using RS232 and receive by ECIO40P and display that in LCD which is connected to PORTD?
Attachments
RS232-Signal.jpg
Illustration
(157.41 KiB) Downloaded 4961 times
Last edited by Monie Jacobsen on Mon Jul 30, 2012 7:34 pm, edited 1 time in total.
Best Regard
Monie

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Enamul »

HI,
Ok...The idea is what I said..
Here is the program..you have to use RS232 component in both transmitting and receiving PIC...
Enamul
Attachments
RS232KeyOutputDisplay.fcf
(9.5 KiB) Downloaded 451 times
Enamul
University of Nottingham
enamul4mm@gmail.com

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Monie Jacobsen »

To Enamul
It works very well
I will here from Denmark tell you many thanks for your great help and your great patience.
Good Evening to you and your family.
Attachments
RS232Char.png
OK - This command I did not know
(2.69 KiB) Downloaded 7335 times
Best Regard
Monie

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by dazz »

Hi monie

Can you sign up to the v5 forums please
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Monie Jacobsen
Posts: 484
Joined: Mon Jul 30, 2012 3:39 pm
Has thanked: 17 times
Been thanked: 46 times
Contact:

Re: KeyPad detects it and transmits TX Output

Post by Monie Jacobsen »

To Enamul
I am sending you a private PM (Send private message)

And OK to dazz;-)
Best Regard
Monie

Post Reply