-
Notifications
You must be signed in to change notification settings - Fork 0
/
Read.txt
42 lines (27 loc) · 1.67 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
39
40
41
42
5 Meter range us100 Y401 sonar (Aug 22 2023 update distance of sonar to 5 meters Note: sensitivity or acurracy may Vari )
2 trigger servo range
Inorder for this to work Bluetooth radio must be set to a on Communication serial on any device to baud 57600
Radar_F and Radar_R are servo reverse option
in the application folder look for the Data file>
Data Folder>
COM11 //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> Radar_Arduino_sketch-5m5.ino
Sonar
const int trigPin = D2;
const int echoPin = D3;
input trigger distance
int inputdistance = 120; // set Distance to trigger the PWM Aux Switch in cm (change this to adjust trigger distance)Stop
int inputdistance1 = 120; // set Distance to trigger the PWM Aux Switch in cm (change this to adjust trigger distance)Steer
int inputdistance2 = 110; // set Distance to trigger the PWM Aux Switch in cm (change this to adjust trigger distance)Reverse
myServo.attach(4); // Defines on which pin is the Radar servo motor attached this is where the sonar is mounted to
Defines on which pin is the Aux trigger input is attached this is connected to the Shield Aux 14 or A 15 PWM input for synerduino Arduino
myServoA.attach(5); // Defines Trigger
myServoC.attach(6); // Defines Trigger
myServoC.attach(7); // Defines Trigger
Pin for LED indicator or trigger ADC V, I, RSSI for Synerduino STM
pinMode( 13 , OUTPUT); // LED indicator
pinMode( 12 , OUTPUT); // LED indicator
pinMode( 11 , OUTPUT); // LED indicator
or you can change the sketch input on
synerflight_radar8.pde>