|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Lidar-Lite Help Please
Quote:
RoboRio onboard I2C pinout is displayed on the silkscreen of the robot itself. Simply connect RoboRio -> Lidar Lite: GND -> Signal/Power Ground 3.3V -> POWER_IN SCL -> I2C Clock (SCL) SDA -> I2C Data (SDA) My V1 sensor worked fine w/the 3.3V power pin from the RoboRIO onboard I2C connector - but you could provide it 5V power instead from one of the 5V RoboRio power rails (or the VRM) and that should work too. |
|
#2
|
||||
|
||||
|
Re: Lidar-Lite Help Please
thanks. Some people were saying you need a pull up resist to get it to work. Sounds like you got it to work without one?
|
|
#3
|
||||
|
||||
|
Re: Lidar-Lite Help Please
Quote:
|
|
#4
|
|||
|
|||
|
Re: Lidar-Lite Help Please
Hi All
Thanks for all your posts and replies. Here is the final update from our experiments - we looked at the example from Marvin T MARS Team 2614. Thanks "sraque". There are Lidar Open and read VIs and they work as-is. Also we have our Lidar connected to I2C on NavX via MXP ports on roborio I have attached 2 images for open and read snippets from our Begin.vi and Lidar controller VIs. --sk |
|
#5
|
||||
|
||||
|
Re: Lidar-Lite Help Please
Looks like you forgot to post the begin. Could you post it
|
|
#6
|
||||
|
||||
|
Re: Lidar-Lite Help Please
Quote:
|
|
#7
|
||||
|
||||
|
Re: Lidar-Lite Help Please
I have tried both of your code and i keep getting the same error saying
<b>Complete call chain:</b> i2clib_writeread.vi WPI_I2CRead.vi Lidar Read.vi Simple Digital Output.vi ERROR -1 i2clib_write.vi<ERR> Device or resource busy <b>Complete call chain:</b> i2clib_write.vi WPI_I2CWrite.vi Lidar Read.vi Simple Digital Output.vi ERROR -1 i2clib_writeread.vi<ERR> Device or resource busy Has anyone seen this error before. Bellow is my code and a picture of the error log Error log: http://imgur.com/II5VMzV main code: http://imgur.com/CKZ7Dzk open code: http://imgur.com/CKZ7Dzk read code: http://imgur.com/UD1j4qk wiring Power: 3.3 on-board from the i2c port Ground: on-board from the i2c port SDA: on-board from the i2c port SCL: on-board from the i2c port Last edited by Bpk9p4 : 09-02-2016 at 00:57. |
|
#8
|
|||
|
|||
|
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? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|