Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
orskavto
Normal user
Posts: 21
Joined: 21 Feb 2024, 14:49

Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#1 Post by orskavto » 22 Feb 2024, 10:20

I have a 4*4 matrix keyboard
Image
and an I2C 8-channel expansion module based on PCF8574
Image
I connect it like this
Image
I tried using "Keypad - PCF8574 / MCP23017/PCA8575", However, there is no Chip (Mode) in this plugin : PCF8574(Matrix 4x4)
There is only a Chip (Mode) : PCF8574(Matrix 5x4)
Image
CF8574 mode(Matrix 5x4) does not work with a 4x4 keyboard :(
Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

TD-er
Core team member
Posts: 8755
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#2 Post by TD-er » 22 Feb 2024, 10:23

I don't see why not. (like 5x4 should work with a 4x4 keypad)

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#3 Post by Ath » 23 Feb 2024, 21:13

You did follow the wiring instructions included in the P061 documentation I presume?
/Ton (PayPal.me)

orskavto
Normal user
Posts: 21
Joined: 21 Feb 2024, 14:49

Re: Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#4 Post by orskavto » 24 Feb 2024, 06:18

Yes, I used P061
Today I decided to check the keyboard. It turned out that the keyboard was defective.
Her buttons are stuck.
I separated the film and heated it with a hair dryer 100 degrees Celsius. the film had a stress release and it took the correct shape.
Now everything is working as it should.
I think film keyboards are not very reliable.

User avatar
Ath
Normal user
Posts: 3519
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#5 Post by Ath » 24 Feb 2024, 09:59

Ah, great you got it working!

Don't know where you got it from, but it may have been squashed somehow during shipping or storage, causing the buttons to get stuck.
/Ton (PayPal.me)

TD-er
Core team member
Posts: 8755
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#6 Post by TD-er » 24 Feb 2024, 10:38

Yes those film keypads are only for occasional use.
They are also not as "weatherproof" as they are advertised to be.
On the other hand they are quite cheap, so keep that in mind when designing an enclosure for them to design it in such a way you can actually replace it without having to re-make your entire enclosure. (or PCB)
So better use pinheaders and some replaceble plate where you can glue the pad to.
Or make some slide-in mechanism which can also act as water stop.

orskavto
Normal user
Posts: 21
Joined: 21 Feb 2024, 14:49

Re: Is it possible for ESPEasy to connect a 4x4 matrix keyboard?

#7 Post by orskavto » 25 Feb 2024, 05:31

I think that in the final version I will replace the keyboard with a push-button one. 8-)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 28 guests