digital-car.co.uk    

Go Back   digital-car.co.uk > Information > Installs

Reply
 
Thread Tools Display Modes
Old 24-03-2008, 06:27 PM   #76
dan__wright
Senior Member
 
dan__wright's Avatar
 
Join Date: May 2005
Location: UK
Posts: 881

dan__wright
Quote:
Originally Posted by Enak View Post
Sorry this is taking so long... I've abandoned the game controller as the circuit they've used to interface with the buttons is well over the top and gives only 4 usable inputs without extra circuitry.

My plan now is to use an 18F USB pic and directly interface (single chip). This solution is cheeper and less work. However to program the PIC to act as a USB game controller may require some work. Although the foundation code is available and should be easy enough to program for.

Option 2 is to use a Phidget and simply write an easy interface for a analogue voltage comparitor. Although this means a custom program on the PC to interface with the front end. Something I wanted to avoid by sticking to a simple gamepad.

I'm just waiting for some Microchip samples to arrive and I can get coding.
or option 3, get a k8055 board which is cheaper than phidgets and use my software that i wrote that i published on here ;)
__________________
Audio: Alpine PXA-H700 DSP, Rockford Fosgate Punch P4004 amp, P152S Comps, Helix Dark Blue 4 Amp and Alpine SWR-1242D Sub
PC: BU-303, SB Audigy 2 ZS, Jetway 1.5Ghz, Cubid case, M2-ATX PSU, New 700tsv
My Install
dan__wright is offline   Reply With Quote
Old 24-03-2008, 07:32 PM   #77
MC_Stoo
Moderator
 
MC_Stoo's Avatar
 
Join Date: Apr 2004
Location: Manchester UK
Posts: 5,033

MC_Stoo will become famous soon enough
Blimey you guys must be psychic - I was just pondering what what happening with this only this afternoon
__________________

My Farcebook Page| Best Dashboard Install 2005 & 2007 ::::car now sold::::
MC_Stoo is offline   Reply With Quote
Old 25-03-2008, 05:35 PM   #78
Enak
Advanced Member
 
Enak's Avatar
 
Join Date: Sep 2005
Location: Hertfordshire, UK
Posts: 1,830

Enak is an unknown quantity at this point
Quote:
Originally Posted by dan__wright View Post
or option 3, get a k8055 board which is cheaper than phidgets and use my software that i wrote that i published on here ;)
Only problem with the K8055 is that I believe it requires constant polling to monitor the inputs. A hardware based solution would be needed for button presses and the like. Or am I completely wrong? Could the K8055 be used to monitor button presses?
Enak is offline   Reply With Quote
Old 27-03-2008, 06:38 PM   #79
Enak
Advanced Member
 
Enak's Avatar
 
Join Date: Sep 2005
Location: Hertfordshire, UK
Posts: 1,830

Enak is an unknown quantity at this point
The K8055 looks to be the perfect solution to getting button presses into the computer with minimal effort using some software.

But I still want to continue with my PIC project because it will provide a simple solution for people wanting a straight forward steering interface.

However this research has led to Phidgets and these provide the ultimate solution for interfacing the PC with everything. Specifically because of the Phidgets Plugin for Centrafuse. However they are a little pricy but may be worth it as the sensors available allow you to interface the kits with virtually anything.
Enak is offline   Reply With Quote
Old 27-03-2008, 08:01 PM   #80
dan__wright
Senior Member
 
dan__wright's Avatar
 
Join Date: May 2005
Location: UK
Posts: 881

dan__wright
yes you are right, you have to constantly poll the board and see whats going on, i poll it every 50ms and not had it miss a button press yet, i could add how often to read it to the ini, that way you can increase or decrease it as needed.

there is no noticeable cpu use from the app (apart from a spike on initial connection)
__________________
Audio: Alpine PXA-H700 DSP, Rockford Fosgate Punch P4004 amp, P152S Comps, Helix Dark Blue 4 Amp and Alpine SWR-1242D Sub
PC: BU-303, SB Audigy 2 ZS, Jetway 1.5Ghz, Cubid case, M2-ATX PSU, New 700tsv
My Install
dan__wright is offline   Reply With Quote
Old 28-03-2008, 01:05 PM   #81
ShawJohn
Senior Member
 
ShawJohn's Avatar
 
Join Date: Oct 2005
Location: O'er yonder-ill - Lancashire
Posts: 820

ShawJohn is an unknown quantity at this point
Send a message via MSN to ShawJohn
Does this frequent polling not slow the PC down somewhat?
__________________
Silverstone (Trax2006)
Car's Spec Sheet & Pics
Stealth 200SX-PC Fitted, OEM type Screen Bezel

v5:D201GLY2, FI/iGo8, 10nf M2-ATX, 1gb DDR2, 80gb SATA2 2.5"HDD,7" Lilli TS, PCI 802.11n, USB: MicroKeyb, HoluxGR-213GPS, Silabs FM
Custom Steel case/120mm fan
ShawJohn is offline   Reply With Quote
Old 28-03-2008, 01:49 PM   #82
dan__wright
Senior Member
 
dan__wright's Avatar
 
Join Date: May 2005
Location: UK
Posts: 881

dan__wright
not that ive noticed.
__________________
Audio: Alpine PXA-H700 DSP, Rockford Fosgate Punch P4004 amp, P152S Comps, Helix Dark Blue 4 Amp and Alpine SWR-1242D Sub
PC: BU-303, SB Audigy 2 ZS, Jetway 1.5Ghz, Cubid case, M2-ATX PSU, New 700tsv
My Install
dan__wright is offline   Reply With Quote
Old 24-04-2008, 02:26 PM   #83
Enak
Advanced Member
 
Enak's Avatar
 
Join Date: Sep 2005
Location: Hertfordshire, UK
Posts: 1,830

Enak is an unknown quantity at this point
A little update... I've been playing with some PICs and working various code to do the interface... The issue now is my programmer isn't compatible with the newer 18F variants and I need to purchase a newer one. I also don't have some much spare time.

However, I have found a much better, cheeper solution. A USB to Gameport Adapter. They cost about £10, have a friendly D connector and work out of the box. All I need is some software to interface.

The one I have is a Sitecom CN-108. Next step is to wire it into the steering wheel. The other benefit is that it is quite small and also could add push buttons easily if you wanted.

Pinouts: http://www.allpinouts.org/index.php/PC_Gameport

Last edited by Enak; 24-04-2008 at 02:33 PM.
Enak is offline   Reply With Quote
Old 26-04-2008, 12:49 AM   #84
Enak
Advanced Member
 
Enak's Avatar
 
Join Date: Sep 2005
Location: Hertfordshire, UK
Posts: 1,830

Enak is an unknown quantity at this point
This evening I have finally got round to installing the camera gommer sourced from the east!

Just a teaser until I can post more pictures (and finish the wiring).

Enak is offline   Reply With Quote
Old 27-04-2008, 11:37 AM   #85
James
Advanced Member
 
James's Avatar
 
Join Date: Feb 2004
Location: Dunstable, Beds, UK
Posts: 3,939

James is on a distinguished road
Send a message via MSN to James
nice feet :)
__________________
Site Admin - digital-car.co.uk

Projects: W:R4 Project Diary : 6 Wheeled 200kg Robot
James is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Forum Jump
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 12:55 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Website Hosted by
www.wicked-websites.co.uk