Skip to content

VicDominguez/LIDARLite_RaspberryPi_Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIDAR-Lite Raspberry Pi Library C Wrapper

Realised by Victor Manuel Dominguez Rivas for his Final Degree Project called Smart Driving Assistant.

Only tested for Raspberry Pi 4 and not all wrapper, only functions used on example.c.

Use by our own risk.

Instructions to enable the I2C peripheral in the ARM core

From a command shell, launch the configuration editor

sudo raspi-config

From the menu, select

  • Interfacing Options
  • P5 I2C
  • Enable the interface
  • Select Finish
  • Reboot the Raspberry Pi

Wiring the LIDAR-Lite to the Raspberry Pi

Raspberry Pi Header

On the 40-pin header make the following connections -

* LLv3 Blue  (SDA) - RPi pin 3 (GPIO 2)
* LLv3 Green (SCL) - RPi pin 5 (GPIO 3)
* LLv3 Red   (5V ) - RPi pin 4
* LLv3 Black (GND) - RPi pin 6

- Wire a 680uF capacitor across pins 4 and 6

Additionally, see the following tutorials for other information concerning I2C on Raspberry Pi

Releases

No releases published

Packages

No packages published

Languages

  • C++ 70.0%
  • Makefile 15.3%
  • C 14.0%
  • CMake 0.7%