I have a panel with a rotary switch and several toggle switches. I need to sense the switch positions and output them via USB. Any ideas of how to implement? Thank you, Dale
- posted
15 years ago
I have a panel with a rotary switch and several toggle switches. I need to sense the switch positions and output them via USB. Any ideas of how to implement? Thank you, Dale
The FTDI FT2232D is a USB peripheral chip that advertises a bit-bang mode.
That's all I know about it.
But it may be worth checking out.
-- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" gives you just what it says. See details at http://www.wescottdesign.com/actfes/actfes.html
here is a whole bunch of USB interfaces to have a look through:
Cheers Don...
-- Don McKenzie Site Map: http://www.dontronics.com/sitemap E-Mail Contact Page: http://www.dontronics.com/email Xbee Wireless Modules, and low cost Interface Boards. http://www.dontronics-shop.com/xbee-boards.html
These work with a little work.
How much work are you willing to do ?
donald
I'd map each switch to a bit stored in a register, file, etc. somewhere. Then output the register, file, etc. to USB (or whatever) either on some set schedule or whenever a bit changes.
JM
Rip apart a USB keyboard and use it?
USB game controller?
-- Adrian C
Get a parallel to USB adapter. One with EPP or ECP support.
-- Paul Hovnanian paul@hovnanian.com ----------------------------------------------------------------------- Have gnu, will travel.
Even better, I like it.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.