kuukar-rpi/kuukar/kuukar_config.py

39 lines
609 B
Python
Raw Normal View History

2022-11-04 04:58:20 +00:00
SERIAL_MCU = "COM4"
2022-11-04 06:56:52 +00:00
SERIAL_DRV = "COM20"
2022-10-25 14:53:05 +00:00
2022-10-25 15:01:26 +00:00
# HC Sonar Pins
SONAR_1_ADC_PIN = 0
SONAR_2_ADC_PIN = 1
SONAR_3_ADC_PIN = 2
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
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
BEEPER_PIN = 15
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-11-04 04:58:20 +00:00
LIGHT_ANALOG_PIN = 2
2022-10-25 14:53:05 +00:00
2022-11-04 04:58:20 +00:00
DHT22_PIN = 14
2022-11-03 08:53:27 +00:00
SERIAL_LCD = "COM9"