Skip to content

A simple micropython i2c library for TF-Luna LiDAR Module.

Notifications You must be signed in to change notification settings

davmoz/tf-luna-micropython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

tf-luna

A simple micropython i2c library for TF-Luna LiDAR Module.

Repo-status: See Implemented functions

Getting started

To enable i2c, connect pin 5 to GND, see Datasheet

To run main.py, connect RXD/SDA to P7 and TXD/SCL to P8

Pin & Function Description
1 VCC Vin (5V)
2 RXD/SDA Receiving/Data
3 TXD/SCL Transmitting/Clock
4 GND GND
5 Configuration Input Ground: I2C mode
/3.3V: Serial port
Communications mode
6 Multiplexing output Default: on/off mode output
I2C mode: Data availability
signal on but not switching value mode

Implemented functions

  • Distance
  • Chip temperature
  • Signal Amplitude
  • Set Min/Max range
  • Reboot
  • Reset to factory defaults
  • Change sampling rate / freq

To-Do

  • Trigger mode
  • Change slave address
  • Tick
  • Error
  • UART

About

A simple micropython i2c library for TF-Luna LiDAR Module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages