Wiki source code of 2. Connection

Version 11.2 by Admin on 2024/11/13 17:00

Hide last authors
Admin 1.2 1 = ​​​​Headers =
2
3 The BMS Main 2.1 headers are shown in figure below.
4
5 [[The BMS Main 2.1 headers>>image:1731516393377-928.jpeg||height="430" width="428"]]
6
Admin 2.2 7 == P1 – header for power supply ==
8
Admin 4.2 9 [[image:1731516593096-166.png||data-xwiki-image-style-alignment="center" height="93" width="49"]]
Admin 2.2 10
11 |**Pin**|**Name**|**Description**
12 |**1**|**GND**|Ground
13 |**2**|**V+**|Supply voltage 9-30V
Admin 4.2 14
15 == P15 – header for BMS Logic ==
16
17 [[image:1731516577472-301.png||data-xwiki-image-style-alignment="center" height="90" width="83"]]
18
Admin 5.2 19 |**Pin**|**Name**|**Description**
20 |**1**|**RS485_A**|RS-485 line A for communication with BMS Logic
Admin 4.2 21 |**2**|**RS485_B**|RS-485 line B for communication with BMS Logic
22 |**3**|**+5V**|Supply voltage for BMS Logic
23 |**4**|**GND**|Ground
Admin 5.2 24
Admin 11.2 25 == P12 – header for current sensor ==
Admin 5.2 26
Admin 5.3 27 [[image:1731516685999-633.png||data-xwiki-image-style-alignment="center" height="98" width="90"]]
28
29 |**Pin**|**Name**|**Description**
30 |**1**|**+5V**|Supply voltage for the current sensor 5V, max 50 mA
31 |**2**|**GND**|Ground
32 |**3**|**Vcs**|ADC input (current sensor output)
33 |**4**|**Vref**|ADC input (current sensor reference signal)
34
Admin 6.2 35 == P13 – header for humidity sensor ==
Admin 5.3 36
Admin 6.2 37 [[image:1731516942455-641.png||data-xwiki-image-style-alignment="center"]]
38
39 |**Pin**|**Name**|**Description**
40 |**1**|**+5V**|Supply voltage 5 V, max 50 mA
41 |**2**|**GND**|Ground
42 |**3**|**Vhs**|ADC input (humidity sensor output)
43 |**4**|**Vts**|ADC input (temperature sensor output)
44
Admin 11.2 45 P8 – header of relay 1
Admin 6.2 46
Admin 11.2 47 [[image:1731517023208-641.png]]
Admin 6.2 48
49 By default, relay 1 is used to control the discharging contactor.
50
Admin 11.2 51 |**Pin**|**Name**|**Description**
52 |**1**|**V+**|Switching voltage (up to 55V, max 2A)
53 |**2**|**NO**|Normally open contact
Admin 6.2 54
Admin 11.2 55 P9 – header of relay 2
56
57 [[image:1731517025702-799.png]]
58
59 By default, relay 2 is used to output the “Allow charging” signal.
60
Admin 6.2 61 |**Pin**|**Name**|**Description**
62 |**1**|**V+**|Switching voltage (up to 55V, max 2A)
63 |**2**|**NO**|Normally open contact
64
Admin 11.2 65 P6 – header of relay 3
Admin 6.2 66
Admin 11.2 67 [[image:1731517025702-799.png]]
Admin 6.2 68
Admin 11.2 69 By default, relay 3 is used to control the charging contactor.
Admin 6.2 70
Admin 11.2 71 |**Pin**|**Name**|**Description**
72 |**1**|**V+**|Switching voltage (up to 55V, max 8A)
73 |**2**|**NO**|Normally open contact
Admin 6.2 74
Admin 11.2 75 P7 – header of relay 4
Admin 6.2 76
Admin 11.2 77 [[image:1731517025702-799.png]]
78
79 By default, relay 4 is used to control the heater.
80
Admin 6.2 81 |**Pin**|**Name**|**Description**
Admin 11.2 82 |**1**|**V+**|Switching voltage (up to 55V, max 8A)
Admin 6.2 83 |**2**|**NO**|Normally open contact
84
Admin 11.2 85 P14 – header for CAN and RS-485 interfaces
Admin 6.2 86
Admin 11.2 87 [[image:1731517180930-597.png]]
Admin 6.2 88
Admin 11.2 89 |**Pin**|**Name**|**Description**
90 |**1**|**EXT_RS485_A**|RS-485 line A for communication with external equipment
91 |**2**|**CAN_H**|CAN H line for communication with external equipment
92 |**3**|**+5V_CAN**|Supply voltage 5V for external devices, max 200 mA
93 |**4**|**EXT_RS485_B**|RS-485 line B for communication with external equipment
94 |**5**|**CAN_L**|CAN L line for communication with external equipment
95 |**6**|**GND_CAN**|Ground
96
97 P21 – CAN termination resistor jumper
98
99 [[image:1731517188900-976.png]]
100
101 To connect the termination resistor between the lines **CAN_H** and **CAN_L**, install a jumper, according to the P21 pinout:
102
103 |**Pin**|**Name**|**Description**
104 |**1-2**|**120 Ohm**|Termination resistor 120 Ohm is connected
105 |**2-3**|**-**|Termination resistor 120 Ohm is not connected
106
107 P22 - RS-485 termination resistor jumper
108
109 [[image:1731517195672-298.png]]
110
111 To connect the termination resistor between the **EXT_RS485_A** and **EXT_RS485_B** lines, install a jumper according to the P22 pinout:
112
113 |**Pin**|**Name**|**Description**
114 |**1-2**|**120 Ohm**|Terminating resistor 120 Ohm is connected
115 |**2-3**|**-**|Terminating resistor 120 Ohm is not connected
116
117 P11 – header for discrete inputs/outputs
118
119
120 |**Pin**|**Name**|**Description**
121 |**16**|**IN_1**|Discrete input #1 “dry contact” (+5V)
122 |**8**|**GND_1**|Discrete input #1 “dry contact” (ground)
123 |**15**|**IN_2**|Discrete input #2 “dry contact” (+5V)
124 |**7**|**GND_2**|Discrete input #2 “dry contact” (ground)
125 |**14**|**IN_3**|Discrete input #3 “dry contact” (+5V)
126 |**6**|**GND_3**|Discrete input #3 “dry contact” (ground)
127 |**13**|**IN_4**|Discrete input #4 “dry contact” (+5V)
128 |**5**|**GND_4**|Discrete input #4 “dry contact” (ground)
129 |**12**|**OUT_4**|Discrete output #4 (+5V, 20mA)
130 |**4**|**GND_OUT_4**|Discrete output #4 (ground)
131 |**11**|**OUT_3**|Discrete output #3 (+5V, 20mA)
132 |**3**|**GND_OUT_3**|Discrete output #3 (ground)
133 |**10**|**OUT_2**|Discrete output #2 (+5V, 20mA)
134 |**2**|**GND_OUT_2**|Discrete output #2 (ground)
135 |**9**|**OUT_1**|Discrete output #1 (+5V, 20mA)
136 |**1**|**GND_OUT_1**|Discrete output #1 (ground)
137
138 1.
139 11.
140 111. DS1 – power indicator
141
142 |**State**|**Description**
143 |**Lights red**|The device is powered
144 |**Off**|The device is not powered
145
146 1.
147 11.
148 111. DS2 – operation indicator
149
150 |**State**|**Description**
151 |**Blinking green**|The BMS firmware is running
152 |**Off**|The BMS firmware is not running
153
154 1.
155 11.
156 111. DS3 – communication indicator
157
158 |**State**|**Description**
159 |**Blinking yellow (2Hz)**|Initializing communication with BMS Logic boards
160 |**Blinking yellow (25Hz)**|Communication with BMS Logic is established
161
162 1.
163 11.
164 111. DS4 – error indicator
165
166 |**State**|**Description**
167 |**Blinking red**|Errors in communication with BMS Logic
168
169 1.
170 11.
171 111. DS7 – relay 1 indicator
172
173 |S**tate**|**Description**
174 |**Lights green**|Relay #1 is closed
175 |**Off**|Relay #1 is opened
176
177 1.
178 11.
179 111. DS8 – relay 2 indicator
180
181 |**State**|**Description**
182 |**Lights green**|Relay #2 is closed
183 |**Off**|Relay #2 is opened
184
185 1.
186 11.
187 111. DS5 – relay 3 indicator
188
189 |**State**|**Description**
190 |**Lights green**|Relay #3 is closed
191 |**Off**|Relay #3 is opened
192
193 1.
194 11.
195 111. DS6 – relay 4 indicator
196
197 |**State**|**Description**
198 |**Lights green**|Relay #4 is closed
199 |**Off**|Relay #4 is opened
200
Admin 5.3 201