Solved

Programmable illuminated "Push Button"

Posted on 2013-02-04
6
501 Views
Last Modified: 2013-02-24
This might be more in the "hobby electronics" category, but I'm wondering if anybody knows of a potential product or component that might work here:

I'm looking for a push button that I can fairly easily connect to a computer that can serve these functions:

   - Connect to the computer via some kind of standard interface (USB?)
   - Programmable API, driver or software to configure what happens when the button is pushed (e.g. execute a program?)
   - Programmable API, driver or software to configure when the switch is and is not illuminated (e.g. a program can send a "command" to the button to illuminate or not)

I know this is a pretty "generic" device... probably something closer to what Sparkfun or some other hobby electronics place would sell.

There's lots of pushbuttons out there, even illuminated pushbuttons, but making them talk to the COMPUTER without getting elbows deep into an Arduino or something is what I'm having trouble with.

Any ideas?
0
Comment
Question by:Frosty555
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 27

Expert Comment

by:aburr
ID: 38852524
Get an illuminated push button which has a separate lead to the lamp. Make a simple lamp driver with a single transistor and connect the base of the transistor. Connect the base to one of the programable wires in a usb connector. Another wire can be an input from the switch to the computer. (Make sure the voltages on the usb wires are reasonable.)
0
 
LVL 31

Author Comment

by:Frosty555
ID: 38864904
I'm not sure I'm following you. You are suggesting you can write a driver that talks to a USB device and the USB device interface can be a simple as one single transistor connected to the data line?

Do you have any further information or details? What language would you write the driver in? Are there any examples of this sort of thing being done?
0
 
LVL 27

Expert Comment

by:aburr
ID: 38865204
You are suggesting you can write a driver that talks to a USB device and the USB device interface can be a simple as one single transistor connected to the data line?
yes

Do you have any further information or details?
not much


 What language would you write the driver in?
any

Are there any examples of this sort of thing being done?
yes but I do not have any handy


--
The usb output has two data lines (pin 2 and 3) Each has two states. Can you program the lines?

The usb device is a simple one transistor switch with the collector tied to one end of the bulb in your switch with the other end of the bulb tied to the +5 usb line (pin 1). The base goes to the data line (through a resistor). The emitter is tied to ground (pin4)
Can you design a simple transistor switch?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 31

Author Comment

by:Frosty555
ID: 38874522
aburr,

I don't think this is going to work. Like I said I wanted to avoid creating this whole thing from scratch. I'm sure the transistor switch is fairly simple, but even writing a USB driver will prove to be overly challenging too - for one thing even after it is written it won't be signed by Microsoft, so installing it onto a system - which prohibit non-signed drivers and the only workaround being to disable it via a boot flag - is going to be difficult...

I need something higher level than what you are proposing here. Either a product that already does something like this, or ideas for what kinds of products I can cannibalize.
0
 
LVL 31

Accepted Solution

by:
Frosty555 earned 0 total points
ID: 38905881
This sort of functionality seems to be addressed by enthusiasts of old arcade games. I can use something like a Jamma Board to emulate joystick button presses.

Then use a utility like Joy2Key to turn those button presses into executing a command, emulating a keystroke or some other function.

http://www.jammaboards.com/store/joysticks/

http://www-en.jtksoft.net/
0
 
LVL 31

Author Closing Comment

by:Frosty555
ID: 38922745
found my own solution
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Nicole
This is a research brief on the potential colonization of humans on Mars.
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question