View Single Post
  #15   Spotlight this post!  
Unread 07-02-2015, 15:41
muvicado muvicado is offline
Registered User
FRC #0135
 
Join Date: Feb 2015
Location: United States
Posts: 2
muvicado is an unknown quantity at this point
Re: LIDAR Sensor has arrived!

Quote:
Originally Posted by muvicado View Post
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.
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.