I2C communication with SRF08 ranging sensor
Agustin
Posts: 3
Hello All,
Using the Javelin's I2C object: I've been going insane trying to get data out of
the Ranging Sensor SRF08, but I haven't had any luck.· I cannot even change
the address of the sensor.
Assuming that the 2 new sensors I have are in working condition, is there anything I would
need to know to get it to work with the Javelin stamp and it's I2C object included??
(I'm only working with 1 sensor, no other I2C devices connected to bus).
Thank you for your help in advance.
Agustin
Using the Javelin's I2C object: I've been going insane trying to get data out of
the Ranging Sensor SRF08, but I haven't had any luck.· I cannot even change
the address of the sensor.
Assuming that the 2 new sensors I have are in working condition, is there anything I would
need to know to get it to work with the Javelin stamp and it's I2C object included??
(I'm only working with 1 sensor, no other I2C devices connected to bus).
Thank you for your help in advance.
Agustin
Comments
It uses my I2Cdevice classes so you don't need to bother
about start and stop sequences and access·delays.
These are all hidden in the I2Cdevice classes.
I used the info found here:
http://www.robot-electronics.co.uk/htm/srf08tech.shtml
regards peter
Check out the examples page on www.robot-electronics.co.uk - i've also got simple Javalin stamp examples there.
James
That was a lot of help!!
No·ACK·between the hi-byte and low-byte·reads, would have never figured it out.
I didn't see this detail in the manual
Thanks,
Agustin