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 Wed 27 Aug 2014, 07:04
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 Posts_count  
Author Message
greengeek

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

PostPosted: Tue 02 Jul 2013, 15:54    Post_subject:  "Oneswitch Pup" keyboard modfication
Sub_title: 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   307 Time(s)

09Measure pins v close_.JPG


Edited_times_total
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2491
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   273 Time(s)

07Finished_.JPG


Edited_times_total
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2491
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   208 Time(s)

017_final_product700.JPG

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

001_entire_kbd700.JPG


Edited_times_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: 2491
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   243 Time(s)

switches.jpg

Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2491
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: 2313
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: 2313
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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