View Single Post
  #2   Spotlight this post!  
Unread 31-01-2016, 12:13
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 343
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Lidar-Lite Help Please

Quote:
Originally Posted by khannasusa View Post
We are trying to Use Lidar-Lite we bought last year to integrate with a simple labview project to measure distance.

On our RoboRio, a Navx is connected to the MXP port. On the Navx I2C port, we have connected Lidar wires.

Wires from Lidar
1) Red Pin1 to Navx I2C + pin
2) Pin 6 GND to Navx I2C GND Pin
3) Pin 4 SCL to Navx I2C SCL Pin
4) Pin 5 SDA to Navx I2C SDA Pin


Attached are images which show LV open and read distance logic.

We are constantly getting errors from read operation -


<b>Complete call chain:</b>
i2clib_write.vi
WPI_I2CWrite.vi
Lidar Controller.vi
SubSystems.vi
Robot Main.vi
ERROR -1 i2clib_writeread.vi<ERR>
No such device or address


Can someone please help us what we are doing wrong?
thanks
sanjay
Can you please confirm two things:

- that your Lidar Lite is the original (V1) Lidar Lite? I've heard that there are some differences in behavior w/the new V2 Lidar Lite (I think it has a blue label on it, whereas the V1 has a silver label)
- since the Lidar Lite is receiving power from the navX-MXP, and since it requires 5VDC input voltage, can you confirm that the voltage select jumper on the navX-MXP is set to 5VDC (as opposed to 3.3VDC)?
Reply With Quote