Collision avoidance with Lidar implementation with the TFMini Plus or TFMini-S as with sensors use for collision detection Lidars are more precise in measurement and less on false positives unlike the Ultrasonics hence is ideal for longer range detection. also this LIDAR sensor uses 3V logic and require Logic converters to operate there are 2Ch and 4Ch Bidirectional Option . in this sample we shown using the 4Ch. but if available go with the 2ch option.
Note: there are instructables online showing the LIDAR Directly hookup to the Arduino (Please use the Logic converter) plugging it directly would damage the sensor in the long run.
RX-10 ,TX-9 use Logic converter // TX-Green-3A RX-White-3B// 5A-D9 5B-D10
PWM Out Aux is your trigger Aux input (Mainly puts the vehicle on Position hold or do other action when obstacle is detected at the given range )
PWM in RC is your LIDAR switch this can be paired with your Aux switch lets say missions so the LIDAR is only Active when Mission is Active.