Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   LIDAR Sensor has arrived! (http://www.chiefdelphi.com/forums/showthread.php?t=132213)

Alan Anderson 07-02-2015 14:59

Re: LIDAR Sensor has arrived!
 
Quote:

Originally Posted by muvicado (Post 1439733)
Maybe I'm missing something. The LIDAR's slave address must be configurable somehow. :confused:

The pre-release descriptions all talk vaguely about being able to control multiple devices on the I2C bus, but none of the available documentation I've been able to find mentions anything about configuring the slave address.

muvicado 07-02-2015 15:41

Re: LIDAR Sensor has arrived!
 
Quote:

Originally Posted by muvicado (Post 1439733)
Do you know if more than one LIDAR-Lite can be connected via CAN through the MXP's can bus?

The LIDAR-Lite appears to have a fixed slave address - 0xC4.

LIDAR-Lite Spec

Why would they not make it configurable? Seems like that would prevent one from being able to use multiple LIDAR-Lites on the same I2C bus.

Maybe I'm missing something. The LIDAR's slave address must be configurable somehow. :confused:

Okay, I discovered the slave address can't be changed on the current version of LIDAR_Lite. From PulsedLight's forum, I learned a work-around for this. Using a DIO pin for each LIDAR, connect pin 2 of connector J1 on the LIDAR to a dedicated DIO pin on the RIO, using this as a "device select" line. Just before and just after the Write/Read sequence to each LIDAR, set teh LIDAR's device select high and low, respectively. We will try this out, using a C++ application.

MrRoboSteve 09-02-2015 11:50

Re: LIDAR Sensor has arrived!
 
I'm having trouble getting this working via C++ -- created a separate post on the topic -- any thoughts?

http://www.chiefdelphi.com/forums/sh...d.php?t=134212

FlyOldPlanes 22-02-2015 19:10

Re: LIDAR Sensor has arrived!
 
Here is what we did with java:

The big thing was we had to add a pull up resistor on the clock pin.

http://www.chiefdelphi.com/forums/sh...ighlight=lidar

Lennie


All times are GMT -5. The time now is 04:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi