Go to Post I find it quite amazing that this thread has been continuously active for more than two years. - Stephanie [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2016, 11:07
Richard100 Richard100 is offline
Registered User
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Southern Maryland
Posts: 79
Richard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to beholdRichard100 is a splendid one to behold
Re: Lidar-Lite Help Please

Need to see your Open code. The links for Open and Main both show main code.

Is you roboRIO I2C power jumper set to 3.3 V for the On-Board I2C interface?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2016, 13:24
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 273
Bpk9p4 is on a distinguished road
Re: Lidar-Lite Help Please

sorry about that one. I will get that posted once i am home from work. Yes the I2C is set to 3.3v

I have hooked it up to 5v (from the DIO 5v pin) and i get the same results
__________________
2016 Tesla Division Finalist
2016 Central Illinois Regional Finalist
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2016, 18:46
khannasusa khannasusa is offline
Registered User
FRC #5190
 
Join Date: Sep 2014
Location: NC
Posts: 11
khannasusa is an unknown quantity at this point
Re: Lidar-Lite Help Please

Looks like I forgot to attach the open VI.
Here it is. These 2 Vis are working via I2C on MXP.
Attached Thumbnails
Click image for larger version

Name:	Lidar-open-final.PNG
Views:	17
Size:	3.0 KB
ID:	20021  
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2016, 22:31
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 82
sraque is on a distinguished road
Re: Lidar-Lite Help Please

Quote:
Originally Posted by Bpk9p4 View Post
sorry about that one. I will get that posted once i am home from work. Yes the I2C is set to 3.3v

I have hooked it up to 5v (from the DIO 5v pin) and i get the same results

Hmm..not sure what it could be. I think we wired the same as you are. We wired to the main I2C port on the RIO except for power which we wired to a 5V pin on DIO. We didn't add pull-up resistors or the capacitor that is shown on Lidar-Lite Website Arduino wiring example.

I see your code has the same loop time delays as ours...try putting the I2C Enum VI in your Begin temporarily to see if you can see the Lidar at all.

Another thing I have done to convince myself that the Lidar is working is to connect it to an Arduino, if you have one, and use the software from the Lidar Lite website to see the data.

Last edited by sraque : 10-02-2016 at 07:29.
Reply With Quote
Reply


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 01:19.

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