Page 18 of 26 FirstFirst ... 891011121314151617181920212223242526 LastLast
Results 171 to 180 of 260

Thread: ** NEW Fusion Brain Version 6, Pre-Order NOW **

  1. #171
    Variable Bitrate rEegLer's Avatar
    Join Date
    Jul 2008
    Location
    Mechanicsburg, PA
    Posts
    266
    Any new updates with FuseGL? I played around with it a little bit but only to the point of adding inputs and outputs and not figuring out why I could only have one output switched at a time. I really want to switch my system over to the V6 but I can't until it can do variables and logic.
    Love

  2. #172
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    Hey 2k1Toaster (or anyone else who may know)... Is this the right formula to convert analog voltage(0v-5v) to the number that used to be returned by SendAndReceiveViaInterruptTransfers?

    conversion formula
    Code:
    ConvertedValue = 1023 * (AnalogVoltage) / 5
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #173
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    The number returned is between 0-1023 scaled linearly to the reference voltage. So for the FBv3 and FBv4 that is 5.0v. For the FBv6, that is 3.3v.

    It is ( digital reading / max digital reading ) * reference voltage

    So ((Analogue ADC Value) / 1023) * Vref | Vref = 5.0 for FBv3 and FBv4 and Vref = 3.3 for FBv6
    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

  4. #174
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    Quote Originally Posted by 2k1Toaster View Post
    The number returned is between 0-1023 scaled linearly to the reference voltage. So for the FBv3 and FBv4 that is 5.0v. For the FBv6, that is 3.3v.

    It is ( digital reading / max digital reading ) * reference voltage

    So ((Analogue ADC Value) / 1023) * Vref | Vref = 5.0 for FBv3 and FBv4 and Vref = 3.3 for FBv6
    great.. hoping RRFusion v6 support is updated tomorrow!
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  5. #175
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by rEegLer View Post
    Any new updates with FuseGL? I played around with it a little bit but only to the point of adding inputs and outputs and not figuring out why I could only have one output switched at a time. I really want to switch my system over to the V6 but I can't until it can do variables and logic.
    If the same one comes on with all buttons, then it is sending the same port each time. There is a new version but it does not have the same variables/logic as MDX yet. I have literally been working 18-20 hours a day for the past month and just haven't had the time.

    I did find out the problem with older hardware showing things as blank boxes. It is because it is not a power of 2 sized image, and older video cards don't like that. So Either all the images need to be power of 2 sized, or I need to pad them with garbage, then crop them down again. I have not done this yet.

    I really need a code lacky or something. Maybe like the dictabird from the Flintstones but one that types code not just slates...
    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

  6. #176
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    having trouble with the formula you posted, i have my v6 and temp sensor right next to a thermometer reading 96 degrees. The voltage reported by the port is 0.987v. With that said, here's how the formula as you posted works out

    (.987 / 1023) * 3.3 = 0.003~, which obviously doesnt convert to 96 degrees

    however, if i use the formula i posted with vref = 5 it works out perfectly

    (.987 * 1023) / 5 = 201 = 96deg f

    what am i missing here?
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  7. #177
    Low Bitrate UniqelyCommon's Avatar
    Join Date
    Nov 2008
    Location
    Behind you.
    Posts
    76
    Quote Originally Posted by Sonicxtacy02 View Post
    Hey 2k1Toaster (or anyone else who may know)... Is this the right formula to convert analog voltage(0v-5v) to the number that used to be returned by SendAndReceiveViaInterruptTransfers?

    conversion formula
    Code:
    ConvertedValue = 1023 * (AnalogVoltage) / 5
    I'd try
    Code:
    ConvertedValue = 1024 * (AnalogVoltage) / 3.3
    1024* (.987 / 3.3) = 306.3

    hmm... where's the 0.987V coming from? Is the sensor using the 3.3V off the FBrain6 board?
    Last edited by UniqelyCommon; 06-09-2011 at 08:47 PM. Reason: arg, not quite the numbers looked for

  8. #178
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by Sonicxtacy02 View Post
    having trouble with the formula you posted, i have my v6 and temp sensor right next to a thermometer reading 96 degrees. The voltage reported by the port is 0.987v. With that said, here's how the formula as you posted works out

    (.987 / 1023) * 3.3 = 0.003~, which obviously doesnt convert to 96 degrees

    however, if i use the formula i posted with vref = 5 it works out perfectly

    (.987 * 1023) / 5 = 201 = 96deg f

    what am i missing here?
    No way is it returning 0.987. If it is returning 0.987, then that is already transformed into voltage. Are you using the high level classes to read the ports?

    When you get the data back from the usb function it comes in a n*64 byte long array. So the ONLY values you can get are whole integer numbers between 0 and 255 for each byte. Doing the bit shifting to get 10bits out of 2bytes you get a whole number between 0 and 1023.

    To get voltage from this number (N), you do: (N/1023)*VREF.
    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

  9. #179
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    I'm using the VCP on the v6 to communicate. That is the only way these plugins are going to work unfortunately. CF is incompatible with plugins built against .net4.0, and RR people dont want to have to download it.

    So, using "aa?" returns 0.987v for port 0. What i'm trying to do is convert this voltage into its corresponding 0-1023 value, so all of the formulas i have stored for v3/v4 brain analog sensor conversion will work for a v6 brain.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  10. #180
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by Sonicxtacy02 View Post
    I'm using the VCP on the v6 to communicate. That is the only way these plugins are going to work unfortunately. CF is incompatible with plugins built against .net4.0, and RR people dont want to have to download it.
    Just because they don't want to download it, doesn't make it the correct way of doing it. The VCP port is and will always be an "extra" and not the main way of communicating.

    So, using "aa?" returns 0.987v for port 0. What i'm trying to do is convert this voltage into its corresponding 0-1023 value, so all of the formulas i have stored for v3/v4 brain analog sensor conversion will work for a v6 brain.
    If you want the integer values, then use A? instead of a?. Converting back and forth makes for inaccurate data. But if you want the integer from the analogue value, then you just do the inverse.

    0.987/3.3*1023 = 305.97. So it is either 305 or 306 depending on how the ALU decided to round that number.
    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

Similar Threads

  1. Fusion Brain V4 Digital Inputs
    By malcom2073 in forum Fusion Brain
    Replies: 0
    Last Post: 02-14-2009, 12:16 PM
  2. Replies: 41
    Last Post: 01-11-2009, 03:46 PM
  3. Fusion Brain and iBus
    By nemo1 in forum Fusion Brain
    Replies: 7
    Last Post: 12-15-2008, 11:05 AM
  4. Vista won't see the Fusion Brain
    By Ineffigy in forum Fusion Brain
    Replies: 6
    Last Post: 11-26-2008, 07:39 AM
  5. Fusion Brain and its uses!
    By HiJackZX1 in forum Fusion Brain
    Replies: 7
    Last Post: 06-08-2008, 07:41 PM

Tags for this Thread

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
  •