Author Topic: My project : the any key  (Read 6986 times)

0 Members and 1 Guest are viewing this topic.

Offline iwaszTopic starter

  • Contributor
  • Posts: 17
My project : the any key
« on: June 11, 2014, 08:55:58 am »
Hi my humble project implements button HID keyboard in fancy "emergency-button" casing, which you can reprogram to be any key or combination of keys you wish (open source hardware and software). It is made using Texas Instruments TIVA TM4C123 which is some kind of new incarnation of Stellaris micro as far as I know. The device was prototyped using Launchpad (http://www.ti.com/tool/ek-tm4c123gxl) which is great and I really love it. Then the PCB was designed (the launchpad schematic was invaluable) and programmed with the same Launchpad it was tested on. PCB mounted inside the case looks like that (eagle files are in my SVN, links in original blog post):



The case is some (rather cheap like $8 here where I live) Chinese "emergency-button" which originally was meant to turn a machine off in case of accident or something:



Firmware implements two interface USB HID device. HID Keyboard Descriptors were found on the Internet and modified by myself. Then additional software was made (GTK+ & C++) which interacts with the button (which at this time is also visible to the OS as oridinary keyboard) and enables the user to store almost any combination of keys (8 control keys + 6 regular keys) in the device. Main window of the app looks like this, these buttons you see below can be toggled. The combination of buttons pressed in will be sent to the host:



Finally after user presses the button, the combination is sent. It may be Play/pause (original intention before the reprogramming idea), Power, or Ctrl-Alt-Del and so on. Like hardware inverted keyboard-shortcut. More info at http://www.iwasz.pl/electronics/the-any-key/ (source code and PCB attached).
 

Offline mcinque

  • Supporter
  • ****
  • Posts: 1129
  • Country: it
  • I know that I know nothing
Re: My project : the any key
« Reply #1 on: June 11, 2014, 11:18:26 am »
Well done!  :-+
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7563
  • Country: nl
  • Current job: ATEX product design
Re: My project : the any key
« Reply #2 on: June 11, 2014, 12:20:52 pm »
And it solves the awesome problem:

"Keyboard not found. Press any key to continue!"
 

Offline Gribo

  • Frequent Contributor
  • **
  • Posts: 635
  • Country: ca
Re: My project : the any key
« Reply #3 on: June 11, 2014, 12:24:37 pm »
Do you have any plans for a foot pedal? Also, the MCU is a total overkill :)
I am available for freelance work.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7933
  • Country: de
  • A qualified hobbyist ;)
Re: My project : the any key
« Reply #4 on: June 11, 2014, 12:32:32 pm »
And it solves the awesome problem:

"Keyboard not found. Press any key to continue!"

Unfortunately not, you have to press F1 to continue. So we need also a F1 key.

BTW, this is a good example of over engineering. The simple solution is to take a label, print "anykey" on it and stick it to some key you never use.  >:D
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: My project : the any key
« Reply #5 on: June 11, 2014, 12:39:46 pm »
Nicely done.
================================
https://dannyelectronics.wordpress.com/
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11700
  • Country: my
  • reassessing directives...
Re: My project : the any key
« Reply #6 on: June 11, 2014, 03:43:09 pm »
man. 64pin chip for a big red emergency button for the keyboard combo something the idea i've never come across and hope will not be. congratulation! keep doing it you probably will get something from it. my emergency button is always 10 minutes drive to nearest pcshop.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6227
  • Country: us
Re: My project : the any key
« Reply #7 on: June 11, 2014, 04:42:18 pm »
And it solves the awesome problem:

Yes, a 8 pin IC would do http://digistump.com/category/1  but now the OP has a standard MCU that can do other and bigger things.  Good job!

I would use it as a Submit button for eevblog posts, you write the message and when done, Bang!
 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1272
  • Country: be
  • New Low
Re: My project : the any key
« Reply #8 on: June 11, 2014, 05:26:20 pm »
There's a croudfunding campaign running (and funded) for a similar idea:
https://www.indiegogo.com/projects/very-serious-button
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3816
  • Country: de
Re: My project : the any key
« Reply #9 on: June 11, 2014, 07:26:33 pm »
man. 64pin chip for a big red emergency button for the keyboard combo something the idea i've never come across and hope will not be. congratulation! keep doing it you probably will get something from it. my emergency button is always 10 minutes drive to nearest pcshop.

I have built a pedal like that using some surplus military switches and VUSB on an ATTiny. Works a treat. Sometimes devices like this come useful.

I am just surprised that someone has funded that Indiegogo campaign - Thinkgeek is selling a similar device for about half the price ...
 

Offline Wh1sper

  • Regular Contributor
  • *
  • Posts: 151
  • Country: de
    • Zockertown
Re: My project : the any key
« Reply #10 on: June 11, 2014, 07:56:47 pm »

BTW, this is a good example of over engineering. The simple solution is to take a label, print "anykey" on it and stick it to some key you never use.  >:D
I vote for the CAPS LOCK key it's the most shitty ugly useless resource waste everr!

Man how often I curse this bloody shitty thing!
 |O
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: My project : the any key
« Reply #11 on: June 11, 2014, 08:03:59 pm »
I vote for the CAPS LOCK key it's the most shitty ugly useless resource waste everr!

Man how often I curse this bloody shitty thing!
 |O

Reassign it to something else? I use it as Ctrl :-//
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline theatrus

  • Frequent Contributor
  • **
  • Posts: 352
  • Country: us
Re: My project : the any key
« Reply #12 on: June 11, 2014, 10:19:23 pm »
Remapping caps lock to control has changed my life, and not just due to Emacs usage.
Software by day, hardware by night; blueAcro.com
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8520
  • Country: us
    • SiliconValleyGarage
Re: My project : the any key
« Reply #13 on: June 11, 2014, 10:39:33 pm »
And it solves the awesome problem:

Yes, a 8 pin IC would do http://digistump.com/category/1  but now the OP has a standard MCU that can do other and bigger things.  Good job!

I would use it as a Submit button for eevblog posts, you write the message and when done, Bang!
screw that. we need at least a million transistors to make a button these days ! i don't get out of bed for less.
any dodo can hook up two wires. where's the fun in that ?
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6227
  • Country: us
Re: My project : the any key
« Reply #14 on: June 11, 2014, 10:56:10 pm »
screw that. we need at least a million transistors to make a button these days ! i don't get out of bed for less.
any dodo can hook up two wires. where's the fun in that ?

I remember that days were portable radios had "6 TRANSISTORS" written proudly all over them. The first radio I built had none, just a diode.  I like the almost free stuff we had these days.
 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1272
  • Country: be
  • New Low
Re: My project : the any key
« Reply #15 on: June 12, 2014, 02:42:01 am »
And it solves the awesome problem:

Yes, a 8 pin IC would do http://digistump.com/category/1  but now the OP has a standard MCU that can do other and bigger things.  Good job!

I would use it as a Submit button for eevblog posts, you write the message and when done, Bang!
screw that. we need at least a million transistors to make a button these days ! i don't get out of bed for less.
any dodo can hook up two wires. where's the fun in that ?
they have a special perk for you:
https://www.indiegogo.com/projects/very-serious-button/contributions/new?perk_amt=16&perk_id=2006375
 

Offline iwaszTopic starter

  • Contributor
  • Posts: 17
Re: My project : the any key
« Reply #16 on: June 12, 2014, 11:08:39 am »
Hi all

Do you have any plans for a foot pedal? Also, the MCU is a total overkill :)

YES, I know that this is too huge µC for the task, but the goal (I wrote this on my blog) was to make a simple project to learn new micros (TIVA in this case). This is HOBBY-diy gizmo, not meant to be reasonably designed :D No, foot pedal is not in my plans, but  the button is so huge, I suppose one could try to hit it with foot :D

There's a croudfunding campaign running (and funded) for a similar idea:
https://www.indiegogo.com/projects/very-serious-button

Thanks for that link! I was wondering about redesigning the thing on MSP430 and trying to sell it on the tindie or something, but something tells me that this is not as good Idea as I thought... But selling something on the Internet would be great experience and I want to try someday (must come up with another idea i guess though).
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: My project : the any key
« Reply #17 on: June 12, 2014, 11:18:58 am »
However, if you allow the button to be programmable from a PC (aka, pushing to button to perform a particular task, not necessarily keyboard related), there could be an easy market for it. For example, in doctor's offices or for PC-based medical devices.

I would also go with a easier / smaller mcu to lower the cost. There is a substantial opportunity here.
================================
https://dannyelectronics.wordpress.com/
 

Offline iwaszTopic starter

  • Contributor
  • Posts: 17
Re: My project : the any key
« Reply #18 on: June 12, 2014, 11:36:12 am »
There's a croudfunding campaign running (and funded) for a similar idea:
https://www.indiegogo.com/projects/very-serious-button

Maaan I'm amazed! It looks EXACTLY the same, and works quite exactly the same. I updated the post on my blog with this link...
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6506
  • Country: nl
Re: My project : the any key
« Reply #19 on: June 12, 2014, 12:49:40 pm »
you need to sell it as a package of five such buttons for left, right, up, down and fire.
The target audience are seriously addicted gamers so they at least get some excercise in their life.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf