2022-10-23 06:49:59 +00:00
|
|
|
SERIAL_DRIVER_BOARD = "/dev/serial/by-id/..."
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-10-25 15:01:26 +00:00
|
|
|
# HC Sonar Pins
|
2022-10-25 14:53:05 +00:00
|
|
|
SONAR_1_TRIG_PIN = 0
|
|
|
|
SONAR_1_ECHO_PIN = 1
|
|
|
|
SONAR_2_TRIG_PIN = 2
|
|
|
|
SONAR_2_ECHO_PIN = 3
|
|
|
|
SONAR_3_TRIG_PIN = 4
|
|
|
|
SONAR_3_ECHO_PIN = 5
|
|
|
|
|
2022-10-25 15:01:26 +00:00
|
|
|
# Motor Pins
|
2022-10-30 08:57:00 +00:00
|
|
|
MOTOR_FL_F = 7
|
|
|
|
MOTOR_FL_R = 6
|
2022-10-25 07:49:19 +00:00
|
|
|
MOTOR_FR_F = 8
|
|
|
|
MOTOR_FR_R = 9
|
|
|
|
MOTOR_RL_F = 10
|
|
|
|
MOTOR_RL_R = 11
|
2022-10-30 08:57:00 +00:00
|
|
|
MOTOR_RR_F = 13
|
|
|
|
MOTOR_RR_R = 12
|
2022-10-23 06:49:59 +00:00
|
|
|
|
2022-10-28 07:14:00 +00:00
|
|
|
# Full Speed 90 Degrees Turn Time
|
2022-10-25 14:53:05 +00:00
|
|
|
TURN_TIME_FS_90DEG_MS = 1500
|
|
|
|
|
2022-10-23 06:49:59 +00:00
|
|
|
SERIAL_AUX_BOARD = "/dev/serial/by-id/..."
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-10-23 06:49:59 +00:00
|
|
|
COLLISION_DETECTOR_PIN = 2
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-10-23 06:49:59 +00:00
|
|
|
LEDS_DATA_PIN = 3
|
2022-10-25 14:53:05 +00:00
|
|
|
LEDS_NUM = 15
|
2022-10-28 07:14:00 +00:00
|
|
|
HEADLIGHT_LEDS = [5, 10]
|
|
|
|
LEFT_SIGNAL_LEDS = [6, 3]
|
|
|
|
RIGHT_SIGNAL_LEDS = [7, 4]
|
|
|
|
REVERSE_LEDS = [1, 2]
|
|
|
|
|
|
|
|
LIGHT_ANALOG_PIN = 0
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-10-23 06:49:59 +00:00
|
|
|
DHT22_PIN = 5
|
2022-10-25 15:18:32 +00:00
|
|
|
|
2022-10-28 07:14:00 +00:00
|
|
|
SERIAL_LCD = "/dev/serial/by-id/..."
|