-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRead.txt
38 lines (20 loc) · 1.73 KB
/
Read.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
10 Meter range TFMini Plus or TFMini-S (2023 update distance of Lidar to 10 meters Note: sensitivity or acurracy may Vari )
Inorder for this to work Bluetooth radio must be set to a on Communication serial on any device to baud 57600
Lidar_Forward and Lidar_Reverse are servo reverse option
in the application folder look for the Data file>
Data Folder>
COM31 //Serial COM Port your bluetooth telemetry is on (change this to the comport your Raday Bluetooth/Radio is on)
SynerFlight Radar //Title of the Radar
Arduino Sketch> TF-mini-synerduino3.ino
int inputdistance = 200; // set Distance to trigger the PWM Aux Switch in cm (change this to adjust trigger distance)Stop
int inputdistance1 = 250; // set Distance to trigger the PWM Aux Switch in cm (change this to adjust trigger distance)Steer
SoftwareSerial Serial1(10, 9); //define software serial port name as Serial1 and define pin2 as RX & pin3 as TX
RX-10 ,TX-9 use Logic converter // TX-Green-3A RX-White-3B// 5A-D9 5B-D10
myServo.attach(5); // Defines on which pin is the Radar servo motor attached this is where the Lidar is mounted to
Aux output to be connected to the Aux input of the Controller
myServo.attach(5); // Defines on which pin is the servo motor attached // Lidar Servo
myServoA.attach(3); // Defines on which pin is the servo motor attached // PWM Output to flight controller
myServoB.attach(6); // Defines on which pin is the servo motor attached
myServoC.attach(7); // Defines on which pin is the servo motor attached
digitalWrite(4 , __ardublockDigitalRead( ardublockUltrasonicSensorCodeAutoGeneratedReturnCM( 4 , 4 ))); // pwm input condition to activate the Lidar respond function
synerflight_Lidar8.pde>