View Single Post
  #26   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: 80
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