Announcement

Collapse
No announcement yet.

New To Fusion Brain

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • New To Fusion Brain

    Hey guys, i have a few questions. I have searched around but am still unclear on the answered. perhaps someone can clear this up for me.

    I just purchased the FB and would like some clarification on the following questions:

    1) I just want to use FB to use my steering wheel control to control Centrafuse. Can i program FB to send key presses to centrafuse without a centrafuse plugin?

    2) I have a 2008 Civic SI which uses a two wire resistive circuit (one is ground and the other fluctuates when the steering wheel buttons are pressed). How would i connect this two wire setup to FB? which wires goes to which pin?

    3) can i program longer button presses as well? for example, if i press and hold my steering wheel MODE button, can i trigger a diferrent key press?

    Thanks in advance for your assistance.

    BTW I will be using this on a MacMini running Bootcamp Windows XP SP3

  • #2
    I also have a 2008 civic SI and have them wired into my steering wheel controls

    this is a helpful tutorial http://www.mp3car.com/vbulletin/fb-d...-controls.html

    Comment


    • #3
      Awesome. thanks for the link, by any chance do you remember the voltages that were sent by each key?

      Do you have a workblog? i would love to see your project.

      Thanks alot for your help

      Comment


      • #4
        Can anyone else share some input on my questions too please. just trying to gather as much info to be ready for the install.

        Comment


        • #5
          Originally posted by Urbanmindz View Post
          1) I just want to use FB to use my steering wheel control to control Centrafuse. Can i program FB to send key presses to centrafuse without a centrafuse plugin?

          2) I have a 2008 Civic SI which uses a two wire resistive circuit (one is ground and the other fluctuates when the steering wheel buttons are pressed). How would i connect this two wire setup to FB? which wires goes to which pin?

          3) can i program longer button presses as well? for example, if i press and hold my steering wheel MODE button, can i trigger a diferrent key press?
          1. Yes, you can send to any program.
          2. Check the above tutorial.
          3. Yes, though it's a little complicated. You'd have to be familar with logic blocks.

          Comment


          • #6
            I am trying to send a keystroke to centrafuse (well really three keys at one time) when voltage between 4v and 6v is applied to analog input 0. I have tried MANY things and have looked through forums but i am getting so CONFUSED lol.. Can someone take a look at the code below and tell me what i am doing wrong?

            Thanks

            [HL]<?xml version="1.0" encoding="utf-8" ?>
            <FusionControlCentreConfiguration version="3.0.0.0" author="Me" date_created="Saturday, November 08, 2008 at 2:27:59

            PM" last_modified="Saturday, November 08, 2008 at 3:43:54 PM">

            <require>
            <!-- Begin Function Instances -->
            <!-- End Function Instances -->

            <!-- Begin Fusion Font Instances -->
            <!-- End Fusion Font Instances -->
            </require>

            <speech enabled="false" global_politeness="true">
            <!-- Begin System Speech Instances -->
            <!-- End System Speech Instances -->

            <!-- Begin System Speech Definition Instances -->
            <system_definitions>
            </system_definitions>
            <!-- End System Speech Definition Instances -->

            <!-- Begin Custom Speech Definition Instances -->
            <custom_definitions>
            </custom_definitions>
            <!-- End Custom Speech Definition Instances -->

            <!-- Begin Custom Query Instances -->
            <custom_queries>
            </custom_queries>
            <!-- End Custom Query Instances -->
            </speech>

            <general>
            <!-- Begin Remote Control Configuration -->
            <remote status="disabled" user_name="default" port="4242"></remote>
            <!-- End Remote Control Configuration -->
            </general>

            <graphics>
            <!-- Begin Global Graphic Settings -->
            <main_display designed_for_size="800,600" show_at_size="800,600" menubar="Sizeable" RunInSystemTray="False"

            MinimizeToSystemTray="True"></main_display>
            <!-- End Global Graphic Settings -->

            <!-- Begin Background Images -->
            <!-- End Background Images -->

            <!-- Begin Static Images -->
            <!-- End Static Images -->

            <!-- Begin Variable Location Images -->
            <!-- End Variable Location Images -->

            <!-- Begin Graph Instances -->
            <!-- End Graph Instances -->

            <!-- Begin Display Buttons -->
            <!-- End Display Buttons -->

            <!-- Begin Multi Images -->
            <!-- End Multi Images -->

            <!-- Begin Text Labels -->
            <!-- End Text Labels -->
            </graphics>

            <io>
            <!-- Begin Fusion Brain Instances -->
            <brain id="My Fusion Brain">5&amp;235a96ae&amp;0&amp;1</brain>
            <!-- End Fusion Brain Instances -->

            <!-- Begin Timer Setup -->
            <timer id="input" interval="75"></timer>
            <timer id="output" interval="100"></timer>
            <timer id="gui" interval="50"></timer>
            <timer id="logic" interval="50"></timer>
            <!-- End Timer Setup -->

            <!-- Begin Digital Output Instances -->
            <!-- End Digital Output Instances -->

            <!-- Begin Analogue Input Instances -->
            <iochannel id="Reverse Cam" port="0" brain="my fusion brain" type="analogue_input">
            <options history="0" auto_average="false"></options>
            </iochannel>
            <!-- End Analogue Input Instances -->
            </io>

            <logic>
            <!-- Begin Logging Setup -->
            <all_logging>
            </all_logging>
            <!-- End Logging Setup -->

            <!-- Begin Variable Declarations -->
            <all_variables>
            </all_variables>
            <!-- End Variable Declarations -->

            <!-- Begin Logic Declarations -->
            <all_statements>
            <if fire_on="logic" minimum_delta_vote_time="100" id="Root Function #">
            <boolean_operation type="and">
            <parameter1>
            <boolean_operation type="greater than or equal to">
            <parameter1>
            <analogue id="Reverse Cam" time="0"></analogue>
            </parameter1>
            <parameter2>
            <number>3</number>
            </parameter2>
            </boolean_operation>
            </parameter1>
            <parameter2>
            <boolean_operation type="less than or equal to">
            <parameter1>
            <analogue id="Reverse Cam" time="0"></analogue>
            </parameter1>
            <parameter2>
            <number>5</number>
            </parameter2>
            </boolean_operation>
            </parameter2>
            </boolean_operation>
            <then>
            <do function="Send Key" functionTargetID="centrafuse:WindowsForms10.Window .8.app.0.33c0d9d"

            vote_opinion="CTRL+SHIFT+C" vote_priority="Low"></do>
            </then>
            </if>
            </all_statements>
            <!-- End Logic Declarations -->
            </logic>
            </FusionControlCentreConfiguration>[/HL]

            Comment


            • #7
              psh.. im ohiocivicracer on 8thcivic :-P

              Comment


              • #8
                Code:
                <do function="Send Key to foreground" functionTargetID="centrafuse" vote_opinion="CTRL+SHIFT+C" vote_priority="Low">
                Change the vote to that and see if it works. This will blindly send the key to whatever application is ontop, which if you are using your frontend, should be CF.
                Fusion Brain Version 6 Released!
                1.9in x 2.9in -- 47mm x 73mm
                30 Digital Outputs -- Directly drive a relay
                15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
                Buy now in the MP3Car.com Store

                Comment


                • #9
                  changing the vote did not work. How can i test to see if i have a defective unit?
                  Can someone post thier working XML file so that i can compare the differences and try to narrow down my problem?

                  Thanks to all for your help

                  Comment


                  • #10
                    <!-- Begin Fusion Brain Instances -->
                    <brain id="My Fusion Brain">5&amp;235a96ae&amp;0&amp;1</brain>
                    <!-- End Fusion Brain Instances -->



                    that looks old/wrong... 2k1?

                    Comment


                    • #11
                      i also tried this

                      <!-- Begin Fusion Brain Instances -->
                      <brain id="FB Car">0</brain>
                      <!-- End Fusion Brain Instances -->

                      Didnt work

                      Comment


                      • #12
                        Originally posted by Urbanmindz View Post
                        ...when voltage between 4v and 6v is applied to analog input 0...
                        If you really did feed it something over 5 volts at some point, that may be the problem. The chip is only designed to measure 0-5v, but I'm not sure what happens when you go over 5v.

                        Comment


                        • #13
                          ive never gone over 5 volts.. when i start the default xml (the one that preinstalls), when i apply voltage under 5 volts (check with a multimeter) several inputs react to the single input voltage. I am not sure if this is supposed to be this way..

                          Comment


                          • #14
                            Yes, that is normal. The analog to digital converter loops through the analog inputs, and if there is nothing connected to an input, some voltage will carry over from the previous input. It's not a problems since you won't be monitoring an input without anything connected. If it bothers you, just put a jumper between the ground and sensor pins.

                            Comment


                            • #15
                              lol doesnt bother me at all just wondering if it was a sign of malfunction. so if i get voltage reading on the default XML then in theory my FB is working fine right?

                              Still wondering if anyone has a working steering wheel XML for me to study because apparently i am doing something wrong.

                              Comment

                              Working...
                              X