Announcement

Collapse
No announcement yet.

Confused with simple output relay

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

  • Confused with simple output relay

    Hey folks
    I have a 12v solenoid which when connected to 12v and Neg works perfectly.

    So i am introducing a relay (genuine one from FB) to connect it to the FB.

    I have the 12v going into COM and i connect the solenoids 12v to NO. If i put it onto NC it engages right away so thats working fine.

    However when i start adding in the FB it seems to go wrong. I have the relay hooked up to the 2nd port and the LED comes on very dull when connected. I create just a sample ninja kitty wizard looking at the one output with a button to turn it on and off.

    When i run the application and press the button the LED gets brighter on the FB but nothing else happens, the solenoid doesn't change status at all...

    Anyone got any ideas what's going wrong?

    I am powering the FB from USB if that matters at all? and there is nothing else connected apart from this relay and its the version 4 board.

    Thanks
    Ken
    ------
    Prepping for Trax in september
    Re-Building the whole CarPC to upgrade all the software
    Whole new boot build and moulding my screen into the dash...Again

  • #2
    Just thought i would try to add some more info to help diagnose this issue.

    The relay i have is the Potter and Brumfield T9AS5D22-12 (i assume the 12 means it is a 12v)

    the XML code i have for the project is:
    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <FusionControlCentreConfiguration version="3.0" author="Ninja Kitty Wizard of Doom" date_created="Thursday, November 26, 2009 at 1:26:01 PM" last_modified="Thursday, November 26, 2009 at 1:26:28 PM">
    
      <require>
      <!-- Begin Function Instances -->
      <!-- End Function Instances -->
    
      <!-- Begin Fusion Font Instances -->
          <font name="Verdana" originalSize="25" font_config="content\fonts\Verdana.xml"></font>
      <!-- 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 -->
    
      <!-- Begin COM -->
        <com status="disabled">
          <commands>
          </commands>
          <executable_commands>
          </executable_commands>
        </com>
      <!-- End COM -->
      </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 -->
          <background_image style="stretch" imagefilepath="content\images\background_images\background.jpg" page="0"></background_image>
      <!-- End Background Images -->
    
      <!-- Begin Static Images -->
          <staticimage>
            <image path="content\images\static_images\logo.png"></image>
            <display size="556,27" location="123,44" page="0" z_order="0.9"></display>
          </staticimage>
      <!-- End Static Images -->
    
      <!-- Begin Variable Location Images -->
      <!-- End Variable Location Images -->
    
      <!-- Begin Graph Instances -->
      <!-- End Graph Instances -->
    
      <!-- Begin Display Buttons -->
          <button id="NINJABUTTON_Digital_Output_0" enabled="yes" function="trigger output" functionTargetID="Digital Output 0" vote="attached" vote_opinion="on" vote_priority="Medium">
            <images imagePrimary="content\images\button_images\button_down.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button_down.png"></images>
            <display size="230,70" location="37,119" page="0" z_order="0.9"></display>
            <vote_options minimum_delta_vote_time_down="20" ></vote_options>
            <text font="verdana" font_size="25"></text>
            <text colourPrimaryARGB="255,255,255,255" textPrimary="Digital Output 0"></text>
            <text colourSecondaryARGB="255,255,255,255" textSecondary="Digital Output 0"></text>
          </button>
      <!-- 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 0" version="4">{5545f2ff-00f5-45cb-9ec7-dbebff701f0b}</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 -->
          <iochannel id="Digital Output 0" port="1" brain="My Fusion Brain 0" type="digital_output">
            <defaults defaultstate="off"></defaults>
          </iochannel>
      <!-- End Digital Output Instances -->
    
      <!-- Begin Analogue Input Instances -->
      <!-- 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>
        </all_statements>
      <!-- End Logic Declarations -->
      </logic>
    </FusionControlCentreConfiguration>
    As i said this was stripped right back to basics so i just did a wizard with the 1 output, surely nothing more is needed...

    I have tried putting the jumper on a few ports to get round the confusion of the board stating it starts at port 1, but in the software the 1st port is 0.

    Anyone?
    ------
    Prepping for Trax in september
    Re-Building the whole CarPC to upgrade all the software
    Whole new boot build and moulding my screen into the dash...Again

    Comment


    • #3
      The relay seems fine because when supplying 12v and earth do the jumper directly it works fine and clicks.

      so i guess this is something to do with the FB then
      ------
      Prepping for Trax in september
      Re-Building the whole CarPC to upgrade all the software
      Whole new boot build and moulding my screen into the dash...Again

      Comment


      • #4
        If the fusion brain is running on 5V and the relay coil is 12V, then how is it supposed to energize the relay? There's most likely a power source missing.

        Comment


        • #5
          Ah, i guess i didnt realise the relay needed 12v to open and close damn it!

          So i need to find a way of powering the FB on its own then

          cheers chap
          ------
          Prepping for Trax in september
          Re-Building the whole CarPC to upgrade all the software
          Whole new boot build and moulding my screen into the dash...Again

          Comment


          • #6
            Originally posted by Curiosity View Post
            If the fusion brain is running on 5V and the relay coil is 12V, then how is it supposed to energize the relay? There's most likely a power source missing.
            Thanks again - just found a wall adapter that puts out 12v and connected it all up - works a treat!

            Thanks again
            ------
            Prepping for Trax in september
            Re-Building the whole CarPC to upgrade all the software
            Whole new boot build and moulding my screen into the dash...Again

            Comment


            • #7
              Actually, we designed the output ports to NEVER be powered off of USB just for this reason. You connect a relay or solenoid or some other huge inductive source to your USB line and all hell will break loose on your computer. USB isnt meant to do that.

              So all the power given by the output ports is taken from the DC Jack as an FYI.
              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


              • #8
                No worries - thanks 2k1Toaster for the info.
                ------
                Prepping for Trax in september
                Re-Building the whole CarPC to upgrade all the software
                Whole new boot build and moulding my screen into the dash...Again

                Comment

                Working...
                X