Results 1 to 4 of 4

Thread: How to Add a Temperature Sensor and Convert to Fahrenheit

  1. #1
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045

    How to Add a Temperature Sensor and Convert to Fahrenheit

    http://www.fusioncontrolcentre.com/t...orial_skin.swf

    That is the direct link to the tutorial swf file.

    Flash Player 7 or higher is needed
    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. #2
    Constant Bitrate
    Join Date
    Aug 2007
    Location
    Northern VA
    Posts
    135
    How about non-gui users? What's the conversion formula? To be clear, I am using the excellent FB driver by malcolm2073 on linux.

    I believe I have a MCP9701A and the datasheet says it outputs 200mV to 3V for the temperature range of -40C to 125C. It goes on to say it outputs 19.5mV/C and 400mV is 0C.

    But what I am getting are negative integer values from the FB. It is probably 60-70 in here and I'm seeing -70 to -80.

    BTW I have similar questions for the Photosensor. The datasheet is not currently available but I'm getting what looks like 0 for darkness and 20 for room lighting. Not sure what the actual range and values should be though.

    thanks,
    charles

  3. #3
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,045
    It's not hard to figure out from the files included...



    Temp = (((x-0.4) * 1000) / 19.53)
    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. #4
    Constant Bitrate
    Join Date
    Aug 2007
    Location
    Northern VA
    Posts
    135
    Thanks

    This from the MDX stuff? I'm not a windows user so haven't looked at any of it. Only the FB4 Manual in pdf and the device docs you link to. I think it would be nice you provided some basic plain text (or portable) documentation on each of the sensors you sell. Just the basics like the pinouts, voltages it takes, voltages output and how to translate the values you get from the FB like the Temp = (((x-0.4) * 1000) / 19.53) above.

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
  •