Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain > FB Documentation and Tutorials


Reply
 
Share Thread Tools Display Modes
Old 08-26-2008, 12:08 PM   #1
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
FAQ - Digital Inputs

Many people have asked about using our digital inputs. The header is as follows:


input---5vDC - edge of board
input---5vDC - edge of board
input---5vDC - edge of board
input---5vDC - edge of board

in order for the input to work correctly, a ~1,000 (1k) ohm resistor needs to be attached between the input pin and ground point on the board. You can use the ground on the analog pin headers. This will hold the pin low until it is raised high by a switch attached across the input pin and the 5vDC pin.
greenman100 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-26-2008, 05:48 PM   #2
Maximum Bitrate
 
Woofnstuff's Avatar
 
Join Date: Oct 2007
Location: Auckland
Posts: 558
Woofnstuff is an unknown quantity at this point
you need to manually add the code to the xml file, but save it somewhere in a txt file or something, the MDX config software removes things it dosn't know about, so would clear this out each time you click save

2k1Toaster posted this in another link
You will notice that it is the exact same syntax as the other channels. Only difference is the type.
xml:
Code:
<iochannel id="ChannelID" port="0" brain="MyBrain" type="digital_input"></iochannel>

__________________


Last edited by Woofnstuff; 08-26-2008 at 07:23 PM.
Woofnstuff is offline   Reply With Quote
Old 08-26-2008, 08:49 PM   #3
Newbie
 
Join Date: Jul 2007
Posts: 39
ginigma is an unknown quantity at this point
Which is input 1 and which is 4? (Or 0 and 3 if you prefer)
ginigma is offline   Reply With Quote
Old 08-27-2008, 01:45 AM   #4
Maximum Bitrate
 
Woofnstuff's Avatar
 
Join Date: Oct 2007
Location: Auckland
Posts: 558
Woofnstuff is an unknown quantity at this point
can someone post up a complete page of code that does for eg:
digital input 1, triggers a key press of w.

there is something obvious im missing i know it. and once i have a working example i"ll be able to tweak it to anything else i need. after changing the FB id code of corse
cheers
__________________

Woofnstuff is offline   Reply With Quote
Old 11-12-2008, 04:24 PM   #5
Newbie
 
Join Date: Sep 2008
Posts: 1
it497mdx is an unknown quantity at this point
Question Still a Little Confused

After you manually add the digital input into the xml file how do you program the input to trigger an output. I have no experience in xml programming so if anybody could walk through with me the steps I need to take to actually get the digital input to be actually useful would greatly appreciated. Thanks.
it497mdx is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

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
SDPIF digital Coax into car audio pieces RedGTiVR6 Car Audio 34 10-14-2008 01:06 AM
idea for digital inputs wilgartw Fusion Brain 11 03-27-2008 05:23 PM



All times are GMT -5. The time now is 06:33 PM.


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