Page 19 of 23 FirstFirst ... 91011121314151617181920212223 LastLast
Results 181 to 190 of 223

Thread: Beginning of an Automatic Climate Control System, all juiced up on Fusion

  1. #181
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by h3rk View Post
    Yeah, I realized I can just use several references to the same input or variable and the multiply function to do what I want.

    I'm seeing that my analog inputs on my last remaining old-style brain are catching at certain values, like the adc bits in the MCU are hanging up it consistantly stops at 2.5 and 3.75 volts. I can watch it go with the simple 3 pin pot, from 3.10 (ok), 3.11 (ok), and all of a sudden at 3.12Volts, the brain goes to 3.75V. I think I need to get another fancy color coded brain.

    My other voltage problems with the new brain are soething else, and I'm hunting it down now. But the ADC problem just isn't going to cut it. Look for my order soon.
    That ADC problem is a firmware problem. There is a bit switched. It effected very very few brains (1 flash batch), but it sounds like you have it. We can just send you a new PIC and it should make your not-so-fancy colour coded FB work just like the other one.
    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

  2. #182
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    Sounds like a plan. I wish my other problem were so easy. I thnk I'm going to need some real help with why my voltages are off.

    Thanks for the good news.

  3. #183
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    This is an overview of the schematics showing the relevant connections between the 3 pieces.

    I'm trying to determine if my output impedance is too high, based on greenman100's recommendations.

    The pot is dual, with Resistance to ground being CCW 20ohms, Center 2.5K, CW 970 ohms. Resistance to +5V is CCW 970 ohms, Center 2.5K, CW 20 ohms. Sweep voltage, with the control head and the interface board 'on' is 0-4.86V. Voltage readings on my new brain are consistantly high( one point-1.7V in FCC, 1.3V local meter), highest at center (3.1V in FCC, 2.6V local meter), and 5V at CW (5V in FCC, 4.86V local meter).

    I'm hoping someone has some insight, I'm drawing blanks but still fighting.

    I fully disconnedted the brain and tested every input with a simple pot (the one from the fusion store) and I can get the new brain to read very close to my meter consistantly now, so I'm thinking it's my stuff now. But what?

    Here's my drawing, I hope someone can see something and help me get back on track.

  4. #184
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    switch statement is active, update went out a few minutes ago Also now you can put "do" statements anywhere. Same syntax as in the then area.

    And you can put switch statements in switch statements if you want, it uses the same recursive function.

    Configurator is not built for it, so it will ignore and delete all switch statements and obviously cannot create them. Here is the syntax:

    Code:
        <all_statements>
          <switch fire_on="logic">
            <object>
              <variable do="get" name="variable_test"></variable>
            </object>
            <cases>
              <case parameter1="19" parameter2="20" check="between">
                <variable do="set" name="variable_test">
                  <operation type="add">
                    <parameter1>
                      <variable do="get" name="variable_test"></variable>
                    </parameter1>
                    <parameter2>
                      <number>1</number>
                    </parameter2>
                  </operation>
                </variable>
              </case>
              <case parameter1="20" parameter2="22.9" check="between">
                <variable do="set" name="variable_test">
                  <operation type="add">
                    <parameter1>
                      <variable do="get" name="variable_test"></variable>
                    </parameter1>
                    <parameter2>
                      <number>2</number>
                    </parameter2>
                  </operation>
                </variable>
              </case>
              <case parameter1="23" check="greater than or equal to">
                <variable do="set" name="variable_test">
                  <operation type="subtract">
                    <parameter1>
                      <variable do="get" name="variable_test"></variable>
                    </parameter1>
                    <parameter2>
                      <number>2</number>
                    </parameter2>
                  </operation>
                </variable>
              </case>
            </cases>
          </switch>
        </all_statements>
      <!-- End Logic Declarations -->
    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

  5. #185
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    Just looking at it, I doubt it will be very configurator friendly, in general. I like it though! I just can't picture what it would look like graphically. Normally to put numbers in you insert and link a little calculator numeric thingy. But that creates a new parameter, the way configurator is now. I do a lot of the repetative stuff, and stuff that I would use"copy" for in other software, in xml; but I do use configurator a lot. So having code that the configurator will take in a back alley somewhere and make dissapear will be tough to deal with. But in xml, this new function rocks.

    On a side, I've made a lot of suggestions and discoveries in here. Isn't there a feature and bug reporting thread somewhere around here. I think I'll filter them out of this thread, and add them somewhere where it will be easy for you to look at, consider, and implement if you like. I have some more suggestions too, I came across them trying to setup a sensor as dual range, I just have to put them all together.

  6. #186
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Yeah it will be configurator hell... I dont even want to think about that at this time.

    There is a Suggestion Thread, but it really only applied to version 2.

    I will make a new thread now for it.
    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

  7. #187
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    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. #188
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Quote Originally Posted by 2k1Toaster View Post
    switch statement is active, update went out a few minutes ago
    You just keep outdoing yourself dude!

    I wouldn't worry too much about trying to get something like this in the configurator. I see the configurator as being for simple to moderate configurations with more complex implementations requiring manual manipulation of the config file.

    What you might do to prevent loss of manual code is have the configurator automatically make a backup when a file is opened and before it is parsed/stripped of unknown code. That would prevent someone from accidentally losing several hours of work and bashing their brain up against the wall.
    Thanks,

    Dan

  9. #189
    FLAC
    Join Date
    Oct 2006
    Location
    Las Vegas
    Posts
    1,286
    Quote Originally Posted by Dan2008 View Post
    What you might do to prevent loss of manual code is have the configurator automatically make a backup when a file is opened and before it is parsed/stripped of unknown code. That would prevent someone from accidentally losing several hours of work and bashing their brain up against the wall.
    Suggestion 10.

    Excellent Idea.

  10. #190
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Quote Originally Posted by h3rk View Post
    Suggestion 10.

    Excellent Idea.
    Yeah, I saw that after posting this...
    Thanks,

    Dan

Similar Threads

  1. AIMEE Climate Control POLL
    By Danceheaven in forum Software & Software Development
    Replies: 25
    Last Post: 01-14-2010, 09:38 AM
  2. Replies: 85
    Last Post: 07-09-2007, 04:44 AM
  3. Digital dash and climate control???
    By yamathegreat in forum General Hardware Discussion
    Replies: 3
    Last Post: 10-31-2005, 04:41 PM
  4. System control wire on amp
    By dudah85 in forum General Hardware Discussion
    Replies: 3
    Last Post: 09-13-2001, 08:09 AM
  5. Replies: 22
    Last Post: 08-13-2001, 01:42 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
  •