DIY keyboard

Nagging hardware related question? Post here!
User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: DIY keyboard

Post by XorA »

Derek_Stewart wrote:HI,

I used a 1N4148 Signal Diode, the idea is to join to signals to a switch but not short them out.

The diode stops reverse signal flow.

Would join 2 connections to one switch without shorting out the source.

I tried some ASCII art, but the Forum software seems to strip out white spaces.

Code: Select all

  | | |
   - -
Use a code block!


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: DIY keyboard

Post by Andrew »

Derek_Stewart wrote:HI,

I used a 1N4148 Signal Diode, the idea is to join to signals to a switch but not short them out.

The diode stops reverse signal flow.

Would join 2 connections to one switch without shorting out the source.

I tried some ASCII art, but the Forum software seems to strip out white spaces.
Can you please draw a raugh schematics and post it here?


User avatar
Ruptor
Gold Card
Posts: 418
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

Re: DIY keyboard

Post by Ruptor »

Nasta said
Nasta wrote:No. All keys must be wired between one row and one column line.
The reason being that you don't have one signal when both keys are being looked at you have two input signals and two read lines. You need to operate two independent switches at once. Could it be fudged with diodes & passive components I don't know.

signal A -----o__o------ read A

signal B -----o__o------ read B

Off the top of my head perhaps using a switch that was attached to the gates of two FETS might achieve it.

----signal A -----d__s------ read A
Gate 1 >>>>>>>> |
----signal B -----d__s------ read B
Gate 2 >>>>>>>> |
5V--singleKEY-----|

Well that was fun trying to get things in the right place.


User avatar
bwinkel67
QL Wafer Drive
Posts: 1187
Joined: Thu Oct 03, 2019 2:09 am

Re: DIY keyboard

Post by bwinkel67 »

Derek_Stewart wrote:I tried some ASCII art, but the Forum software seems to strip out white spaces.
ASCII art will work in forum if you put it within the Code block tag. You'll have to create it outside fo the forum because the built-in editor uses kerned font but the Code tag will use monospace font when you preview or submit.

Code: Select all

__________________           __
\_________________|)____.---'--`---.____
              ||    \----.________.----/
              ||     / /    `--'
            __||____/ /_
           |___         \
               `--------'


User avatar
Ruptor
Gold Card
Posts: 418
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

Re: DIY keyboard

Post by Ruptor »

bwinkel67 wrote:ASCII art will work in forum if you put it within the Code block tag
Oh! that's what XorA meant with the dots & dashes. :roll: I thought it was morse code. :lol: Thanks.


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: DIY keyboard

Post by Derek_Stewart »

Hi,

The ASCII art is very nice, I am not an artist, so struggle a litgle.

With regards to the keyboard controlling 2 lines like CTRL and C to give the change of job function, 25 years ago I think I tried guiding the lines with signal diodes, but it did not really work, but I used 2 Transistors with the base of each transistor base attached to the keyboard switch and the common and emitter attached to the keyboard line.

Once switch is pressed a high signal is passed to each transistor which switches on each keyboard line.

I will draw up what I mean.


Regards,

Derek
Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: DIY keyboard

Post by Derek_Stewart »

Ruptor wrote:
bwinkel67 wrote:ASCII art will work in forum if you put it within the Code block tag
Oh! that's what XorA meant with the dots & dashes. :roll: I thought it was morse code. :lol: Thanks.
ASCII Art, was used in the old pre-ANSI BBS days when all that was available was a text based terminal.

A bit like this Forum.

ANSI screens like in QLTERM, QTPI etc ... allowed very limited colour graphics.


Regards,

Derek
User avatar
Ruptor
Gold Card
Posts: 418
Joined: Fri Dec 20, 2019 2:23 pm
Location: London

Re: DIY keyboard

Post by Ruptor »

Derek_Stewart wrote:Once switch is pressed a high signal is passed to each transistor which switches on each keyboard line.
Look up ^ :)


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: DIY keyboard

Post by Derek_Stewart »

Ruptor wrote:
Derek_Stewart wrote:Once switch is pressed a high signal is passed to each transistor which switches on each keyboard line.
Look up ^ :)
Yes, same solution, over 30 years later.

I first looked for a 4pole keyboard seitch, which werenot made in 1992.

I tried to modify MX style switch to accept 4 wires, switching 2 separate lines. This nearly worked, but not very stable.

So my solution back then was to fit 2 transistors, or as previousily stated "FETS"... to the comverted Memotech MTX512 keyboard which housed a QL board with Trump Card, later on a Super Gold Card.


Regards,

Derek
User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: DIY keyboard

Post by Andrew »

Still have a lot to do, but at last the keyboard is working.
I'm not happy with the keyboard connectors, so I'll have to build new ones.
And not happy with decals I bought for the keyboard - if anyone knows where to buy some decals with large arrows, QL style, please let me know.
255481579_950605345665778_2638826295655881480_n.jpg


Post Reply