Solved

Programmable illuminated "Push Button"

Posted on 2013-02-04
6
491 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
  • 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have purchased two new systems and both are now Universal Extensible Firmware Interface (UEFI) based. UEFI is replacing BIOS for the desktop PC. It is a Linux based firmware with enough robustness it can communicate with a website without loading …
This article seeks to propel the full implementation of geothermal power plants in Mexico as a renewable energy source.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now