Switch Positions to USB Conversion

Jul 16, 2008 8 Replies

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:

formatting link
you may find something suitable there.

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

formatting link

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.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required