Results 1 to 8 of 8

Thread: Confused with simple output relay

  1. #1
    Constant Bitrate KennyKen's Avatar
    Join Date
    Sep 2004
    Location
    England
    Posts
    118

    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

  2. #2
    Constant Bitrate KennyKen's Avatar
    Join Date
    Sep 2004
    Location
    England
    Posts
    118
    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?

  3. #3
    Constant Bitrate KennyKen's Avatar
    Join Date
    Sep 2004
    Location
    England
    Posts
    118
    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

  4. #4
    What can I say? I like serial. Curiosity's Avatar
    Join Date
    Mar 2004
    Location
    Florence Yall, BFKY
    Posts
    2,684
    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.

  5. #5
    Constant Bitrate KennyKen's Avatar
    Join Date
    Sep 2004
    Location
    England
    Posts
    118
    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

  6. #6
    Constant Bitrate KennyKen's Avatar
    Join Date
    Sep 2004
    Location
    England
    Posts
    118
    Quote 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

  7. #7
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    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

  8. #8
    Constant Bitrate KennyKen's Avatar
    Join Date
    Sep 2004
    Location
    England
    Posts
    118
    No worries - thanks 2k1Toaster for the info.

Similar Threads

  1. Relays
    By FusionFanatic in forum VaultWiki
    Replies: 11
    Last Post: 09-24-2009, 07:19 AM
  2. StreetDeck Functions
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 22
    Last Post: 01-15-2008, 10:44 PM
  3. relay on a power inverter
    By gtz in forum Hardware Development
    Replies: 7
    Last Post: 08-16-2006, 05:54 PM
  4. Please look at these two relay scheme let me know if they are right
    By zac_haryy in forum General Hardware Discussion
    Replies: 8
    Last Post: 03-02-2006, 10:27 PM
  5. Power to turn on an automobile relay
    By MatrixPC in forum Power Supplies
    Replies: 6
    Last Post: 01-30-2005, 07:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •