Page 2 of 8 FirstFirst 12345678 LastLast
Results 11 to 20 of 77

Thread: Tutorial - Air Ride Suspension

  1. #11
    Newbie
    Join Date
    Oct 2008
    Posts
    19
    Quote Originally Posted by 2k1Toaster View Post
    That logic function takes an analogue input "Front Left" and puts the actual value in a variable "Front Left Variable". That is it.

    If you want to do something useful, like make Front Left Variable PSI not voltage, then you need to send the analogue input through the psi function then to to variable.
    So the air sensor function that you posted above will convert the voltage to psi? Since there is no quick block for that in the configurator i would need to write that in with an xml editor correct. Thanks

  2. #12
    Newbie
    Join Date
    Oct 2008
    Posts
    19
    when i open up my fusion center the program runs perfect but when i open up the configuator and try to open the xml file i get this error what does this error mean. Thanks


  3. #13
    Newbie
    Join Date
    Oct 2008
    Posts
    19
    Quote Originally Posted by 2k1Toaster View Post
    That logic function takes an analogue input "Front Left" and puts the actual value in a variable "Front Left Variable". That is it.

    If you want to do something useful, like make Front Left Variable PSI not voltage, then you need to send the analogue input through the psi function then to th variable.
    So does the function at the top convert it to psi and why does it go into the negatives when i add 5v on the virtual brain. Shouldnt the 5v indicate somewhere around 150psi if i am using the 150psi sending unit. Thanks for all the help you have done so far.

  4. #14
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by wrxyboy View Post
    So does the function at the top convert it to psi and why does it go into the negatives when i add 5v on the virtual brain. Shouldnt the 5v indicate somewhere around 150psi if i am using the 150psi sending unit. Thanks for all the help you have done so far.
    It goes negative because I made a typo. The 18.xx and the rest of the function is switched on the last subtract node. Just change those around so it looks like this:



    Also, 5v gives you 600+ psi.

    using a 100ohm resistor for R1 of a voltage divider, you get:

    FB Voltage = 5 * (sensor/(sensor + 100))

    The pressure function models this: y = 8.4879x^3 - 27.568x^2 + 49.943x - 18.313 where y is in pressure and x is in volts.

    150psi ~= 3.29v
    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. #15
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Software post uptop is updated
    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. #16
    Newbie
    Join Date
    Oct 2008
    Posts
    19
    thank you now explaining that and now everything is beginning to make sense. I couldnt make out how the equation would work and cause the values to be negative. Now you you said that 5v will equal 600psi, how is that possible with the sending unit only being able to have a max of 400psi or is it that the unit will never reach 5v thus 600psi will never be obtained. Thank you once again for all your help and great product.

  7. #17
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    the sensor will never give out a resistance that could possibly equal 5v input, so you would never get 600psi read in. If you for some strange reason did get 5v in, the actual pressure would be off since the equation blows up outside of its bounds, which in reality are closer to 3.3v instead of 5v since that is the max it can handle.

    If you want to be more accurate then all you do is measure more data points and create a larger polynomial series.
    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. #18
    Newbie
    Join Date
    Oct 2008
    Posts
    19
    So would this air module function work with the 400psi sending unit or only the 150psi sending unit. I think i may need to purchase the dakota digital reading unit to make the equation more accurate.

  9. #19
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,053
    Quote Originally Posted by wrxyboy View Post
    So would this air module function work with the 400psi sending unit or only the 150psi sending unit. I think i may need to purchase the dakota digital reading unit to make the equation more accurate.
    No it only works with the 150psi one.

    If you want to use the 400 one then you would need to write a seperate function that would calibrate that
    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

  10. #20
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by 2k1Toaster View Post
    No it only works with the 150psi one.

    If you want to use the 400 one then you would need to write a seperate function that would calibrate that
    Can you check my math on the 400psi polynomial from the other air pressure thread?
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

Page 2 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. What do I need to hook up the air ride suspension?
    By Maheriano in forum Fusion Brain
    Replies: 8
    Last Post: 12-29-2007, 10:56 PM
  2. DIY: Built a heater for my LCD
    By nobb in forum LCD/Display
    Replies: 42
    Last Post: 10-27-2007, 01:12 AM
  3. 2003 Civic CarPC (AIR RIDE)
    By kumanan in forum Show off your project
    Replies: 37
    Last Post: 03-15-2007, 10:20 PM
  4. Air ride suspension
    By keen70 in forum Off Topic
    Replies: 6
    Last Post: 02-14-2006, 04:05 PM
  5. Air ride suspension control?
    By dragvette in forum Newbie
    Replies: 1
    Last Post: 01-22-2006, 03:15 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
  •