Go to Post Indeed, the more ways you fail, the more ways you know something doesn't work.:) - Steven Sigley [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Spotlight this post!  
Unread 31-01-2016, 14:22
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 270
Bpk9p4 is on a distinguished road
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
I also just bought the lidar lite and am have a lot of trouble getting it to work withthe roborio. I found some other sources but have not had any luck with them

here is some example code http://www.chiefdelphi.com/forums/sh...0&postcount=44

also some people had luck with pull up resistors http://www.chiefdelphi.com/forums/sh...d.php?t=135043

let me know if you have any luck. Can you get yours to work with an arduino example? Mine always reads 0
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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