|
 |
|
09-22-2002, 06:14 AM
|
#1
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
Simulate key press right before shutdown
Hi guys I got a question....
Im using
Mpxplay
Dos
Via epia mini itx (533mhz)
20x4 Noritake Character VFD
The Opus power supply which has 10 second power off
keyboard controller card from a keyboard hacked to use with custom buttons... mounted on faceplate of player....
ok now here's my question
I need to somehow simulate a key being pressed in under 10 seconds after turning off the car.. because my power supply has a 10seconds that it remains on... because MPXplay has an option to save track position and exit the program to dos from a single key press... so is there a way to simulate a key press or a short between to wires... all i need is to make a two wire contact that is wired to the two pins on the keyboard controller card which represent the key i use to exit and save track position from MPXplay
this is the only thing keeping me from being done.... any and all help is VERY appreciated
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
09-22-2002, 08:34 AM
|
#2
|
|
Retired Admin
Join Date: Jan 2000
Location: London, Ontario, Canada
Posts: 2,465
|
A simple 555 timer based circuit connected to whatever triggers your shutdown should work. Then just have it activate a relay that shorts the key contacts of your choice.
__________________
Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
"If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."
|
|
|
09-22-2002, 08:51 AM
|
#3
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
thanks Aaron Cake I'm a little bit of a newbie... I understand
"have it activate a relay that shorts the key contacts of your choice"
but whats a 555 timer based circuit and what would i hook it up to something on the ignition or something?
thank you so much for your response
Jake
|
|
|
09-22-2002, 10:15 AM
|
#4
|
|
Registered User
Join Date: Aug 2001
Location: Missing In Action
Posts: 779
|
555 Timer
A 555 is a multi purpose timer chip, which can do various things, for example you put a signal in and so many seconds later it out puts a signal, or create a series of pulses, depeneding how yous set it up.
They're pretty simple to use as electronics goes, and they're really cheap (rat shack will sell them for a few cents each).
If you have a look at:
http://www.uoguelph.ca/~antoon/gadgets/555/555.html
It should provide you with the basics of how they work and what the do.
If you need any more help let me know.
Rob
__________________
And you say people actually pay money for M$ Windows?
www.mp3mini.co.uk (Does what it says on the URL) www.openclassic.co.uk (The new car, with zero rust!) www.rob-web.co.uk (My other site)
Total re-design underway: on the whole progress is very slow as the car is taking up too much time :)
|
|
|
09-24-2002, 11:40 AM
|
#5
|
|
FLAC
Join Date: May 2002
Location: Sef'Kylar
Posts: 1,421
|
jake, the opus supply should have different settings for the shut down, i don't know them off hand but i believe they are something like 10s, 10m, 1h
you might not want to leave it on for an hour, but that 10m might be alright.
__________________
aka Kumaneko
"Don't make me moderate your ***!"
Maxima of Doom - project thread - photo gallery
mp3car system is currently FUBAR and finances do not allow for a correction of that situation
Real computer hackers use a rotary cutting tool on their motherboard.
|
|
|
09-26-2002, 12:30 AM
|
#6
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
Better Diagram
Ok I made a better diagram in photoshop of how I have it hooked up as of now...... my carputers power supply is directly wired to the cars power. So in order for me to turn off my carputer I have been pushing my F10 key which is setup to exit MPXPLAY save last song and track position and then exit to dos and Shut down the computer...
Is what I want to do is wire it up so that all I have to do is turn the car ignition to off position and when I do that the 555 timer should push the F10key so that It shuts down the computer properly... saving the Song and Track position and shutting down.
can anyone help me... all I need is for them to draw or tell me which wires to wire where... cause I really am confused on how to wire it... I follow directions well but Im not electronically gifted.. hehehe
The Red pins on the keyboard controller card are the pins that are connected to the RED button on the carputer faceplate which is my F10 key.
That picture of the 555 timer came from the web site shown at the bottom also link here: http://www.uoguelph.ca/~antoon/gadgets/555/555.html
I know that the opus power supply does the auto shut down after 10 seconds bet that feature just kills the power it doesnt exit MPXplay saving the song and track position like the F10 key does....
Thank You For The Help Everyone
|
|
|
09-26-2002, 06:27 AM
|
#7
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
bump..... comeone wheres the electronics geniuses... I know there are some on this board.. definaely not me though.... heh
|
|
|
09-26-2002, 08:09 AM
|
#8
|
|
Retired Admin
Join Date: Jan 2000
Location: London, Ontario, Canada
Posts: 2,465
|
Have you considered searching Google for both "555 timer" and "keyboard hacking"?
I'm a big fan of pointing someone in the right direction, but not giving them the actual answers, forcing them to think.
__________________
Player: Pentium 166MMX, Amptron 598LMR MB w/onboard Sound, Video, LAN, 10.2 Gig Fujitsu Laptop HD, Arise 865 DC-DC Converter, Lexan Case, Custom Software w/Voice Interface, MS Access Based Playlists
Car: 1986 Mazda RX-7 Turbo (highly modded), 1978 RX-7 Beater (Dead, parting out), 2001 Honda Insight
"If one more body-kitted, cut-spring-lowered, farty-exhausted Civic revs on me at an intersection, I swear I'm going to get out of my car and cram their ridiculous double-decker aluminium wing firmly up their rump."
|
|
|
09-26-2002, 08:51 AM
|
#9
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
Please..... Help me.......
Last edited by Jake; 09-28-2002 at 01:45 AM.
|
|
|
09-29-2002, 01:32 AM
|
#10
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
has anyone seen the 555 timer used for what i am trying to do?
If so do they know of a site with some documentation on how to do it?
thanks
|
|
|
09-30-2002, 01:46 AM
|
#11
|
|
FLAC
Join Date: Aug 2002
Location: so cal 2 hours from everywhere
Posts: 1,120
|
You can goto any DEI alarm dealer and order/buy a 528T pulse timer relay. The timer is adjustable tween 1 and 90 seconds. Set the timer to 1 second. Theres is a neg trigger wire that should be hooked up to the ACC wire. When you turn the key off the ignition, the ACC wire rest at ground therefore triggers the relay. connect the "common" wire (30) to one of the keyboard wire. connect the "normally open" (87)wire to the other keyboard wire. And you're set. This should work the way you wanted. Basically, when you turn the ign off, it triggers the 528T relay for 1 second. It shorts the "common" and "normally open" wires for 1 second.
|
|
|
09-30-2002, 07:40 AM
|
#12
|
|
Registered User
Join Date: Sep 2002
Location: Washington, USA
Posts: 43
|
Thanks
about how much those cost? The guy above said the 555 timer is just a few cents at radio shack
|
|
|
09-30-2002, 11:54 AM
|
#13
|
|
FLAC
Join Date: Aug 2002
Location: so cal 2 hours from everywhere
Posts: 1,120
|
The DEI timer relay is about $25. You only have to hook up 4 maybe 5 wires. Since you said that you're not an electronics genius, hooking up 4 wires shouldnt be that hard. Besides the 555 timer, you also need a relay which could cost about $5. DEI is little more expensive but will save you alot of headache.
|
|
|
09-30-2002, 10:05 PM
|
#14
|
|
Newbie
Join Date: Jun 2002
Location: Grundy, Va
Posts: 43
|
what happens if you hold the f10 key down, will it still shutdown and all...
if so just have a relay that when the key is on, is being held open
(youll need a spdt relay) and when you turn the key off it will fall closed and short f10
this would be equilvilant to you sitting a brick on the f10 button and walking away,
may be somthing to try that is ultra simple
__________________
Justin Stiltner
Truck :1993 Ford Ranger Splash 4.0L
System : Pioneer HU and Factory replacement speakers
Puter :Pentium OCed to 133Mhz and win 95 with a whistler power inverter and crystalfontz 20x4 lcd(soon to be motorized) and winamp
Comms Gear: Cobra 25WXST, K40 whip, Silver Streak 175, Radioshack Hyperscan Pro-2045
95 Mitsubishi Eclipse RS: FOR SALE!!! $4000
95 Egeal Talon Tsi AWD: Project car boostin 15 psi.
|
|
|
10-06-2002, 02:30 AM
|
#15
|
|
FLAC
Join Date: Aug 2002
Location: so cal 2 hours from everywhere
Posts: 1,120
|
Re: 555 Timer
Quote:
Originally posted by Rob
A 555 is a multi purpose timer chip, which can do various things, for example you put a signal in and so many seconds later it out puts a signal, or create a series of pulses, depeneding how yous set it up.
They're pretty simple to use as electronics goes, and they're really cheap (rat shack will sell them for a few cents each).
If you have a look at:
http://www.uoguelph.ca/~antoon/gadgets/555/555.html
It should provide you with the basics of how they work and what the do.
If you need any more help let me know.
Rob
Rob you seem to be pretty good with the 555 timer. I was wondering if you can wip somthin up for me. My alarm's AUX output is 1 second pulse. I need to shorten that time down to .66 seconds. I need the output from the 555 timer to activate as soon as it sees the input trigger. I have searched the web and have tried to wire up the timer according to the diagram but with no seccess. Do you think you can
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:50 PM.
| |