Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 14:44
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
"Oneswitch Pup" keyboard modfication
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Tue 02 Jul 2013, 15:54    Post subject:  "Oneswitch Pup" keyboard modfication
Subject description: Modifying a keyboard to be an interface for the "OneSwitch" software
 

** See third post below for much easier mod**

This thread offers a tutorial that is intended to help people modify a keyboard so that it can be used as an interface for the "Oneswitch Pup" pet requested for the benefit of disabled users in the original thread here:
http://www.murga-linux.com/puppy/viewtopic.php?t=84617

Latest Oneswitch pet (at time of writing...) here:
http://www.murga-linux.com/puppy/viewtopic.php?t=87418

My original versions of SwitchPup here:
http://www.murga-linux.com/puppy/viewtopic.php?t=85466

******************
** See third post below for much easier mod**

It is difficult to post a proper tutorial on the forum due to the difficulty of putting multiple images into a single post, so the pdf version of this tutorial is a 1MB download available here:
http://www.mediafire.com/download/z9tur4lpq973j4f/Membrane_Kbd_mod_tutorial.pdf
(This tutorial is for a usb keyboard which in this cases uses a "membrane style" internal construction. I hope to post more tutorials for other types of keyboard - although the principles will be very similar)

Basically it is necessary to open up the keyboard, locate the cables that supply the "grid wires" that criss cross to each keyswitch, measure the pins till you locate the pair which come from the Pause/Break key, then solder a couple of wires and a resistor into that circuit. More details in the downloadable pdf.
09Measure pins v close_.JPG
 Description   
 Filesize   74.1 KB
 Viewed   328 Time(s)

09Measure pins v close_.JPG


Last edited by greengeek on Sat 27 Jul 2013, 20:34; edited 9 times in total
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Tue 02 Jul 2013, 15:54    Post subject:  

There is an easier way to achieve this:

SFR has written the oneswitch gui in such a way that we have complete control over which keyboard, and which keyswitch we use to trigger the mouse movement. Therefore I decided to try an external usb numeric keypad and use the "5" key in the middle of the pad to do the triggering.

EDIT : I recommend the silicon keyboard mod (shown in the post after this one) in preference to this modified numeric pad. (This numeric keypad mod does work but requires someone to manually switch off the numlock - at least until I find a mod to achieve this...)

The numeric keypad only cost me $6 so it is a cheap option - but does have one drawback - the numlock key has to be manually turned off after booting (I plan to add another mod to turn the numlock off automatically if I can)
(The silicon fullsize keyboard mod in the next post is probably a better option)

The numeric keypad mod tutorial is here:
http://www.mediafire.com/download/998cnqn99uc7nyr/Numeric_Keypad_modification2.pdf
07Finished_.JPG
 Description   
 Filesize   51.41 KB
 Viewed   288 Time(s)

07Finished_.JPG


Last edited by greengeek on Tue 30 Jul 2013, 21:44; edited 7 times in total
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Tue 02 Jul 2013, 15:54    Post subject:  

UPDATED 27 July 2013

I have found that the rollable silicon keyboards can easily be modified to be turned into a really nice hotpluggable usb interface for OneSwitch.

Tutorial here:
http://www.mediafire.com/download/ilam8sdc04d4f4m/Silicon_keyboard_mod_tutorial.pdf

If using this interface with my AutoStart version of switchpup (which uses SFRs new keyhunter script) it puts total control in the hands of the disabled user - without anyone else needing to do any configuration for them.
EDIT : (The latest Radar_firstrun version includes keyhunter now also)

Pups that don't have the keyhunter script will need a small manual change made to the "event" setting in OneSwitch. Details are included at the end of the tutorial.
017_final_product700.JPG
 Description   
 Filesize   135.67 KB
 Viewed   223 Time(s)

017_final_product700.JPG

001_entire_kbd700.JPG
 Description   
 Filesize   116.46 KB
 Viewed   222 Time(s)

001_entire_kbd700.JPG


Last edited by greengeek on Tue 30 Jul 2013, 21:37; edited 2 times in total
Back to top
View user's profile Send private message 
standard7452

Joined: 25 Feb 2013
Posts: 15

PostPosted: Thu 04 Jul 2013, 18:39    Post subject:  

The number keyboard is exactly what I did when I made my first switch interface.

I also had luck using one of the membrane type keyboards and lightly sanding off the super thin layer of insulation (if it is even the correct term) on the ribbon tape to expose a little copper and then soldering from there.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Fri 05 Jul 2013, 16:04    Post subject:  

For anyone who might someday need this sort of adapter I just found an interesting site that offers photos of hundreds of "accessibility" switches that could be used to connect to the keyboard/keypad adapters:
https://plus.google.com/photos/107312359187040052885/albums/5146160603440892097?banner=pwa

Seems as if the 3.5mm mono connector is a common choice so that is a happy coincidence.

Camera switches used by skydivers are another option:
http://conceptusinc.com/biteswitch.htm

Also found a site that uses the "oneswitch" name to promote their disabled assistive activities and products, so I'm hoping they do not feel our use of the name encroaches on their activities: http://www.oneswitch.org.uk/index.htm
switches.jpg
 Description   
 Filesize   92.1 KB
 Viewed   268 Time(s)

switches.jpg

Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: Sat 27 Jul 2013, 03:29    Post subject:  

Added another tutorial to my third post above - it shows how to use a "rollable silicon" keyboard as a donor to make a hotpluggable usb interface for OneSwitch.

This is a very easy, cheap and effective mod. (More effective than the numeric keypad mod which I need to improve due to a design oversight)
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2367
Location: Heart of Texas

PostPosted: Tue 30 Jul 2013, 21:16    Post subject:  

Cool I hope I saved mine, a new puppy (real dog.. not linux) teethed on one I had, Now if only I could find it. Most likely placed it in the rubbish-bin.
Still looking for my golden cache of soldering irons. I've used to have many and have not found a single one in the months since we started this project... Did find my 7th grade report cards, was not as good a student as I thought I was Confused
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2367
Location: Heart of Texas

PostPosted: Tue 30 Jul 2013, 21:29    Post subject:  

WOW that one switch website is a treasure, I do not think there will be much of an issue with name confusion, He is WAY WAY ahead of the effort we are just starting.
We should join forces.....


We could spend hours following his links... Laughing
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0718s ][ Queries: 13 (0.0054s) ][ GZIP on ]