Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Diag. question

  1. Apr 25, 2006 #1
    Can you guys look at the attached file. I have a sensor hooked up to a plug box. My question is, i am suppose to control the sensor through labview. My question is, how does the diode play a role? I would technically send the commands to the 1st input right? and if i wanted to read data, i could rea dit off the output, where the diode sends the voltage to?
    Or am I getting this wrong?
    thank you in advance.
     

    Attached Files:

  2. jcsd
  3. Apr 25, 2006 #2

    berkeman

    User Avatar

    Staff: Mentor

    Do you have specs on the sensor? The hookup doesn't make sense to me at first glance. Is that meant to be a stiff 5V rail there? What about the ground and other connections?
     
  4. Apr 25, 2006 #3
    I do have specs on it. This is just a small diag. I have it hooked up to some other hardware and it is grounded btw.link:
    http://www.sensirion.com/images/getFile?id=25
     
  5. Apr 25, 2006 #4

    berkeman

    User Avatar

    Staff: Mentor

    The thumbnail drawing seems wrong now. Look at the hookup diagram in Figure 2 in the datasheet. You communicate with this sensor with a serial interface, SCK and SDATA. From Labview, you will either need to define a serial interface model (I don't know if one exists already in Labview), or you will need to bit-bang two digital lines to emulate the digital master. Since the serial interface has only one SDATA line, you need to be able to switch from driving to just reading (Tri-State the output at times when the sensor is supposed to send data back).
     
  6. Apr 26, 2006 #5
    Yeah. I am looking at figure two. I am bit banging the sensor. I am emulating the sck and writing to data port and reading off it using a connector box via L.V.
     
  7. Apr 26, 2006 #6

    berkeman

    User Avatar

    Staff: Mentor

    So is it working now?
     
  8. Apr 28, 2006 #7
    negative sir.
     
  9. Apr 28, 2006 #8

    berkeman

    User Avatar

    Staff: Mentor

    Don't call me sir. I work for a living. :rolleyes: (quiz question -- what movie is that from?)

    Well, what's not working? Are you seeing the correct SCLK and SDATA waveforms like in the datasheet, but the RX data coming back is wrong? You're using the hookup diagram from the datasheet and not the one with the diode that you drew at the top of the thread, right? Do you have any way to post a plot of what your SCLK and SDATA look like?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Diag. question
  1. Resistance Question (Replies: 2)

  2. Wiring Question (Replies: 1)

  3. Charges question (Replies: 1)

  4. Amplifiers question (Replies: 2)

Loading...