2022-12-08 14:36:11 +00:00
|
|
|
SERIAL_MCU = "/dev/serial/by-id/usb-Raspberry_Pi_Pico_E6609CB2D3846033-if00"
|
2022-12-08 06:03:03 +00:00
|
|
|
SERIAL_LCD = "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0"
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-12-08 14:36:11 +00:00
|
|
|
# Sonar Pin
|
|
|
|
SONAR_ADC_PIN = 1
|
|
|
|
|
2022-10-25 14:53:05 +00:00
|
|
|
|
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-11-04 04:58:20 +00:00
|
|
|
TURN_TIME_FS_90DEG_MS = 3000.0
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-11-04 04:58:20 +00:00
|
|
|
COLLISION_DETECTOR_PIN = 16
|
2022-11-09 16:06:52 +00:00
|
|
|
COLLISION_ENABLE = True
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-11-04 04:58:20 +00:00
|
|
|
LEDS_DATA_PIN = 17
|
2022-11-10 15:28:12 +00:00
|
|
|
LEDS_NUM = 16
|
2022-11-10 15:30:22 +00:00
|
|
|
HEADLIGHT_LEDS = [1, 2, 3, 4]
|
2022-11-10 15:28:12 +00:00
|
|
|
LEFT_SIGNAL_LEDS = [4, 5, 6, 7]
|
|
|
|
RIGHT_SIGNAL_LEDS = [0, 1, 14, 15]
|
|
|
|
REVERSE_LEDS = [11, 10, 9]
|
2022-10-28 07:14:00 +00:00
|
|
|
|
2022-12-08 14:36:11 +00:00
|
|
|
LIGHT_SENSOR_PIN = 0
|
2022-10-25 14:53:05 +00:00
|
|
|
|
2022-12-09 03:40:33 +00:00
|
|
|
DHT22_PIN = 3
|