Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 20th December 2006, 01:22 AM   (permalink)
Talking A new request

I would like some help or recomendation on how to get started on a circuit that interfaces with my computer. I just want to see how to connect a circuit to my comp via usb, serial or whatever. I would like to be able to make a simple toggle switch or button that my Windows Xp will recognize.
Bryan76 is offline  
Old 20th December 2006, 03:38 AM   (permalink)
Default

The hard part there is the software. You could do something as simple as shorting out the CTS signal on a serial port. Gotta have software that knows what that means and does something appropriate.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 20th December 2006, 04:00 AM   (permalink)
Default

Quote:
Originally Posted by Sceadwian
The hard part there is the software. You could do something as simple as shorting out the CTS signal on a serial port. Gotta have software that knows what that means and does something appropriate.
Whats the common thing to do? Write your own code?
Bryan76 is offline  
Old 20th December 2006, 04:03 AM   (permalink)
Default

I thought the Windows XP game controler software would auto detect it like it does other controlers...
Bryan76 is offline  
Old 20th December 2006, 04:32 AM   (permalink)
Default

Quote:
I thought the Windows XP game controler software would auto detect it like it does other controlers...
It'll only detect it if you emulate some existing hardware. Otherwise you'll just get the "I can't find the proper driver, let me search for the wrong one for you" message....
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 20th December 2006, 04:34 AM   (permalink)
Default

Is this a microcontroler type of problem?
Bryan76 is offline  
Old 20th December 2006, 04:49 AM   (permalink)
Default

Quote:
Is this a microcontroler type of problem
It definately is if you are intending on using a USB port.
For legacy stuff, like the old game port which used a DB15 connector, just some resistors were required to have a standard JoyStick detected. But beyond that, you'll have to write some code to interact with your non-standard device. I would start with something that uses the parallel or serial ports. This will be 1000x easier than attempting anything with the USB port.
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 20th December 2006, 05:16 AM   (permalink)
Default

Sounds good. My objective is to add just a few buttons or switches that windows will detect. I will start reading up on how to do this. I run alot of racing and flight sims and would like to create an ignition system for my cars. Something along the lines of a 2-3 button panel that windows will detect, this way I can program things like starting the engine with a press of the button on my panel and not be forced to search the keyboard for the correct button.
Bryan76 is offline  
Old 20th December 2006, 05:37 AM   (permalink)
Default

By the way thanks alot for your guidance kchriste
Bryan76 is offline  
Old 21st December 2006, 05:30 AM   (permalink)
Default

Quote:
Something along the lines of a 2-3 button panel that windows will detect, this way I can program things like starting the engine with a press of the button on my panel and not be forced to search the keyboard for the correct button
Hmmmm... Might work. There could be the issue that the game you are running will want to use your "joystick resistors" for steering as well. It depends on the game and how versitile the keymapping features of it are. The easy test would be to borrow an old analog joystick from a friend and test this theory first before building something.
Quote:
By the way thanks alot for your guidance kchriste
No problem!
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Request for the ES6425 datasheet " Pls help!!! Urgent!! Venus.hk General Electronics Chat 1 30th March 2006 06:09 PM
Illegal Request? Overclocked Chit-Chat 8 19th January 2006 04:18 PM
Datasheet Request Duplications ChrisP Feedback/Comments 6 18th May 2004 12:29 PM
request for a datasheet of any 74185 ic vinodp Datasheet/Parts Requests 1 2nd April 2004 12:29 PM
D313 transistor datasheet request polo Datasheet/Parts Requests 1 18th July 2003 08:56 PM



All times are GMT. The time now is 12:38 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker