Problems using matrix keypad

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time

Problems using matrix keypad

Post by TomasS »

Hi

I have made a small program using E-blocks EB014 (Keypad module) and EB005 (Displaymodule). (see attachment). It runs perfect. But then, If I try to run the program on the STK500 board, it gets sensitive to interference (50 Hz) picked up. This is not a problem on E-blocks.

Can anybody help me out?

BR

T.
Attachments
Keypad.fcf_avr
(14.5 KiB) Downloaded 219 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Problems using matrix keypad

Post by Benj »

Hello,

Are you connecting the ground signal when using the STK500 board?

TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time

Re: Problems using matrix keypad

Post by TomasS »

Benj wrote:Hello,

Are you connecting the ground signal when using the STK500 board?
Hi Ben

The matrix-keykad doesn't have a separate GND-pin - just 8 pins connected to a port on the STK-board. Which ground-signal are you refering to?

BR

Tomas

User avatar
Steve
Matrix Staff
Posts: 3434
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: Problems using matrix keypad

Post by Steve »

The D-type of the E-block has 9 pins - 8 signals plus ground (which I think is pin 9).

TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time

Re: Problems using matrix keypad

Post by TomasS »

Steve wrote:The D-type of the E-block has 9 pins - 8 signals plus ground (which I think is pin 9).
Hi Steve

I think you're right. We use this one https://www1.elfa.se/data1/wwwroot/asse ... 567831.pdf
But the problem is, that even just with the caple mounted (no keypad attached), the uC receives "data" and displays numbers in the display.

BR.

Tomas

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Problems using matrix keypad

Post by Benj »

Hello Tomas,

Could it be that the I/O on the board has pull up / pull down resistors or other circuitry attached to the I/O pins you are using for the keypad which is causing this false reading? With the keypad detached from the board the input pins are essentially floating so i'm not too surprised about the false readings in this scenario.

Note: this could be what the problem is. Are you using pull down resistors with the keypad as we do with the keypad E-block?
http://www.matrixmultimedia.com/datashe ... 4-30-1.pdf

TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time

Re: Problems using matrix keypad

Post by TomasS »

Benj wrote:Hello Tomas,

Could it be that the I/O on the board has pull up / pull down resistors or other circuitry attached to the I/O pins you are using for the keypad which is causing this false reading? With the keypad detached from the board the input pins are essentially floating so i'm not too surprised about the false readings in this scenario.

Note: this could be what the problem is. Are you using pull down resistors with the keypad as we do with the keypad E-block?
http://www.matrixmultimedia.com/datashe ... 4-30-1.pdf
Hi Ben

That did the trick! Problem solved!
Thank you! 8)

BR.
Tomas

Post Reply