Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Input Devices


Reply
 
Share Thread Tools Display Modes
Old 12-18-2004, 05:59 AM   #1
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
light sensor, etc -> game port inputs

Hello
My name is Alexandre and I’m from Portugal.
I’ve been reading these posts for about 5 months, collecting ideas (while I get all the money for a “decent” project.

I have almost all the software that I need.

Since we have Grider and a plugin for connect a resistor variable command like the steering wheel control or a Sony rm-x4s remote, we can use the other axis and make a multi-input port (whith resistors) that can be used for other events like a light sensor (so it can automatic dim the screen), a cam switch (for the rear/side cam), radar detector (it could display a flash message when a signal comes in from the radar device), a door opened, buttons on the dashboard, …etc.

we just have to use a game port and a simple resistor connections.



And we just have to use the serial port to trigger the vis/dvd lock in Frodo, and we would have it all integrated.

What do you think about this??!!

Alex.

Ps: sorry for my English…
Alex Pt is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 12-18-2004, 03:20 PM   #2
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,158
Curiosity will become famous soon enough
Yep. You can use the gameport or a gamepad for just about any basic input, but I wouldn't suggest it for output of any kind or an accurate analog input. It's quite susceptible to RFI. For 12V detection I use a resistor and transistor, and for buttons it's just direct. I wouldn't use a photo resistor for dimming the screen, but all you need to do is calibrate by holding your finger over it and shining a light at it to get a good range. For dimming, what I have is a connection to the instrument panel dimmer that came off the HU connector. Here's a pic of what it looked like at first. Jjust think of it as a normally closed relay because it's kinda backward, and that white thing is a 2-pin connector to the dimmer line. Without power to the relay, the backlight inverter is powered by the lilliput, and when the lights are on they power the backlight through the 33 ohm resistor.
Attached Images
 
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 12-22-2004, 04:09 PM   #3
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
Hello.
Sorry but I was out these days.
I wasn't talking on using direct conections. For the dimming I could use a photo resistor but whith its own circuit trigering a relay, that would make grider to activate 'gama control'.
All the conections can be made through relay's.
But, of course, it would be easier to simply conect it to the instrument panel dimmer.

Thanks
Alex Pt is offline   Reply With Quote
Old 12-22-2004, 04:41 PM   #4
Registered User
 
mpattonm's Avatar
 
Join Date: May 2003
Location: Czech rep.
Posts: 655
mpattonm
I am thinking about pretty same. Have you guys considered using LPT port for ON-OFF like events?
mpattonm is offline   Reply With Quote
Old 12-22-2004, 08:10 PM   #5
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,158
Curiosity will become famous soon enough
The hard-wired backlight thing keeps the dark colors from looking grey and lighting up the inside of the car at night so I like part of it. Dark and somewhat adjustable.

I've been playing with voltage comparators recently and saw a good circuit for using a photodiode here on page 16 I think. R2 should be variable though, and using an LM311 you can reverse the output easier because it has a built in output transistor.

mpattonm, I don't have an LPT port, but I hear it's hard to read it on XP.
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 12-23-2004, 09:04 AM   #6
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
yeah, but we dont need a Lpt port. we can do it all with a joystick port.
with one axis we can use for the steering well or other remote like sony, and with the other axis we can put diferent resistors in paralel each one with a mini relay to act like a input port. that's what I was talking about.

Alex.
Alex Pt is offline   Reply With Quote
Old 12-23-2004, 10:05 AM   #7
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,158
Curiosity will become famous soon enough
It's actually real easy to do all this without relays. The first circuit is a photoresistor, variable resistor, and a comparator (LM339). The joystick button goes on or off when the photoresistor's resistance goes above or below the variable one. The second one goes on/off when the 12V input goes on/off.
Attached Images
 
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 12-23-2004, 03:38 PM   #8
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
yes, thats a good option, but that is for a button connection.
I think it has to be with a relay if I want to use it with an x axis or a y axis (using grider with the joypad plugin) because I need to put several inputs on a single axis (the other will be used for the sony remote that acts also like a variable resistance on key press).
Alex Pt is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 12-23-2004, 03:44 PM   #9
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
For the inputs conection I will need 2 120K resistors. Connecting those between 5V and the X and Y input (even without the sony stick) will supply somewhere around 2.5V to X and Y and act as a basic joystick to make the windows driver see a valid 2 axis joystick connected and centered (sort of) so it will load. Then with the sony stick connected and a button pressed it's like the 120K + another resistor in parallel lowering the resistance (each button is a different value and no press = open or 120K).
Alex Pt is offline   Reply With Quote
Old 12-23-2004, 04:31 PM   #10
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,158
Curiosity will become famous soon enough
Right. But if you connect a relay and resistor to the X input and that's the same as the steering wheel, it would change that value and all the steering wheel values would be offset at night (or day, depending). I don't know if the plugins handle it, but having button on or off for light/dark would be simpler.
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 12-23-2004, 04:43 PM   #11
Maximum Bitrate
 
sfay93's Avatar
 
Join Date: Feb 2004
Location: Omaha, NE
Posts: 777
sfay93 is on a distinguished road
Get a Directed Electronics 545T for people who don't want to build a circuit themselves. http://www.audioallies.com/getitem.asp?Item=545T&Sys=FR Just bought one of them for my wife's car for Xmas.
__________________
7" Lilli TS, Soyo K7VME, Semperon 2200, 160GB Maxtor, 512mb PC3200, Deluo GPS, Panasonic Slim DVD/CD RW, Linksys WMP545G , Opus 150w, XMDirect, XP Pro, FP, IG [XXXXXXXXX-] 90%
ATVMS.com
sfay93 is offline   Reply With Quote
Old 12-26-2004, 10:42 AM   #12
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
Curiosity,
no, because it will be connected to the y axis, when the seetring weel (or sony remote) will be connected to the x axis. the plugin work with both.
I need to try to see if it works with the button lines (joystick fire buttons). but I think it will.
Alex Pt is offline   Reply With Quote
Old 12-26-2004, 11:04 AM   #13
Newbie
 
Join Date: Jun 2004
Posts: 30
Alex Pt is on a distinguished road
You are right in one thing. With the same axis won't work becaus sony remote uses multiple resistor values (I'm showing here a table that I found for the rm-x2s). But it will work with the other y axis. However, If the plugin works with the fire buttons It would be better because that way we can use multiple inputs at the same time (whith the resistores on the y axis we won't be able to do it

0 Ω Off
2.2k Ω Source
4.4k Ω Mute
6.6k Ω List(Disp)
8.8k Ω Seek up
12.1k Ω Seek down
16.8k Ω Volume up
23.6k Ω Volume down
33.6k Ω Select
48.6k Ω Mode

I think the plugin will work with the fire buttons because they madethe plugin when there was a circuit with a conection to a fire button (for the Sift button).
I need to try but I dont have yet the game port-> usb (I've just tried with a usb game pad.) I'm waiting for it and for the sony remote.
Alex Pt is offline   Reply With Quote
Old 12-26-2004, 06:49 PM   #14
What can I say? I like serial.
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Posts: 2,158
Curiosity will become famous soon enough
Well, mine doesn't have events for just button up/down but I could easily add them. It just isn't as nice as the other girder plugins for the Sony remote.
__________________
XPort 1.41 -GPS port splitter, logger, and USB device resume fix
GPS DirectShow Filter / XOBD / MiniCam
Curiosity is offline   Reply With Quote
Old 12-26-2004, 07:03 PM   #15
Low Bitrate
 
linuxguy's Avatar
 
Join Date: Dec 2004
Location: Alabama
Posts: 78
linuxguy is on a distinguished road
Why not just use the parallel port, you can have up to 8 inputs and control 8 devices at the same time...with some creative sofware you can control your windows, door locks, hell even start your car (if you wanted to)...

I built a circuit board just for this (actually was a home automation project) but the board that connects to the parallel port is the same, its all opto-isolated to protect the pc's motherboard from over-voltages. I'll have to dig around and find the backup cd with all of my pictures on it. Its really an awesome setup
linuxguy is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
serial port to game port adapter wiring asif General Hardware Discussion 5 08-17-2006 05:47 PM
output software program for the game or LPT port??? 2k1civic Software & Software Development 43 11-21-2005 03:04 PM
WIP: new skin for NMC -> Light netsuo NeoCar Media Center 28 11-15-2004 03:36 PM
car audio wiring harness -> computer speaker port ?? nadir_s General MP3Car Discussion 11 01-07-2004 10:48 PM



All times are GMT -5. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics