WIP: Add new features for board version 2

This commit is contained in:
Anton Mukhin
2024-01-17 15:52:55 +03:00
parent c882ede6bd
commit 108f165ca2
10 changed files with 374 additions and 68 deletions

12
V1-V2_HW_changes.txt Normal file
View File

@@ -0,0 +1,12 @@
New in Relay_V2 MCU:
PA0 - INPUT - Water level (HIGH - we have water)
PA1 - INPUT - E-STOP button (HIGH - normal state. should be interrupt-driven on falling edge detection)
PA2 \
PA3 ---------- Test points TP4, TP5 (ADC / USART1 / GPIO)
PA4 - OUTPUT - LED Lights TIM14 CH1 PWM output
PA5 - OUTPUT - RL_EN. Sets E-STOP trigger to controllable state (resets to normal state). LOW to activate. Should be HIGH by default.
PA8 - INPUT - LED Lights switch
PB5 - OUTPUT - Second DC motor channel. TIM3 CH2 PWM
PB6 \
PB7 ---------- Test points TP1, TP2 (USART1, I2C1, GPIO)