Author Topic: Simulating a key press  (Read 1378 times)

0 Members and 1 Guest are viewing this topic.

Offline ganaps2Topic starter

  • Newbie
  • Posts: 1
  • Country: in
Simulating a key press
« on: May 28, 2017, 04:13:21 am »
I have a system that has membrane switches with contact pads on PCB connected to the microcontroller in a matrix fashion. Need to simulate the key press without the actual switches from an external microcontroller. Any idea of how to do this?
 

Offline Paul Moir

  • Frequent Contributor
  • **
  • Posts: 926
  • Country: ca
Re: Simulating a key press
« Reply #1 on: May 28, 2017, 04:19:12 am »
A bunch of opto-FETs too expensive?
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12860
Re: Simulating a key press
« Reply #2 on: May 28, 2017, 04:27:48 am »
That's the general approach, but if you have a common ground you can also use analog switches, and if its a regular matrix, an analog crosspoint switch can be a one-chip solution with a simple SPI interface.
 

Offline KL27x

  • Super Contributor
  • ***
  • Posts: 4103
  • Country: us
Re: Simulating a key press
« Reply #3 on: May 28, 2017, 08:22:32 pm »
Done this with keyboard... Bog standard BJT output optocouplers work fine in this case. Zero voltage drop of opto FET not necessarily needed.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf