12-22-2007 11:08 AM
12-25-2007 05:29 AM
Take a look at this, it might help you: http://www.acroname.com/robotics/parts/R93-SRF04p.pdf
Explain more aout how you are interfacing to your computer and making your measurements.
Also try posting the value(s) you are reading along with the value(s) you are expecting. SS
12-25-2007 06:39 AM
THank you
but this is an interface to BS2 microcontroller, I want to interface it to the computer
I used the NI- DAQ , the readings that I get is like 2.453, 2.654 and so on . I mean small values.
what I expected and what I should get is the time in micoseconds, something like 462, 645 and so on
as you can see what the sensor gives is not a time of the echo, and this my problem
12-26-2007 12:54 PM
04-04-2013 08:42 PM
Dear Sir/Madam
At my University "Institucion Universitaria Politecnico Grancolombiano" we´ve got a DAQ Multifunction NI USB-6009 and Labview, is there any way we can connect the NI USB-6009 to the SRF04 - Ultra-Sonic Ranger?
Your prompt response will be highly appreciated
Thank you in advance
Kind Regards
Diego Alejandro Rodriguez
04-05-2013 11:31 AM
Hi Diego,
I'm looking at these specs: http://www.acroname.com/robotics/parts/R93-SRF04.html and it seems like you need at least 30mA of current, I don't think the USB-6009 could source that much reliably, I think it can only go up to 5 mA. Therefore, you might need an external power source or an amplifier of some kind.
Regards,
Basil
NI-AE
05-26-2013 10:57 PM
Dear Basil,
I’m struggling to get this sensor connected to the NI USB- 6009 DAQ. this is the only DAQ that we manage at the University that therefore i don´t have choise. I´ve purchase an externa supplier that can provide me the 30mA, however i´m not able to adquire the Data from the DAQ, is there any clue or documention that you can provide me to make this work.
I´ve been followed a couple of examples but they use a different DAQ
05-28-2013 05:56 PM
Hi diego0206,
The counter on the NI USB-6009 cannot be used to measure pulse width. It can only be used to count events. Below is an article that mentions this.
http://digital.ni.com/public.nsf/allkb/1B4905F3DFF9CFF986256FF5006C18C2?OpenDocument
The user manual for this devices also only describes using the onboard counter as an event counter and does not describe using it as you are trying to.
USER GUIDE AND SPECIFICATIONS
NI USB-6008/6009
http://www.ni.com/pdf/manuals/371303m.pdf